/* finesse · register=brand · A=ink-navy+marina-gold · B=Archivo900/Newsreader-italic
 * C=editorial-alternating · D=CSS-only(countdown/reveal/modal-rise) · E=marina-bay-ledger
 * SOUL=7 SPECTACLE=4 DENSITY=5 · mobile-first · h5-floor applied */

/* ============================================================
   MEG RESEARCH ORGANIZATION · Marina Bay Night design system
   Ink navy + warm gold, editorial finance, mobile-first
   ============================================================ */

:root {
  /* Ink navy ramp (tinted, never pure black) */
  --ink-950: #070E1B;
  --ink-900: #0B1424;
  --ink-850: #0F1A2E;
  --ink-800: #14213A;
  --ink-700: #1B2A48;

  /* Paper ramp (warm off-white) */
  --paper-50: #F8F5EE;
  --paper-100: #F2EEE3;
  --paper-200: #E9E3D3;

  /* Text */
  --text-on-dark: #E8ECF6;
  --text-on-dark-soft: #AEB9CF;
  --text-on-paper: #1C2637;
  --text-on-paper-soft: #4E5A72;

  /* Gold accent (locked) */
  --gold-300: #F2C871;
  --gold-400: #E4B44C;
  --gold-500: #CFA13B;
  --gold-600: #A87F2C;
  --gold-tint: rgba(228, 180, 76, 0.12);

  /* Semantic */
  --red-400: #DE6156;
  --red-tint: rgba(222, 97, 86, 0.1);
  --wa-500: #21B857;
  --wa-600: #199E49;
  --wa-tint: rgba(33, 184, 87, 0.12);

  /* Lines */
  --line-dark: rgba(232, 236, 246, 0.1);
  --line-dark-strong: rgba(232, 236, 246, 0.18);
  --line-paper: rgba(28, 38, 55, 0.1);
  --line-paper-strong: rgba(28, 38, 55, 0.16);

  /* Shadows (tinted) */
  --shadow-deep: 0 24px 60px -18px rgba(4, 8, 18, 0.55);
  --shadow-lift: 0 12px 32px -12px rgba(4, 8, 18, 0.35);
  --shadow-gold: 0 10px 28px -10px rgba(228, 180, 76, 0.45);

  /* Type */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;

  /* Rhythm */
  --radius: 16px;
  --radius-lg: 22px;
  --nav-h: 64px;
  --z-grain: 150;
  --z-sticky: 180;
  --z-modal: 200;
}

/* ---------- Reset & base ---------- */

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-paper);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold-400); color: var(--ink-950); }

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

/* ---------- Grain (universal craft floor) ---------- */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Layout primitives ---------- */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(3.75rem, 10vw, 6.5rem);
}

.section-paper { background: var(--paper-50); color: var(--text-on-paper); }
.section-paper-tint { background: var(--paper-100); color: var(--text-on-paper); }
.section-dark { background: var(--ink-900); color: var(--text-on-dark); }
.section-deep { background: var(--ink-950); color: var(--text-on-dark); }

/* ---------- Type scale ---------- */

.display-1 {
  font-size: clamp(2.45rem, 8vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.032em;
  line-height: 1.04;
}

.display-2 {
  font-size: clamp(1.85rem, 5.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.026em;
  line-height: 1.08;
}

.display-3 {
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: var(--gold-400);
  flex: none;
}

.section-dark .eyebrow { color: var(--gold-400); }
.section-paper .eyebrow { color: var(--gold-600); }

.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.22rem);
  line-height: 1.6;
}

.section-dark .lead { color: var(--text-on-dark-soft); }
.section-paper .lead { color: var(--text-on-paper-soft); }

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 6vw, 3.5rem); }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, filter 0.22s ease;
  will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--ink-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); }

.btn-wa {
  background: linear-gradient(180deg, #2BC963, var(--wa-500) 55%, var(--wa-600));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(33, 184, 87, 0.55);
}

.btn-wa:hover { filter: brightness(1.05); transform: translateY(-2px); }

.btn-ghost-dark {
  background: rgba(232, 236, 246, 0.07);
  color: var(--text-on-dark);
  border: 1px solid var(--line-dark-strong);
}

.btn-ghost-dark:hover { background: rgba(232, 236, 246, 0.12); }

.btn-block { width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.08rem; padding: 1.05rem 2rem; }

.btn .arr { transition: transform 0.22s ease; }
.btn:hover .arr { transform: translateX(4px); }

.micro-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em 0.9em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-dark .micro-trust { color: var(--text-on-dark-soft); }
.section-paper .micro-trust { color: var(--text-on-paper-soft); }

/* ---------- Nav ---------- */

.nav {
  position: relative;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7, 14, 27, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  font-size: clamp(0.78rem, 2.8vw, 1rem);
  letter-spacing: 0.01em;
  color: var(--text-on-dark);
  white-space: nowrap;
}

.brand i {
  width: 11px;
  height: 11px;
  background: var(--gold-400);
  transform: rotate(45deg);
  flex: none;
}

.brand b { font-weight: 500; letter-spacing: 0.18em; font-size: 0.72em; opacity: 0.85; }

.nav-cta {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border-radius: 11px;
  font-size: 0.86rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--ink-950);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { filter: brightness(1.06); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  min-height: max(calc(100svh - var(--nav-h)), 620px);
  display: flex;
  align-items: center;
  background: var(--ink-950);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../img/hero-skyline.jpg");
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.04);
  animation: hero-drift 24s ease-out forwards;
}

