/* ════════════════════════════════════════════════════════════
   Phantazein design-system tokens (July 2026 · dark-first)
   Ground truth: live phantazein.com — Archivo Black / Inter /
   JetBrains Mono, pure black, one red, hard edges.
   ════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
  --bg:        #000000;
  --bg-elev:   #0a0a0a;
  --bg-card:   #0e0e0e;
  --ink:       #f4f2ee;
  --ink-soft:  #a8a5a0;
  --ink-mute:  #5e5c58;
  --rule:      #1c1c1c;
  --rule-hi:   #2a2a2a;
  --accent:    #ff0018;
  --accent-dim:#b30011;
  --accent-hover: #d90014;
  --accent-glow: rgba(255, 0, 24, 0.18);
  --ok: #2f9e63;
  --header-bg: rgba(0, 0, 0, 0.72);

  --display: "Archivo Black", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: 6rem; --space-10: 8rem;
  --space-section: clamp(72px, 11vh, 130px);
  --space-hero-top: clamp(72px, 12vh, 140px);
  --text-hero: clamp(46px, 8.4vw, 132px);
  --text-section: clamp(32px, 4.6vw, 64px);
}

/* Light theme — inverts the ground, keeps the one red and the hard edges. */
:root[data-theme="light"] {
  --bg: #faf9f6; --bg-elev: #f2efe9; --bg-card: #ffffff;
  --ink: #0d0b08; --ink-soft: #55524c; --ink-mute: #8f8b83;
  --rule: #e6e2d9; --rule-hi: #d4cfc4;
  --accent-glow: rgba(255, 0, 24, 0.14);
  --header-bg: rgba(250, 249, 246, 0.8);
}
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    --bg: #faf9f6; --bg-elev: #f2efe9; --bg-card: #ffffff;
    --ink: #0d0b08; --ink-soft: #55524c; --ink-mute: #8f8b83;
    --rule: #e6e2d9; --rule-hi: #d4cfc4;
    --accent-glow: rgba(255, 0, 24, 0.14);
    --header-bg: rgba(250, 249, 246, 0.8);
  }
}
:root { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="system"] { color-scheme: light dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* translate3d forces GPU compositing so the loop runs reliably on mobile Safari/Chrome. */
@keyframes mp-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.mp-marquee-track { animation: mp-marquee 26s linear infinite; display: flex; width: max-content; gap: var(--space-8); will-change: transform; }
@keyframes mp-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.mp-reveal { animation: mp-reveal 350ms ease both; }
@keyframes mp-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mp-reveal { animation: none; }
  .url-card .caret { animation: none; }
}

/* Type helpers */
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin: 0;
}
.eyebrow .num { color: var(--accent); margin-right: 10px; }
.sec-title {
  font-family: var(--display); font-weight: 900; font-size: var(--text-section);
  line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink);
  margin: var(--space-4) 0 0;
}
.sec-title .red { color: var(--accent); }

/* Buttons (DS Button.jsx v2 — mono caps, square, accent flood on hover) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--mono); font-weight: 500; line-height: 1; letter-spacing: 0.14em;
  text-transform: uppercase; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--md { font-size: 11px; padding: 9px 14px; }
.btn--lg { font-size: 12px; padding: 15px 20px; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--primary:active { background: var(--accent-dim); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--rule-hi); }
.btn--secondary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Display CTA — the loud one (hero + closing beat). */
.btn--display {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 16px; font-weight: 900;
  letter-spacing: -0.01em; text-transform: uppercase; line-height: 1;
  padding: 17px 24px; background: var(--accent); color: #fff; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn--display:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--display-xl { font-size: clamp(18px, 2vw, 24px); padding: 20px 28px; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .bar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand .wordmark { font-family: var(--display); font-size: 18px; letter-spacing: 0.02em; color: var(--ink); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.site-nav > a:not(.btn) {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .2s ease;
}
.site-nav > a:not(.btn):hover { color: var(--ink); }
/* Language selector — square, mono, custom caret. */
.mp-lang-select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink); background-color: transparent;
  border: 1px solid var(--rule-hi); padding: 8px 30px 8px 11px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.mp-lang-select:hover { border-color: var(--ink); }
