/* ==========================================================================
   WE ARE INKED — Marketing Design System
   Dark-luxury obsidian surface, platinum system accent, gold reserved for
   premium (INK+ / INK ONE+). Mirrors the INK ONE OS app chrome so the site
   and the product read as one product.
   ========================================================================== */

:root {
  /* Surface */
  --bg: #050506;
  --bg-raise: #0b0b0d;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --tx: #f4f5f7;
  --tx-2: #9aa0a8;
  --tx-3: #6c727a;

  /* Accents */
  --platinum: #c9ced6;
  --platinum-dim: rgba(201, 206, 214, 0.42);
  --gold: #c9a24b;
  --gold-light: #e8c77e;
  --gold-grad: linear-gradient(180deg, #e8c77e 0%, #c9a24b 45%, #b08a57 100%);
  --platinum-grad: linear-gradient(180deg, #ffffff 0%, #cfd4da 55%, #eef1f4 100%);
  /* Headline accent — brushed steel. Deliberately darker than the wordmark so
     the highlighted word reads as a second voice next to the white text. */
  --accent-grad: linear-gradient(180deg, #d3dae2 0%, #8c95a1 46%, #b9c1ca 100%);

  /* Type */
  --font-display: "Oswald", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --text-hero: clamp(2.6rem, 1.2rem + 5.4vw, 6rem);
  --text-h2: clamp(2rem, 1.1rem + 3.2vw, 3.6rem);
  --text-h3: clamp(1.15rem, 0.95rem + 0.7vw, 1.45rem);
  --text-lead: clamp(1rem, 0.94rem + 0.36vw, 1.2rem);
  --text-body: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);

  /* Rhythm — deliberately uneven, not one uniform pad everywhere */
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --maxw: 1240px;

  /* Motion */
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 640ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* --------------------------------------------------------------- base --- */

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(90% 55% at 12% -5%, rgba(201, 206, 214, 0.07), rgba(0, 0, 0, 0) 60%),
    radial-gradient(70% 50% at 92% 8%, rgba(201, 162, 75, 0.05), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, #101012 0%, #0a0a0c 38%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--tx);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain — the same physical-depth layer the app uses */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  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='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: rgba(201, 206, 214, 0.25); color: #fff; }

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

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

/* Skip link becomes a real, visible control once focused */
.sr-only:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  width: auto; height: auto;
  margin: 0; padding: 0.7rem 1.2rem;
  clip: auto;
  border-radius: 999px;
  background: var(--tx);
  color: #08080a;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ------------------------------------------------------------ layout --- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Grid and flex children default to min-width:auto, so a single unbreakable
   number inside a mock tile can widen the whole document. Opt every layout
   child out of that so narrow viewports never scroll sideways. */
.split > *,
.grid-modules > *,
.pricing > *,
.stat-strip > *,
.frame-body > *,
.m-grid-2 > *,
.m-grid-3 > *,
.m-grid-4 > *,
.m-row > *,
.m-between > * { min-width: 0; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * 0.55); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* -------------------------------------------------------------- type --- */

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  background: var(--platinum-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 1.1rem;
}

.label-gold { color: var(--gold-light); }

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.7;
  color: var(--tx-2);
  max-width: 62ch;
}

.muted { color: var(--tx-2); }
.tiny { font-size: 0.76rem; letter-spacing: 0.05em; color: var(--tx-3); }

/* ----------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--platinum-grad);
  border-color: transparent;
  color: #08080a;
  box-shadow: 0 10px 34px rgba(201, 206, 214, 0.14);
}
.btn-primary:hover { box-shadow: 0 16px 44px rgba(201, 206, 214, 0.22); }

.btn-gold {
  background: var(--gold-grad);
  border-color: transparent;
  color: #14100a;
  box-shadow: 0 10px 34px rgba(201, 162, 75, 0.18);
}
.btn-gold:hover { box-shadow: 0 16px 46px rgba(201, 162, 75, 0.28); }

.btn-ghost { background: var(--surface); color: var(--tx); }
.btn-ghost:hover { border-color: var(--platinum-dim); background: var(--surface-strong); }

.btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* --------------------------------------------------------------- nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background var(--dur), border-color var(--dur), backdrop-filter var(--dur);
}

.nav.scrolled {
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.nav-logo { font-size: 0.95rem; white-space: nowrap; }
.nav-logo sup { font-size: 0.5em; letter-spacing: 0; opacity: 0.55; }

.nav-tabs { display: flex; gap: 1.9rem; }

.nav-tab {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-2);
  padding-block: 0.4rem;
  transition: color var(--dur-fast);
}

.nav-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--platinum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.nav-tab:hover { color: var(--tx); }
.nav-tab:hover::after,
.nav-tab.active::after { transform: scaleX(1); }
.nav-tab.active { color: var(--tx); }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.nav-login {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-2);
  transition: color var(--dur-fast);
}
.nav-login:hover { color: var(--tx); }

.nav-cta { padding: 0.7rem 1.25rem; font-size: 0.7rem; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.5px;
  background: var(--tx);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 25px; }
.nav-burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 var(--gutter) 1.6rem;
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-2);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: 0; margin-top: 0.9rem; justify-content: center; }

/* ------------------------------------------------------------- cards --- */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), background var(--dur);
}

.card:hover {
  border-color: var(--platinum-dim);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.card h3 { font-size: var(--text-h3); margin-bottom: 0.55rem; }
.card p { color: var(--tx-2); font-size: 0.93rem; line-height: 1.62; }

.card-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--tx-3);
  display: block;
  margin-bottom: 0.9rem;
}