@keyframes hero-drift {
  from { transform: scale(1.1); }
  to { transform: scale(1.04); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 30%, rgba(7, 14, 27, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 14, 27, 0.62) 0%, rgba(7, 14, 27, 0.5) 40%, rgba(7, 14, 27, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero .eyebrow { color: var(--gold-400); }

.hero h1 { margin-top: 1.2rem; }

.hero h1 .gold {
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hero .lead {
  margin: 1.4rem auto 0;
  max-width: 620px;
  color: #C6CEDF;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-actions .btn { width: min(100%, 400px); }

.hero .micro-trust { margin-top: 0.4rem; }

/* ---------- Countdown strip ---------- */

.count-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin-top: 1.9rem;
  padding: 0.8rem 1.3rem;
  border-radius: 14px;
  background: rgba(15, 26, 46, 0.66);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.count-strip-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-soft);
  text-transform: uppercase;
}

.count-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.ct-unit { display: inline-flex; align-items: baseline; gap: 0.18rem; }

.ct-unit b {
  font-size: 1.32rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--gold-300);
  min-width: 2ch;
  text-align: center;
}

.ct-unit i {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}

.ct-sep { color: var(--text-on-dark-soft); font-weight: 700; opacity: 0.5; }

.count-now {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  font-variant-numeric: tabular-nums;
}

.count-spots {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red-400);
}

.count-spots::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-400);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ---------- Traps (editorial numbered list) ---------- */

.traps-grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.5rem);
}

.traps-media { position: relative; }

.traps-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.traps-media figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  max-width: calc(100% - 1.8rem);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: rgba(7, 14, 27, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.trap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.4rem;
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--line-paper);
}

.trap:last-child { border-bottom: none; padding-bottom: 0; }

.trap-num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.trap h3 { font-size: clamp(1.25rem, 3.6vw, 1.55rem); font-weight: 800; }

.trap p {
  margin-top: 0.55rem;
  color: var(--text-on-paper-soft);
  font-size: 0.98rem;
}

.trap-flag {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-top: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: var(--red-tint);
  border: 1px solid rgba(222, 97, 86, 0.25);
  color: #A6392F;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.trap-flag::before { content: "⚑"; font-size: 0.9em; }

/* ---------- Value stack (who is this for) ---------- */

.value-grid {
  display: grid;
  gap: clamp(2.4rem, 6vw, 4rem);
  align-items: center;
}

.value-list {
  display: grid;
  gap: 1.4rem;
  max-width: 720px;
  margin-inline: auto;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: #FFFDF8;
  border: 1px solid var(--line-paper);
  box-shadow: 0 6px 18px -10px rgba(28, 38, 55, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(28, 38, 55, 0.25);
}

.value-check {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-tint);
  border: 1px solid rgba(207, 161, 59, 0.35);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;
  flex: none;
}

.value-item h3 { font-size: 1.08rem; font-weight: 800; }
.value-item p { margin-top: 0.35rem; font-size: 0.92rem; color: var(--text-on-paper-soft); line-height: 1.55; }

.value-media { display: none; }

/* ---------- Team (dark section) ---------- */

.team-media {
  max-width: 880px;
  margin-inline: auto;
}

.team-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-deep);
}

.team-names {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin-top: 1.4rem;
  margin-bottom: clamp(2.2rem, 5vw, 3rem);
}

.team-names span {
  font-weight: 800;
  font-size: clamp(0.98rem, 3vw, 1.2rem);
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
}

.team-names .dot { color: var(--gold-400); font-weight: 900; }

.team-body { max-width: 720px; margin-inline: auto; }

.team-body .mentor-bio:first-child { margin-top: 0; }