.mp-lang-select option { background: var(--bg-elev); color: var(--ink); }
/* Theme toggle — one square button; sun shown in dark (→ light), moon in light. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  background: transparent; border: 1px solid var(--rule-hi); color: var(--ink-soft);
  cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .theme-toggle .icon-sun { display: block; }
  :root[data-theme="system"] .theme-toggle .icon-moon { display: none; }
}
@media (max-width: 1000px) { .site-nav > a:not(.btn):not(.nav-login) { display: none; } }
/* Small screens: keep the (full-name) language selector + theme toggle, but
   drop the wordmark to the icon and the header CTA (the hero CTA is right
   below) so the language picker never collides with the brand. */
@media (max-width: 640px) {
  .nav-login { display: none; }
  .site-nav .btn { display: none; }
  .site-header .bar { gap: var(--space-3); }
  /* Compact the language selector to its 2-letter code (JS swaps the option
     labels) so the wordmark fits beside it. */
  .mp-lang-select { padding: 8px 26px 8px 10px; }
}

/* ── Hero ── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.hero .watermark {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: min(640px, 60vw); max-width: none; opacity: 0.06; pointer-events: none;
}
.hero .inner { position: relative; padding-top: var(--space-hero-top); padding-bottom: clamp(80px, 13vh, 150px); }
.hero .kicker { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vh, 44px); }
.hero .kicker .dash { width: 36px; height: 2px; background: var(--accent); flex: none; }
.hero .kicker span:last-child {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--accent);
}
.hero h1 {
  font-family: var(--display); font-weight: 900; font-size: var(--text-hero);
  line-height: 0.92; letter-spacing: -0.025em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 clamp(28px, 4vh, 44px); max-width: 12ch;
}
.hero h1 .red { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: end; }
.hero-copy { display: grid; gap: var(--space-6); }
.hero .lede { font-size: 17.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; max-width: 54ch; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-side { display: grid; gap: 20px; }
.url-card { border: 1px solid var(--rule-hi); background: var(--bg-card); padding: 20px 22px; }
.url-card .k {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 12px;
}
.url-card .line {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: clamp(13px, 1.3vw, 15px); color: var(--ink);
  white-space: nowrap; overflow: hidden;
}
.url-card .proto { color: var(--accent); font-weight: 600; }
.url-card .sep { color: var(--ink-mute); }
.url-card .you { color: var(--accent); }
.url-card .caret { display: inline-block; width: 8px; height: 16px; background: var(--accent); animation: mp-blink 1.2s steps(1) infinite; flex: none; }
.story-index { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; display: grid; }
.story-index a {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 9px 0;
  border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: color .2s ease;
}
.story-index a:last-child { border-bottom: 1px solid var(--rule); }
.story-index a:hover { color: var(--accent); }
.story-index .n { color: var(--accent); }
.hero-status { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.hero-status .dot { color: var(--accent); }

/* Red marquee strip */
.marquee { background: var(--accent); overflow: hidden; padding: 15px 0; }
.marquee .set {
  display: flex; align-items: center; gap: var(--space-8);
  font-family: var(--display); font-size: 21px; letter-spacing: 0.02em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
}
.marquee .tick { width: 10px; height: 10px; background: #fff; flex: none; }
/* Reduced-motion: don't freeze the strip (which cuts words off) — show them
   as a tidy centered, wrapping row instead. Placed after the base marquee
   rules so it wins over .marquee .set { white-space: nowrap }. */
@media (prefers-reduced-motion: reduce) {
  .marquee .mp-marquee-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .marquee .set { flex-wrap: wrap; justify-content: center; white-space: normal; font-size: clamp(15px, 4vw, 21px); row-gap: var(--space-2); }
  .marquee .set[aria-hidden="true"] { display: none; }
}

/* ── Sections ── */
.sec { border-bottom: 1px solid var(--rule); }
.sec .inner { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.sec--elev { background: var(--bg-elev); }
.sec-head { margin-bottom: var(--space-7); }
section[id] { scroll-margin-top: 80px; }

/* Bordered grids (collapsed 1px rules, phantazein.com project-grid style) */
.rule-grid { display: grid; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.rule-grid > * { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ── Why MultiPass — the three story bands ── */
.why-head { padding-top: var(--space-section); }
.why-head .sec-head { margin-bottom: clamp(48px, 7vh, 72px); }
.story-band { border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.story-band .band-inner { padding-top: clamp(52px, 8vh, 84px); padding-bottom: clamp(52px, 8vh, 84px); }
.band-head { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; }
.band-head .chip {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: var(--accent); color: #fff; font-family: var(--display); font-size: 19px;
}
.band-head .kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-mute);
}
.band-title {
  font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 76px);
  line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
  margin: 0 0 40px; color: var(--ink);
}
.band-title .red { color: var(--accent); }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 4vw, 56px); align-items: start; }
.band-copy { display: grid; gap: 26px; }
.lbl {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 10px;
}
.band-copy p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; max-width: 52ch; }
.mech { border: 1px solid var(--rule); background: var(--bg-card); padding: 26px 28px; }
.mech .lbl { color: var(--accent); margin-bottom: 14px; }
.mech > p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 20px; }
.mech > p strong { color: var(--ink); font-weight: 600; }
.mech-foot { margin-top: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mech-foot .greek { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute); text-transform: uppercase; }
.mech-foot .greek .gk { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.mech-foot a {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule-hi); padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.mech-foot a:hover { color: var(--accent); border-color: var(--accent); }
.dot-red { color: var(--accent); }

/* Key/value fact rows (mechanism cards, protocol) */
.fact-rows { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; display: grid; align-self: start; }
.fact-rows > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); }
.fact-rows .fk { color: var(--ink-mute); }
.fact-rows .fv { color: var(--ink); }
.fact-rows .fv a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
.fact-rows .fv a:hover { color: var(--accent); }
.fact-rows--closed > div:last-child { border-bottom: 1px solid var(--rule); }

