/* =====================================================================
   Mythos SafeGold — design system v6
   Square "technical drawing" card system · gold discipline · motion
   ===================================================================== */

:root {
  --bg: #000000;
  --surface: #0d0d0f;
  --surface-hover: #131316;
  --surface-2: #1d1d1f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-gold: rgba(212, 175, 55, 0.55);
  --text: #f5f5f5;
  --muted: #9aa0a6;
  --muted-strong: #c9cdd3;
  --alt-bg: rgba(255, 255, 255, 0.015);
  --header-fade: rgba(0, 0, 0, 0.88);
  --header-solid: rgba(0, 0, 0, 0.94);
  --gold: #d4af37;
  --gold-strong: #e6c65c;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-ink: #14110a;
  --danger: #d98c8c;
  --live: #3ddc84;
  --grad-gold: linear-gradient(180deg, #f5dc8a 0%, #d4af37 55%, #b8922e 100%);
  --grad-champagne: linear-gradient(180deg, #f7f1df 0%, #d9c48a 100%);
  --grad-white: linear-gradient(180deg, #ffffff 0%, #cfcfd2 100%);
  --noise-opacity: 0.045;
  --container: min(1200px, calc(100% - 48px));
  --font-body: "Barlow", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  --font-cond: "Barlow Condensed", "Noto Sans TC", sans-serif;
  /* Label scale — 13px floor so condensed uppercase / CJK labels stay legible */
  --fs-micro: 0.82rem;
  --fs-label: 0.9rem;
  --fs-meta: 0.95rem;
  --track-label: 0.1em;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-hover: #f2f2f3;
  --surface-2: #e8e8ed;
  --line: rgba(17, 17, 19, 0.1);
  --line-strong: rgba(17, 17, 19, 0.2);
  --line-gold: rgba(168, 137, 42, 0.6);
  --text: #111113;
  --muted: #5f6368;
  --muted-strong: #3c4043;
  --alt-bg: rgba(0, 0, 0, 0.02);
  --header-fade: rgba(255, 255, 255, 0.92);
  --header-solid: rgba(255, 255, 255, 0.96);
  --gold: #a8892a;
  --gold-strong: #8f7420;
  --gold-soft: rgba(168, 137, 42, 0.1);
  --gold-ink: #ffffff;
  --danger: #b04a4a;
  --live: #1f9d5a;
  --grad-gold: linear-gradient(180deg, #b8962e 0%, #a8892a 55%, #7a6218 100%);
  --grad-champagne: linear-gradient(180deg, #8f7420 0%, #5d4c17 100%);
  --grad-white: linear-gradient(180deg, #2a2a2e 0%, #111113 100%);
  --noise-opacity: 0.03;
  color-scheme: light;
}

/* ---------- Reset ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 240ms ease, color 240ms ease;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: url("../assets/noise.png") repeat;
  background-size: 200px 200px;
  opacity: var(--noise-opacity);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
}

h1, h2, h3, p, ul, ol, figure {
  margin-top: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

/* ---------- Background layers ---------- */

.starfield {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

:root[data-theme="light"] .starfield {
  display: none;
}

.cosmic-glow {
  position: fixed;
  z-index: -2;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.1;
  pointer-events: none;
}

.cosmic-glow-one {
  top: 8vh;
  right: -20vw;
  background: rgba(212, 175, 55, 0.45);
}

.cosmic-glow-two {
  bottom: 0;
  left: -22vw;
  background: rgba(255, 240, 200, 0.3);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(212, 175, 55, 0.1), transparent 65%),
    radial-gradient(900px 460px at 10% 2%, rgba(201, 165, 88, 0.08), transparent 60%),
    var(--bg);
}

:root[data-theme="light"] .cosmic-glow {
  opacity: 0.4;
  filter: blur(110px);
}

/* ---------- Typography ---------- */

.section-padding {
  width: var(--container);
  margin-inline: auto;
  padding: 112px 0;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-cond);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.96;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-cond);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.hero-lead,
.section-heading p,
.about-copy p,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.gold-text {
  color: var(--gold);
}

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

.grad-champagne {
  background-image: var(--grad-champagne);
}

.grad-white {
  background-image: var(--grad-white);
}

.num-gold {
  color: var(--gold);
}

/* Labels, indices, tags */

.eyebrow-tag,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  color: var(--muted-strong);
  font-family: var(--font-cond);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  line-height: 1.3;
}

.eyebrow-tag::before,
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), var(--line) 60%, transparent);
  min-width: 40px;
}

.card-index {
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.card-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-cond);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.fig-index {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.col-title {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--font-cond);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.col-title-gold {
  color: var(--gold);
}

/* Chinese glyphs fall back to Noto Sans TC inside the condensed label style;
   wide uppercase tracking scatters them, so tighten when the page is zh-Hant. */
html[lang="zh-Hant"] .eyebrow-tag,
html[lang="zh-Hant"] .tag,
html[lang="zh-Hant"] .section-index,
html[lang="zh-Hant"] .card-label,
html[lang="zh-Hant"] .col-title,
html[lang="zh-Hant"] .hero-proof,
html[lang="zh-Hant"] .hero-live-head,
html[lang="zh-Hant"] .split-label,
html[lang="zh-Hant"] .compare-table th,
html[lang="zh-Hant"] .footer-nav h3,
html[lang="zh-Hant"] .main-nav,
html[lang="zh-Hant"] .priority-word,
html[lang="zh-Hant"] .faq-group-title {
  letter-spacing: 0.06em;
}

/* Live dot */

.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  flex-shrink: 0;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--live);
  opacity: 0;
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 16px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, var(--header-fade), transparent);
  transition: background 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: var(--header-solid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-cond);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-family: var(--font-cond);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted-strong);
  transition: color 200ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--font-cond);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease;
}