.mentor-role {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.mentor-bio { margin-top: 1.2rem; color: var(--text-on-dark-soft); font-size: 1rem; line-height: 1.7; }

.mentor-bio + .mentor-bio { margin-top: 0.9rem; }

.mentor-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }

.chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(228, 180, 76, 0.1);
  border: 1px solid rgba(228, 180, 76, 0.3);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pull-quote {
  margin-top: 2rem;
  padding-left: 1.3rem;
  border-left: 3px solid var(--gold-400);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.4vw, 1.45rem);
  line-height: 1.5;
  color: var(--text-on-dark);
}

/* ---------- Proof / stats ---------- */

.stat-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-paper);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-cell {
  background: #FFFDF8;
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.stat-cell .stat-icon {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat-cell b {
  display: block;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-on-paper);
  font-variant-numeric: tabular-nums;
}

.stat-cell b .gold { color: var(--gold-600); }

.stat-cell span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-paper-soft);
}

.proof-media { margin-top: clamp(2.2rem, 6vw, 3.2rem); }

.proof-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.quote-grid { display: grid; gap: 1.2rem; margin-top: clamp(2.2rem, 6vw, 3.2rem); }

.quote-card {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: #FFFDF8;
  border: 1px solid var(--line-paper);
  box-shadow: 0 6px 18px -10px rgba(28, 38, 55, 0.18);
}

.quote-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-on-paper);
}

.quote-card p::before { content: "“"; color: var(--gold-600); font-weight: 700; }
.quote-card p::after { content: "”"; color: var(--gold-600); font-weight: 700; }

.quote-card cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-paper-soft);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--line-paper);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.2rem;
  font-weight: 800;
  font-size: clamp(1rem, 2.8vw, 1.12rem);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-paper-strong);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold-600);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: var(--gold-400);
  color: var(--ink-950);
  border-color: var(--gold-400);
}

.faq-item .faq-body {
  padding: 0 0.2rem 1.4rem;
  color: var(--text-on-paper-soft);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }

.final-cta .display-2 { max-width: 700px; margin-inline: auto; }

.final-cta .lead { max-width: 560px; margin: 1.2rem auto 0; }

.final-cta .btn { margin-top: 2.2rem; width: min(100%, 420px); }

.final-cta .count-strip { margin-top: 2.4rem; max-width: 560px; margin-inline: auto; }

.final-cta .micro-trust { margin-top: 1.1rem; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-950);
  color: var(--text-on-dark-soft);
  border-top: 1px solid var(--line-dark);
  padding: clamp(2.8rem, 7vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.2rem;
}

.footer .brand { color: var(--text-on-dark); }

.footer-tagline { margin-top: 0.9rem; font-size: 0.92rem; max-width: 340px; }

.entity-info { margin-top: 0.85rem; font-size: 0.78rem; line-height: 1.6; color: var(--text-on-dark-soft); }

.entity-info b { color: var(--text-on-dark); font-weight: 800; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.88rem; font-weight: 600; }

.footer-links a { color: var(--text-on-dark-soft); transition: color 0.2s ease; padding-block: 0.4rem; }
.footer-links a:hover { color: var(--gold-300); }

.footer-disclaimer {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(174, 185, 207, 0.75);
  max-width: 860px;
}

.footer-bottom {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.8rem;
  color: rgba(174, 185, 207, 0.65);
}