/* ------------------------------------------------------- media frame --- */
/* Browser-chrome frame that holds a live CSS mock of the product UI.      */

.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #0e0e11 0%, #08080a 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 206, 214, 0.035);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}

.frame:hover {
  border-color: rgba(201, 206, 214, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.65), 0 0 70px rgba(201, 206, 214, 0.06);
}

.frame-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.frame-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.frame-dot:first-child { background: rgba(201, 206, 214, 0.5); }

.frame-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.frame-body { padding: clamp(0.9rem, 0.6rem + 0.8vw, 1.4rem); display: grid; gap: 0.6rem; }

.frame-caption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--tx-3);
}

/* Mock UI primitives — the vocabulary the frames are built from */
.m-row { display: flex; align-items: center; gap: 0.6rem; }
.m-col { display: grid; gap: 0.5rem; }
.m-between { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }

.m-tile {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.7rem 0.8rem;
}

.m-tile-accent { border-color: rgba(201, 206, 214, 0.28); background: rgba(201, 206, 214, 0.06); }
.m-tile-gold { border-color: rgba(201, 162, 75, 0.32); background: rgba(201, 162, 75, 0.07); }

.m-k {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tx-3);
}

.m-v { font-family: var(--font-display); font-size: 1.35rem; color: var(--tx); line-height: 1.1; }
.m-t { font-size: 0.72rem; color: var(--tx-2); }
.m-t-strong { font-size: 0.75rem; color: var(--tx); font-weight: 500; }

.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
}
.m-pill-on { border-color: rgba(201, 206, 214, 0.4); color: var(--platinum); }
.m-pill-gold { border-color: rgba(201, 162, 75, 0.4); color: var(--gold-light); }

.m-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--platinum); }

.m-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.m-bar > i { display: block; height: 100%; border-radius: 999px; background: var(--platinum-grad); }
.m-bar-gold > i { background: var(--gold-grad); }

.m-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.m-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); flex: none; }

.m-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.m-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.m-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }

/* Sparkline-ish column chart */
.m-chart { display: flex; align-items: flex-end; gap: 4px; height: 62px; }
.m-chart > i {
  flex: 1;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(201, 206, 214, 0.75), rgba(201, 206, 214, 0.12));
}

