/* ============================================================
   VAULTPROOF — Proof, before you need it.
   ============================================================ */

:root {
  --paper: #F1EEE7;
  --paper-2: #E8E4D8;
  --ink: #161410;
  --ink-soft: #5C5648;
  --orange: #FF4B1E;
  --violet: #6D4AFF;
  --blue: #1F6FEB;
  --line: rgba(22, 20, 15, 0.16);
  --line-light: rgba(241, 238, 231, 0.18);

  --font-display: "Clash Display", "Arial Black", sans-serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --gutter: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html, body { overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--paper); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: min(1480px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker { color: var(--orange); margin-bottom: clamp(20px, 3vw, 40px); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 em, .cta-title em, .hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.dark { background: var(--ink); color: var(--paper); }
.dark ::selection { background: var(--paper); color: var(--ink); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(2%, 1%); }
}

/* ---------- progress ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 150;
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 48px);
}
.loader-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  display: block;
}
.loader-logo i, .nav-logo i { font-style: normal; font-size: 0.45em; vertical-align: super; color: var(--orange); }
.loader-tag { display: block; margin-top: 8px; color: rgba(241,238,231,0.5); }
.loader-count {
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--orange);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2.2vw, 26px) var(--gutter);
  color: var(--ink);
}
/* theme flips as the nav crosses dark sections (set in JS) */
.nav.on-dark, .nav.menu-open { color: var(--paper); }
.nav.on-dark .btn, .nav.menu-open .btn { border-color: var(--paper); }
.nav-logo, .lang button, .lang span, .menu-toggle, .nav .btn { transition: color 0.35s ease, border-color 0.35s ease; }
.nav-blend {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.75;
  transition: opacity 0.3s, color 0.35s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.08em;
}
.lang span { opacity: 0.4; }
.lang button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  opacity: 0.45;
  padding: 8px 2px;
  position: relative;
  transition: opacity 0.3s;
}
.lang button:hover { opacity: 0.8; }
.lang button.active { opacity: 1; }
.lang button.active::after {
  content: "";
  position: absolute; left: 2px; right: 2px; bottom: 4px;
  height: 1px;
  background: currentColor;
}
.menu-toggle { display: none; letter-spacing: 0.08em; padding: 10px 0 10px 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.35s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.35s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute; inset: -1px;
  background: var(--orange);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--paper); border-color: var(--orange); }
.btn-fill { background: var(--ink); color: var(--paper); }
.dark .btn { border-color: var(--paper); }
.dark .btn-fill { background: var(--paper); color: var(--ink); }
.dark .btn-fill:hover { color: var(--paper); }
.btn-small { padding: 12px 22px; font-size: 11px; }
.btn-big { padding: 26px 52px; font-size: 14px; }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0;
  z-index: 250;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8vh;
  padding: max(env(safe-area-inset-top), 24px) var(--gutter) max(env(safe-area-inset-bottom), 32px);
}
.menu-kicker { color: var(--orange); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 9vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-light);
  padding: 10px 0;
}
.menu-links a .mono { color: var(--orange); font-size: 12px; }
.menu-cta { align-self: flex-start; }
.menu .btn { border-color: var(--paper); }
.menu .btn-fill { background: var(--paper); color: var(--ink); }
.menu-foot { color: rgba(241,238,231,0.4); }
.nav.menu-open { z-index: 260; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(110px, 16vh, 180px);
}
.hero .kicker { margin-bottom: clamp(16px, 2.5vh, 32px); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(58px, 12.6vw, 198px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero-title em { text-transform: lowercase; font-size: 1.02em; }
.hero-title .dot { color: var(--orange); }
.ht-line { display: block; overflow: hidden; padding-block: 0.04em; margin-block: -0.04em; }
.ht-inner { display: inline-block; will-change: transform; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-block: clamp(28px, 4.5vh, 56px);
}
.hero-copy { max-width: 560px; }
.hero-copy p { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-soft); }
.hero-copy strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta { text-align: right; color: var(--ink-soft); display: grid; gap: 10px; }
.scroll-hint { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--ink); }
.scroll-line { width: 44px; height: 1px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--orange);
  animation: scrollline 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* marquee */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.marquee-inner { display: flex; width: max-content; }