/* ---------- Sticky bottom CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  padding: 0.7rem max(0.9rem, env(safe-area-inset-left)) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(7, 14, 27, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-dark-strong);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-cta.show { transform: translateY(0); }

.sticky-cta button {
  width: 100%;
  min-height: 62px;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  color: var(--ink-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding-block: 0.55rem;
  box-shadow: 0 -2px 30px rgba(228, 180, 76, 0.25);
}

.sticky-cta .sc-title {
  font-weight: 900;
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.sticky-cta .sc-sub {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
  opacity: 0.78;
  white-space: nowrap;
}

body.modal-open .sticky-cta { transform: translateY(110%); }

body.has-sticky { padding-bottom: 96px; }

/* ---------- Modal (registration popup) ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 8, 18, 0.74);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.open { opacity: 1; visibility: visible; }

.modal-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border: 1px solid var(--line-dark-strong);
  box-shadow: var(--shadow-deep);
  color: var(--text-on-dark);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.open .modal-dialog { transform: none; }

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-on-dark-soft);
  font-size: 1.15rem;
  background: rgba(232, 236, 246, 0.06);
  border: 1px solid var(--line-dark);
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover { background: rgba(232, 236, 246, 0.14); color: #fff; }

.modal-count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(222, 97, 86, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-on-dark-soft);
  text-align: center;
}

.modal-count .count-timer .ct-unit b { font-size: 1.05rem; }

.modal-count .spots { color: var(--red-400); font-weight: 800; }

.modal-body { padding: 1.7rem 1.5rem 1.6rem; text-align: center; }

.modal-title { font-size: clamp(1.35rem, 4.5vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }

.modal-sub { margin-top: 0.7rem; font-size: 0.92rem; color: var(--text-on-dark-soft); line-height: 1.55; }

.modal-form { margin-top: 1.5rem; display: grid; gap: 0.9rem; text-align: left; }

.field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  margin-bottom: 0.45rem;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(232, 236, 246, 0.06);
  border: 1px solid var(--line-dark-strong);
  color: var(--text-on-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input::placeholder { color: rgba(174, 185, 207, 0.55); font-weight: 500; }

.field input:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(232, 236, 246, 0.09);
}

.phone-group { display: flex; gap: 0.55rem; }

.phone-group .phone-code {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 66px;
  min-height: 52px;
  padding: 0 0.8rem;
  border-radius: 12px;
  background: rgba(232, 236, 246, 0.06);
  border: 1px solid var(--line-dark-strong);
  color: var(--gold-300);
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.phone-group input { flex: 1; min-width: 0; }

.field-error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-400);
}

.field.invalid input, .field.invalid .phone-code { border-color: rgba(222, 97, 86, 0.6); }
.field.invalid .field-error { display: block; }

.modal-form .btn { min-height: 56px; font-size: 1.02rem; }

.modal-trust {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  line-height: 1.5;
}

.modal-fine {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  color: rgba(174, 185, 207, 0.6);
}

.modal-fine a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Thank You page ---------- */

.ty-wrap {
  min-height: 100svh;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(228, 180, 76, 0.09), transparent 60%),
    var(--ink-950);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
}

.ty-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.ty-card { text-align: center; }

.ty-check {
  width: 76px;
  height: 76px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--wa-tint);
  border: 1.5px solid rgba(33, 184, 87, 0.45);
  color: #35C96A;
  display: grid;
  place-items: center;
  font-size: 2rem;
  animation: pop-in 0.5s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ty-title { margin-top: 1.5rem; }
.ty-title .name { color: var(--gold-400); }

.ty-sub { margin-top: 0.9rem; color: var(--text-on-dark-soft); font-size: 1.05rem; }

.ty-steps { display: grid; gap: 0.9rem; margin-top: 2.4rem; text-align: left; }

.ty-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(15, 26, 46, 0.6);
  border: 1px solid var(--line-dark);
}

.ty-step-num {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--gold-tint);
  border: 1px solid rgba(228, 180, 76, 0.35);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.ty-step h3 { font-size: 1.02rem; font-weight: 800; }
.ty-step p { margin-top: 0.3rem; font-size: 0.88rem; color: var(--text-on-dark-soft); line-height: 1.55; }

.ty-step .hl { color: #4BCD80; font-weight: 700; }

.ty-cta { margin-top: 2.4rem; text-align: center; }

.ty-cta .btn { width: min(100%, 440px); }

.ty-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-on-dark-soft); }

.ty-note b { color: var(--text-on-dark); }

/* ---------- Legal pages ---------- */

.legal-main { padding-block: clamp(2.8rem, 7vw, 4.5rem); }

.legal-body { max-width: 760px; }

.legal-title { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; }

.legal-updated {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.legal-body h2 {
  margin-top: 2.4rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-paper);
}

.legal-body h2:first-of-type { margin-top: 2rem; }

.legal-body p, .legal-body li {
  margin-top: 0.9rem;
  color: var(--text-on-paper-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.legal-body ul { list-style: disc; padding-left: 1.3rem; }
.legal-body ul li { margin-top: 0.5rem; padding-left: 0.2rem; }

.legal-body a { color: var(--gold-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.legal-body strong { color: var(--text-on-paper); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .stat-band { grid-template-columns: repeat(3, 1fr); }
  .modal-body { padding: 2.1rem 2.2rem 2rem; }
}

@media (min-width: 900px) {
  .traps-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
  .traps-media { position: sticky; top: 2rem; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .sticky-cta {
    left: 50%;
    right: auto;
    bottom: 1.6rem;
    width: auto;
    padding: 0.55rem 0.6rem 0.55rem 0.6rem;
    border: 1px solid var(--line-dark-strong);
    border-radius: 16px;
    transform: translate(-50%, 140%);
  }
  .sticky-cta.show { transform: translate(-50%, 0); }
  .sticky-cta button { min-height: 50px; padding-inline: 1.6rem; }
  body.has-sticky { padding-bottom: 0; }
}

/* ---------- Reduced motion ---------- */

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