/* ============================================================
   NOCTIS Recovery M.I — landing page
   Pixel-faithful build from the client Figma (desktop 1440 / mobile 390)
   ============================================================ */

@font-face {
  font-family: "Helvetica Neue Local";
  src: url("fonts/HelveticaNeue300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Neue Local";
  src: url("fonts/HelveticaNeue400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg:        #0B0A08;
  --bg-2:      #0D0C0A;
  --surface:   #131110;
  --surface-2: #17140F;
  --line:      #2A241D;
  --line-soft: rgba(201, 161, 95, 0.14);

  --gold:      #C9A15F;
  --gold-lite: #D7B86F;
  --gold-deep: #C99D5F;

  --cream:     #ECE4D6;
  --text-2:    #B9AE9E;
  --muted:     #8C8175;

  --radius:    12px;
  --radius-lg: 16px;
  --maxw:      1240px;
  --gutter:    clamp(20px, 5vw, 56px);

  --ff: "Helvetica Neue Local", "Helvetica Neue", Helvetica, "Archivo", Arial, sans-serif;

  /* sections stack, so adjacent gaps total ~2x this — tuned to the Figma's ~150-180px inter-section spacing */
  --rhythm: clamp(48px, 6vw, 88px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.015em; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #1a1206; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 400;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-lite);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- shared ---------- */
.section {
  padding-block: var(--rhythm);
  padding-inline: var(--gutter);
}
.section__head { max-width: var(--maxw); margin-inline: auto; }
.section__head--center { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }

.h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.06;
  color: var(--cream);
}
.h2 em { color: var(--gold-lite); }
.h2--sm { font-size: clamp(26px, 3.4vw, 38px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 17, 16, 0.72);
  color: var(--cream);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 161, 95, 0.8);
}

.rule {
  display: block;
  width: 118px; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201,161,95,0));
}

/* icons */
.ico {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-lite), var(--gold-deep));
  color: #1c1305;
  border: 1px solid rgba(215, 184, 111, 0.6);
  box-shadow: 0 8px 30px -12px rgba(201, 161, 95, 0.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -14px rgba(201,161,95,0.85); }

.btn--outline {
  background: transparent;
  color: var(--gold-lite);
  border: 1px solid var(--gold);
}
.btn--outline:hover { background: rgba(201, 161, 95, 0.09); border-color: var(--gold-lite); }

.btn--block { display: flex; width: 100%; justify-content: center; }

/* ============================================================
   1. NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  /* No backdrop-filter: Chromium paints the whole page black with it under page zoom */
  background: rgba(11, 10, 8, 0.92);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.nav.is-scrolled { background: rgba(11, 10, 8, 0.94); }
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand img { width: 40px; height: 40px; opacity: .95; }
.nav__links {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  margin-inline: auto;
}
.nav__links a {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  transition: opacity .25s, color .25s;
}
.nav__links a:hover { opacity: 1; color: var(--gold-lite); }
.nav__cta { --pad-y: 12px; --pad-x: 20px; }

.nav__toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

/* ============================================================
   MOBILE MENU (§8)
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 7, 6, 0.98);
  padding: 16px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 8px 28px;
}
.menu__close {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: transparent; color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  padding: 22px 4px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}
.menu__nav a:last-child { border-bottom: 1px solid var(--line); }
.menu__cta { margin-top: 32px; justify-content: center; }

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  /* keep the footage at its natural 2028:1440 proportions on wide screens:
     height-fit, anchored center-right, edges faded into the page background
     instead of cover-zooming into the face */
  position: absolute; top: 0; height: 100%;
  left: 56%; transform: translateX(-50%);
  width: auto; min-width: 100%;
  object-fit: cover;
  object-position: center 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
/* footage is already dark around the face — only a light wash for copy legibility */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,10,8,0.62) 0%, rgba(11,10,8,0.30) 36%, rgba(11,10,8,0) 60%),
    linear-gradient(180deg, rgba(11,10,8,0.30) 0%, rgba(11,10,8,0) 26%, rgba(11,10,8,0.55) 100%);
}