.marquee-chunk {
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.14em;
  padding-block: 18px;
  white-space: nowrap;
}
.marquee-chunk i { font-style: normal; color: var(--orange); padding-inline: 1.2em; }

/* ---------- problem ---------- */
.problem {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(70px, 10vh, 110px);
}
.problem-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(25px, 3.7vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.problem-text .w { opacity: 0.13; display: inline-block; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--line-light);
}
.stat-mask { display: block; overflow: hidden; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat p { margin-top: 10px; color: rgba(241,238,231,0.62); max-width: 30ch; font-size: 14px; }
.stats-note { margin-top: clamp(28px, 4vh, 44px); color: rgba(241,238,231,0.35); }

/* ---------- sections shared ---------- */
.section-head { margin-bottom: clamp(48px, 7vh, 90px); }

/* ---------- steps (pinned deck) ---------- */
.steps { padding-block: clamp(70px, 9vh, 110px) 0; }
.steps .section-head { margin-bottom: clamp(28px, 4vh, 48px); }
.deck {
  position: relative;
  height: min(calc(100svh - 430px), 640px);
  min-height: 440px;
}
.step-card {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2.5vw, 32px);
  padding: clamp(28px, 4vw, 72px);
  will-change: transform;
  overflow: hidden;
}
.step-card.card-dark { background: var(--ink); color: var(--paper); border-color: transparent; }
.step-num { color: var(--orange); margin-bottom: 22px; }
.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.step-copy { color: var(--ink-soft); max-width: 44ch; }
.card-dark .step-copy { color: rgba(241,238,231,0.65); }
.step-tags { margin-top: 26px; color: var(--ink-soft); opacity: 0.8; }
.card-dark .step-tags { color: rgba(241,238,231,0.5); }

/* mockups */
.mock {
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 24px 60px -28px rgba(22,20,15,0.35);
}
.card-dark .mock { background: #201D16; border-color: rgba(241,238,231,0.14); }

.mock-capture .vf {
  position: relative;
  aspect-ratio: 4 / 2.9;
  border-radius: 12px;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255,75,30,0.10), transparent 50%),
    linear-gradient(160deg, #DCD6C6, #C9C2AE);
  overflow: hidden;
}
.vf-c { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--ink); opacity: 0.85; }
.vf-c.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.vf-c.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.vf-c.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.vf-c.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.vf-scan {
  position: absolute; left: 0; right: 0; top: 4%; height: 2px;
  background: var(--orange);
  box-shadow: 0 0 18px 2px rgba(255,75,30,0.65);
  animation: scan 3.2s ease-in-out infinite alternate;
}
@keyframes scan { from { top: 4%; } to { top: 92%; } }
.vf-tag {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  padding: 5px 12px; border-radius: 100px;
}
.vf-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  box-shadow: 0 6px 18px -8px rgba(22,20,15,0.4);
}
.vf-chip.c1 { left: 8%; top: 38%; }
.vf-chip.c2 { right: 7%; top: 56%; }
.vf-chip.c3 { left: 14%; bottom: 12%; }
.mock-foot { margin-top: 16px; color: var(--ink-soft); text-align: center; }

.mock-vault .vault-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.vault-head .lock { color: var(--orange); }
.vault-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.vault-row b { font-variant-numeric: tabular-nums; }
.vault-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px;
}
.vault-total b { font-family: var(--font-display); font-size: 24px; color: var(--orange); }

.mock-claim .claim-head {
  display: flex; justify-content: space-between; gap: 12px;
  color: rgba(241,238,231,0.6);
  padding-bottom: 16px;
}
.claim-line {
  height: 9px; border-radius: 4px;
  background: rgba(241,238,231,0.16);
  margin-block: 12px;
}
.claim-line.w90 { width: 90%; } .claim-line.w70 { width: 70%; }
.claim-line.w80 { width: 80%; } .claim-line.w50 { width: 50%; }
.claim-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.claim-stamp {
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 7px 12px; border-radius: 8px;
  transform: rotate(-4deg);
}
.claim-btn { background: var(--orange); color: var(--paper); padding: 11px 18px; border-radius: 100px; }