/* Steps */
.steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { padding: var(--space-6) var(--space-5); transition: background .2s ease; }
.step:hover { background: var(--bg-card); }
.step .num { display: inline-block; font-family: var(--display); font-size: 14px; letter-spacing: 0.1em; color: var(--accent); border: 1px solid var(--accent); padding: 4px 8px; margin-bottom: var(--space-5); }
.step h3 { margin: 0 0 var(--space-3); font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--ink); }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 38ch; }

/* Vault */
.vault-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--space-8); align-items: start; }
.vault-copy p:first-child { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 var(--space-5); max-width: 52ch; }
.vault-copy p:nth-child(2) { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 var(--space-6); max-width: 52ch; }
.vault-copy .mono-note {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-mute);
  line-height: 1.9; margin: 0; border-top: 1px solid var(--rule); padding-top: var(--space-3);
}
.consent-card { background: var(--bg-card); border: 1px solid var(--rule-hi); max-width: 480px; justify-self: center; width: 100%; }
.consent-card .chrome { padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: var(--space-3); }
.consent-card .chrome img { width: 18px; height: 18px; }
.consent-card .chrome span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-mute); }
.consent-card .body { padding: var(--space-5); }
.consent-card .who { margin: 0 0 var(--space-1); font-family: var(--display); font-size: 18px; text-transform: uppercase; color: var(--ink); }
.consent-card .meta { margin: 0 0 var(--space-5); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-mute); }
.scope-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--rule); }
.scope-row:last-of-type { border-bottom: 1px solid var(--rule); }
.scope-row .name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.scope-row .desc { display: block; font-size: 11.5px; color: var(--ink-mute); }
.scope-row.denied .name { color: var(--ink-soft); }
.pill { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; padding: 4px 8px; flex: none; }
.pill--granted { color: var(--ok); border: 1px solid var(--ok); }
.pill--not-shared { color: var(--ink-mute); border: 1px solid var(--rule-hi); }
.consent-card .actions { display: flex; gap: var(--space-3); margin-top: var(--space-5); }

