/* Sign-in (tasks 344, 694, 713, 727). Dark, in the website's brand: navy page, one blue accent, the wallets in a dialog. */
/* Inter Tight (SIL Open Font License 1.1), latin subset, the same file the website serves. */
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:400 600;font-display:swap;src:url("/dashboard/inter-tight-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--page:#07101f;--card:#0b1528;--raised:#0e1d3a;--raised-2:#12284d;--field:#060d1a;--field-line:#24385a;--line:#1f3a66;--hair:#1c2e4f;--quiet-line:#1e2c47;--ink:#fff;--ink-2:#dbe4f0;--muted:#a9b5c7;--soft:#8d9ab0;--blue:#0063e8;--blue-2:#0052c7;--sky:#3b8cff;--link:#6aa8ff;--ok:#34d399;--ok-text:#6ee7b7;--bad:#ff8a80;--bad-text:#ffb4a8;
 color-scheme:dark;font-family:"Inter Tight",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{position:relative;margin:0;min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden;background:var(--page);line-height:1.5}
a{color:var(--link)}a:hover{color:#9cc5ff}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--link);outline-offset:2px}
h1:focus,h2:focus{outline:none}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Signal rings in the bottom-left corner. */
.rings{position:fixed;left:-600px;bottom:-600px;width:1200px;height:1200px;pointer-events:none;fill:none;stroke:var(--sky)}
.rings circle:nth-child(1){stroke-opacity:.18}.rings circle:nth-child(2){stroke-opacity:.15}.rings circle:nth-child(3){stroke-opacity:.12}.rings circle:nth-child(4){stroke-opacity:.09}.rings circle:nth-child(5){stroke-opacity:.06}

/* Header: the same bar as the website's (1232px wide, 14px/16px padding, 44px rows), so the logo sits in the same place. */
.top{position:relative;width:100%;max-width:1232px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#fff}
.brand-tile{width:34px;height:34px}.brand-word{width:90px;height:27px}
.back-site{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px;color:#b7c3d6;text-decoration:none}
.back-site:hover{color:#fff}
.back-site svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Page: the pitch on the left, the sign-in card on the right */
.layout{position:relative;flex:1;width:100%;max-width:1232px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:64px;padding:32px 16px 64px}
.hero{flex:1 1 520px;min-width:0;max-width:560px}
.hero-title{margin:0;font-size:clamp(40px,4.6vw,60px);line-height:1.04;letter-spacing:-.036em;font-weight:600}
.hero-lede{margin:24px 0 0;max-width:500px;font-size:19px;line-height:1.55;color:var(--muted)}
.hero-points{list-style:none;display:flex;flex-direction:column;gap:14px;margin:36px 0 0;padding:0;font-size:17px;line-height:1.4}
.hero-points li{display:flex;align-items:center;gap:14px}
.point-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}
.point-icon svg{width:20px;height:20px;fill:none;stroke:var(--link);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.column{flex:0 1 440px;min-width:0}

/* Card */
.card{padding:32px;border:1px solid var(--line);border-radius:20px;background:var(--card);box-shadow:0 30px 70px -35px #000}
.card:not([hidden]){animation:rise .24s ease-out}
@keyframes rise{from{transform:translateY(6px)}to{transform:none}}
.card h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.025em;font-weight:600}
.intro{margin:8px 0 24px;font-size:15px;line-height:1.5;color:var(--muted)}
#login-panel[aria-busy=true] .intro{visibility:hidden}
label{display:block;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--ink-2)}
input[type=email],.code-input{width:100%;height:50px;padding:0 16px;border:1px solid var(--field-line);border-radius:12px;background:var(--field);color:#fff;font:inherit;font-size:16px}
input::placeholder{color:#6f7d93;opacity:1}
input:focus{outline:none;border-color:var(--sky);box-shadow:0 0 0 3px #3b8cff33}
.primary{width:100%;height:50px;margin-top:12px;border:0;border-radius:12px;background:var(--blue);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.primary:hover{background:var(--blue-2)}
.primary:disabled{opacity:.6;cursor:progress}
.notice{margin:10px 0 0;font-size:14px;line-height:1.45;color:var(--bad-text)}
.notice:empty{display:none}
.divider{display:flex;align-items:center;gap:12px;margin:22px 0;font-size:13px;color:var(--soft)}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--hair)}
.connect{width:100%;height:52px;display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid #2b4a80;border-radius:12px;background:var(--raised);color:#fff;font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer}
.connect:hover{border-color:var(--sky)}
.connect-glyph{flex:none;width:20px;height:20px;fill:none;stroke:#9cc5ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.connect-label{flex:1}
.stack{display:flex}
.stack img{width:22px;height:22px;border-radius:6px;box-shadow:0 0 0 2px var(--raised)}
.stack img+img{margin-left:-6px}
.lock-note{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0;font-size:13px;line-height:1.45;color:var(--soft)}
.lock-note svg{flex:none;width:15px;height:15px;margin-top:1px;fill:none;stroke:var(--link);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.terms{margin:24px 0 0;padding-top:16px;border-top:1px solid var(--hair);font-size:12.5px;line-height:1.6;color:var(--soft)}
.help{margin:16px 0 0;text-align:center;font-size:14px;color:var(--muted)}
.back{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--muted);cursor:pointer}
.back:hover{color:#fff}
.back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Code */
.code-input{height:60px;padding:0 16px 0 calc(16px + .42em);font-size:28px;font-weight:600;letter-spacing:.42em;text-align:center;font-variant-numeric:tabular-nums}
.code-input::placeholder{color:#3d4d68}
.mail-links{margin:10px 0 0}
.mail-links a{display:grid;place-items:center;height:42px;border:1px solid var(--quiet-line);border-radius:10px;background:#0a1426;font-size:14px;font-weight:600;color:#fff;text-decoration:none}
.mail-links a:hover{border-color:#2b4a80}
.row-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:16px 0 0}
.link{padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--link);cursor:pointer}
.link:disabled{color:#7f8ca2;cursor:default}
.hint{margin:14px 0 0;font-size:13px;color:var(--soft)}

/* New account */
.identity{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:12px 14px;border-radius:12px;background:var(--raised)}
.identity img{border-radius:8px}
.identity-glyph{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:var(--raised-2)}
.identity-glyph svg{width:19px;height:19px;fill:none;stroke:var(--link);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.identity-label{display:block;font-size:12.5px;color:var(--soft)}
.identity strong{font-size:15px;font-weight:600;word-break:break-all}
.check{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:14px;font-weight:400;line-height:1.5;color:var(--muted)}
.check input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--blue)}

/* Connect-wallet dialog: wallets, the network question and the signing steps, with a short explainer beside them. */
#wallet-dialog{width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100svh - 48px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--card);color:#fff;box-shadow:0 40px 100px -30px #000;overflow:hidden}
#wallet-dialog[open]{display:flex}
#wallet-dialog::backdrop{background:#020610c7}
.dialog-main{flex:1 1 400px;min-width:0;padding:20px 20px 18px;overflow:auto}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.dialog-head h2{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}
.dialog-head .back{margin:0}
.close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:#13213d;color:#b7c3d6;cursor:pointer}
.close:hover{color:#fff}
.close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.chain-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.chain-tab{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--quiet-line);border-radius:9px;background:transparent;font:inherit;font-size:13.5px;font-weight:500;color:var(--muted);cursor:pointer}
.chain-tab:hover{color:#fff}
.chain-tab[aria-pressed=true]{border-color:var(--sky);background:var(--raised-2);color:#fff;font-weight:600}
.chain-tab .net{width:16px;height:16px}
.wallet-scroll{max-height:min(52vh,460px);margin:0 -6px;padding:0 6px;overflow:auto}
.group-label{margin:4px 0 6px;font-size:13px;font-weight:600;color:var(--soft)}
.wallet-list{display:flex;flex-direction:column;gap:4px}
.wallet-list+.group-label,.wallet-none+.group-label{margin-top:14px}
.wallet{width:100%;min-height:56px;display:flex;align-items:center;gap:12px;padding:8px 10px;border:0;border-radius:12px;background:var(--raised);font:inherit;color:#fff;text-align:left;cursor:pointer}
.wallet:hover{background:var(--raised-2)}
.wallet-icon{flex:none;width:32px;height:32px;border-radius:8px}
.wallet-icon.network{border-radius:50%}
.wallet-text{flex:1;min-width:0;display:flex;flex-direction:column}
.wallet-name{font-size:15px;font-weight:600}
.wallet-chains,.wallet-meta{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--soft)}
.marks{display:inline-flex;gap:2px}
.marks .net{width:14px;height:14px}
.tag{flex:none;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:600}
.tag.last{background:var(--raised-2);color:#9cc5ff}
.tag.found{background:#10b9811a;color:#4ade80}
.go{flex:none;width:16px;height:16px;fill:none;stroke:var(--soft);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wallet-more{display:flex;flex-direction:column;gap:2px}
.wallet-tile{min-height:50px;display:flex;align-items:center;gap:12px;padding:6px 10px;border-radius:12px;color:#fff;text-decoration:none}
.wallet-tile:hover{background:var(--raised);color:#fff}
.wallet-tile .action{color:var(--link);font-weight:600}
.wallet-none{margin:2px 0 4px;padding:12px 14px;border-radius:12px;background:var(--raised);font-size:13.5px;line-height:1.5;color:var(--muted)}
.dialog-foot{margin:12px 0 0;padding-top:12px;border-top:1px solid var(--hair);font-size:13px;color:var(--soft)}

/* The network question and the signing steps, inside the dialog */
#chain-panel,#sign-panel{text-align:center}
#chain-panel .dialog-head,#sign-panel .dialog-head,#chain-list,.steps,#sign-label,.sign-message{text-align:left}
.hero-icon{display:grid;place-items:center;margin:4px 0 14px}
.hero-icon img,.sign-hero img{border-radius:14px}
#chain-panel h2,#sign-panel h2{margin:0;font-size:20px;line-height:1.25;font-weight:600}
#chain-panel .intro,#sign-panel .intro{max-width:380px;margin:8px auto 18px}
.sign-hero{position:relative;width:92px;height:92px;display:grid;place-items:center;margin:4px auto 16px}
.sign-hero .ring{position:absolute;inset:0;border:3px solid var(--hair);border-top-color:var(--sky);border-radius:50%;animation:spin .9s linear infinite}
.sign-hero[data-state=ok] .ring{border-color:var(--ok);animation:none}
.sign-hero[data-state=error] .ring{border-color:var(--bad);animation:none}
.sign-hero .badge{position:absolute;right:4px;bottom:4px;width:20px;height:20px;border:3px solid var(--card);border-radius:50%;display:none}
.sign-hero[data-state=ok] .badge{display:block;background:var(--ok)}
.sign-hero[data-state=error] .badge{display:block;background:var(--bad)}
@keyframes spin{to{transform:rotate(360deg)}}
.address{margin:-8px 0 16px;font:500 13.5px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink-2)}
.steps{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:0 0 16px;padding:0;font-size:13px}
.steps li{display:flex;align-items:center;gap:6px;color:var(--soft)}
.steps .dot{width:8px;height:8px;border-radius:50%;background:#2b4a80}
.steps .step-note{display:none}
.steps li[data-state=done]{color:var(--ok-text)}.steps li[data-state=done] .dot{background:var(--ok)}
.steps li[data-state=active]{color:#fff;font-weight:600}.steps li[data-state=active] .dot{background:var(--sky)}
.steps li[data-state=error]{color:var(--bad-text)}.steps li[data-state=error] .dot{background:var(--bad)}
.label{margin:0 0 6px;font-size:13px;font-weight:600;color:var(--soft)}
.sign-message{margin:0;max-height:170px;overflow:auto;padding:12px 14px;border:1px solid var(--hair);border-radius:12px;background:var(--field);font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#b7c3d6;white-space:pre-wrap;word-break:break-all}
#sign-panel .notice{text-align:center}

/* Explainer beside the wallets */
.dialog-aside{flex:0 0 300px;display:flex;flex-direction:column;gap:18px;padding:26px 24px;border-left:1px solid var(--hair);background:#08111f}
.dialog-aside h3{margin:0;font-size:17px;font-weight:600}
.aside-item{display:flex;gap:12px;margin:0;font-size:13.5px;line-height:1.45;color:var(--muted)}
.aside-item .point-icon{width:36px;height:36px}
.aside-item .point-icon svg{width:18px;height:18px}
.aside-item strong{display:block;margin-bottom:3px;font-size:14.5px;font-weight:600;color:#fff}
.aside-link{display:grid;place-items:center;height:42px;margin-top:auto;border:1px solid #2b4a80;border-radius:10px;font-size:14px;font-weight:600;color:#fff;text-decoration:none}
.aside-link:hover{border-color:var(--sky);color:#fff}

/* Phones: the card comes first, and the dialog becomes a sheet from the bottom. */
@media (max-width:760px){
 .top{padding:14px 16px 6px}
 .layout{gap:36px;padding:8px 16px 40px}
 .column{flex-basis:100%;order:-1}
 .hero-title{font-size:34px}
 .hero-lede{margin-top:14px;font-size:16px}
 .hero-points{margin-top:22px;font-size:15.5px}
 .card{padding:24px 20px}
 .dialog-aside{display:none}
 #wallet-dialog{width:100%;max-height:88svh;margin:auto 0 0;border-width:1px 0 0;border-radius:22px 22px 0 0}
 .wallet-scroll{max-height:56svh}
}
@media (prefers-reduced-motion:reduce){.card:not([hidden]){animation:none}.sign-hero .ring{animation-duration:3s}}