/* ---------- perils ---------- */
.perils { padding-block: clamp(110px, 16vh, 190px) clamp(60px, 8vh, 100px); }
.peril-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.peril {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(26px, 2.6vw, 42px);
  display: flex;
  flex-direction: column;
  min-height: clamp(380px, 46vh, 520px);
  transition: background 0.45s cubic-bezier(0.65, 0, 0.35, 1), color 0.45s, transform 0.45s, border-color 0.45s;
}
.peril-label { color: var(--accent); transition: color 0.45s; }
.peril-icon { width: 52px; height: 52px; color: var(--accent); margin-block: auto 26px; padding-top: 40px; transition: color 0.45s, transform 0.45s; }
.peril h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.2vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.peril p:not(.mono) { color: var(--ink-soft); font-size: 15.5px; transition: color 0.45s; }
.peril-chips { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); opacity: 0.7; transition: border-color 0.45s; }
@media (hover: hover) {
  .peril:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); transform: translateY(-8px); }
  .peril:hover .peril-label, .peril:hover .peril-icon { color: var(--paper); }
  .peril:hover .peril-icon { transform: translateY(-4px) scale(1.06); }
  .peril:hover p:not(.mono) { color: rgba(241,238,231,0.85); }
  .peril:hover .peril-chips { border-color: rgba(241,238,231,0.3); }
}

/* ---------- features bento ---------- */
.features { padding-block: clamp(110px, 16vh, 190px) clamp(60px, 8vh, 100px); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.cell {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(24px, 2.4vw, 38px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), box-shadow 0.4s;
}
.cell:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(22,20,15,0.4); }
.cell-wide { grid-column: span 2; }
.cell-accent { background: var(--ink); color: var(--paper); border-color: transparent; }
.cell-accent p { color: rgba(241,238,231,0.65) !important; }
.cell-accent .cell-icon { color: var(--orange); }
.cell-icon { width: 42px; height: 42px; color: var(--orange); margin-bottom: auto; }
.cell h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.5vw, 25px);
  letter-spacing: -0.015em;
  margin: 28px 0 8px;
}
.cell p { color: var(--ink-soft); font-size: 15px; }

/* ---------- quote ---------- */
.quote { padding-block: clamp(110px, 17vh, 210px); text-align: center; }
.quote-mark {
  font-family: var(--font-serif);
  font-size: clamp(80px, 9vw, 150px);
  line-height: 0.4;
  color: var(--orange);
}
.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 54px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin: 0.4em auto 0;
  text-wrap: balance;
}
.quote-attr { margin-top: clamp(28px, 4vh, 44px); color: var(--ink-soft); }

/* ---------- pricing ---------- */
.pricing { padding-block: clamp(60px, 9vh, 110px) clamp(110px, 16vh, 190px); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  align-items: stretch;
}
.price {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(26px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-hot { background: var(--ink); color: var(--paper); border-color: transparent; }
.price-badge {
  position: absolute; top: 22px; right: 22px;
  background: var(--orange); color: var(--paper);
  padding: 6px 12px; border-radius: 100px;
}
.price-name { color: var(--orange); margin-bottom: 22px; }
.price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 4.4vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); margin-left: 8px; }
.price-hot .price-amount span { color: rgba(241,238,231,0.5); }
.price ul { margin: 28px 0 36px; flex: 1; }
.price li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
}
.price-hot li { color: rgba(241,238,231,0.7); border-color: var(--line-light); }
.price-hot .btn { border-color: var(--paper); }
.price-hot .btn-fill { background: var(--paper); color: var(--ink); }
.price-hot .btn-fill:hover { color: var(--paper); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); }
.price .btn { width: 100%; }