/* viewfinder brackets are baked into the hero footage — no CSS overlay */

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}
.hero__title {
  margin: 24px 0 0;
  font-size: clamp(52px, 9.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero__title .line { display: block; }
.hero__title .line--accent em { color: var(--gold-lite); font-style: italic; }
.hero__content .rule { margin: 30px 0 26px; }
.hero__lede {
  margin: 0 0 36px;
  max-width: 44ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--cream);
  line-height: 1.5;
}
.hero__cta { --pad-y: 17px; --pad-x: 30px; font-size: 13.5px; }

.hero__proof {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: clamp(48px, 8vh, 96px) auto 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 12, 10, 0.82);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero__proof .ico { width: 18px; height: 18px; }
.hero__proof .ico .s { stroke: var(--gold); }

/* ============================================================
   3. HOW IT WORKS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.how__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: var(--line-soft); transform: translateY(-3px); }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; }
.step__num {
  font-size: 14px; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 400;
}
.step__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--gold);
}
.step__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step__title {
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.step__body { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* ============================================================
   4. REPORT + PRIVACY
   ============================================================ */
.duo__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}
.report { padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.report__head { text-align: center; }
.report__head .h2 { margin-bottom: 14px; }
.report__sub {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 15px;
}
.report__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
  align-items: stretch;
}
.score {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
}
.score img,
.score__video { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; opacity: .96; }
.score__overlay {
  position: absolute;
  left: 22px; bottom: 20px;
  display: flex; flex-direction: column;
}
.score__value {
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.score__max { font-size: 0.42em; color: var(--muted); font-weight: 400; }
.score__label {
  margin-top: 6px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-lite);
}
.score__chip {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(236, 228, 214, 0.35);
  border-radius: 999px;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  background: rgba(0,0,0,0.35);
}
.metrics { display: flex; flex-direction: column; justify-content: center; }
.metrics__list { display: flex; flex-direction: column; }
.metrics__list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--cream);
}
.metrics__list li:first-child { border-top: 1px solid var(--line); }
.ico--lock { width: 17px; height: 17px; opacity: .8; }
.metrics__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.privacy {
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.privacy__title { margin-bottom: 26px; }
.privacy__shield {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: radial-gradient(circle at 50% 40%, rgba(201,161,95,0.14), transparent 70%);
  margin-bottom: 24px;
}
.privacy__shield svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.privacy__shield .chk { stroke: var(--gold-lite); stroke-width: 1.8; }
.privacy__lead {
  margin: 0 0 14px;
  font-size: 20px; font-weight: 400;
  color: var(--cream);
}
.privacy__body {
  margin: 0 0 auto;
  max-width: 40ch;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.privacy__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 34px;
}
.privacy__tiles li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
}

/* ============================================================
   5. NOCTIS INTELLIGENCE
   ============================================================ */
.intelligence__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.intelligence__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000 center/cover no-repeat;
  aspect-ratio: 2028 / 1440;
}
.intelligence__video { width: 100%; height: 100%; object-fit: cover; }
.intelligence__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.intelligence__copy .chip { margin: 0; }
.intelligence__copy .h2 { margin: 0; }
.intelligence__body { margin: 0; max-width: 42ch; color: var(--text-2); font-size: 16px; }
.feature-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.feature-row li {
  flex: 1;
  display: flex; flex-direction: column; gap: 12px;
  padding: 4px 20px;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2);
}
.feature-row li + li { border-left: 1px solid var(--line); }
.feature-row li:first-child { padding-left: 0; }
.feature-row .ico { width: 22px; height: 22px; }

/* ============================================================
   6. FINAL CTA
   ============================================================ */
.final {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 50% 40%, rgba(201,161,95,0.07), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 9px),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.final__inner {
  max-width: 680px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.final__sub { margin: 0; max-width: 42ch; color: var(--text-2); font-size: 16.5px; }
.final .btn--gold { --pad-y: 17px; --pad-x: 32px; }
.final__assure {
  margin: 6px 0 0;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.final__assure span { color: var(--gold); margin: 0 4px; }

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
  padding: clamp(48px, 6vw, 72px) var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer__brand img { width: 56px; height: 56px; opacity: .95; }
.footer__links { display: flex; gap: 28px; }
.footer__links a {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); opacity: .85; transition: color .25s, opacity .25s;
}
.footer__links a:hover { color: var(--gold-lite); opacity: 1; }
.footer__legal {
  max-width: var(--maxw); margin: 40px auto 0;
  text-align: right;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  /* no will-change: promoting five viewport-sized sections to GPU layers
     exhausts raster memory on some machines and paints them black */
}
[data-reveal].is-in { opacity: 1; transform: none; }
.hero[data-reveal] { opacity: 1; transform: none; } /* hero visible immediately */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .duo__grid { grid-template-columns: 1fr; }
  .intelligence__grid { grid-template-columns: 1fr; gap: 40px; }
  .intelligence__copy { align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__inner { padding-block: 14px; }

  .hero { min-height: 88vh; }
  .hero__title { font-size: clamp(44px, 13vw, 60px); }
  .hero__lede br { display: none; }
  .hero__proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__proof li { width: 100%; }

  .how__grid { grid-template-columns: 1fr; }

  .report__body { grid-template-columns: 1fr; }
  .score { max-width: 340px; margin-inline: auto; }

  .feature-row { flex-direction: column; gap: 20px; }
  .feature-row li { padding: 0; }
  .feature-row li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer__legal { text-align: left; }
}

@media (max-width: 400px) {
  body { font-size: 16px; }
  .section { padding-inline: 20px; }
}

/* wider screens keep content centered with breathing room */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__video, .intelligence__video { display: none; }
  .hero__media {
    background: #000 url("hero-poster.jpg") center/cover no-repeat;
  }
  .intelligence__media {
    background: #000 url("intelligence-video-poster.jpg") center/cover no-repeat;
  }
}

