/* ═══════════════════════════════════════════════════════════════
   Talk Scout — shared styles
   Two surfaces: the dark 3D "journey" and the light "workspace" the
   page emerges into for the practical, actionable content.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --blue: #5170FF;
  --blue-dark: #3a53d6;
  --blue-light: #8FA4FF;
  --ink: #070810;
  --panel: rgba(9, 11, 22, 0.74);

  --paper: #F2F5FF;
  --paper-2: #FFFFFF;
  --on-paper: #0B1020;
  --on-paper-soft: #3E4A6D;
  --line: #D3DAF0;
}
/* marker-pen highlight for the phrase that carries the offer — a boxed
   background reads as a selection artifact, an underline reads as emphasis */
.hl { color: #fff; font-weight: 600;
  background: linear-gradient(to bottom, transparent 60%, rgba(81,112,255,0.55) 60%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paper .hl { color: var(--blue-dark);
  background: linear-gradient(to bottom, transparent 60%, rgba(81,112,255,0.28) 60%); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; background: var(--ink); color: #fff;
  font-family: 'Outfit', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0b14; }
::-webkit-scrollbar-thumb { background: #2a3466; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

canvas.webgl { position: fixed; top: 0; left: 0; z-index: 0; display: block;
  transition: opacity 0.6s ease; }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none;
  transition: opacity 0.6s ease;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(3,4,10,0.6) 100%); }

/* ── loader ─────────────────────────────────────────────────── */
#loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.3rem;
  transition: opacity 0.9s ease, visibility 0.9s; }
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#loader img { width: 70px; animation: pulse 1.7s ease-in-out infinite; }
#loader .w { font-weight: 700; font-size: 1.25rem; }
#loader .t { font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--blue-light); opacity: 0.8; }
@keyframes pulse { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(81,112,255,0.5)); }
  50% { transform: scale(1.09); filter: drop-shadow(0 0 32px rgba(81,112,255,0.95)); } }

/* ── nav ────────────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 3vw; pointer-events: none; }
nav::before { content: ''; position: absolute; inset: 0; transition: background 0.5s;
  background: linear-gradient(to bottom, rgba(5,6,13,0.92), transparent); }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; pointer-events: auto;
  text-decoration: none; color: #fff; position: relative; }
.nav-brand img { width: 32px; height: auto; }
.nav-brand span { font-weight: 700; font-size: 1.12rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; pointer-events: auto; position: relative; }
.nav-links a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.98rem;
  font-weight: 600; transition: color 0.25s; }
.nav-links a:hover { color: #fff; }
/* nav flips to ink once the page has emerged into the light zone. Solid, not a
   gradient — light-section content scrolls under it and a fade lets it show. */