/* ---------- cta + footer ---------- */
.tail { border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0; }
.cta { padding: clamp(120px, 18vh, 220px) 0 clamp(90px, 13vh, 160px); text-align: center; }
.cta .kicker { margin-bottom: 28px; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.cta-sub { margin: 26px auto 44px; color: rgba(241,238,231,0.6); max-width: 42ch; }

.footer { padding-bottom: 28px; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--line-light);
}
.footer-h { color: var(--orange); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(241,238,231,0.66); font-size: 15px; transition: color 0.25s; }
.footer-col a:hover { color: var(--paper); }
.footer-note p:not(.mono) { color: rgba(241,238,231,0.66); font-size: 15px; }
.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 12.4vw, 196px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241,238,231,0.34);
  user-select: none;
  margin-top: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: rgba(241,238,231,0.4);
}

/* ---------- scroll-to-next FAB ---------- */
.scroll-next {
  position: fixed;
  right: clamp(16px, 2.6vw, 40px);
  bottom: clamp(16px, 2.6vw, 40px);
  z-index: 120;
  width: clamp(54px, 4.4vw, 64px);
  height: clamp(54px, 4.4vw, 64px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.4s cubic-bezier(0.65, 0, 0.35, 1), color 0.4s, border-color 0.4s;
}
.scroll-next.on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sn-ic {
  display: grid;
  place-items: center;
  width: 38%;
  height: 38%;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.sn-ic svg { width: 100%; height: 100%; display: block; }
.scroll-next.to-top .sn-ic { transform: rotate(180deg); }
@media (hover: hover) {
  .scroll-next:hover { background: var(--orange); color: var(--paper); border-color: var(--orange); }
  .scroll-next:hover .sn-ic { transform: translateY(3px); }
  .scroll-next.to-top:hover .sn-ic { transform: rotate(180deg) translateY(3px); }
}
@media (pointer: coarse) {
  .scroll-next { width: 50px; height: 50px; bottom: max(env(safe-area-inset-bottom), 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-next, .sn-ic { transition: none; }
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 400;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav .btn-small { display: none; }

  .peril-grid, .price-grid { grid-template-columns: 1fr; }
  .peril { min-height: 0; }
  .peril-icon { padding-top: 28px; }

  .deck { height: min(calc(100svh - 320px), 620px); min-height: 430px; }
  .step-card { grid-template-columns: 1fr; gap: 20px; align-items: start; align-content: start; padding: 22px; }
  .vault-row { padding: 9px 0; font-size: 13.5px; }
  .mock-vault > .vault-row:nth-child(5) { display: none; }
  .mock { padding: 16px; }
  .step-card h3 { font-size: 26px; margin-bottom: 10px; }
  .step-copy { font-size: 14px; }
  .step-num { margin-bottom: 14px; }
  .step-tags { display: none; }
  .vf-chip.c2 { display: none; }
  .mock-capture .vf { aspect-ratio: 4 / 2.2; }

  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-meta { text-align: left; }
  .scroll-hint { justify-content: flex-start; }

  .price-hot { order: -1; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .cell { min-height: 0; }
  .cell-icon { width: 36px; height: 36px; }
  .cell h4 { margin-top: 20px; }
  .stats { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
  .stat p { margin-top: 6px; font-size: 13px; }
  .problem { padding-block: 70px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(52px, 16.4vw, 92px); }
  .btn-big { padding: 20px 36px; font-size: 12px; }
}

@media (max-height: 700px) and (max-width: 900px) {
  .mock-capture .vf { aspect-ratio: 4 / 2.2; }
}

/* ---------- FR type fitting (longer copy) ---------- */
html[lang="fr"] .hero-title { font-size: clamp(46px, 10.2vw, 162px); }
html[lang="fr"] .problem-text { font-size: clamp(23px, 3.5vw, 53px); }
html[lang="fr"] .cta-title { font-size: clamp(34px, 6vw, 96px); }
@media (max-width: 640px) {
  html[lang="fr"] .hero-title { font-size: clamp(34px, 11.6vw, 60px); }
}

/* ---------- reduced motion / no-js safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .vf-scan, .scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}