.theme-toggle {
  width: 36px;
  padding: 0;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.theme-toggle:hover,
.language-toggle:hover {
  border-color: var(--text);
  background: var(--surface);
}

.language-next {
  color: var(--muted);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-family: var(--font-cond);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn::after {
  content: "→";
  display: inline-block;
  font-family: var(--font-body);
  transition: transform 220ms var(--ease-out);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-gold:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.btn-small {
  height: 36px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.btn-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 82% { left: -60%; }
  100% { left: 130%; }
}

.pill-more {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 6px 0 22px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 200ms ease, background 200ms ease;
}

.pill-more:hover {
  border-color: var(--gold);
}

.pill-plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 260ms var(--ease-out);
}

.pill-more:hover .pill-plus {
  transform: rotate(90deg);
}

/* ---------- Shared-border grid + technical card ---------- */

.grid-shared {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.grid-shared > * {
  position: relative;
  margin: 0;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 0 2px no-repeat,
    var(--surface);
  transition: background-size 260ms var(--ease-out), background-color 200ms ease;
}

.grid-shared > *:hover {
  background-color: var(--surface-hover);
  background-size: 100% 2px;
}

.card-tech {
  position: relative;
}

.card-tech::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(var(--line-gold), var(--line-gold)) 0 0 / 12px 1px,
    linear-gradient(var(--line-gold), var(--line-gold)) 0 0 / 1px 12px,
    linear-gradient(var(--line-gold), var(--line-gold)) 100% 0 / 12px 1px,
    linear-gradient(var(--line-gold), var(--line-gold)) 100% 0 / 1px 12px,
    linear-gradient(var(--line-gold), var(--line-gold)) 0 100% / 12px 1px,
    linear-gradient(var(--line-gold), var(--line-gold)) 0 100% / 1px 12px,
    linear-gradient(var(--line-gold), var(--line-gold)) 100% 100% / 12px 1px,
    linear-gradient(var(--line-gold), var(--line-gold)) 100% 100% / 1px 12px;
  background-repeat: no-repeat;
  transition: opacity 260ms ease;
}

.card-tech:hover::after {
  opacity: 1;
}

/* Spotlight (desktop pointer only) */
@media (hover: hover) and (pointer: fine) {
  .spot {
    position: relative;
  }

  .spot::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), var(--gold-soft), transparent 60%);
    transition: opacity 300ms ease;
  }

  .spot:hover::before {
    opacity: 1;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 150px;
  padding-bottom: 72px;
  min-height: 100vh;
}