/* -------------------------------------------------------------- split --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.split-reverse .split-text { order: 2; }
.split-reverse .split-visual { order: 1; }

.split-text { display: flex; flex-direction: column; }
.split-text h2 { font-size: var(--text-h2); margin-bottom: 1.1rem; }
.split-text .lead { max-width: 46ch; }

.checks { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; gap: 0.8rem; }

.checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.93rem;
  color: var(--tx-2);
}

.checks li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.55em;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--platinum);
  box-shadow: 0 0 0 4px rgba(201, 206, 214, 0.10);
}

.checks b { color: var(--tx); font-weight: 600; }

/* --------------------------------------------------------------- grid --- */

.grid-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(0.8rem, 0.5rem + 0.8vw, 1.2rem);
}

.module-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.42rem; }
.module-list li { font-size: 0.85rem; color: var(--tx-2); display: flex; gap: 0.55rem; }
.module-list li::before { content: "—"; color: var(--tx-3); }

/* ------------------------------------------------------------ pricing --- */

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  align-items: start;
}

.tier { display: flex; flex-direction: column; padding: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }

.tier-featured {
  border-color: rgba(201, 162, 75, 0.34);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 75, 0.10), rgba(0, 0, 0, 0) 62%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.tier-featured:hover { border-color: rgba(232, 199, 126, 0.5); }

.tier-badge {
  position: absolute;
  top: -11px;
  left: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #14100a;
}

.tier-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; }
.tier-for { font-size: 0.85rem; color: var(--tx-2); margin-top: 0.35rem; }

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1.6rem 0 0.35rem;
  font-family: var(--font-display);
}
.tier-price .amount { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.tier-price .per { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); }

.tier-note { font-size: 0.78rem; color: var(--tx-3); }

.tier .actions { margin: 1.6rem 0 1.4rem; }
.tier .actions .btn { width: 100%; justify-content: center; }

.tier-features { list-style: none; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.7rem; }
.tier-features li { display: grid; grid-template-columns: 16px 1fr; gap: 0.7rem; font-size: 0.88rem; color: var(--tx-2); }
.tier-features li::before { content: "✓"; color: var(--platinum); font-size: 0.8rem; line-height: 1.7; }
.tier-featured .tier-features li::before { color: var(--gold-light); }
.tier-features .head {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-3);
  grid-template-columns: 1fr;
  margin-top: 0.4rem;
}
.tier-features .head::before { content: none; }

/* ----------------------------------------------------- INK+ gold theme --- */
/* The INK+ surface leads with gold the way the product does — same system,
   different voice. Set `class="theme-gold"` on <body>. */

body.theme-gold {
  background:
    radial-gradient(85% 55% at 15% -5%, rgba(201, 162, 75, 0.10), rgba(0, 0, 0, 0) 60%),
    radial-gradient(65% 45% at 88% 6%, rgba(232, 199, 126, 0.06), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, #121009 0%, #0b0a08 38%, var(--bg) 100%);
  background-attachment: fixed;
}

.theme-gold .nav.scrolled { background: rgba(9, 8, 6, 0.74); }
.theme-gold .label { color: var(--gold-light); }
.theme-gold .checks li::before {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.12);
}
.theme-gold .card:hover { border-color: rgba(201, 162, 75, 0.34); }
.theme-gold .frame:hover { border-color: rgba(201, 162, 75, 0.26); }
.theme-gold .faq details[open] { border-color: rgba(201, 162, 75, 0.34); }
.theme-gold .faq details[open] summary::after { color: var(--gold-light); }
.theme-gold .cta-band {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(201, 162, 75, 0.12), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.theme-gold ::selection { background: rgba(201, 162, 75, 0.28); }

/* ------------------------------------------------------ status & notice --- */

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 0.7rem + 1vw, 1.8rem);
  align-items: start;
  border: 1px solid var(--line);
  border-left: 2px solid var(--platinum-dim);
  border-radius: 18px;
  background: var(--surface);
  padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
}

