:root {
  --ink: #11100f;
  --ink-soft: #302d29;
  --paper: #f3eee7;
  --paper-light: #fcf9f4;
  --line: rgba(17, 16, 15, 0.18);
  --accent: #f0441d;
  --accent-dark: #8f1708;
  --coral: #ff5a5f;
  --white: #fffdf9;
  --max: 1600px;
  --content: 1320px;
  --gutter: clamp(20px, 4vw, 72px);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .82, .26, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--ink);
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dark-scroll-root {
  color-scheme: dark;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 68, 29, .05), transparent 24rem),
    var(--paper);
  font-family: var(--body);
  font-size: clamp(15px, .9vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

::selection { color: var(--white); background: var(--accent); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(82px, 9vw, 160px);
  border-top: 1px solid var(--line);
}

.section--compact { padding-block: clamp(60px, 6vw, 104px); }
.section--context { padding-top: clamp(150px, 17vw, 300px); }
.section--dark { color: var(--white); background: var(--ink); border-color: rgba(255,255,255,.16); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before { width: 7px; height: 7px; background: currentColor; content: ""; }

.display-title, .section-title, .page-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .92;
  text-transform: uppercase;
}

.section-title { max-width: 15ch; font-size: clamp(2.5rem, 5vw, 5.8rem); }
.page-title { max-width: 13ch; font-size: clamp(3.4rem, 8.8vw, 9.5rem); }

.lede {
  max-width: 55ch;
  margin: 24px 0 0;
  color: #58534d;
  font-size: clamp(1.08rem, 1.45vw, 1.45rem);
  line-height: 1.48;
}

.section--dark .lede { color: rgba(255,255,255,.66); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s var(--ease);
}

.button::after { content: "→"; font-size: 1.2em; transition: transform .25s var(--ease); }
.button:hover { color: var(--ink); background: var(--white); transform: translateY(-2px); }
.button:hover::after { transform: translateX(4px); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--accent); }
.button--outline { color: var(--ink); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--ink); }

/* Header */
.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  height: 92px;
  color: var(--white);
}

.site-header--solid {
  position: relative;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.header-inner {
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--max));
  height: 100%;
  align-items: center;
  margin-inline: auto;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  gap: 30px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1;
  text-decoration: none;
}