/* legal links row in footer */
.footer__links--legal {
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 0 var(--gutter);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer__links--legal a { font-size: 12.5px; letter-spacing: 0.12em; }

/* ============================================================
   6b. EARLY ACCESS / MEMBER AREA
   ============================================================ */
.access { padding-top: 0; }
.access__card {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.access__copy .h2 { margin: 18px 0 14px; }
.access__body { margin: 0; color: var(--text-2); max-width: 46ch; }
.access__form { display: flex; gap: 12px; flex-wrap: wrap; }
.access__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
}
.access__input::placeholder { color: var(--muted); }
.access__input:focus { border-color: var(--gold); outline: none; }
.access__signin {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.access__signin a { color: var(--gold-lite); border-bottom: 1px solid var(--line-soft); }
.access__signin a:hover { border-color: var(--gold-lite); }
@media (max-width: 900px) {
  .access__card { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGES (privacy / terms / data-policy)
   Reuses the landing design system: chip eyebrow, .h2 title,
   .card grid. Header/footer are the canonical site chrome.
   ============================================================ */
.legal { padding-top: clamp(116px, 15vh, 176px); }
.legal__head {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.legal__head .h2 { max-width: 22ch; }
.legal__lead {
  margin: 0;
  max-width: 64ch;
  color: var(--text-2);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
}
.legal__lead strong { color: var(--cream); font-weight: 400; }
.legal-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: legal;
}
.legal-card {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-increment: legal;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.legal-card:hover { border-color: var(--line-soft); transform: translateY(-3px); }
.legal-card h3 {
  font-size: 15px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cream);
  font-weight: 700;
}
.legal-card h3::before {
  content: counter(legal, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: .82;
}
.legal-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.legal__foot {
  max-width: var(--maxw);
  margin: clamp(40px, 5vw, 60px) auto 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .legal-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BRONZE THEME (light mode) — full-page day treatment from the
   "NOCTIS - 3 versions" design. Toggled via html[data-theme].
   ============================================================ */
.nav__theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: border-color .25s;
}
.nav__theme:hover { border-color: var(--gold); }
.nav__theme .ico { width: 18px; height: 18px; }

html[data-theme="bronze"] {
  --bg:        #352C24;
  --bg-2:      #3E342B;
  --surface:   #5B4C3E;
  --surface-2: #52453A;
  --line:      rgba(236, 228, 214, 0.16);
  --line-soft: rgba(201, 161, 95, 0.22);
  --gold:      #C9A15F;
  --gold-lite: #D7B86F;
  --gold-deep: #A9834C;
  --cream:     #F1EADD;
  --text-2:    #DDD1C0;
  --muted:     #C0B09C;
}
html[data-theme="bronze"] body {
  background: #352C24 url("texture-bronze.png") center/cover fixed no-repeat;
}
html[data-theme="bronze"] .nav { background: rgba(48, 40, 34, 0.94); }
html[data-theme="bronze"] .menu { background: rgba(48, 40, 34, 0.98); }
html[data-theme="bronze"] .chip { background: rgba(66, 56, 45, 0.78); }
html[data-theme="bronze"] .card,
html[data-theme="bronze"] .access__card {
  background: var(--surface);
  border-color: rgba(236, 228, 214, 0.12);
  box-shadow: 0 24px 60px -30px rgba(20, 14, 8, 0.55);
}
html[data-theme="bronze"] .privacy__shield svg { fill: #AC8449; stroke: #AC8449; }
html[data-theme="bronze"] .privacy__shield .chk { stroke: #2A2118; }
html[data-theme="bronze"] .btn--gold {
  background: linear-gradient(180deg, #C9A15F, #A9834C);
  border-color: rgba(201, 161, 95, 0.7);
}
html[data-theme="bronze"] .access__input,
html[data-theme="bronze"] .score,
html[data-theme="bronze"] .metrics__list li { background: rgba(42, 34, 27, 0.55); }
html[data-theme="bronze"] .footer { background: #241F1A; border-top: 1px solid rgba(236,228,214,0.08); }
html[data-theme="bronze"] .hero__scrim {
  background:
    linear-gradient(90deg, rgba(30,24,19,0.66) 0%, rgba(30,24,19,0.32) 36%, rgba(30,24,19,0) 60%),
    linear-gradient(180deg, rgba(30,24,19,0.30) 0%, rgba(30,24,19,0) 26%, rgba(53,44,36,0.92) 100%);
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