.notice > * { min-width: 0; }

.notice-key {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum);
  padding-top: 0.2rem;
  white-space: nowrap;
}

.notice p { color: var(--tx-2); font-size: 0.95rem; line-height: 1.65; }
.notice p + p { margin-top: 0.7rem; }

@media (max-width: 620px) {
  .notice { grid-template-columns: 1fr; gap: 0.7rem; }
}

/* ------------------------------------------------------------ tier grid --- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(0.8rem, 0.5rem + 0.9vw, 1.3rem);
  align-items: stretch;
}

.tiers > * { min-width: 0; }

.tier-card { display: flex; flex-direction: column; }

.tier-card .tier-pct {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.2vw, 3.6rem);
  line-height: 1;
  margin-top: 0.9rem;
}

.tier-card .tier-min {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-top: 0.6rem;
}

.tier-card .module-list { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.tier-card .module-list li::before { content: "✓"; color: var(--gold-light); font-size: 0.78rem; }

/* Highest tier gets the gold treatment — the ladder should be visible at a glance */
.tier-card-top {
  border-color: rgba(201, 162, 75, 0.32);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 75, 0.10), rgba(0, 0, 0, 0) 62%),
    var(--surface);
}

/* ----------------------------------------------------------------- faq --- */

.faq { display: grid; gap: 0.7rem; max-width: 900px; margin-inline: auto; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 1.05rem 1.4rem;
  transition: border-color var(--dur), background var(--dur);
}
.faq details[open] { border-color: var(--platinum-dim); background: var(--surface-strong); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--tx);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--tx-3);
  transition: transform var(--dur) var(--ease-out), color var(--dur-fast);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--platinum); }
.faq p { margin-top: 0.85rem; color: var(--tx-2); font-size: 0.92rem; }

/* ----------------------------------------------------------------- cta --- */

.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2.5rem, 1.6rem + 3.5vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(201, 206, 214, 0.09), rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.cta-band h2 { font-size: var(--text-h2); }
.cta-band .lead { margin: 1.1rem auto 0; text-align: center; }
.cta-band .actions { justify-content: center; margin-top: 2rem; }

/* -------------------------------------------------------------- footer --- */

.footer { border-top: 1px solid var(--line); padding-block: clamp(2.8rem, 2rem + 2.5vw, 4.5rem) 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(1.6rem, 1rem + 2vw, 3rem);
}

.footer-brand .wordmark { font-size: 0.95rem; }
.footer-tagline { margin-top: 0.8rem; font-size: 0.8rem; color: var(--tx-3); letter-spacing: 0.06em; }

.footer-col h3 {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: 1rem;
}

.footer-col a { display: block; font-size: 0.85rem; color: var(--tx-2); padding-block: 0.3rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--tx); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--tx-3);
}

/* --------------------------------------------------------------- misc --- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}

.stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  padding: 1.5rem 1.4rem;
}
.stat dt { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tx-3); }
.stat dd { margin: 0.5rem 0 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--tx); line-height: 1.15; }
.stat dd span { display: block; font-family: var(--font-sans); font-size: 0.78rem; color: var(--tx-2); margin-top: 0.3rem; letter-spacing: 0; }

/* ------------------------------------------------------------- reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; will-change: auto; }
.reveal-1 { transition-delay: 90ms; }
.reveal-2 { transition-delay: 180ms; }
.reveal-3 { transition-delay: 270ms; }

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-tabs, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-text, .split-reverse .split-visual { order: 0; }
  .split-text .lead { max-width: 100%; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .m-grid-3, .m-grid-4 { grid-template-columns: 1fr 1fr; }
  .m-v { font-size: 1.15rem; }
  .actions .btn { width: 100%; justify-content: center; }
  .nav-inner { height: 66px; }
  .nav-logo { font-size: 0.8rem; letter-spacing: 0.22em; }
}

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