.brand img { width: 30px; height: 28px; }
.nav-list { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 54px); margin: 0; padding: 0; list-style: none; }
.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 12px;
  color: inherit;
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-auth-mobile { display: none; }
.header-action { justify-self: end; min-height: 42px; padding: 10px 18px; color: var(--white); background: rgba(0,0,0,.2); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  color: var(--white);
  background: #030303 url("assets/hero-astronaut.png") 50% 54% / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.54) 36%, transparent 63%),
    linear-gradient(0deg, rgba(0,0,0,.62) 0%, transparent 36%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: .7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding: 160px 0 clamp(62px, 7vw, 110px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.74);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-kicker::before { width: 46px; height: 1px; background: var(--accent); content: ""; }
.hero-title { max-width: 8ch; font-size: clamp(4.3rem, 10.5vw, 12rem); }
.hero-subtitle { max-width: 34ch; margin: 24px 0 34px; color: rgba(255,255,255,.76); font-size: clamp(1.08rem, 1.6vw, 1.55rem); line-height: 1.4; }
.hero-scroll { position: absolute; right: 0; bottom: 68px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.56); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll::after { width: 1px; height: 70px; background: linear-gradient(var(--accent), transparent); content: ""; }

.hero-kicker, .hero-title, .hero-subtitle, .hero .button { opacity: 0; transform: translateY(30px); animation: hero-in .9s var(--ease) forwards; }
.hero-title { animation-delay: .14s; }
.hero-subtitle { animation-delay: .28s; }
.hero .button { animation-delay: .42s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

/* Market */
.market-grid { display: grid; align-items: center; grid-template-columns: minmax(260px, .78fr) minmax(460px, 1.5fr); gap: clamp(30px, 7vw, 120px); }
.market-copy .section-title { max-width: 8ch; }
.market-visual { margin: 0; }
.market-visual img { width: 100%; filter: saturate(.92); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(440px,1.2fr); gap: clamp(40px, 7vw, 120px); }
.about-copy { align-self: center; }
.about-copy p:not(.eyebrow) { max-width: 36ch; color: #4c4741; font-size: clamp(1.05rem,1.3vw,1.3rem); }
.cliff-figure { position: relative; margin: 0; }
.cliff-labels { position: absolute; top: 20%; right: 0; display: grid; width: 35%; gap: clamp(44px, 5vw, 92px); }
.cliff-labels h3 { margin: 0 0 5px; font-family: var(--display); font-size: 1rem; text-transform: uppercase; }
.cliff-labels p { margin: 0; color: #686159; font-size: .75rem; line-height: 1.45; }

/* Features */
.features-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.features-head .lede { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { position: relative; min-height: 330px; padding: clamp(28px,3.2vw,54px); background: var(--paper); transform: translateZ(0); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease; }
.feature-index { color: var(--accent); font-family: var(--display); font-size: .75rem; font-weight: 900; letter-spacing: .1em; }
.feature-card h3 { margin: 72px 0 12px; font-family: var(--display); font-size: clamp(1.8rem,2.6vw,3rem); letter-spacing: -.04em; line-height: .95; text-transform: uppercase; }
.feature-card p { max-width: 31ch; margin: 0; color: #625c55; }
.feature-icon { position: absolute; right: 30px; bottom: 28px; width: 92px; height: 62px; }
.bars { display: flex; align-items: end; justify-content: end; gap: 6px; }
.bars i { width: 8px; height: calc(var(--i) * 7px); background: var(--ink); }
.bars i:last-child { background: var(--accent); }
.routes { border-bottom: 2px solid var(--ink); }
.routes::before, .routes::after { position: absolute; right: 0; height: 2px; background: var(--ink); content: ""; }
.routes::before { bottom: 34px; width: 64%; }
.routes::after { bottom: 50px; width: 42%; background: var(--accent); }
.control-scale { display: flex; align-items: end; gap: 4px; }
.control-scale i { flex: 1; height: 16px; background: #aaa49d; }
.control-scale i:nth-child(3) { background: var(--ink); }
.control-scale i:nth-child(n+4) { background: var(--accent); }

@media (hover:hover) and (pointer:fine) {
  .feature-card:hover { z-index: 2; background: var(--paper-light); box-shadow: 0 28px 65px rgba(38,28,20,.23); transform: scale(1.025); }
}

/* Tools */
.tools-layout { display: grid; margin-top: 50px; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); }
.tool-card { position: relative; min-height: 460px; padding: clamp(28px,3.8vw,58px); overflow: hidden; }
.tool-card + .tool-card { border-left: 1px solid var(--line); }
.tool-card h3 { margin: 0; font-family: var(--display); font-size: clamp(1.7rem,2.7vw,3rem); text-transform: uppercase; }
.tool-card > p { max-width: 34ch; color: #625c55; }
.chart { position: absolute; right: 9%; bottom: 10%; left: 9%; height: 48%; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 40px), repeating-linear-gradient(90deg, transparent 0 63px, var(--line) 64px); }
.chart-line { position: absolute; inset: 10% 3% 8%; }
.chart-line svg { width: 100%; height: 100%; overflow: visible; }
.signal-table { width: 100%; margin-top: 48px; border-collapse: collapse; font-family: var(--display); font-size: .78rem; }
.signal-table th { padding: 10px 4px; border-bottom: 1px solid var(--line); color: #777168; font-size: .66rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.signal-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.signal-table .buy, .signal-table .sell { color: var(--accent); font-weight: 800; }

/* FAQ */
.faq-list { display: grid; margin: 48px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: grid; width: 100%; min-height: 74px; align-items: center; padding: 16px 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; grid-template-columns: 1fr auto; gap: 20px; text-align: left; }
.faq-question span:first-child { font-family: var(--display); font-size: clamp(1.05rem,1.7vw,1.55rem); font-weight: 800; }
.faq-plus { position: relative; width: 36px; height: 36px; border: 1px solid var(--line); }
.faq-plus::before, .faq-plus::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--accent); content: ""; transform: translate(-50%,-50%); transition: transform .25s ease; }
.faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s var(--ease), opacity .35s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 66ch; margin: 0; padding: 0 56px 26px 0; color: #5e5851; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; opacity: 1; }

.faq-page { min-height: calc(100svh - 92px); padding: clamp(70px,8vw,130px) 0; color: var(--white); background: #0d0a0b; }
.faq-page .page-title { margin-bottom: 46px; }
.faq-page .faq-list { gap: clamp(18px,3vw,36px); border: 0; }
.faq-page .faq-item { border: 0; border-radius: 22px; background: var(--coral); overflow: hidden; }
.faq-page .faq-question { min-height: clamp(108px,11vw,170px); padding: clamp(24px,3vw,48px); color: var(--white); }
.faq-page .faq-question span:first-child { font-size: clamp(1.5rem,3.2vw,3.2rem); line-height: 1.13; }
.faq-page .faq-plus { width: clamp(50px,5vw,72px); height: clamp(50px,5vw,72px); border: 0; border-radius: 18px; background: #340808; box-shadow: 0 17px 29px rgba(39,0,0,.34); }
.faq-page .faq-plus::before, .faq-page .faq-plus::after { background: var(--white); }
.faq-page .faq-answer p { max-width: 70ch; padding: 0 clamp(24px,3vw,48px) clamp(28px,3vw,48px); color: rgba(255,255,255,.88); font-size: 1.05rem; }

/* Steps + context */
.steps-wrap { display: grid; align-items: end; grid-template-columns: 1fr 1fr; gap: 40px; }
.step-list { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 42px; }
.step { min-height: 180px; padding-right: 24px; border-right: 1px solid var(--line); }
.step:last-child { border: 0; padding-left: 24px; }
.step:nth-child(2) { padding-left: 24px; }
.step-number { display: block; margin-bottom: 20px; font-family: var(--display); font-size: clamp(2.6rem,4vw,4.6rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; }
.step p { margin: 0; font-family: var(--display); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.steps-visual { margin: 0; }
.context-panel { display: grid; align-items: end; grid-template-columns: 1fr auto; gap: 40px; }
.context-title { max-width: 10ch; font-size: clamp(3rem,6vw,7.5rem); }

/* Inner pages */
.page-hero { position: relative; padding: clamp(90px,11vw,180px) 0; overflow: hidden; }
.page-hero::after { position: absolute; top: -22%; right: -5%; width: min(50vw,700px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; box-shadow: inset 0 0 0 70px rgba(240,68,29,.035), inset 0 0 0 140px rgba(240,68,29,.025); }
.page-hero .lede { position: relative; z-index: 1; }
.manifesto-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,5vw,80px); margin-top: 64px; }
.manifesto-item { padding-top: 22px; border-top: 2px solid var(--ink); }
.manifesto-item span { color: var(--accent); font-family: var(--display); font-size: .75rem; font-weight: 900; }
.manifesto-item h2 { margin: 38px 0 12px; font-family: var(--display); font-size: clamp(1.8rem,3vw,3.5rem); line-height: .98; text-transform: uppercase; }
.manifesto-item p { color: #5b554e; }
.instruction-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.instruction-card { display: grid; min-height: 390px; align-items: center; padding: clamp(34px,5vw,76px); background: var(--paper); grid-template-columns: .65fr 1.35fr; gap: 60px; }
.instruction-card:nth-child(even) { background: var(--ink); color: var(--white); }
.instruction-card-number { color: var(--accent); font-family: var(--display); font-size: clamp(6rem,13vw,14rem); letter-spacing: -.08em; line-height: .8; }
.instruction-card h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(2rem,4vw,4.7rem); line-height: .94; text-transform: uppercase; }
.instruction-card p { max-width: 52ch; color: #625c55; }
.instruction-card:nth-child(even) p { color: rgba(255,255,255,.67); }

/* Partners */
.partner-hero { color: var(--white); background: linear-gradient(135deg,#2a0505,#6b0907 58%,#120302); }
.partner-hero::after { border-color: rgba(255,255,255,.15); box-shadow: inset 0 0 0 70px rgba(255,255,255,.02), inset 0 0 0 140px rgba(255,255,255,.02); }
.partner-hero .lede { color: rgba(255,255,255,.7); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,100px); }
.partner-terms { display: grid; gap: 1px; background: var(--line); }
.partner-term { padding: 34px; background: var(--paper); }
.partner-term strong { display: block; margin-bottom: 12px; color: var(--accent); font-family: var(--display); font-size: 2rem; }
.contact-card { align-self: start; padding: clamp(32px,5vw,68px); color: var(--white); background: var(--ink); }
.contact-card h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(2rem,4vw,4rem); text-transform: uppercase; }
.contact-card p { color: rgba(255,255,255,.67); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Login */
.login-page { display: grid; min-height: calc(100svh - 92px); color: var(--white); background: var(--ink); grid-template-columns: minmax(0,1.2fr) minmax(390px,.8fr); }
.login-art { position: relative; min-height: 620px; background: #030303 url("assets/hero-astronaut.png") 48% 52% / cover no-repeat; }
.login-art::after { position: absolute; inset: 0; background: linear-gradient(90deg,transparent 45%,var(--ink)), linear-gradient(0deg,rgba(0,0,0,.45),transparent 50%); content: ""; }
.login-art-copy { position: absolute; z-index: 1; right: 12%; bottom: 10%; left: 8%; }
.login-art-copy h1 { max-width: 8ch; font-size: clamp(3.4rem,6vw,8rem); }
.login-form-wrap { display: grid; align-items: center; padding: clamp(30px,5vw,80px); }
.login-form { width: 100%; max-width: 520px; margin-inline: auto; }
.login-form h2 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(2.2rem,4vw,4.2rem); text-transform: uppercase; }
.login-form > p { margin: 0 0 36px; color: rgba(255,255,255,.6); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--display); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.field input { width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 0; color: var(--white); background: transparent; }
.field input:focus { border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: #ff7777; }
.field-error { color: #ff9b9b; font-size: .82rem; }
.form-status { min-height: 24px; margin: 16px 0; color: rgba(255,255,255,.75); }
.login-form .button { width: 100%; cursor: pointer; }
.login-note { margin-top: 24px; color: rgba(255,255,255,.44); font-size: .78rem; }

/* Legal */
.legal { min-height: 70svh; }
.legal article { max-width: 800px; }
.legal h2 { margin-top: 44px; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; }
.legal p, .legal li { color: #575149; }

/* Footer */
.site-footer { color: var(--white); background: linear-gradient(160deg,#8d0908 0%,#390505 58%,#100202 100%); }
.footer-inner { padding: clamp(66px,8vw,120px) 0 34px; }
.footer-top { display: grid; align-items: center; grid-template-columns: 1fr auto; gap: 40px; }
.footer-partner { font-family: var(--display); font-size: clamp(1.6rem,3vw,3.2rem); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.footer-socials { display: flex; gap: 16px; }
.social-link { display: grid; width: 66px; height: 66px; place-items: center; border: 2px solid var(--accent); border-radius: 50%; color: #ff6a55; transition: color .25s ease, background .25s ease, transform .25s var(--ease); }
.social-link:hover { color: #3b0707; background: #ff6a55; transform: translateY(-4px); }
.social-link svg { width: 30px; height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(22px,3vw,50px); margin: clamp(50px,6vw,85px) 0; }
.footer-links a { font-size: clamp(1rem,1.6vw,1.5rem); text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.48); }

/* Motion */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal[data-reveal="left"] { transform: translateX(-48px); }
.reveal[data-reveal="right"] { transform: translateX(48px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0); }

@media (min-width: 1700px) {
  .hero { background-size: min(100vw, 2000px) auto; background-position: center 55%; }
  .hero-inner { padding-bottom: 8vh; }
  .hero-title { font-size: min(10vw, 12rem); }
}

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-action { margin-right: 62px; }
  .menu-toggle { position: absolute; right: var(--gutter); display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.38); color: inherit; background: rgba(0,0,0,.2); cursor: pointer; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { position: absolute; }
  .menu-toggle::before { transform: translateY(-6px); }
  .menu-toggle::after { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .site-nav.is-open { position: fixed; display: grid; inset: 0; place-items: center; color: var(--white); background: rgba(17,16,15,.98); }
  .site-nav.is-open .nav-list { flex-direction: column; gap: 8px; }
  .site-nav.is-open .nav-auth-mobile { display: list-item; }
  .site-nav.is-open .nav-link { font-size: clamp(1.8rem,5vw,3.4rem); }
  .market-grid, .about-grid { grid-template-columns: 1fr; }
  .market-copy { max-width: 700px; }
  .market-visual { margin-top: -40px; }
  .about-copy { max-width: 640px; }
  .cliff-figure { max-width: 800px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .feature-card h3 { margin-top: 38px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .steps-visual { max-width: 720px; margin-inline: auto; }
  .login-page { grid-template-columns: 1fr; }
  .login-art { min-height: 58svh; }
  .login-art::after { background: linear-gradient(0deg,var(--ink),transparent 35%); }
  .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding-block: 78px; }
  .section--context { padding-top: 140px; }
  .site-header { height: 74px; }
  .brand { font-size: .9rem; }
  .brand img { width: 26px; }
  .header-action { display: none; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { min-height: 100svh; background-position: 60% center; background-size: auto 100%; }
  .hero::before { background: linear-gradient(0deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.22) 68%), linear-gradient(90deg,rgba(0,0,0,.35),transparent); }
  .hero-inner { padding: 120px 0 54px; }
  .hero-title { max-width: 7ch; font-size: clamp(3.8rem,20vw,6.5rem); }
  .hero-subtitle { max-width: 26ch; margin-top: 16px; }
  .hero-scroll { display: none; }
  .market-visual { width: 100%; margin-left: 0; }
  .cliff-figure { padding-bottom: 120px; }
  .cliff-labels { top: auto; right: 0; bottom: 0; left: 0; width: 100%; grid-template-columns: repeat(3,1fr); gap: 14px; }
  .cliff-labels p { display: none; }
  .features-head { display: block; }
  .features-head .lede { margin-top: 22px; }
  .feature-card { min-height: 260px; padding: 28px; }
  .tools-layout { grid-template-columns: 1fr; }
  .tool-card { min-height: 400px; }
  .tool-card + .tool-card { border-top: 1px solid var(--line); border-left: 0; }
  .signal-table { font-size: .7rem; }
  .signal-table th:nth-child(4), .signal-table td:nth-child(4) { display: none; }
  .step-list { grid-template-columns: 1fr; }
  .step, .step:nth-child(2), .step:last-child { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .context-panel { align-items: start; grid-template-columns: 1fr; }
  .context-panel .button { justify-self: start; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .instruction-card { min-height: 0; grid-template-columns: 1fr; gap: 30px; }
  .instruction-card-number { font-size: 7rem; }
  .faq-page .page-title { font-size: 3.6rem; }
  .faq-page .faq-question { grid-template-columns: 1fr 52px; }
  .footer-top, .footer-bottom { align-items: start; grid-template-columns: 1fr; }
  .footer-top { display: grid; }
  .footer-socials { margin-top: 12px; }
  .social-link { width: 56px; height: 56px; }
  .footer-links { align-items: flex-start; flex-direction: column; }
  .footer-bottom { display: grid; }
  .login-art { min-height: 48svh; background-position: 56% center; }
  .login-form-wrap { padding-block: 64px; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translateY(42px); }
  .reveal.is-visible { transform: translate(0,0); }
}

@media (max-width: 440px) {
  .hero-title { font-size: 3.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .button { min-height: 48px; }
  .cliff-labels h3 { font-size: .72rem; }
  .tool-card { min-height: 360px; }
  .signal-table td, .signal-table th { padding-inline: 2px; }
  .faq-page .faq-question { min-height: 112px; padding: 22px; grid-template-columns: 1fr 46px; }
  .faq-page .faq-plus { width: 46px; height: 46px; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal, .hero-kicker, .hero-title, .hero-subtitle, .hero .button { opacity: 1; transform: none; }
}

/* 2026 visual refresh — built from the supplied POKORITEL references */
:root {
  --ink: #0b0a09;
  --ink-soft: #38332e;
  --paper: #f5f0e9;
  --paper-light: #fbf8f3;
  --line: rgba(11, 10, 9, .22);
  --accent: #ef3f18;
  --white: #fffdf8;
  --max: 1640px;
  --content: 1480px;
  --gutter: clamp(22px, 4vw, 76px);
  --display: "Oswald", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.5;
}

.wide-container {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.container { width: min(100% - (var(--gutter) * 2), var(--content)); }

.section-title,
.page-title,
.display-title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .94;
}

.section-title {
  max-width: 11ch;
  font-size: clamp(3.6rem, 6.3vw, 7.4rem);
}

.section-title--wide { max-width: 17ch; }
.page-title { font-size: clamp(4.6rem, 9vw, 10rem); }

.eyebrow {
  display: block;
  margin-bottom: 24px;
  font-family: var(--body);
  font-size: clamp(.9rem, 1.25vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow::before { content: none; }

.lede {
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.45vw, 1.55rem);
}

.button {
  min-height: 58px;
  padding: 15px 32px;
  border-color: var(--ink);
  border-radius: 0;
  font-family: var(--body);
  font-size: clamp(.86rem, 1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: .02em;
}

.button::after { content: none; }
.button:hover { color: var(--white); background: var(--accent); }
.button--outline { color: var(--ink); background: transparent; }

.text-link {
  display: inline-block;
  padding-block: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-transform: uppercase;
}

/* Header */
.site-header {
  height: 116px;
}

.site-header--hero {
  background: #020202;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .32);
}

.site-header--solid {
  color: var(--white);
  background: var(--ink);
}

.header-inner {
  width: min(100% - (var(--gutter) * 2), var(--max));
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  gap: clamp(24px, 3.5vw, 70px);
}

.brand {
  gap: 14px;
  font-family: var(--body);
  font-size: clamp(1.25rem, 1.7vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand img { width: 52px; height: 48px; }
.nav-list { gap: clamp(24px, 2.7vw, 52px); }
.nav-link { font-family: var(--body); font-size: clamp(.82rem, 1vw, 1rem); letter-spacing: .015em; }
.header-action { min-width: 178px; min-height: 54px; margin: 0; background: transparent; }
.menu-toggle { min-width: 66px; padding: 0 12px; border: 1px solid currentColor; color: inherit; background: transparent; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.menu-toggle::before,
.menu-toggle::after { content: none !important; }
.menu-toggle span { position: static; width: auto; height: auto; background: none; }

/* Hero */
.hero {
  min-height: 100svh;
  align-items: stretch;
  background: #020202 url("assets/hero-reference.png") center / cover no-repeat;
  animation: hero-scene-in 1.25s var(--ease) both;
}

.hero::before { background: none; }
.hero::after { height: 1px; opacity: .58; }

.hero-accessible-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes hero-scene-in {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

/* Live statistics */
.market-stats {
  position: relative;
  color: var(--ink);
  background: var(--paper-light);
  border-block: 1px solid var(--ink);
  overflow: hidden;
}
.stats-inner { padding-block: clamp(46px, 5.8vw, 92px); }
.stats-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: clamp(28px, 3vw, 46px); border-bottom: 1px solid var(--ink); }
.stats-heading p { margin: 0 0 8px; color: var(--accent); font-family: var(--display); font-size: clamp(1rem, 1.25vw, 1.3rem); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.stats-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 8vw, 8.6rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: uppercase;
}
.stats-periods { display: flex; gap: clamp(20px, 3.4vw, 56px); }
.stats-periods button {
  min-width: 54px;
  min-height: 48px;
  padding: 0 5px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.stats-periods button[aria-pressed="true"] { border-bottom-color: var(--accent); }
.stats-periods button:hover { color: var(--accent); }
.stats-periods button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.stats-grid {
  display: grid;
  margin-top: 0;
  border-bottom: 1px solid var(--ink);
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  display: grid;
  min-height: clamp(210px, 21vw, 320px);
  align-content: end;
  padding: clamp(26px, 3vw, 46px) clamp(20px, 2.6vw, 42px);
  border-right: 1px solid var(--line);
  background: transparent;
}
.stat-card:last-child { border-right: 0; }
.stat-card::before { width: 10px; height: 10px; margin-bottom: 22px; background: var(--accent); content: ""; }
.stat-card strong { font-family: var(--display); font-size: clamp(5rem, 9.2vw, 10rem); font-weight: 900; letter-spacing: -.06em; line-height: .72; }
.stat-card p { margin: 28px 0 0; font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.45rem); font-weight: 900; line-height: 1; text-transform: uppercase; }
.stats-performance { display: grid; align-items: center; padding: clamp(24px, 3vw, 42px) clamp(20px, 1.8vw, 30px); border-bottom: 1px solid var(--ink); grid-template-columns: minmax(180px, .55fr) 1.7fr minmax(180px, .5fr); gap: clamp(24px, 4vw, 64px); }
.performance-label { display: grid; }
.performance-label span,
.performance-label small,
.direction-share span { font-family: var(--display); font-weight: 900; text-transform: uppercase; }
.performance-label strong { margin-top: 7px; font-family: var(--display); font-size: clamp(3rem, 4vw, 4.8rem); line-height: .9; }
.performance-label small { color: var(--ink-soft); }
.direction-breakdown { display: grid; gap: 14px; }
.direction-bar { position: relative; height: 20px; background: var(--accent); overflow: hidden; }
.direction-bar span { display: block; width: var(--up-share, 0%); height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.direction-values { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px 14px; font-family: var(--display); text-transform: uppercase; }
.direction-values strong { font-size: 1.8rem; }
.direction-values span { align-self: center; }
.direction-share { display: grid; padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.direction-share strong { color: var(--accent); font-family: var(--display); font-size: clamp(3.2rem, 5vw, 5.8rem); line-height: .9; }
.stat-card strong,
.performance-label strong,
.direction-values strong,
.direction-share strong { font-variant-numeric: tabular-nums; }
.demo-stats-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 18px clamp(20px, 1.8vw, 30px);
  border-bottom: 1px solid var(--ink);
  color: var(--ink-soft);
  font-size: clamp(.84rem, 1vw, 1rem);
  line-height: 1.45;
}
.demo-stats-note strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.demo-stats-note span { text-wrap: pretty; }

/* Home sections */
.home-section {
  position: relative;
  padding-block: clamp(76px, 7vw, 124px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.market-section { display: grid; align-items: center; }
.market-grid { grid-template-columns: minmax(360px, .78fr) minmax(600px, 1.35fr); gap: clamp(34px, 4.6vw, 86px); }
.market-copy { position: relative; z-index: 2; }
.market-copy .section-title { max-width: 8ch; }
.market-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }
.market-visual { width: 112%; margin: -3% -10% -8% -2%; }
.market-visual img { width: 100%; height: auto; }

.about-section { padding-block: clamp(82px, 7vw, 126px); }
.about-new-grid {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(270px, .74fr) minmax(430px, 1.12fr) minmax(250px, .66fr);
  gap: clamp(24px, 4vw, 70px);
}

.about-copy p:not(.eyebrow) { max-width: 31ch; color: var(--ink-soft); font-size: clamp(1.08rem, 1.45vw, 1.45rem); }
.about-copy .text-link { margin-top: 14px; }
.cliff-figure { height: min(66vw, 700px); margin: 0; }
.cliff-figure img { width: 100%; height: 100%; object-fit: contain; }
.about-points { display: grid; gap: clamp(34px, 4vw, 62px); }
.about-points article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; }
.about-points article > img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.about-points h3 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(1.6rem, 2.1vw, 2.25rem); line-height: 1; text-transform: uppercase; }
.about-points p { margin: 0; color: var(--ink-soft); font-size: clamp(.9rem, 1.05vw, 1.08rem); line-height: 1.42; }

.features-section { padding-bottom: clamp(78px, 7vw, 126px); }
.feature-grid { margin-top: clamp(44px, 5vw, 72px); gap: 0; background: transparent; border: 0; }
.feature-card {
  min-height: 410px;
  padding: clamp(32px, 3.4vw, 58px);
  border-right: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
}
.feature-card:last-child { border-right: 0; }
.feature-heading { display: flex; align-items: center; gap: 18px; }
.feature-heading img { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.feature-card h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 2.8vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.feature-card > p { min-height: 72px; margin: 26px 0 34px; color: var(--ink-soft); font-size: clamp(1rem, 1.2vw, 1.25rem); }
.feature-visual { width: 100%; height: 178px; margin-top: auto; object-fit: contain; mix-blend-mode: multiply; }

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    z-index: 2;
    background: var(--paper-light);
    box-shadow: 0 30px 76px rgba(39, 27, 18, .22);
    transform: scale(1.025);
  }
}

.tools-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.tools-layout { margin-top: clamp(42px, 5vw, 68px); border: 1px solid var(--ink); }
.tool-card { min-height: 470px; padding: clamp(26px, 3vw, 44px); }
.tool-card + .tool-card { border-left-color: var(--ink); }
.tool-copy { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
.tool-copy span { grid-row: span 2; color: var(--accent); font-family: var(--display); font-size: 2rem; }
.tool-card h3 { margin: 0; font-size: clamp(2rem, 2.8vw, 3rem); }
.tool-card .tool-copy p { margin: 12px 0 0; }
.tool-card > img { width: 100%; height: 258px; margin-top: 28px; object-fit: contain; mix-blend-mode: multiply; }

.faq-section .faq-list { margin-top: clamp(38px, 4vw, 60px); }
.faq-list h2,
.faq-list h3 { margin: 0; }
.faq-question { min-height: clamp(78px, 6vw, 98px); padding: 18px 10px; }
.faq-question span:first-child { font-family: var(--body); font-size: clamp(1.45rem, 2.55vw, 2.65rem); font-weight: 400; line-height: 1.16; }
.faq-plus { width: 64px; height: 64px; border: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.faq-plus::before,
.faq-plus::after { content: none; }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer { display: block; opacity: 1; }
.faq-answer[hidden] { display: none; }
.faq-answer p { max-width: 70ch; margin: 0; padding: 0 84px 30px 10px; color: var(--ink-soft); font-size: 1.06rem; animation: answer-in .32s var(--ease) both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.steps-section { padding-block: clamp(86px, 8vw, 138px); }
.steps-wrap { align-items: center; grid-template-columns: 1.17fr .83fr; gap: clamp(30px, 5vw, 90px); }
.steps-copy { position: relative; z-index: 2; }
.step-list { padding: 0; list-style: none; }
.step { min-height: 160px; }
.step-number { font-family: var(--body); font-size: clamp(3.8rem, 6vw, 6.4rem); font-weight: 300; }
.step p { font-family: var(--body); font-size: clamp(.95rem, 1.2vw, 1.25rem); font-weight: 400; line-height: 1.25; }
.steps-visual { width: 112%; margin: 0 -7% 0 -8%; }
.steps-visual img { width: 100%; height: auto; }

.context-section {
  min-height: clamp(430px, 32vw, 560px);
  padding: clamp(132px, 12vw, 196px) 0 84px;
  border: 1px solid var(--ink);
  background: var(--paper) url("assets/mountain-range.png") center bottom / 100% auto no-repeat;
}
.context-panel { display: grid; align-items: start; grid-template-columns: 1fr auto; gap: 50px; }
.context-panel .section-title { max-width: 15ch; }
.context-panel .button { margin-top: 10px; }

/* Shared footer */
.site-footer { color: var(--ink); background: var(--paper); border-top: 0; }
.footer-primary {
  display: grid;
  min-height: 190px;
  align-items: center;
  grid-template-columns: minmax(250px, .8fr) 1.4fr auto;
  gap: 38px;
}
.footer-brand { color: var(--ink); }
.footer-nav { display: flex; justify-content: center; gap: clamp(22px, 3vw, 54px); }
.footer-nav a { color: var(--ink-soft); font-size: 1rem; text-decoration: none; text-transform: uppercase; }
.footer-socials { display: flex; gap: 14px; }
.social-link { width: 66px; height: 66px; border: 0; border-radius: 0; color: inherit; background: transparent; }
.social-link:hover { background: transparent; transform: translateY(-4px); }
.social-link img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.footer-legal {
  display: grid;
  min-height: 180px;
  align-items: center;
  padding-block: 34px;
  border-top: 1px solid var(--ink);
  grid-template-columns: 1.5fr 1fr auto;
  gap: 34px;
  color: #5d5750;
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 24px 50px; }
.footer-legal a { color: inherit; text-underline-offset: 5px; }
.footer-legal p { margin: 0; }

/* Inner pages inherit the same editorial system */
.section { padding-block: clamp(68px, 7vw, 118px); }
.page-hero { padding: clamp(80px, 7vw, 110px) 0; background: var(--paper); }
.page-hero::after { opacity: .45; }
.page-hero .page-title { font-size: clamp(3.4rem, 7vw, 7.5rem); }
.page-hero.partner-hero {
  color: var(--white);
  background: linear-gradient(135deg, #2a0505, #6b0907 58%, #120302);
}
.page-hero.partner-hero .lede { color: rgba(255,255,255,.78); }
.partner-grid > div > .section-title,
.partner-term b,
.partner-term p { color: var(--ink); }
.partner-term b { display: block; font-size: 1.12rem; }
.partner-term p { margin-bottom: 0; }
.faq-page { min-height: calc(100svh - 116px); padding: clamp(80px, 8vw, 140px) 0; color: var(--ink); background: var(--paper); }
.faq-page .page-title { margin-bottom: clamp(48px, 6vw, 86px); }
.faq-page .faq-list { gap: 0; border-top: 1px solid var(--line); }
.faq-page .faq-item { border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq-page .faq-question { min-height: clamp(105px, 9vw, 150px); padding: 24px 10px; color: var(--ink); }
.faq-page .faq-question span:first-child { font-family: var(--body); font-size: clamp(1.55rem, 3vw, 3rem); font-weight: 400; }
.faq-page .faq-plus { width: 64px; height: 64px; border-radius: 0; background: transparent; box-shadow: none; }
.faq-page .faq-answer p { padding: 0 84px 34px 10px; color: var(--ink-soft); }
.login-art { background-image: url("assets/hero-astronaut-reference.png"); }

/* Registration and exchange access */
.auth-portal { grid-template-columns: minmax(0, .88fr) minmax(580px, 1.12fr); }
.auth-portal .login-art { position: sticky; top: 0; height: 100svh; min-height: 720px; }
.auth-portal .login-art-copy { right: 8%; bottom: 8%; }
.auth-steps { display: grid; max-width: 560px; padding: 0; margin: 42px 0 0; gap: 12px; list-style: none; }
.auth-steps li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.72); font-size: .9rem; text-transform: uppercase; }
.auth-steps span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.35); color: var(--accent); font-family: var(--display); font-size: 1.1rem; }
.auth-shell { display: block; min-width: 0; padding: clamp(72px, 7vw, 120px) clamp(30px, 6vw, 100px); }
.auth-entry,
.account-onboarding { width: 100%; max-width: 760px; margin-inline: auto; }
.auth-entry > h2,
.account-heading h2 { margin: 8px 0 30px; font-family: var(--display); font-size: clamp(3rem, 5vw, 5.8rem); line-height: .9; text-transform: uppercase; }
.auth-tabs { display: grid; margin-bottom: 34px; border: 1px solid rgba(255,255,255,.28); grid-template-columns: 1fr 1fr; }
.auth-tabs button { min-height: 56px; border: 0; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; font: 700 .82rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); background: var(--paper); }
.auth-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.login-form { max-width: none; }
.login-form h3,
.account-onboarding h3 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1; text-transform: uppercase; }
.login-form > p { margin-bottom: 30px; }
.field small { color: rgba(255,255,255,.52); font-size: .78rem; line-height: 1.4; }
.checkbox-field { display: grid; margin: 18px 0; grid-template-columns: 22px 1fr; gap: 4px 12px; }
.checkbox-field input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.checkbox-field label { color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.45; }
.checkbox-field label a { color: var(--white); text-underline-offset: 4px; }
.checkbox-field .field-error { grid-column: 2; }
.login-form button:disabled,
.account-onboarding button:disabled { cursor: wait; opacity: .58; }
.form-status a { color: var(--accent); text-underline-offset: 4px; }
.account-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.account-heading p { margin: 0; color: rgba(255,255,255,.58); }
.text-button { padding: 12px 0; border: 0; color: rgba(255,255,255,.72); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.verification-card,
.access-card { padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.035); }
.verification-card > p:not(.status-kicker),
.access-card > p:not(.status-kicker) { max-width: 54ch; color: rgba(255,255,255,.65); }
.verification-card .button { margin-top: 16px; border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.status-kicker { margin: 0 0 12px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.exchange-step-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.minimum-badge { flex: none; padding: 10px 14px; border: 1px solid var(--accent); color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.exchange-choice { padding: 0; margin: 30px 0 0; border: 0; }
.exchange-choice legend { padding: 0; font-family: var(--display); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.exchange-choice > p { margin: 10px 0 20px; color: rgba(255,255,255,.56); font-size: .86rem; line-height: 1.5; }
.exchange-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.exchange-grid--single { grid-template-columns: 1fr; }
.exchange-card { display: grid; min-height: 215px; padding: 22px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.exchange-card:has(input:checked),
.exchange-card--selected { border-color: var(--accent); background: rgba(238,61,26,.09); }
.exchange-card label { display: grid; align-content: start; cursor: pointer; gap: 10px; }
.exchange-card-copy { display: grid; align-content: start; gap: 10px; }
.exchange-card input { width: 20px; height: 20px; margin: 0 0 12px; accent-color: var(--accent); }
.exchange-card-name { font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.exchange-card label span:not(.exchange-card-name),
.exchange-card-copy span:not(.exchange-card-name) { color: rgba(255,255,255,.55); font-size: .82rem; }
.exchange-card a { align-self: end; margin-top: 22px; color: var(--white); font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-decoration-color: var(--accent); text-underline-offset: 5px; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .exchange-card:hover { border-color: rgba(255,255,255,.55); transform: translateY(-3px); }
}
.risk-note { padding: 18px 20px; margin-top: 22px; border-left: 3px solid var(--accent); color: rgba(255,255,255,.58); background: rgba(255,255,255,.035); font-size: .78rem; line-height: 1.5; }
.risk-note strong { color: var(--white); }
.exchange-form > .button,
.access-card .button { width: 100%; margin-top: 8px; cursor: pointer; }
.access-card { border-color: rgba(238,61,26,.7); }
.access-card .button { display: flex; }

/* Protected member area */
.platform-body { color: var(--white); background: var(--ink); }
.platform-page { min-height: 80svh; background: var(--ink); }
.platform-hero { display: grid; min-height: 72svh; align-items: end; padding: 160px 0 90px; background: #030303 url("assets/hero-astronaut-reference.png") center / cover no-repeat; }
.platform-hero-grid { display: grid; align-items: end; grid-template-columns: 1fr auto; gap: 40px; }
.platform-hero h1 { max-width: 9ch; margin: 12px 0 24px; font-size: clamp(5rem, 10vw, 11rem); }
.platform-lede { max-width: 58ch; color: rgba(255,255,255,.66); font-size: clamp(1rem, 1.4vw, 1.3rem); }
.platform-status { display: grid; min-width: 210px; padding: 26px; border: 1px solid var(--accent); gap: 10px; }
.platform-status span { color: rgba(255,255,255,.55); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.platform-status strong { color: var(--accent); font-family: var(--display); font-size: 2.4rem; text-transform: uppercase; }
.platform-content { padding: clamp(90px, 9vw, 160px) 0; }
.member-tools { display: grid; margin-top: 60px; border: 1px solid rgba(255,255,255,.22); grid-template-columns: 1fr 1fr; }
.member-tools article { display: grid; min-height: 410px; align-content: start; padding: clamp(30px, 4vw, 60px); }
.member-tools article + article { border-left: 1px solid rgba(255,255,255,.22); }
.member-tools article > span { color: var(--accent); font-family: var(--display); font-size: 2rem; }
.member-tools h3 { margin: 22px 0 16px; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 4rem); text-transform: uppercase; }
.member-tools p { max-width: 46ch; margin-bottom: 40px; color: rgba(255,255,255,.58); }
.member-tools .button { align-self: end; justify-self: start; }
.platform-risk { max-width: 900px; margin-top: 36px; }

@media (min-width: 1800px) {
  :root { --content: 1660px; }
  .hero { background-size: cover; }
  .market-grid { grid-template-columns: .7fr 1.3fr; }
  .market-visual { width: 108%; }
  .about-new-grid { min-height: 680px; }
  .feature-card { min-height: 430px; }
}

@media (min-width: 1181px) {
  .market-grid { grid-template-columns: minmax(570px, .9fr) minmax(640px, 1.1fr); }
  .market-copy .section-title {
    max-width: none;
    font-size: clamp(4.4rem, 4.8vw, 5.7rem);
    white-space: nowrap;
  }
  .features-section .section-title,
  .faq-section .section-title,
  .steps-section .section-title,
  .context-panel .section-title {
    max-width: none;
    white-space: nowrap;
  }
  .features-section .section-title { font-size: clamp(4.4rem, 5.2vw, 6rem); }
  .faq-section .section-title { font-size: clamp(4.3rem, 5vw, 5.8rem); }
  .steps-section .section-title { font-size: clamp(4.1rem, 4.7vw, 5.4rem); }
  .context-panel .section-title { font-size: clamp(3.9rem, 4.4vw, 5.1rem); }
}

@media (max-width: 1180px) {
  .site-header { height: 92px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-action { margin-right: 82px; }
  .menu-toggle { position: absolute; z-index: 3; right: var(--gutter); display: grid; min-width: 64px; height: 46px; place-items: center; cursor: pointer; }
  .site-nav.is-open { position: fixed; z-index: 1; display: grid; inset: 0; place-items: center; color: var(--white); background: rgba(11, 10, 9, .99); }
  .site-nav.is-open .nav-list { flex-direction: column; gap: 8px; }
  .site-nav.is-open .nav-auth-mobile { display: list-item; }
  .site-nav.is-open .nav-link { font-size: clamp(1.8rem, 6vw, 4rem); }
  .market-grid { grid-template-columns: .75fr 1.25fr; }
  .about-new-grid { grid-template-columns: .8fr 1.2fr; }
  .about-points { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .feature-card { min-height: 440px; }
  .tools-layout { grid-template-columns: 1fr 1fr; }
  .footer-primary { grid-template-columns: 1fr auto; }
  .footer-nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 30px; }
  .footer-legal { grid-template-columns: 1fr auto; }
  .footer-legal nav { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --gutter: 22px; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 38px; height: 36px; }
  .header-action { display: none; }
  .hero { min-height: 100svh; background-image: url("assets/hero-astronaut-reference.png"); background-position: 54% center; }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 40%); content: ""; }
  .stats-heading { align-items: start; flex-direction: column; }
  .stats-heading h2 { font-size: clamp(4rem, 15vw, 7rem); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-height: 230px; padding: 28px 22px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card strong { font-size: clamp(5.5rem, 18vw, 8rem); }
  .stats-performance { grid-template-columns: 1fr; }
  .direction-share { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .home-section { padding-block: 72px; }
  .section { padding-block: 72px; }
  .section-title { font-size: clamp(3rem, 12vw, 4.8rem); }
  .market-section { min-height: auto; }
  .market-grid,
  .about-new-grid,
  .steps-wrap { grid-template-columns: 1fr; }
  .market-copy .section-title { max-width: 9ch; }
  .market-visual { width: 118%; margin: 12px -20% -5% 0; }
  .cliff-figure { height: 580px; order: 3; }
  .about-points { grid-column: auto; grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .feature-card { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card > p { min-height: auto; }
  .feature-visual { max-width: 520px; }
  .tools-heading { align-items: start; flex-direction: column; }
  .tools-layout { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; }
  .tool-card + .tool-card { border-top: 1px solid var(--ink); border-left: 0; }
  .tool-card > img { height: auto; }
  .faq-question { grid-template-columns: 1fr 52px; }
  .faq-plus,
  .faq-page .faq-plus { width: 52px; height: 52px; }
  .faq-answer p,
  .faq-page .faq-answer p { padding-right: 20px; }
  .step-list { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(2),
  .step:last-child { min-height: 0; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps-visual { width: 116%; margin: -28px -8% 0; }
  .context-section { min-height: 420px; padding: 132px 0 72px; background-size: auto 35%; }
  .context-panel { grid-template-columns: 1fr; }
  .context-panel .button { justify-self: start; }
  .footer-primary { padding-block: 52px; grid-template-columns: 1fr auto; }
  .footer-nav { flex-wrap: wrap; gap: 18px 28px; }
  .footer-legal { grid-template-columns: 1fr; }
  .footer-legal nav { grid-column: auto; flex-direction: column; gap: 16px; }
  .auth-portal { grid-template-columns: 1fr; }
  .auth-portal .login-art { position: relative; height: 58svh; min-height: 480px; }
  .auth-shell { padding: 70px 24px; }
  .auth-entry,
  .account-onboarding { max-width: 620px; }
  .platform-hero-grid,
  .member-tools { grid-template-columns: 1fr; }
  .platform-status { justify-self: start; }
  .member-tools article + article { border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
}

@media (max-width: 520px) {
  .site-header { height: 78px; }
  .brand,
  .menu-toggle { min-height: 44px; }
  .menu-toggle { min-width: 58px; height: 44px; }
  .hero { background-position: 49% center; }
  .stats-inner { padding-block: 44px; }
  .stats-heading h2 { font-size: clamp(3.7rem, 18vw, 5.6rem); }
  .stats-periods { width: 100%; justify-content: space-between; }
  .stats-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .stat-card { min-height: 190px; padding: 28px 20px; border-right: 0; }
  .stat-card strong { font-size: 6.4rem; }
  .direction-values { grid-template-columns: auto 1fr; }
  .direction-share strong { font-size: 4.6rem; }
  .demo-stats-note { flex-direction: column; gap: 5px; padding: 16px 20px; }
  .footer-nav a,
  .footer-legal a { display: inline-flex; min-height: 44px; align-items: center; }
  .home-section { padding-block: 60px; }
  .section { padding-block: 60px; }
  .section-title { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .market-actions { align-items: stretch; flex-direction: column; }
  .market-actions .button { align-self: flex-start; }
  .market-visual { width: 112%; margin: 20px -12% -3% 0; }
  .cliff-figure { height: 470px; }
  .about-points article { grid-template-columns: 44px 1fr; }
  .about-points article > img { width: 44px; height: 44px; }
  .feature-card { padding: 30px 22px; }
  .feature-heading img { width: 48px; height: 48px; }
  .tool-card { padding: 28px 20px; }
  .tool-copy { grid-template-columns: 1fr; }
  .tool-copy span { grid-row: auto; margin-bottom: 8px; }
  .faq-question { padding-inline: 0; }
  .faq-question span:first-child { font-size: 1.35rem; }
  .faq-plus,
  .faq-page .faq-plus { width: 46px; height: 46px; }
  .steps-visual { width: 130%; margin-left: -16%; }
  .context-section { min-height: 380px; padding: 112px 0 60px; }
  .footer-primary { grid-template-columns: 1fr; }
  .footer-socials { justify-self: start; }
  .footer-nav { grid-column: auto; flex-direction: column; }
  .auth-portal .login-art { min-height: 520px; }
  .auth-portal .login-art-copy { right: 22px; left: 22px; }
  .auth-portal .login-art-copy h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .auth-steps { margin-top: 28px; }
  .auth-shell { padding: 54px 20px; }
  .auth-entry > h2,
  .account-heading h2 { font-size: 3.2rem; }
  .account-heading,
  .exchange-step-heading { flex-direction: column; }
  .exchange-grid { grid-template-columns: 1fr; }
  .exchange-card { min-height: 190px; }
  .platform-hero { min-height: 88svh; padding-bottom: 60px; background-position: 56% center; }
  .platform-hero h1 { font-size: clamp(4.5rem, 20vw, 7rem); }
  .member-tools article { min-height: 360px; padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .direction-bar span { transition: none; }
  .faq-answer p { animation: none; }
}

/* August 2026 conversion-flow refinement */
.hero-entry {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: clamp(34px, 5vw, 74px);
  left: 50%;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
}

.hero-entry-button {
  min-width: clamp(190px, 16vw, 260px);
  min-height: 58px;
  border-color: rgba(255,255,255,.7);
  background: rgba(2,2,2,.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: hero-in .9s var(--ease) .58s forwards;
}

@media (min-width: 1181px) {
  .market-section { min-height: clamp(760px, 63vw, 980px); }
  .market-grid { grid-template-columns: minmax(520px, .78fr) minmax(760px, 1.38fr); }
  .market-visual { width: 132%; margin: -8% -29% -12% -5%; }
  .about-section { min-height: clamp(820px, 67vw, 1050px); padding-block: clamp(72px, 5vw, 102px); }
  .about-new-grid { min-height: 780px; grid-template-columns: minmax(290px, .66fr) minmax(560px, 1.28fr) minmax(280px, .66fr); gap: clamp(24px, 3vw, 52px); }
  .cliff-figure { height: min(74vw, 920px); margin-block: -5%; }
}

.steps-section { min-height: clamp(700px, 58vw, 900px); }
.steps-wrap { grid-template-columns: minmax(0, 1.38fr) minmax(420px, .72fr); }
.step-list { position: relative; gap: 0; }
.step,
.step:nth-child(2),
.step:last-child {
  position: relative;
  min-height: 200px;
  padding: 0 clamp(20px, 2.4vw, 42px) 0 0;
  border: 0;
}
.step:nth-child(2),
.step:last-child { padding-left: clamp(20px, 2.4vw, 42px); }
.step:not(:last-child)::after {
  position: absolute;
  top: clamp(31px, 3.2vw, 48px);
  right: 0;
  left: clamp(92px, 8.5vw, 142px);
  height: 0;
  border-top: 4px dotted var(--accent);
  content: "";
}
.step-number { margin-bottom: 26px; font-size: clamp(4.6rem, 7vw, 7.3rem); }
.step p { max-width: 16ch; font-family: var(--display); font-size: clamp(1.05rem, 1.35vw, 1.4rem); font-weight: 800; }
.steps-copy > .button { min-width: 260px; margin-top: 20px; }
.steps-visual { width: 142%; margin: 5% -40% -8% -12%; }

/* Authentication stays within the initial desktop viewport. */
.auth-portal { min-height: calc(100svh - 116px); }
.auth-portal .login-art { position: relative; top: auto; height: calc(100svh - 116px); min-height: 610px; }
.auth-shell { display: grid; align-items: center; min-height: calc(100svh - 116px); padding: clamp(22px, 3vw, 48px) clamp(30px, 5vw, 82px); }
.auth-entry > h2 { margin-bottom: 20px; font-size: clamp(3rem, 4.2vw, 4.8rem); }
.auth-tabs { margin-bottom: 22px; }
.auth-tabs button { min-height: 50px; }
.login-form h3 { font-size: clamp(1.8rem, 2.4vw, 2.7rem); }
.login-form > p { margin-bottom: 18px; }
.auth-entry .field { margin-bottom: 13px; }
.auth-entry .field input { min-height: 50px; }
.auth-entry .checkbox-field { margin: 11px 0; }
.auth-entry .checkbox-field label { font-size: .78rem; line-height: 1.32; }
.auth-entry .form-status { min-height: 22px; margin-block: 8px; }
.auth-entry .login-form > .button { width: 100%; }
/* UID connection */
.access-flow-body { min-height: 100svh; color: var(--white); background: var(--ink); }
.access-header,
.deposit-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.access-header .brand img,
.deposit-header .brand img { width: 42px; height: 40px; }
.connect-page { display: grid; min-height: calc(100svh - 72px); grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr); }
.connect-visual { background: #030303 url("assets/hero-astronaut-reference.png") 50% 54% / cover no-repeat; }
.connect-panel { align-self: center; width: min(100%, 800px); padding: clamp(34px, 5vw, 80px); }
.connect-panel h1 { max-width: 11ch; font-size: clamp(3.6rem, 5.7vw, 7rem); }
.connect-lede { max-width: 57ch; margin: 18px 0 30px; color: rgba(255,255,255,.62); }
.exchange-form--standalone { max-width: 680px; }
.exchange-link-card { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; margin: 22px 0; border: 1px solid rgba(255,255,255,.3); color: var(--white); text-decoration: none; }
.exchange-link-card > span:first-child { display: grid; gap: 5px; }
.exchange-link-card small { color: rgba(255,255,255,.55); text-transform: uppercase; }
.exchange-link-card strong { font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.exchange-link-card > span:last-child { color: var(--accent); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.exchange-link-card:hover { border-color: var(--accent); background: rgba(240,68,29,.08); }
.exchange-form--standalone > .button { width: 100%; }

/* Separate deposit screen */
.deposit-flow-body { min-height: 100svh; background: var(--paper-light); }
.deposit-header { min-height: 64px; color: var(--ink); border-bottom-color: var(--ink); }
.deposit-logout { min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; cursor: pointer; }
.deposit-page { width: min(100% - (var(--gutter) * 2), 980px); min-height: calc(100svh - 64px); margin-inline: auto; padding: 20px 0 34px; }
.flow-progress { position: relative; display: grid; margin: 0 auto 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-progress::before { position: absolute; right: 16.66%; bottom: 11px; left: 16.66%; height: 1px; background: #8b8782; content: ""; }
.flow-progress > span { position: relative; z-index: 1; display: grid; min-width: 0; min-height: 70px; align-items: end; justify-content: center; color: #99948d; font-family: var(--display); font-size: 1.05rem; line-height: 1; text-transform: uppercase; grid-template-columns: auto minmax(0, auto); grid-template-rows: minmax(28px, auto) 22px; column-gap: 6px; row-gap: 10px; }
.flow-progress > span::after { width: 22px; height: 22px; margin: 0; border: 1px solid currentColor; border-radius: 50%; background: var(--paper-light); content: ""; grid-column: 1 / -1; justify-self: center; }
.flow-progress > span b { min-width: 0; margin: 0; font-weight: 400; }
.flow-progress-number { font-weight: 400; }
.flow-progress > span.is-current { color: var(--accent); }
.flow-progress > span.is-current::after { border: 6px solid var(--paper-light); background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.flow-progress > span.is-complete { color: var(--ink); }
.flow-progress > span.is-complete::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.flow-progress--compact { display: none; }
.access-flow-body .flow-progress > span::after { background: var(--white); }
.deposit-status { text-align: center; }
.deposit-status .eyebrow { justify-content: center; margin-bottom: 8px; }
.deposit-status .eyebrow::before { display: none; }
.deposit-status h1 { max-width: none; font-size: clamp(4rem, 7.5vw, 7.4rem); white-space: nowrap; }
.deposit-status h2 { margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 4vw, 4.4rem); line-height: .9; text-transform: uppercase; }
.deposit-status > p:not(.deposit-checked):not(.deposit-message):not(.deposit-help):not(.deposit-risk):not(.eyebrow) { margin: 10px 0 0; }
.deposit-wallet { position: relative; width: min(760px, 86vw); margin: -10px auto -2px; }
.deposit-wallet img { width: 100%; max-height: 360px; object-fit: contain; }
.deposit-wallet figcaption { position: absolute; right: 0; bottom: 2%; left: 0; display: grid; pointer-events: none; }
.deposit-wallet figcaption span { font-family: var(--display); text-transform: uppercase; }
.deposit-wallet figcaption strong { color: var(--accent); font-family: var(--display); font-size: 3.8rem; line-height: .9; }
.deposit-summary { display: grid; margin: 0; border-block: 1px solid var(--line); grid-template-columns: 1fr 1fr; text-align: left; }
.deposit-summary div { padding: 14px clamp(18px, 5vw, 64px); }
.deposit-summary div + div { border-left: 1px solid var(--line); }
.deposit-summary dt { font-family: var(--display); font-size: .75rem; text-transform: uppercase; }
.deposit-summary dd { margin: 4px 0 0; font-family: var(--display); font-size: 1.65rem; font-weight: 800; }
.deposit-summary div:last-child dd { color: var(--accent); text-transform: uppercase; }
.deposit-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.deposit-checked { margin: 8px 0; color: var(--ink-soft); font-size: .8rem; }
.deposit-actions { display: grid; gap: 8px; }
.deposit-actions .button { width: 100%; min-height: 56px; }
.deposit-actions button { cursor: pointer; }
.deposit-actions button:disabled { cursor: progress; opacity: .58; }
.deposit-message { min-height: 22px; margin: 8px 0 0; color: var(--accent-dark); }
.deposit-help { margin: 2px 0 0; font-size: .86rem; }
.deposit-help a { text-underline-offset: 4px; }
.deposit-risk { margin: 12px auto 0; color: #6a655e; font-size: .72rem; }

@media (max-width: 1180px) {
  .market-visual { width: 126%; margin-right: -27%; }
  .cliff-figure { height: 690px; }
  .steps-visual { width: 125%; margin-right: -24%; }
}

@media (max-width: 820px) {
  .hero-entry { right: auto; bottom: 26px; left: 50%; width: min(calc(100% - 44px), 420px); }
  .hero-entry-button { width: 100%; min-height: 54px; }
  .market-visual { width: 136%; margin: 14px -30% -9% -6%; }
  .cliff-figure { height: 660px; }
  .step-list { grid-template-columns: 1fr; }
  .step,
  .step:nth-child(2),
  .step:last-child { min-height: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
  .step:not(:last-child)::after { display: none; }
  .steps-visual { width: 126%; margin: -20px -18% 0 -8%; }
  .auth-portal { min-height: calc(100svh - 92px); }
  .auth-portal .login-art { display: none; }
  .auth-shell { min-height: calc(100svh - 92px); padding: 26px 24px; }
  .auth-entry > h2 { font-size: clamp(3rem, 12vw, 4.6rem); }
  .connect-page { grid-template-columns: 1fr; }
  .connect-visual { display: none; }
  .connect-panel { padding: 34px 24px 54px; }
  .flow-progress--compact { display: grid; margin-bottom: 32px; }
}

@media (max-width: 560px) {
  .market-visual { width: 148%; margin-right: -42%; }
  .cliff-figure { height: 590px; margin-inline: -24%; }
  .steps-section { min-height: 0; }
  .steps-visual { width: 150%; margin: -10px -35% 0 -15%; }
  .auth-shell { min-height: calc(100svh - 78px); padding: 20px; }
  .auth-entry > h2 { margin-bottom: 14px; }
  .auth-tabs { margin-bottom: 16px; }
  .login-form > p { margin-bottom: 14px; }
  .auth-entry .checkbox-field { margin-block: 9px; }
  .access-header,
  .deposit-header { min-height: 64px; padding-inline: 18px; }
  .connect-panel h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .exchange-link-card { align-items: flex-start; flex-direction: column; }
  .deposit-page { width: min(100% - 32px, 520px); padding-top: 14px; }
  .flow-progress { margin-bottom: 14px; }
  .flow-progress > span { min-height: 68px; font-size: .82rem; grid-template-columns: 1fr; grid-template-rows: auto auto 22px; gap: 3px; }
  .flow-progress > span b { font-size: .68rem; text-align: center; }
  .flow-progress > span::after { grid-column: 1; margin-top: 5px; }
  .deposit-status h1 { font-size: clamp(3.5rem, 16vw, 5rem); white-space: normal; }
  .deposit-status h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .deposit-status > p { font-size: .88rem; }
  .deposit-wallet { width: 112%; margin: -4px -6% 0; }
  .deposit-wallet img { max-height: 265px; }
  .deposit-wallet figcaption { bottom: -1%; }
  .deposit-wallet figcaption strong { font-size: 3rem; }
  .deposit-summary { grid-template-columns: 1fr; }
  .deposit-summary div { padding: 12px 16px; }
  .deposit-summary div + div { border-top: 1px solid var(--line); border-left: 0; }
  .deposit-summary dd { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-entry-button { opacity: 1; animation: none; }
}

/* Mobile art direction matched to the supplied portrait references. */
.auth-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper-light);
}
.auth-home-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  body { overflow-x: clip; }

  .site-header--hero {
    height: 88px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.18));
  }
  .site-header--hero .header-inner { padding-inline: 28px; }
  .site-header--hero .brand { gap: 12px; font-size: clamp(1.25rem, 5.6vw, 1.55rem); }
  .site-header--hero .brand img { width: 46px; height: 44px; }
  .menu-toggle {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent url("assets/menu-mobile-light.png") center / 43px 43px no-repeat;
    font-size: 0;
    line-height: 1;
  }
  .menu-toggle::before,
  .menu-toggle::after { content: none !important; }

  .hero {
    min-height: 100svh;
    background-color: #000;
    background-image: url("assets/hero-mobile-reference.png");
    background-position: center 78px;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
  .hero::before { display: none; }
  .hero-entry { display: none; }

  .auth-flow-body { color: var(--ink); background: var(--paper-light); }
  .auth-header { min-height: 82px; padding-inline: 22px; }
  .auth-header .brand { gap: 10px; color: var(--ink); font-size: 1.35rem; }
  .auth-header .brand img { width: 42px; height: 40px; }
  .auth-home-link { font-size: .78rem; }
  .auth-portal {
    display: block;
    min-height: calc(100svh - 82px);
    color: var(--ink);
    background: var(--paper-light);
  }
  .auth-shell {
    display: block;
    min-height: calc(100svh - 82px);
    padding: 38px 24px 130px;
    color: var(--ink);
    background: var(--paper-light) url("assets/mountain-range.png") center bottom / auto 190px no-repeat;
  }
  .auth-entry { max-width: 600px; }
  .auth-entry > .eyebrow { margin-bottom: 22px; color: var(--accent); }
  .auth-entry > .eyebrow::before { display: none; }
  .auth-entry > h2 {
    margin: 0 0 30px;
    font-size: clamp(5rem, 25vw, 7.2rem);
    letter-spacing: -.04em;
    line-height: .78;
  }
  .auth-tabs {
    margin-bottom: 30px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    gap: 28px;
    grid-template-columns: auto auto 1fr;
  }
  .auth-tabs button {
    min-height: 54px;
    padding: 0 0 12px;
    color: var(--ink-soft);
    background: transparent;
    font-family: var(--display);
    font-size: 1.05rem;
  }
  .auth-tabs button[aria-selected="true"] {
    color: var(--ink);
    background: transparent;
    box-shadow: inset 0 -4px var(--accent);
  }
  .login-form h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }
  .login-form > p { margin-bottom: 24px; color: var(--ink-soft); font-size: .96rem; line-height: 1.45; }
  .auth-entry .field { gap: 9px; margin-bottom: 22px; }
  .auth-entry .field label { color: var(--ink); font-size: .84rem; }
  .auth-entry .field input {
    min-height: 68px;
    padding: 16px 18px;
    border-color: var(--ink);
    color: var(--ink);
    background: rgba(255,255,255,.2);
    font-size: 1rem;
  }
  .auth-entry .field input::placeholder { color: #8b8782; }
  .auth-entry .field small { color: var(--ink-soft); }
  .auth-entry .field-error { color: #a22d17; }
  .auth-entry .checkbox-field { margin-block: 16px; }
  .auth-entry .checkbox-field label,
  .auth-entry .checkbox-field label a { color: var(--ink); }
  .auth-entry .form-status { color: #6a3329; }
  .auth-entry .login-form > .button,
  .auth-entry .button--light {
    min-height: 68px;
    border-color: var(--ink);
    color: var(--paper-light);
    background: var(--ink);
  }

  .access-flow-body { color: var(--ink); background: var(--paper-light); }
  .access-header {
    min-height: 82px;
    padding-inline: 22px;
    border-bottom-color: var(--ink);
    color: var(--ink);
    background: var(--paper-light);
  }
  .access-header .brand { color: var(--ink); font-size: 1.35rem; }
  .access-header .text-button { min-height: 44px; color: var(--ink); text-transform: uppercase; }
  .connect-page { display: block; min-height: calc(100svh - 82px); background: var(--paper-light); }
  .connect-panel { width: min(100% - 44px, 620px); margin-inline: auto; padding: 26px 0 70px; }
  .flow-progress--compact { margin-bottom: 38px; }
  .access-flow-body .flow-progress::before { background: #8b8782; }
  .access-flow-body .flow-progress > span { color: #9a958e; }
  .access-flow-body .flow-progress > span::after { background: var(--paper-light); }
  .access-flow-body .flow-progress > span.is-complete { color: var(--ink); }
  .access-flow-body .flow-progress > span.is-current { color: var(--accent); }
  .connect-panel > .eyebrow { margin-bottom: 14px; color: var(--accent); }
  .connect-panel > .eyebrow::before { display: none; }
  .connect-panel h1 {
    max-width: 8ch;
    margin: 0;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
    letter-spacing: -.035em;
    line-height: .82;
  }
  .connect-lede { max-width: 34ch; margin: 26px 0 38px; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
  .exchange-form--standalone .field label { color: var(--ink); font-size: .85rem; }
  .exchange-form--standalone .field input {
    min-height: 74px;
    padding-inline: 20px;
    border-color: var(--ink);
    color: var(--ink);
    background: rgba(255,255,255,.22);
    font-size: 1.35rem;
  }
  .exchange-form--standalone .field small { color: var(--ink-soft); }
  .exchange-link-card {
    min-height: 104px;
    padding: 18px 20px;
    border-color: var(--ink);
    color: var(--ink);
    background: rgba(255,255,255,.2);
  }
  .exchange-link-card small { color: var(--ink-soft); }
  .exchange-link-card strong { font-size: 1.7rem; }
  .risk-note { border-color: rgba(9,9,9,.2); color: var(--ink-soft); background: rgba(9,9,9,.035); }
  .exchange-form--standalone .form-status { color: #8a2e1c; }
  .exchange-form--standalone > .button--light {
    min-height: 70px;
    border-color: var(--ink);
    color: var(--paper-light);
    background: var(--ink);
  }

  .deposit-page { width: min(100% - 40px, 620px); padding-top: 20px; }
  .deposit-status h1 { font-size: clamp(4.2rem, 18vw, 6.4rem); line-height: .82; }
  .deposit-status h2 { font-size: clamp(2.35rem, 10vw, 3.6rem); }
  .deposit-status > p:not(.deposit-checked):not(.deposit-message):not(.deposit-help):not(.deposit-risk):not(.eyebrow) { max-width: 34ch; margin-inline: auto; line-height: 1.45; }
  .deposit-actions .button { min-height: 64px; }

  .steps-section { min-height: 1100px; overflow: hidden; }
  .steps-wrap { position: relative; display: block; }
  .steps-copy { position: relative; z-index: 2; }
  .steps-section .section-title { max-width: 9ch; }
  .step-list { width: 58%; margin-top: 34px; gap: 88px; }
  .step,
  .step:nth-child(2),
  .step:last-child { padding: 0; border: 0; }
  .step-number { margin-bottom: 12px; font-size: clamp(5rem, 22vw, 7.2rem); font-weight: 300; }
  .step p { max-width: 12ch; font-size: 1.05rem; }
  .steps-copy > .button { position: absolute; top: 880px; right: 0; left: 0; width: 100%; }
  .steps-visual { position: absolute; z-index: 1; top: 330px; right: -62%; width: 165%; margin: 0; }
}

@media (max-width: 820px) and (orientation: landscape) {
  .hero {
    background-image: url("assets/hero-reference.png");
    background-position: center;
    background-size: cover;
  }
}

@media (max-width: 520px) {
  .site-header--hero { height: 78px; }
  .site-header--hero .header-inner { padding-inline: 22px; }
  .site-header--hero .brand img { width: 42px; height: 40px; }
  .hero { background-position: center 70px; }
  .auth-header,
  .access-header,
  .deposit-header { min-height: 76px; padding-inline: 18px; }
  .auth-home-link { gap: 7px; font-size: .68rem; }
  .auth-shell { min-height: calc(100svh - 76px); padding: 32px 20px 120px; }
  .auth-entry > h2 { font-size: clamp(4.5rem, 24vw, 6rem); }
  .auth-tabs { gap: 22px; }
  .auth-tabs button { font-size: .96rem; }
  .connect-panel { width: min(100% - 36px, 520px); padding-top: 22px; }
  .connect-panel h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .flow-progress > span { min-height: 74px; }
  .deposit-page { width: min(100% - 32px, 520px); }
  .deposit-wallet { width: 108%; margin-inline: -4%; }
  .steps-section { min-height: 1050px; }
  .steps-visual { top: 340px; right: -72%; width: 180%; }
  .steps-copy > .button { top: 845px; }
}