.hero-backdrop {
  position: absolute;
  inset: -40px 0 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.hero-backdrop img {
  width: min(760px, 82vw);
  opacity: 0.2;
  filter: blur(26px) saturate(1.15);
  transform: scale(1.3);
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent 96%);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent 96%);
  animation: kenBurns 25s ease-in-out infinite alternate;
}

:root[data-theme="light"] .hero-backdrop img {
  opacity: 0.12;
}

@keyframes kenBurns {
  from { transform: scale(1.3) translate(0, 0); }
  to { transform: scale(1.38) translate(-1.5%, 1%); }
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 0;
  width: 100%;
  height: clamp(180px, 34vh, 320px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-curve-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.5s;
}

.hero-curve.is-drawn .hero-curve-path {
  stroke-dashoffset: 0;
}

.hero-curve-dot {
  fill: var(--gold-strong);
  opacity: 0;
  transition: opacity 400ms ease 2.1s;
}

.hero-curve.is-drawn .hero-curve-dot {
  opacity: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero-sub {
  margin: 0 0 20px;
  font-family: var(--font-cond);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-strong);
}

.hero-lead {
  margin-bottom: 22px;
  color: var(--muted-strong);
}

.hero-promise {
  margin: 0 0 30px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-promise strong {
  color: var(--gold);
}

.hero-actions,
.contact-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--font-cond);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.hero-live {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.hero-live-head,
.hero-live-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--muted-strong);
  font-family: var(--font-cond);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-live-head {
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.hero-live-id {
  margin-left: auto;
  color: var(--muted);
}

/* Static-snapshot state (live Myfxbook widget failed or is slow) */
.hero-live-label-static,
.hero-live[data-widget="fallback"] .hero-live-label-live {
  display: none;
}

.hero-live[data-widget="fallback"] .hero-live-label-static {
  display: inline;
}

.hero-live[data-widget="fallback"] .live-dot {
  background: var(--muted);
}

.hero-live[data-widget="fallback"] .live-dot::after {
  display: none;
}

.hero-live-chart {
  display: block;
  background: var(--surface);
}

.hero-live-chart img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}

.hero-live-foot {
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: none;
}

.hero-live-link {
  margin-left: auto;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Ticker + key terms ---------- */

.stats-band {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--alt-bg);
}

.ticker {
  overflow: hidden;
  height: 36px;
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: tickerMove 60s linear infinite;
}

.ticker:hover .ticker-track,
.ticker.is-paused .ticker-track {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  color: var(--muted-strong);
  font-family: var(--font-cond);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats-strip {
  grid-template-columns: repeat(4, 1fr);
  width: var(--container);
  margin: 40px auto;
}

.stat-card {
  padding: 60px 26px 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.stat-card strong small {
  font-size: 0.45em;
  letter-spacing: 0.08em;
  vertical-align: 0.5em;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
}

.section-alt,
.section-glow,
.section-texture {
  width: 100%;
  max-width: none;
}

.section-alt > *,
.section-glow > *,
.section-texture > * {
  width: var(--container);
  margin-inline: auto;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--alt-bg);
}

.section-glow {
  background: radial-gradient(900px 520px at 50% 30%, rgba(212, 175, 55, 0.07), transparent 70%);
}

:root[data-theme="light"] .section-glow {
  background: radial-gradient(900px 520px at 50% 30%, rgba(168, 137, 42, 0.09), transparent 70%);
}

.section-texture {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(212, 175, 55, 0.035) 0 1px, transparent 1px 14px),
    radial-gradient(900px 400px at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%),
    linear-gradient(180deg, #050504, #0a0906 55%, #000);
}

:root[data-theme="light"] .section-texture {
  background:
    repeating-linear-gradient(135deg, rgba(168, 137, 42, 0.06) 0 1px, transparent 1px 14px),
    radial-gradient(900px 400px at 50% 0%, rgba(168, 137, 42, 0.1), transparent 70%),
    linear-gradient(180deg, #fbfaf6, #f5f2ea 55%, #ffffff);
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2,
.section-heading p {
  max-width: 860px;
}

.section-heading .section-index {
  max-width: 520px;
}

.section-tagline {
  margin-top: 14px;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text);
}

.section-actions {
  align-items: center;
  margin-top: 36px;
}

/* ---------- Apple spec grid ---------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
  margin-bottom: 40px;
  padding: 24px 0 8px;
}

.spec-grid-3 {
  gap: 32px 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-value {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.spec-label {
  color: var(--muted);
  font-size: var(--fs-meta);
  letter-spacing: 0;
}

.spec-note {
  display: block;
  margin-top: -2px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.kpi-method {
  max-width: 900px;
  margin: -16px 0 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--surface);
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.75;
}

.kpi-method strong {
  color: var(--text);
}

/* ---------- Evidence ---------- */

.evidence-monthly {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--surface);
}

.evidence-monthly .tag {
  margin: 0;
}

.evidence-monthly p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.evidence-monthly strong {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 1.15em;
  letter-spacing: 0.02em;
}

.evidence-shots {
  grid-template-columns: repeat(3, 1fr);
}

.evidence-shot,
.phone-frame {
  display: flex;
  flex-direction: column;
}

.shot-button {
  display: block;
  width: 100%;
  padding: 10px;
  cursor: zoom-in;
}

.shot-button img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.evidence-shot figcaption,
.phone-frame figcaption,
.dialog-figure figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 34px;
  margin-top: auto;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.evidence-note {
  max-width: 900px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Problem → Solution ---------- */

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.solution-col {
  background: var(--bg);
  padding: 40px 36px;
}

.solution-answer {
  background: var(--surface);
}

.problem-list li {
  position: relative;
  padding: 22px 0 22px 52px;
  border-top: 1px solid var(--line);
}

.problem-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.problem-list li:first-child .card-index {
  top: 4px;
}

.problem-list .card-index {
  top: 26px;
  left: 0;
}

.problem-list h3 {
  margin-bottom: 8px;
}

.problem-list p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.feature-quote {
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-style: italic;
}

.solution-h3 {
  font-family: var(--font-cond);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.solution-answer > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.solution-answer strong {
  color: var(--text);
}

.solution-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
}

.solution-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.solution-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.solution-points strong {
  color: var(--text);
}

.highlight-box {
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
  color: var(--text);
  font-weight: 500;
  line-height: 1.75;
}

/* ---------- Strategy: priority chain + logic tiles ---------- */

.priority-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
  counter-reset: none;
}

.priority-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 24px;
  background: var(--surface);
}

.priority-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.priority-num {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.priority-word {
  display: block;
  font-family: var(--font-cond);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.priority-sub {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.55;
}

.strategy-grid {
  grid-template-columns: repeat(3, 1fr);
}

.strategy-tile {
  display: flex;
  flex-direction: column;
  padding: 56px 26px 28px;
}

.strategy-tile .card-label {
  margin-bottom: 10px;
  color: var(--gold);
}

.strategy-tile h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.strategy-tile p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.strategy-summary {
  max-width: 900px;
  margin-top: 32px;
}

.strategy-summary strong {
  color: var(--gold);
}

.strategy-note {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Model / split bar / duel / bento ---------- */

.split-bar-wrap {
  margin-bottom: 40px;
}

.split-bar {
  display: flex;
  height: 84px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
}

.split-you,
.split-us {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 22px;
  flex: 0 0 0%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: flex-basis 1.4s var(--ease-out);
}

.split-you {
  background: linear-gradient(90deg, #b8922e, #d4af37 60%, #e6c65c);
  color: var(--gold-ink);
}

:root[data-theme="light"] .split-you {
  background: linear-gradient(90deg, #7a6218, #a8892a 60%, #b8962e);
}

.split-us {
  border-left: 1px solid var(--line-strong);
  color: var(--text);
}

.split-bar-wrap.is-visible .split-you {
  flex-basis: 70%;
}

.split-bar-wrap.is-visible .split-us {
  flex-basis: 30%;
}

.split-num {
  font-family: var(--font-cond);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.split-label {
  font-family: var(--font-cond);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.split-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.model-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 72px;
}

.model-card {
  display: flex;
  flex-direction: column;
  padding: 56px 36px 34px;
}

.model-card-mythos {
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(160deg, var(--gold-soft), transparent 55%);
  background-size: 0 2px, 100% 100%;
  background-position: left top, left top;
  background-repeat: no-repeat;
}

.model-card-mythos:hover {
  background-size: 100% 2px, 100% 100%;
}

.model-card h3 {
  margin-top: 8px;
  font-size: 1.2rem;
}

.model-price {
  margin: 4px 0 22px;
  font-family: var(--font-cond);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.model-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.model-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.model-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.model-card-others li::before {
  content: "✕";
  color: var(--danger);
}

.model-card-mythos li::before {
  content: "✓";
  color: var(--gold);
}

.model-note {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.model-card-mythos .model-note {
  color: var(--muted-strong);
}

.bento-head {
  margin-bottom: 28px;
}

.bento-head .section-index {
  max-width: 520px;
}

.bento-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.bento {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  grid-auto-flow: dense;
}

.bento-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 26px 24px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
  justify-content: flex-start;
}

.bento-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.bento-wide .bento-num {
  font-size: clamp(3rem, 5.4vw, 4.8rem);
}

.bento-title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 1rem;
}

.bento-title-lg {
  margin-bottom: 18px;
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bento-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.bento-list {
  display: grid;
  gap: 12px;
}

.bento-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bento-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Fees ---------- */

.fee-hero {
  margin-bottom: 40px;
}

.fee-big {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.fee-big-label {
  margin: 14px 0 8px;
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fee-big-body {
  margin: 0;
  color: var(--muted);
  max-width: 600px;
}

.fee-example p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.fee-example strong {
  color: var(--gold);
}

/* ---------- Compare ---------- */

.compare-wrap {
  border: 1px solid var(--line);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  background: var(--surface);
  color: var(--muted-strong);
  font-family: var(--font-cond);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-table .th-mythos,
.compare-table td:last-child {
  background: var(--gold-soft);
}

.compare-table .th-mythos {
  color: var(--gold);
}

.compare-table td {
  color: var(--muted);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
  background: var(--surface);
}

.compare-table .good {
  color: var(--text);
  font-weight: 500;
}

.compare-table .good::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

.compare-table .bad::before {
  content: "✕ ";
  color: var(--muted);
}

.compare-table .mid::before {
  content: "— ";
  color: var(--muted);
}

/* ---------- Start: process, phones, join ---------- */

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.process-connector {
  position: absolute;
  top: 24px;
  left: calc(100% / 6);
  width: calc(100% * 4 / 6);
  height: 2px;
  overflow: visible;
}

.process-connector line {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.process-connector-bg {
  stroke: var(--line-strong);
  stroke-dasharray: 2 3;
}

.process-connector-fg {
  stroke: var(--gold);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.3s;
}

.process-line.is-visible .process-connector-fg {
  stroke-dashoffset: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: border-color 400ms ease, background 400ms ease;
}

.process-line.is-visible .process-step:nth-child(2) .process-num { transition-delay: 300ms; }
.process-line.is-visible .process-step:nth-child(3) .process-num { transition-delay: 1000ms; }
.process-line.is-visible .process-step:nth-child(4) .process-num { transition-delay: 1700ms; }

.process-line.is-visible .process-num {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.process-step h3 {
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.phone-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.phone-frame {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.phone-frame .shot-button {
  padding: 8px;
}

.phone-frame img {
  border: 1px solid var(--line);
  background: #fff;
}

.phone-notes {
  padding: 8px 0;
}

.settings-list li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.settings-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.settings-list .card-index {
  position: static;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-gold);
  flex-shrink: 0;
  font-size: 0.8rem;
}

.settings-list strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.settings-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.phone-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.join-grid {
  grid-template-columns: repeat(3, 1fr);
}

.join-card {
  display: flex;
  flex-direction: column;
  padding: 56px 28px 28px;
}

.join-card .card-label {
  margin-bottom: 10px;
}

.join-card h3 {
  font-size: 1.2rem;
}

.join-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.join-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- FAQ (grouped: intro column + topic columns) ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  line-height: 1.15;
}

.faq-intro p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.7;
}

.faq-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.faq-group {
  min-width: 0;
}

.faq-group-title {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  border: 1px solid var(--line);
  background: var(--surface);
}

.faq-item {
  border-left: 2px solid transparent;
  transition: border-color 260ms ease, background 200ms ease;
}

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

.faq-item.is-open {
  border-left-color: var(--gold);
  background: var(--surface-hover);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
  list-style: none;
}

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

.faq-item summary:hover {
  color: var(--gold-strong);
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out), border-color 300ms ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
}

.faq-item.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > p {
  min-height: 0;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-body > p {
  padding-bottom: 18px;
}

/* ---------- About + Contact ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p {
  margin-bottom: 16px;
}

.reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
}

.reassurance li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.reassurance li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.contact-card {
  padding: 56px 36px 32px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.contact-card h3 {
  font-family: var(--font-cond);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-card > p {
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-actions .btn {
  flex: 1 1 auto;
}

.contact-handles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
  font-family: var(--font-cond);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.contact-handles em {
  color: var(--muted);
  font-style: normal;
}

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

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--alt-bg);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
  gap: 64px;
  width: var(--container);
  margin-inline: auto;
  padding: 64px 0 48px;
}

.footer-brand-col {
  max-width: 360px;
}

.footer-brand {
  margin-bottom: 22px;
}

.site-footer .footer-summary {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-cond);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-nav h3 {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.5;
  transition: color 200ms ease;
}

.footer-nav a::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 0;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.footer-risk {
  width: var(--container);
  margin-inline: auto;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-risk-label {
  margin-bottom: 16px;
  font-size: var(--fs-micro);
}

.footer-risk-text {
  column-count: 2;
  column-gap: 48px;
}

.site-footer .footer-risk-text p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  break-inside: avoid;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: var(--container);
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-cond);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--muted-strong);
  transition: color 200ms ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.footer-badges > * + *::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px;
  vertical-align: middle;
  background: var(--gold);
}

/* ---------- Mobile CTA bar ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 320ms var(--ease-out);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta-btn {
  display: grid;
  place-items: center;
  height: 56px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-cta-primary {
  background: var(--gold);
  color: var(--gold-ink);
}

/* ---------- Dialogs ---------- */

.dialog {
  width: min(1040px, 92vw);
  max-height: 88vh;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  overflow: auto;
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog[open] {
  animation: dialogIn 320ms var(--ease-out);
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
}

.dialog-inner {
  position: relative;
  padding: 40px clamp(20px, 4vw, 44px) 44px;
}

.dialog-close,
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  transition: border-color 200ms ease;
}

.dialog-close:hover,
.lightbox-close:hover {
  border-color: var(--gold);
}

.dialog h3 {
  font-family: var(--font-cond);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dialog-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
}

.detail-item {
  padding: 16px 18px;
}

.detail-item .card-label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-micro);
  line-height: 1.4;
}

.detail-item strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dialog-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.dialog-figure img {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px;
  background: #fff;
}

.dialog-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

/* ---------- Lightbox (FLIP) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 280ms ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border: 1px solid var(--line-strong);
  background: #fff;
  transform-origin: top left;
  transition: transform 380ms var(--ease-out);
  cursor: zoom-out;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox-close {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parents with staggered children only fade; children do the translate */
.reveal:has(> [style*="--i"]) {
  transform: none;
}

.reveal > [style*="--i"] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), background-size 260ms var(--ease-out), background-color 200ms ease, border-color 260ms ease, padding-left 260ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0ms, 0ms, 0ms, 0ms;
}

.reveal.is-visible > [style*="--i"] {
  opacity: 1;
  transform: none;
}

/* ---------- Intro (first load) ---------- */

@keyframes introFade {
  from { opacity: 0; }
}

@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(22px); }
}

@keyframes introFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
}

@keyframes introTitle {
  from { opacity: 0; transform: translateY(30px); letter-spacing: 0.12em; }
}

body.intro .starfield,
body.intro .cosmic-glow {
  animation: introFade 1400ms ease-out backwards;
}

body.intro .site-header {
  animation: introFadeDown 700ms var(--ease-out) 550ms backwards;
}

body.intro .hero-copy .eyebrow-tag { animation: introFadeUp 650ms var(--ease-out) 150ms backwards; }
body.intro .hero-copy h1 { animation: introTitle 950ms cubic-bezier(0.16, 1, 0.3, 1) 250ms backwards; }
body.intro .hero-sub { animation: introFadeUp 650ms var(--ease-out) 420ms backwards; }
body.intro .hero-lead { animation: introFadeUp 650ms var(--ease-out) 520ms backwards; }
body.intro .hero-promise { animation: introFadeUp 650ms var(--ease-out) 620ms backwards; }
body.intro .hero-actions { animation: introFadeUp 650ms var(--ease-out) 720ms backwards; }
body.intro .hero-proof { animation: introFadeUp 650ms var(--ease-out) 820ms backwards; }
body.intro .hero-live { animation: introFadeUp 900ms var(--ease-out) 700ms backwards; }

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

@media (max-width: 1180px) {
  .main-nav {
    gap: clamp(10px, 1.6vw, 22px);
    font-size: 0.8rem;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
  }

  .hero-live {
    max-width: 720px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-shots {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .model-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-tall {
    grid-row: span 1;
  }

  .priority-chain {
    grid-template-columns: repeat(2, 1fr);
  }

  .priority-item:nth-child(2)::after {
    display: none;
  }

  .strategy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2 br {
    display: none;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 380px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 36px;
  }

  .footer-brand-col {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 32px, 1200px);
  }

  body {
    font-size: 16px;
    padding-bottom: 56px;
  }

  .site-header {
    padding: 10px 14px;
    gap: 8px;
  }

  .brand-text strong {
    font-size: 0.88rem;
    letter-spacing: 0.26em;
  }

  .brand-text small {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .header-actions .btn {
    display: none;
  }

  .section-padding {
    padding: 76px 0;
  }

  .hero-inner {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .eyebrow-tag {
    white-space: normal;
    line-height: 1.4;
  }

  .hero-curve {
    bottom: 0;
    height: 160px;
    opacity: 0.5;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .ticker {
    height: 28px;
  }

  .stats-strip {
    margin: 24px auto;
  }

  .stat-card {
    padding: 48px 20px 20px;
  }

  .stat-card strong {
    font-size: 2rem;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading .section-index {
    min-width: 100%;
  }

  .spec-grid,
  .spec-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .spec-value {
    font-size: 2rem;
  }

  .solution-col {
    padding: 28px 20px;
  }

  .split-bar {
    height: 72px;
  }

  .split-you,
  .split-us {
    padding: 0 14px;
  }

  .split-num {
    font-size: 1.5rem;
  }

  .model-card {
    padding: 52px 22px 26px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }

  .bento-tile {
    padding: 48px 18px 18px;
  }

  .bento-wide .bento-num {
    font-size: 2.6rem;
  }

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

  .strategy-tile {
    padding: 50px 20px 22px;
  }

  .priority-item {
    padding: 22px 18px 20px;
  }

  .priority-word {
    font-size: 1.3rem;
  }

  .fee-big {
    font-size: clamp(4.5rem, 24vw, 7rem);
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    text-align: left;
    padding: 0;
  }

  .process-num {
    margin: 0 0 16px;
  }

  /* Phones become a horizontal snap row */
  .phone-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
  }

  .phone-row::-webkit-scrollbar {
    display: none;
  }

  .phone-row > * {
    flex: 0 0 82vw;
    scroll-snap-align: center;
    max-width: none;
  }

  .phone-notes {
    order: 3;
    padding: 8px 0;
  }

  .join-card {
    padding: 50px 20px 22px;
  }

  .join-card .btn {
    align-self: stretch;
  }

  .faq-layout {
    gap: 28px;
  }

  .faq-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-item summary {
    font-size: 0.96rem;
    padding: 14px 14px;
  }

  .faq-body > p {
    padding: 0 14px;
  }

  .contact-card {
    padding: 50px 22px 26px;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-risk-text {
    column-count: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mobile-cta {
    display: grid;
  }

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

  .dialog-inner {
    padding: 56px 18px 32px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal > [style*="--i"] {
    opacity: 1;
    transform: none;
  }

  .hero-curve-path {
    stroke-dashoffset: 0;
  }

  .hero-curve-dot {
    opacity: 1;
  }

  .split-you { flex-basis: 70%; }
  .split-us { flex-basis: 30%; }

  .process-connector-fg {
    stroke-dashoffset: 0;
  }

  .ticker-track {
    animation: none;
  }

  .btn-shimmer::before,
  .live-dot::after {
    display: none;
  }
}
