/* sealed · in render.com's visual language: near-black, hairline grid, square corners, light
   display weight, white square buttons, one purple, gradient text used once. */
:root {
  --bg: #f7fcff;
  --bg2: #eef8fe;
  --card: #ffffff;
  --line: #d3e9f6;
  --line2: #a9d3ec;
  --text: #072a4a;
  --sec: #3d5f7c;
  --faint: #6b88a1;
  --mute: #9ab4c7;
  --sky: #75c8f8;
  --sky2: #8cd4f9;
  --haze: #c6e8fb;
  --cloud: #f3fcff;
  --blue: #1a8fdc;
  --deep: #0b6fb3;
  --navy: #072a4a;
  --ok: #12a26b;
  --disp: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(16px, 2.6vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: -.01em; }
.dim { color: var(--sec); }
.mute { color: var(--faint); }
.note { font-size: 14px; color: var(--faint); }
p { margin: 0 0 12px; }
.frame { max-width: 1920px; margin: 0 auto; }
@media (min-width: 1920px) { .frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.wrap { padding: 0 var(--pad); }

/* announcement bar */
.ann { background: var(--navy); color: var(--text); font-size: 14px; text-align: center; padding: 10px 16px; }
.ann a { color: var(--p200); text-decoration: none; margin-left: 8px; }
.ann a:hover { text-decoration: underline; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .bar { display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 var(--pad); max-width: 1920px; margin: 0 auto; }
.brand { font: 500 19px/1 var(--disp); letter-spacing: -.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav { display: flex; gap: 26px; margin-left: 18px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--text); opacity: .86; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { opacity: 1; }
.nav-sep { width: 1px; height: 18px; align-self: center; background: var(--line2); margin: 0 -8px; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--text); }
.spacer { flex: 1; }
.menu-btn { display: none !important; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); margin: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-sep { display: none; }
  .nav a { padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex !important; }
}

/* buttons: square, 48px, white or white outline */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; font-size: 16px; white-space: nowrap; border-radius: 0; transition: background .15s, color .15s; }
.pill:hover { background: var(--navy); color: #fff; }
.pill.solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill.solid:hover { background: var(--deep); border-color: var(--deep); }
.pill.white { background: #fff; color: var(--navy); border-color: #fff; }
.pill.white:hover { background: var(--cloud); }
.pill.glass { background: #ffffff33; border-color: #ffffffb3; color: var(--navy); backdrop-filter: blur(6px); }
.pill.glass:hover { background: #ffffff66; }
.pill.ghost { border-color: var(--line2); }
.pill.ghost:hover { background: var(--bg2); color: var(--text); }
.pill.sm, .top .pill { height: 36px; padding: 0 14px; font-size: 15px; }
.pill[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--deep); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { text-decoration: underline; }

/* the privacy light */
.light { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sec); text-decoration: none; height: 36px; padding: 0 12px; border: 1px solid var(--line2); background: #fff; }
.light b { width: 8px; height: 8px; background: var(--mute); }
.light[data-state="pass"] b { background: var(--ok); box-shadow: 0 0 8px #12a26b88; }
.light[data-state="dev"] b { background: transparent; box-shadow: inset 0 0 0 1.5px var(--sec); }
.light[data-state="fail"] b { background: #d4483f; }

/* type */
h1, h2, h3 { font-family: var(--disp); font-weight: 300; margin: 0; color: var(--text); }
h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 14px; }
h3 { font-size: clamp(22px, 2vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; margin-bottom: 10px; }
h4 { font: 500 17px/1.3 var(--sans); margin: 0 0 6px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--sec); max-width: 640px; }
.label { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--sec); }
.grad { background: linear-gradient(to right, var(--deep), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* sections cut by full-width hairlines */
.sec { border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }

/* hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 55%, var(--haze) 100%); border-bottom: 1px solid var(--line2); position: relative; overflow: hidden; min-height: min(88svh, 860px); display: flex; align-items: center; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero h1 { color: var(--navy); }
.hero .lead { color: #12436b; }
.hero .wrap { width: 100%; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }
.hero .lead { margin: 22px 0 34px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* the contract address button spans the two buttons above it */
.hero-acts { display: inline-flex; flex-direction: column; gap: 12px; max-width: 100%; }
.pill.ca { width: 100%; letter-spacing: .02em; }
/* On a phone the full contract address wraps inside the button instead of widening the page; width 0
   with min-width 100% keeps the button as wide as the two buttons above it. */
@media (max-width: 640px) { .pill.ca { width: 0; min-width: 100%; height: auto; min-height: 48px; padding: 10px 16px; white-space: normal; overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; } }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* blurred orbs */
.orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(102px); pointer-events: none; z-index: 0; }
.orb.p { background: radial-gradient(circle, var(--sky2), var(--haze)); opacity: .45; }
.orb.g { background: radial-gradient(circle, var(--haze), var(--cloud)); opacity: .7; }
.sec > .wrap, .hero > .wrap, .cta > :not(.orb):not(canvas) { position: relative; z-index: 1; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 6vw, 120px); margin-top: 56px; }
.num { width: 32px; height: 32px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; margin-bottom: 18px; }
.steps p { color: var(--sec); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* big bordered panel split into rows */
.panel { border: 1px solid var(--line); background: var(--card); margin-top: 48px; box-shadow: 0 30px 60px -40px #0b6fb340; }
.panel > .prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); border-top: 1px solid var(--line); }
.panel > .prow:first-child { border-top: 0; }
.prow > div { padding: clamp(24px, 3vw, 48px); min-width: 0; }
.prow > div + div { border-left: 1px solid var(--line); background: var(--bg2); }
.prow p { color: var(--sec); line-height: 1.6; }
@media (max-width: 860px) { .panel > .prow { grid-template-columns: 1fr; } .prow > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* tile band: the hairline squares around the call to action */
.tiles { display: grid; grid-template-columns: repeat(16, 1fr); }
.tiles i { aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiles.top { border-bottom: 0; }
.tiles.bot i { border-bottom: 0; border-top: 1px solid var(--line); }
.tiles i.lit { background: linear-gradient(135deg, var(--haze), transparent 90%); }
.tiles i:last-child { border-right: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(8, 1fr); } .tiles i:nth-child(n+9) { display: none; } .tiles i:nth-child(8) { border-right: 0; } }
.cta { text-align: center; padding: clamp(56px, 7vw, 104px) var(--pad); position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky2), var(--haze)); }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta h2 { max-width: 780px; margin: 0 auto 28px; }
.cta .ctas { justify-content: center; }
.band { border-bottom: 1px solid var(--line); }

/* generic app surfaces */
.page { padding: clamp(40px, 5vw, 72px) 0; }
.page > .wrap > h2 { margin-bottom: 10px; }
.grid { display: grid; gap: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 32px); min-width: 0; border-radius: 0; }
/* cards in a grid share their hairlines, like render's framed panels */
.grid.g2 > .card:nth-child(2n), .grid.g3 > .card:not(:nth-child(3n+1)) { border-left: 0; }
.grid.g2 > .card:nth-child(n+3), .grid.g3 > .card:nth-child(n+4) { border-top: 0; }
@media (max-width: 860px) { .grid > .card { border-left: 1px solid var(--line) !important; } .grid > .card:not(:first-child) { border-top: 0 !important; } }
.card.flat { background: var(--bg2); }
.card h3 { font-size: 24px; }
.big { font: 300 56px/1 var(--disp); letter-spacing: -.03em; margin: 12px 0 6px; }

.receipt { font-family: var(--mono); font-size: 12.5px; color: var(--sec); background: var(--bg2); border: 1px solid var(--line); padding: 20px; white-space: pre-wrap; word-break: break-all; line-height: 1.7; margin: 0; }
.receipt b { color: var(--deep); font-weight: 500; }

.rows { display: grid; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row > :first-child { color: var(--sec); }
.row > :last-child { text-align: right; min-width: 0; overflow-wrap: anywhere; }

label.f { display: grid; gap: 8px; font-size: 14px; color: var(--sec); margin-bottom: 16px; }
.in { width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 0; padding: 12px 14px; color: var(--text); outline: none; }
.in:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #1a8fdc26; }
textarea.in { min-height: 130px; resize: vertical; line-height: 1.5; }
.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.msg { font-size: 14px; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line); margin: 14px 0 0; }
.msg.err { border-color: #f1c4c0; background: #fff4f3; color: #a3271f; }
.msg:empty { display: none; }

table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-weight: 500; color: var(--faint); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.t td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: var(--bg2); }
.scroll { overflow-x: auto; }
.tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--line2); color: var(--sec); font-size: 13px; }
.tag.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty { color: var(--faint); padding: 28px 0; text-align: center; font-size: 15px; }
.yes { color: var(--ok); }

.chat { display: grid; gap: 12px; }
.bubble { padding: 14px 16px; max-width: 86%; white-space: pre-wrap; border: 1px solid var(--line); }
.bubble.me { justify-self: end; background: var(--navy); border-color: var(--navy); color: #fff; }
.bubble.me small { color: #9fc3e0; }
.bubble.ai { background: var(--bg2); }
.bubble small { display: block; color: var(--faint); font-size: 12px; margin-top: 8px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; }
.checks li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; padding: 9px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li > span { min-width: 0; }
.checks li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; background: var(--mute); }
.checks li.pass::before { background: var(--ok); }
.checks li.fail::before { background: #d4483f; }
.checks li.skip::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.checks small { display: block; color: var(--faint); font-size: 12px; overflow-wrap: anywhere; }
/* Measurements stay one line (full value on hover), and the landing's list splits in two columns. */
.checks small.mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checks small a { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.checks small a:hover { color: var(--sec); text-decoration-style: solid; }
@media (min-width: 1280px) {
  #sealChecks .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  #sealChecks .checks li:nth-last-child(2) { border-bottom: 0; }
}

ol.rules { list-style: none; padding: 0; margin: 40px 0 0; border: 1px solid var(--line); counter-reset: r; background: var(--card); }
ol.rules li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 22px clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--line); color: var(--sec); line-height: 1.6; }
ol.rules li:first-child { border-top: 0; }
ol.rules li::before { content: counter(r); width: 32px; height: 32px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; }
ol.rules b { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

table.who td:not(:first-child), table.who th:not(:first-child) { text-align: center; }

/* footer */
footer { padding: 72px 0 40px; background: var(--navy); color: #fff; }
footer .label { color: #8fb6d6 !important; }
footer p, footer a { color: #e6f3fc !important; }
footer .base { border-top-color: #ffffff22 !important; color: #8fb6d6 !important; }
footer .wordmark { font: 300 clamp(80px, 16vw, 240px)/.85 var(--disp); letter-spacing: -.05em; margin-top: 48px; background: linear-gradient(180deg, #ffffff, #75c8f855); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
footer .label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--faint); }
footer p, footer a { font-size: 15px; color: var(--text); opacity: .86; line-height: 1.6; text-decoration: none; }
footer a { display: block; padding: 3px 0; }
footer a:hover { opacity: 1; }
footer .base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }

/* dialog */
/* fades and lifts in; visibility waits for the fade on the way out so it can be seen closing */
.modal { position: fixed; inset: 0; background: #072a4a99; backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.modal.open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.modal .card { width: min(460px, 100%); transform: translate3d(0, 18px, 0) scale(.97); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.modal.open .card { transform: none; }
.wallets { display: grid; margin-top: 16px; border: 1px solid var(--line); }
.wrow { display: flex; align-items: center; gap: 14px; width: 100%; height: 60px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--text); font-size: 16px; text-decoration: none; cursor: pointer; text-align: left; transition: background .2s; }
.wrow:last-child { border-bottom: 0; }
.wrow span:nth-of-type(1) { flex: 1; }
.wrow img, .wrow i { width: 28px; height: 28px; border-radius: 7px; flex: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.wrow i { background: var(--haze); }
.wrow:hover { background: var(--bg2); }
.wrow:hover img, .wrow:hover i { transform: scale(1.08); }
.wrow .mute { font-size: 14px; }
.modal.open .wrow { animation: dash-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.modal.open .wrow:nth-child(2) { animation-delay: 40ms; } .modal.open .wrow:nth-child(3) { animation-delay: 80ms; }
.modal.open .wrow:nth-child(4) { animation-delay: 120ms; } .modal.open .wrow:nth-child(n+5) { animation-delay: 160ms; }

/* the signed-in wallet's menu: opens upward from the sidebar's button */
.side-foot { position: relative; }
.wmenu { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 40; display: grid; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px #0b6fb366; opacity: 0; visibility: hidden; transform: translate3d(0, 8px, 0); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s; }
.wmenu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.wmenu .label { font-size: 12px; color: var(--faint); }
.wmenu .wmkey { font-size: 12.5px; line-height: 1.5; word-break: break-all; text-align: left; color: var(--text); background: var(--bg2); border: 1px solid var(--line); padding: 10px 12px; cursor: copy; transition: border-color .2s, background .2s; }
.wmenu .wmkey:hover, .wmenu .wmkey:focus-visible { border-color: var(--line2); background: #fff; outline: none; }
.wmenu .pill { width: 100%; }
.pill.danger { border-color: #d4483f; color: #b3261e; }
.pill.danger:hover { background: #d4483f; border-color: #d4483f; color: #fff; }
@media (prefers-reduced-motion: reduce) { .modal, .modal .card, .wmenu, .modal.open .wrow { transition: none; animation: none; transform: none; } }

[hidden] { display: none !important; }
@media (max-width: 560px) {
  .top .bar { gap: 8px; }
  .light span { display: none; }
  .light { padding: 0 12px; }
  .brand { font-size: 18px; }
}
.grid.sp { gap: clamp(24px, 3vw, 48px); }
.hero.solo .wrap { grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin: 0; }
.hero.solo h1 { font-size: clamp(44px, 6vw, 88px); }

/* hero: sky with drawn clouds and a white example card */
.herogrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding: clamp(64px, 9vw, 128px) 0; }
.herogrid h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; }
.herogrid .lead { margin: 24px 0 36px; }
@media (max-width: 960px) { .herogrid { grid-template-columns: 1fr; } }
.example { background: #ffffffe6; backdrop-filter: blur(10px); border: 1px solid #ffffff; box-shadow: 0 40px 80px -40px #0b6fb366; }
.ex-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ex-in { padding: 22px 24px; font: 300 22px/1.35 var(--disp); color: var(--navy); border-bottom: 1px solid var(--line); }
.ex-rules { margin: 0; padding: 8px 24px 8px 24px; list-style: none; counter-reset: x; }
.ex-rules li { counter-increment: x; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--sec); font-size: 15px; }
.ex-rules li:last-child { border-bottom: 0; }
.ex-rules li::before { content: counter(x); width: 26px; height: 26px; background: var(--haze); color: var(--deep); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.ex-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); font-size: 13px; color: var(--deep); }
.ex-foot span { padding: 14px 24px; }
.ex-foot span + span { border-left: 1px solid var(--line); }
.cta h2 { color: var(--navy); }
.hero > .wrap { display: block; padding-top: 0; padding-bottom: 0; }

/* scroll motion (src/motion.js). Only applied when JavaScript runs and motion is allowed. */
html.atl-smooth { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.atl-rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--atl-delay, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--atl-delay, 0ms); }
.atl-rv.atl-in { opacity: 1; transform: none; }
.hero canvas, .cta canvas, .herogrid h1, .herogrid .lead { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .atl-rv { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* brand */
.brand { color: var(--navy); }
.brand-svg { height: 26px; width: auto; display: block; }
.foot-brand { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); margin-top: 56px; color: #fff; }
.foot-mark { height: clamp(64px, 9vw, 140px); width: auto; flex: none; }
.foot-word { height: clamp(48px, 7.4vw, 116px); width: auto; max-width: 100%; }
@media (max-width: 560px) { .brand-svg { height: 22px; } }

/* the fan: the brand mark as the hero's signature graphic, turned by scrolling */
.fan { position: absolute; right: clamp(-120px, -2vw, 0px); top: 50%; width: clamp(560px, 50vw, 900px); height: auto; translate: 0 -50%; opacity: .95; filter: drop-shadow(0 30px 60px #0b6fb333); pointer-events: none; z-index: 0; will-change: transform; } /* own layer: turning it never repaints its shadow */
@media (max-width: 960px) { .fan { width: 420px; top: 18%; right: -140px; opacity: .55; } }
@media (max-width: 420px) {
  .brand-svg { height: 19px; }
  .top .pill { padding: 0 10px; font-size: 14px; }
  .top .bar { gap: 6px; }
}

/* scroll-driven layer (src/scrollfx.js) */
.top { transition: box-shadow .3s; }
.top.atl-scrolled { box-shadow: 0 10px 30px -18px #0b6fb355; }
.atl-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--deep)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

.atl-split .atl-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.atl-split .atl-wi { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s cubic-bezier(.2, .75, .15, 1) calc(var(--i) * 45ms); }
.atl-split.atl-in .atl-wi { transform: none; }

.atl-pin { height: 280vh; padding: 0 !important; overflow: visible !important; border-bottom: 1px solid var(--line); }
.atl-pin > .wrap { position: sticky; top: 57px; min-height: calc(100vh - 57px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.atl-rail { height: 2px; background: var(--line); margin-top: 48px; overflow: hidden; }
.atl-rail i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--deep)); transform: scaleX(0); transform-origin: 0 50%; }
.atl-pin .steps { margin-top: 40px; }
.atl-pin .steps > div { opacity: .28; transform: translate3d(0, 14px, 0); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .75, .15, 1); }
.atl-pin .steps > div.atl-step-on { opacity: 1; transform: none; }
.atl-pin .steps .num { background: var(--haze); color: var(--deep); transition: background .4s, color .4s; }
.atl-pin .steps > div.atl-step-on .num { background: var(--blue); color: #fff; }
.atl-pin .steps > div.atl-step-now h3 { color: var(--deep); }

.panel > .prow.atl-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.65, 0, .2, 1); }
.panel > .prow.atl-wipe.atl-open { clip-path: inset(0 0 0 0); }

.tiles i { transition: background .5s ease; }
.tiles i.atl-on:not(.lit) { background: linear-gradient(135deg, #eaf6fe, transparent 85%); }

/* header: the X button gives way on small phones; the footer still has the handle */
@media (max-width: 560px) { .top .x-pill { display: none !important; } }

/* dashboard: a sticky sidebar beside the app pages (shell.js wraps them) */
.dash { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - 57px); }
.dash > * { min-width: 0; }
.side { position: sticky; top: 57px; height: calc(100vh - 57px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: var(--bg2); padding: 20px 12px; view-transition-name: dash-side; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-decoration: none; color: var(--sec); font-size: 15px; transition: background .2s, color .2s; }
.side-nav a svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.side-nav a:hover { background: #ffffffb3; color: var(--text); }
.side-nav a:hover svg { transform: translateX(2px); }
.side-nav a[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: 0 8px 24px -16px #0b6fb366; }
.side-nav .mark { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sky), var(--deep)); view-transition-name: dash-mark; }
.side-foot { display: grid; gap: 10px; padding: 0 2px; }
.side-foot .label { font-size: 12px; color: var(--faint); }
.side-foot > .pill { width: 100%; height: 40px; font-size: 15px; }
.dash-main { min-width: 0; view-transition-name: dash-main; }
.dash-main > .wrap { animation: dash-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dash-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .side { position: sticky; top: 56px; z-index: 20; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 8px var(--pad); border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; } /* the tabs scroll, the wallet button stays in view */
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { padding: 8px 12px; white-space: nowrap; }
  .side-nav .mark { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 2px; }
  .side-foot { display: flex; align-items: center; flex: none; }
  .side-foot .label { display: none; }
  .side-foot > .pill { width: auto; height: 36px; }
  .wmenu { position: fixed; top: 116px; left: auto; right: var(--pad); bottom: auto; width: min(340px, calc(100vw - 2 * var(--pad))); transform: translate3d(0, -8px, 0); }
}

/* page changes inside the dashboard: header and sidebar hold still, the content cross-fades */
@view-transition { navigation: auto; }
.top { view-transition-name: top; }
::view-transition-old(dash-main) { animation: dash-out .18s ease both; }
::view-transition-new(dash-main) { animation: dash-in .45s cubic-bezier(.2, .7, .2, 1) both; }
::view-transition-group(dash-mark) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@keyframes dash-out { to { opacity: 0; } }

/* overview */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--card); margin-top: 22px; }
.stat { display: grid; gap: 4px; align-content: start; padding: clamp(20px, 2.2vw, 28px); text-decoration: none; color: inherit; border-left: 1px solid var(--line); position: relative; overflow: hidden; transition: background .25s; }
.stat:first-child { border-left: 0; }
.stat .big { margin: 10px 0 4px; font-size: clamp(36px, 3.4vw, 52px); }
.stat .big.seal { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.25; }
.stat .dim { font-size: 14px; }
a.stat::after { content: "→"; position: absolute; right: 22px; top: 20px; color: var(--deep); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
a.stat:hover { background: var(--bg2); }
a.stat:hover::after { opacity: 1; transform: none; }
.stat[data-state="pass"] .seal { color: var(--ok); }
.stat[data-state="fail"] .seal { color: #d4483f; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }
.jump { padding: 0; }
.jump a { display: grid; gap: 2px; padding: 16px clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); text-decoration: none; transition: background .2s, padding-left .25s cubic-bezier(.2, .7, .2, 1); }
.jump a:first-child { border-top: 0; }
.jump a b { font-weight: 500; }
.jump a span { color: var(--sec); font-size: 14px; }
.jump a:hover { background: var(--bg2); padding-left: calc(clamp(20px, 2.4vw, 28px) + 6px); }

/* terms and privacy */
.legal { max-width: 820px; }
.legal h2 { margin-top: 10px; }
.legal h3 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--sec); line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal li { margin-bottom: 8px; }
.legal li b { color: var(--text); font-weight: 500; }
.legal .lead { margin: 18px 0 8px; }

@media (prefers-reduced-motion: reduce) {
  .dash-main > .wrap { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* toast: slides up from the bottom right (shell.js toast) */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: min(380px, calc(100vw - 32px)); padding: 14px 18px; background: var(--navy); color: #fff; font-size: 15px; box-shadow: 0 24px 48px -20px #072a4a99; opacity: 0; transform: translate3d(0, calc(100% + 32px), 0); transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.toast.in { opacity: 1; transform: none; }
.toast b { width: 8px; height: 8px; flex: none; background: var(--ok); box-shadow: 0 0 8px #12a26b88; }
@media (max-width: 560px) { .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .toast { transform: none; transition: opacity .2s ease; } }

/* Cyber GPU: the old pinwheel "fan" has no equivalent in the square logo; the logo lives in header/footer/favicon */
.fan { display: none !important; }