body.on-paper nav::before { background: rgba(242,245,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
body.on-paper .nav-brand { color: var(--on-paper); }
body.on-paper .nav-links a { color: var(--on-paper-soft); }
body.on-paper .nav-links a:hover { color: var(--on-paper); }
body.on-paper .nav-links a.btn { color: #fff; }

/* ── buttons ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff !important; padding: 0.92rem 1.95rem; border-radius: 100px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none; border: 1px solid transparent;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 0 26px rgba(81,112,255,0.45);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s; }
.btn:hover { transform: translateY(-2px); background: #6580ff; box-shadow: 0 5px 36px rgba(81,112,255,0.75); }
.btn.ghost { background: rgba(255,255,255,0.05); border-color: rgba(143,164,255,0.4); box-shadow: none;
  color: rgba(232,237,255,0.92) !important; }
.btn.ghost:hover { background: rgba(81,112,255,0.2); border-color: var(--blue); }
.btn.link { background: none; box-shadow: none; border: none; padding: 0.45rem 0;
  color: var(--blue-light) !important; font-weight: 600; }
.btn.link:hover { transform: none; color: #fff !important; }
.btn .arw { transition: transform 0.25s; }
.btn:hover .arw { transform: translateX(4px); }
.btn.big { padding: 1.2rem 2.6rem; font-size: 1.22rem; }
/* on light surfaces */
.paper .btn { box-shadow: 0 6px 22px rgba(81,112,255,0.28); }
.paper .btn.ghost { background: #fff; border-color: var(--line); color: var(--on-paper) !important; }
.paper .btn.ghost:hover { border-color: var(--blue); background: #fff; }
.paper .btn.link { color: var(--blue-dark) !important; }
.paper .btn.link:hover { color: var(--on-paper) !important; }

/* ── sticky conversion bar ──────────────────────────────────── */
.sticky-cta { position: fixed; left: 50%; bottom: 1.1rem; z-index: 25;
  transform: translate(-50%, 160%); opacity: 0;
  display: flex; align-items: center; gap: 1.1rem; max-width: 92vw;
  background: rgba(11, 14, 30, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(129,152,255,0.3); border-radius: 100px; padding: 0.5rem 0.55rem 0.5rem 1.4rem;
  box-shadow: 0 16px 50px rgba(0,0,0,0.55);
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1), opacity 0.45s; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
/* stands down once the closing cards are on screen — must follow .show */
.sticky-cta.at-end { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.sticky-cta p { font-size: 1rem; font-weight: 400; color: rgba(233,238,255,0.92); white-space: nowrap; }
.sticky-cta p b { color: #fff; font-weight: 700; }
.sticky-cta p .short { display: none; }
.sticky-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.98rem; white-space: nowrap; }
.sticky-cta .x { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: 0 0.5rem 0 0.2rem; font-family: inherit; }
.sticky-cta .x:hover { color: #fff; }

/* ── audience switch ────────────────────────────────────────
   One page, two journeys. The switch rewrites the copy in place
   rather than navigating, so the 3D never restarts.
   ───────────────────────────────────────────────────────────── */
.aud { display: inline-flex; padding: 0.28rem; border-radius: 100px; position: relative;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(143,164,255,0.24);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  /* the nav is pointer-events:none so the 3D stays draggable behind it —
     the switch has to opt back in or its clicks fall through */
  pointer-events: auto; }
.aud button { position: relative; z-index: 1; font-family: inherit; cursor: pointer;
  border: none; background: none; color: rgba(226,232,255,0.62);
  font-size: 0.8rem; font-weight: 600; padding: 0.45rem 1rem; border-radius: 100px;
  white-space: nowrap; transition: color 0.25s; }
.aud button:hover { color: #fff; }
.aud button[aria-selected="true"] { color: #fff; }
.aud .pill { position: absolute; top: 0.28rem; bottom: 0.28rem; border-radius: 100px;
  background: var(--blue); box-shadow: 0 0 18px rgba(81,112,255,0.6);
  transition: left 0.32s cubic-bezier(.4,.1,.2,1), width 0.32s cubic-bezier(.4,.1,.2,1); }
body.on-paper .aud { background: #fff; border-color: var(--line); }
body.on-paper .aud button { color: var(--on-paper-soft); }
body.on-paper .aud button[aria-selected="true"] { color: #fff; }
/* the hero switch sits with the copy; the nav one appears once scrolled */
.aud-hero { margin-bottom: 1.1rem; }
nav .aud { display: none; }
@media (min-width: 861px) { nav .aud { display: inline-flex; } .aud-hero { display: none; } }

/* ── progress rail ──────────────────────────────────────────── */
.rail { position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
  transition: opacity 0.5s; }
.rail .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22);
  cursor: pointer; transition: all 0.35s; }
.rail .dot.active { background: var(--blue); box-shadow: 0 0 12px rgba(81,112,255,0.9); transform: scale(1.5); }
.rail .chapter { writing-mode: vertical-rl; font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--blue-light); opacity: 0.7; margin-top: 0.5rem; min-height: 9em; }
body.on-paper .rail { opacity: 0; pointer-events: none; }

/* ── dark journey layout ────────────────────────────────────── */
.scroll-container { position: relative; z-index: 5; pointer-events: none; }
.section { min-height: 100vh; display: flex; align-items: center; padding: 0 6vw; }
.tall { min-height: 175vh; }
.right { justify-content: flex-end; }
.mid { justify-content: center; text-align: center; }
.content { pointer-events: auto; max-width: 590px; opacity: 0; }
.wide { max-width: 1080px; }

.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: #C3CFFF;
  border: 1px solid rgba(81,112,255,0.55); background: rgba(81,112,255,0.18);
  padding: 0.42rem 0.95rem; border-radius: 100px; margin-bottom: 1.1rem; }
h1 { font-size: clamp(2.05rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.024em; margin-bottom: 1rem; text-shadow: 0 4px 40px rgba(5,6,13,0.95); }
h1 em, h2 em, h3 em { font-style: normal; color: transparent;
  background: linear-gradient(100deg, #A9BAFF, var(--blue) 62%, #5f77ff);
  -webkit-background-clip: text; background-clip: text; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.lede { font-size: clamp(1.1rem, 1.4vw, 1.28rem); font-weight: 400; line-height: 1.55;
  color: rgba(236,240,255,0.94); }

.glass { background: rgba(8, 10, 20, 0.86);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(143,164,255,0.22); border-radius: 18px; padding: 2.1rem;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55); }

.actions { display: flex; gap: 0.75rem; margin-top: 1.6rem; flex-wrap: wrap; align-items: center; }
.reassure { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.8rem; }

/* chips replaced the bullet lists — same substance, a fraction of the words */
.chips { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-top: 1.3rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.03em;
  color: #E4EAFF; background: rgba(81,112,255,0.2);
  border: 1px solid rgba(143,164,255,0.42); border-radius: 100px; padding: 0.52rem 1.05rem; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--blue-light); box-shadow: 0 0 9px rgba(143,164,255,0.9); }

.stats { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.stat b { display: block; font-size: 2.3rem; font-weight: 800; color: #A9BAFF; line-height: 1.1; }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.66); letter-spacing: 0.03em; }

.proof { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.3rem;
  background: rgba(81,112,255,0.16); border: 1px solid rgba(143,164,255,0.34);
  border-radius: 13px; padding: 0.7rem 0.9rem; }
.proof img { width: 74px; height: 53px; object-fit: cover; border-radius: 8px; flex: none; }
.proof p { font-size: 1.05rem; line-height: 1.35; color: #fff; font-weight: 700; }

.scroll-hint { position: absolute; bottom: 4.5vh; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-hint .wheel { width: 23px; height: 37px; border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 14px; position: relative; }
.scroll-hint .wheel::after { content: ''; position: absolute; left: 50%; top: 7px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue-light);
  animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ═══ THE LIGHT SURFACE ═════════════════════════════════════════
   Everything below is the "workspace": steps, proof and forms, where
   clarity beats atmosphere.
   ═══════════════════════════════════════════════════════════════ */
.paper { position: relative; z-index: 6; background: var(--paper); color: var(--on-paper);
  padding: 4.5rem 6vw; }
.paper.tight { padding: 3rem 6vw; }
/* blends the 3D journey into the paper; after a solid hero a crisp edge is
   cleaner, so it is switched off there */
.paper::before { content: ''; position: absolute; left: 0; right: 0; top: -110px; height: 110px;
  background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.page-hero + .paper::before { display: none; }
.paper h2 { color: var(--on-paper); }
.paper h2 em { background: linear-gradient(100deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text; background-clip: text; }
.paper .lede { color: var(--on-paper-soft); }
.paper .eyebrow { color: var(--blue-dark); border-color: rgba(81,112,255,0.3);
  background: rgba(81,112,255,0.08); }
.paper-inner { max-width: 1080px; margin: 0 auto; }
.paper-head { text-align: center; max-width: 620px; margin: 0 auto 2.2rem; }

/* numbered steps */
.steps { display: flex; gap: 1.1rem; align-items: stretch; }
.step { flex: 1 1 0; display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(21,32,74,0.07); transition: transform 0.3s, box-shadow 0.3s; }
.step:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(21,32,74,0.13); }
.step figure { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--blue); }
.step figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.step .num { position: absolute; left: 0.8rem; top: 0.6rem; z-index: 2;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--blue-dark);
  background: #fff; border-radius: 100px; padding: 0.3rem 0.7rem;
  box-shadow: 0 3px 12px rgba(11,16,32,0.18); }
.step .body { padding: 1.3rem 1.4rem 1.5rem; }
.step h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.35rem; color: var(--on-paper);
  letter-spacing: -0.015em; }
.step p { font-size: 1.05rem; font-weight: 400; line-height: 1.5; color: var(--on-paper-soft); }

/* stat band */
.band { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem; }
.band .cell { flex: 1 1 170px; max-width: 240px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; text-align: center; }
.band .cell b { display: block; font-size: 2.4rem; font-weight: 800; color: var(--blue-dark); line-height: 1.05; }
.band .cell span { font-size: 0.95rem; font-weight: 500; color: var(--on-paper-soft); letter-spacing: 0.01em; }
.paper-cta { text-align: center; margin-top: 2.2rem; }

/* closing split */
.doors { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: stretch; justify-content: center; }
.door { flex: 1 1 300px; max-width: 400px; text-decoration: none; display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem;
  box-shadow: 0 10px 34px rgba(21,32,74,0.07);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.door:hover { transform: translateY(-6px); border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(81,112,255,0.2); }
.door.primary { background: linear-gradient(165deg, #23347f, #121a44); border-color: transparent; }
.door.primary .who { color: var(--blue-light); }
.door.primary .what, .door.primary p { color: #fff; }
.door.primary p { color: rgba(224,231,255,0.75); }
.door.primary .go { color: var(--blue-light); }
.door .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(81,112,255,0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; }
.door.primary .ico { background: rgba(255,255,255,0.12); }
.door .ico svg { width: 23px; height: 23px; fill: none; stroke: var(--blue); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.door.primary .ico svg { stroke: #fff; }
.door .who { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 0.5rem; font-weight: 700; }
.door .what { font-size: 1.55rem; font-weight: 800; color: var(--on-paper); margin-bottom: 0.5rem;
  line-height: 1.2; letter-spacing: -0.02em; }
.door p { font-size: 1.05rem; color: var(--on-paper-soft); line-height: 1.5; }
.door .go { display: inline-block; margin-top: auto; padding-top: 1.2rem;
  font-weight: 700; color: var(--blue-dark); font-size: 1.08rem; }
.tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--blue); color: #fff; border-radius: 100px; padding: 0.26rem 0.68rem;
  margin-left: 0.5rem; vertical-align: middle; font-weight: 700; }

/* ── forms ──────────────────────────────────────────────────── */
.form-wrap { max-width: 800px; margin: 0 auto; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 22px; padding: 2.8rem;
  box-shadow: 0 18px 50px rgba(21,32,74,0.09); }
.field { margin-bottom: 1.6rem; }
.field > label { display: block; font-size: 1rem; font-weight: 700; color: var(--on-paper);
  margin-bottom: 0.55rem; letter-spacing: -0.005em; }
.field .req { color: var(--blue); font-weight: 800; }
.field .hint { font-size: 0.88rem; color: var(--on-paper-soft); font-weight: 400; margin-top: 0.45rem; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1.08rem; font-weight: 500; color: var(--on-paper);
  background: #fff; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 0.95rem 1.15rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%233E4A6D' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none;
  border-color: var(--blue); box-shadow: 0 0 0 5px rgba(81,112,255,0.2); }
.field input::placeholder, .field textarea::placeholder { color: #8A96BC; font-weight: 400; }
.field.invalid input, .field.invalid select { border-color: #E0576B;
  box-shadow: 0 0 0 5px rgba(224,87,107,0.14); }
.field .err { display: none; font-size: 0.88rem; color: #D6394F; margin-top: 0.45rem; font-weight: 600; }
.field.invalid .err { display: block; }

.radios { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.radios label { flex: 1 1 140px; position: relative; cursor: pointer; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: block; text-align: center; font-size: 1.02rem; font-weight: 600;
  color: var(--on-paper-soft); background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 0.85rem 0.7rem; transition: all 0.2s; }
.radios input:checked + span { border-color: var(--blue); color: var(--blue-dark);
  background: rgba(81,112,255,0.1); box-shadow: 0 0 0 4px rgba(81,112,255,0.16); font-weight: 700; }
.radios input:focus-visible + span { box-shadow: 0 0 0 5px rgba(81,112,255,0.26); }

.two-col { display: flex; gap: 1.3rem; }
.two-col .field { flex: 1 1 0; }
.form-foot { margin-top: 2rem; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.form-note { font-size: 0.92rem; color: var(--on-paper-soft); }

/* success state */
.done { display: none; text-align: center; padding: 1rem 0 0.5rem; }
.done.show { display: block; }
.done .mark { width: 66px; height: 66px; border-radius: 50%; background: rgba(81,112,255,0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.done .mark svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font-size: 1.5rem; font-weight: 800; color: var(--on-paper); margin-bottom: 0.6rem; }
.done p { color: var(--on-paper-soft); line-height: 1.6; max-width: 440px; margin: 0 auto 1.6rem; }
form.sent { display: none; }

/* compact page hero used by the form pages */
.page-hero { position: relative; z-index: 6; background: var(--ink);
  padding: 8.5rem 6vw 4.5rem; text-align: center;
  border-bottom: 1px solid rgba(143,164,255,0.12); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 50%; top: -180px; width: 640px; height: 380px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse, rgba(81,112,255,0.3), transparent 70%); }
.page-hero .inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 0.9rem; }
.page-hero .lede { max-width: 560px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 1.3rem; }
.back:hover { color: #fff; }

/* ── footer ─────────────────────────────────────────────────── */
.site-footer { padding: 3rem 6vw 2.6rem; text-align: center; background: var(--paper);
  position: relative; z-index: 6; border-top: 1px solid var(--line); }
.site-footer.on-ink { background: var(--ink); border-top-color: rgba(143,164,255,0.12); }
.foot-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: center;
  color: var(--on-paper-soft); font-size: 0.88rem; }
.foot-row a { color: var(--on-paper); text-decoration: none; }
.foot-row a:hover { color: var(--blue-dark); }
.site-footer.on-ink .foot-row { color: rgba(255,255,255,0.52); }
.site-footer.on-ink .foot-row a { color: rgba(255,255,255,0.75); }
.site-footer.on-ink .foot-row a:hover { color: var(--blue-light); }
.socials { display: inline-flex; gap: 0.7rem; }
.social { display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(81,112,255,0.1);
  border: 1px solid rgba(81,112,255,0.25); transition: all 0.3s; }
.social:hover { background: var(--blue); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; fill: var(--blue-dark); }
.social:hover svg { fill: #fff; }
.site-footer.on-ink .social svg { fill: #dfe6ff; }
.copyright { font-size: 0.75rem; color: #8590B0; margin-top: 1rem; }
.site-footer.on-ink .copyright { color: rgba(255,255,255,0.3); }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .steps { flex-direction: column; }
  .step { flex: 0 0 auto; }
  .step figure { aspect-ratio: 21 / 9; }
  .paper { padding: 4.5rem 6vw; }
}
@media (max-width: 860px) {
  .nav-links .hide-m { display: none; }
  .nav-links { gap: 1rem; }
  .rail { right: 0.7rem; } .rail .chapter { display: none; }
  .section { padding: 0 7vw; }
  .section.right { justify-content: flex-start; }
  .glass { padding: 1.7rem; }
  .stats { gap: 1.3rem; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .actions .btn.link { flex-basis: auto; }
  .vignette { background:
    radial-gradient(ellipse at center, transparent 52%, rgba(3,4,10,0.6) 100%),
    linear-gradient(to bottom, rgba(5,6,13,0.62) 0%, rgba(5,6,13,0.42) 45%, rgba(5,6,13,0.62) 100%); }
  .sticky-cta { padding: 0.45rem 0.5rem 0.45rem 1rem; gap: 0.6rem; bottom: 0.7rem; }
  .sticky-cta p { font-size: 0.8rem; }
  .sticky-cta p .long, .sticky-cta p .full { display: none; }
  .sticky-cta p .short { display: inline; }
  .two-col { flex-direction: column; gap: 0; }
  .form-wrap { padding: 1.6rem; border-radius: 18px; }
  .page-hero { padding: 7rem 7vw 3.2rem; }
  .paper { padding: 3.5rem 7vw; }
}