/* Pricing */
.pricing-head { margin-bottom: var(--space-6); display: flex; align-items: flex-end; gap: var(--space-4); justify-content: space-between; flex-wrap: wrap; row-gap: var(--space-5); }
.period-toggle { display: inline-flex; border: 1px solid var(--rule-hi); }
.period-toggle button {
  border: none; background: transparent; color: var(--ink-mute);
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 9px 14px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.period-toggle button.active { background: var(--ink); color: var(--bg); }
.plans { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { padding: var(--space-6) var(--space-5); display: flex; flex-direction: column; border-top: 2px solid var(--rule); margin-top: -1px; }
.plan.featured { border-top: 2px solid var(--accent); background: var(--bg-card); }
.plan .name-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.plan h3 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 28px; text-transform: uppercase; color: var(--ink); }
.plan .most-chosen { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; white-space: nowrap; }
.plan .tagline { margin: 0 0 var(--space-5); font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; min-height: 2.8em; }
.plan .price-row { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-1); }
.plan .price { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--ink); }
.plan .period { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-mute); }
.plan .vat { margin: 0 0 var(--space-5); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.plan .connectors { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--space-3) 0; margin-bottom: var(--space-4); font-size: 13.5px; color: var(--ink-soft); }
.plan .connectors strong { color: var(--ink); font-family: var(--mono); }
.plan ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.plan li { display: flex; gap: var(--space-2); align-items: baseline; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.plan li .mark { font-family: var(--mono); color: var(--accent); }
.plan li.no { color: var(--ink-mute); }
.plan li.no .mark { color: var(--ink-mute); }
.plan .cta {
  display: block; text-align: center; text-decoration: none;
  font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 14px 18px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  background: transparent; color: var(--ink); border: 1px solid var(--rule-hi);
}
.plan .cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.plan.featured .cta { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.plan.featured .cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.fine-print {
  margin: var(--space-5) 0 0; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}

/* Protocol */
.protocol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 5vw, 72px); align-items: start; }
.protocol-grid > p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; max-width: 54ch; }
.protocol-grid > p strong { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq .inner { max-width: 760px; margin: 0 auto; padding: var(--space-section) var(--gutter); }
.faq .sec-head { margin-bottom: var(--space-6); }
.faq details { border-top: 1px solid var(--rule); }
.faq details > summary { list-style: none; }
.faq details > summary::-webkit-details-marker { display: none; }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: var(--space-4) 0; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq-plus { font-family: var(--mono); color: var(--accent); transition: transform .2s ease; flex: none; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 var(--space-5); color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 62ch; }
.faq .end-rule { border-top: 1px solid var(--rule); }

/* Get started */
.get-started .start-intro { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; margin: var(--space-5) 0 var(--space-6); max-width: 56ch; }
/* Flex + wrap (not grid): the giant word can never overlap the CTA — if it
   doesn't fit beside it, the CTA drops below instead. */
.start-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: clamp(36px, 5vw, 72px); }
.get-started h2 {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.025em;
  text-transform: uppercase; color: var(--ink); max-width: 10ch;
}
.get-started h2 .red { color: var(--accent); }
.start-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
/* Wide screens: force the single row — the CTA column shrinks (note wraps)
   rather than dropping below the headline. */
@media (min-width: 1160px) {
  .start-grid { flex-wrap: nowrap; }
  .start-cta { flex: 0 1 auto; min-width: 0; }
}
.get-started .note { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

/* Connectors */
.sec-lede { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 58ch; margin: var(--space-5) 0 0; }
.conn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: var(--space-6); }
.conn-card { background: var(--bg-elev); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); min-height: 150px; transition: background .3s ease; }
.conn-card:hover { background: var(--bg-card); }
.sec:not(.sec--elev) .conn-card { background: var(--bg); }
.sec:not(.sec--elev) .conn-card:hover { background: var(--bg-card); }
.conn-card .cn { font-family: var(--display); font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.conn-card .cd { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.conn-card .ct { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-mute); margin-top: auto; padding-top: var(--space-3); }
.conn-note { margin: var(--space-5) 0 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 860px) { .conn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .conn-grid { grid-template-columns: 1fr; } .conn-card { min-height: 0; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.mp-foot {
  padding-top: 48px; padding-bottom: 56px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
}
.mp-foot-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin: 0 0 28px; }
.mp-foot-brand { display: flex; align-items: center; gap: 14px; }
.mp-foot-brand img { width: 40px; height: 40px; flex: none; }
.mp-foot-brand a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
.mp-foot-brand a:hover { color: var(--accent); }
.mp-foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.mp-foot-links a { color: var(--ink-soft); text-decoration: none; transition: color .2s ease; }
.mp-foot-links a:hover { color: var(--ink); }
.mp-foot-bar { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mp-foot-legal {
  margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 10.5px; color: var(--ink-mute); text-transform: none; letter-spacing: 0.02em;
  max-width: 76ch; line-height: 1.6;
}
