/* VibeStore landing page — implemented from Claude Design artboard 3a ("Soft Blocks, full page").
   Colours are semantic tokens (accent / verified / attention / credit) so meaning stays consistent across sections. */

:root {
  /* Neutrals */
  --ink: #111A21;
  --text-2: #2B3740;
  --text-3: #55636D;
  --muted: #8A8579;
  --muted-2: #7A7468;
  --border: #E3E1DC;
  --hairline: #EFEDE8;
  --ground: #FBFAF8;
  --card: #F6F5F2;
  --dot: #D9D5CC;
  --dot-soft: #EDEAE3;
  --page: #FFFFFF;
  --canvas: #E8E6E1;

  /* Dark surfaces */
  --dark: #111A21;
  --dark-panel: #0E171D;
  --dark-dot: #24333D;
  --dark-text: #B6C3CB;
  --dark-muted: #8B9AA4;
  --dark-muted-2: #6C7F8A;
  --dark-line: #26343D;
  --dark-line-soft: #1A252C;
  --dark-dash: #2A3A44;
  --dark-border: #4E606B;

  /* Brand accent (decorative) */
  --accent: #7A62E0;
  --accent-soft: #C9BEF2;
  --accent-tint: #F4F1FD;
  --accent-on-dark: #A796F0;
  --accent-ink: #4B3E86;
  --accent-deep: #241C4A;

  /* Semantic: verified / live */
  --verified: #7A62E0;
  --verified-on-dark: #A796F0;

  /* Semantic: needs attention (never alarm-red) */
  --attention: #E08A1E;
  --attention-on-dark: #F5C451;

  /* Semantic: credits / money */
  --credit: #F5C451;
  --credit-ink: #5C4507;
  --credit-text: #3F2F06;
  --credit-bar: #7A62E0;

  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --gutter: 44px;
  --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; text-wrap: pretty; }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-outline { background: #fff; color: var(--ink); border-color: #C9C3B6; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 12px 20px; font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { max-width: 1280px; margin: 0 auto; }
.section { padding: 0 var(--gutter) 72px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  display: flex; align-items: center; gap: 40px;
  padding: 20px var(--gutter);
}
.brand {
  font-weight: 900; font-size: 19px; letter-spacing: -.035em;
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .duck { flex: none; }
.brand .brand-text { display: inline; }
.brand .mark { color: var(--credit); }
/* The subline's "here": a yellow highlight, per the brand sheet */
.hero h1 mark {
  background: var(--credit); color: var(--ink);
  padding: 0 .1em; margin: 0 -.08em 0 -.02em; border-radius: 6px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-right { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.nav-right .login { font-size: 14px; color: var(--text-2); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 12px; font: 500 13px var(--font-sans); color: var(--ink); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 84px var(--gutter) 64px;
  background:
    radial-gradient(var(--dot) 1.3px, transparent 1.3px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--ground) 0%, var(--page) 78%);
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  margin-bottom: 30px;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent); display: block;
  animation: vs-pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 5.8vw, 74px); line-height: 1.03; letter-spacing: -.04em;
  margin: 0 auto 24px; max-width: 900px;
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text-2);
  margin: 0 auto 34px; max-width: 620px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.fineprint { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

.hero-grid {
  margin-top: 52px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; text-align: left;
}
.scan-card {
  background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 30px;
}
.scan-card .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dark-muted); margin-bottom: 18px;
}
.scan-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 14px; line-height: 2.1; }
.scan-list .ok { color: var(--verified-on-dark); }
.scan-list .warn { color: var(--attention-on-dark); }
.scan-list .val { color: var(--dark-muted); }
.scan-card .live {
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--dark-dash);
  font-family: var(--font-mono); font-size: 13px;
}
.scan-card .live span { color: var(--accent-soft); }
.stat-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.stat {
  border-radius: var(--radius-lg); padding: 26px 30px;
  display: flex; flex-direction: column; justify-content: center;
}
.stat .num { font-weight: 700; font-size: clamp(34px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.stat .desc { font-size: 15px; margin-top: 6px; }
.stat-accent { background: var(--accent-soft); }
.stat-accent .desc { color: var(--accent-ink); }
.stat-credit { background: var(--credit); }
.stat-credit .desc { color: var(--credit-ink); }

/* Hero: the shelf card (right column) */
.shelf-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; flex-direction: column; }
.shelf-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.shelf-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.shelf-count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.shelf-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.shelf-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hairline); font-weight: 600; font-size: 15px; }
.shelf-dot { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.shelf-meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.shelf-foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Problem cards and 3-step layout */
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps.problems .step h3 { margin-bottom: 8px; }
.closing { margin-top: 28px; text-align: center; font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.02em; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.feature .mono { font-family: var(--font-mono); font-size: 13px; }
.feature-cta { background: var(--accent-tint); border-color: var(--accent-soft); }

/* For IT list + pricing note */
.it-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--dark-text); }
.it-list li::before { content: "✓ "; color: var(--accent-on-dark); }
.pricing-note { margin-top: 22px; text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ---------- Subpages: trust, sub-processors, DPA ---------- */
.page { padding: 72px var(--gutter) 40px; }
.page-head { max-width: 760px; margin-bottom: 40px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 18px; }
.page-head .lede { font-size: 18px; line-height: 1.55; color: var(--text-2); margin-bottom: 26px; }
.page-head .cta-row { justify-content: flex-start; margin-bottom: 18px; }
.page-head .fineprint { text-align: left; }
.copy-hint { margin: -6px 0 14px; }
.copy-hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.trust-list { border-top: 1px solid var(--border); }
.trust-row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.trust-row h3 { font-size: 19px; letter-spacing: -.02em; }
.trust-row p { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
.trust-row .how { margin-top: 10px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.trust-row .how a, .subs-notes a, .dpa a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dont { margin-top: 56px; padding: 32px; border-radius: var(--radius-md); background: var(--card); }
.dont .eyebrow { margin-bottom: 16px; }
.dont-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--text-2); }
.dont-list li::before { content: "\2014 "; color: var(--muted); }
.page-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.page-foot .eyebrow { margin-bottom: 10px; }
.mono-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.subs { border: 1px solid var(--border); border-radius: var(--radius-md); overflow-x: auto; }
.subs table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; min-width: 760px; }
.subs th, .subs td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
.subs thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); background: var(--card); }
.subs tbody th { font-weight: 700; white-space: nowrap; }
.subs tbody th a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.subs tbody tr:last-child th, .subs tbody tr:last-child td { border-bottom: 0; }
.subs-notes { max-width: 720px; margin-top: 40px; }
.subs-notes h2 { font-size: 22px; letter-spacing: -.02em; margin: 28px 0 10px; }
.subs-notes p { font-size: 16px; line-height: 1.6; color: var(--text-2); margin-bottom: 12px; }
.draft-banner { display: inline-block; margin-bottom: 22px; padding: 10px 14px; border-radius: 10px; background: var(--attention-tint, #FFF4DA); border: 1px solid #E9C877; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; color: #6B4E00; }
.dpa { max-width: 760px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.dpa h2 { font-size: 22px; letter-spacing: -.02em; color: var(--ink); margin: 40px 0 12px; }
.dpa p, .dpa ul, .dpa ol { margin-bottom: 14px; }
.dpa ul, .dpa ol { padding-left: 22px; }
.dpa li { margin-bottom: 6px; }
.dpa table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; }
.dpa th, .dpa td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--hairline); }
.dpa thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.made-in { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding: 0 var(--gutter) 36px; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .page { padding: 0; }
  .page-head h1 { font-size: 28pt; }
  .dpa { max-width: none; font-size: 11pt; }
  .dpa h2 { break-after: avoid; }
  .dpa table, .dpa tr { break-inside: avoid; }
  .draft-banner { border: 1px solid #000; background: none; color: #000; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Sources marquee ---------- */
.sources {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: 22px 0; background: var(--ground);
}
.sources .caption {
  text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: vs-marquee 26s linear infinite;
  font-family: var(--font-mono); font-size: 15px; color: var(--text-3);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 0 24px; white-space: nowrap; }
.marquee-track .sep { color: var(--accent); }

/* ---------- How it works ---------- */
.section-head { text-align: center; padding: 72px var(--gutter) 0; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 0 auto 12px; max-width: 720px; }
.section-head p { font-size: 17px; color: var(--text-3); margin: 0 auto 40px; max-width: 560px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { border-radius: var(--radius-md); background: var(--card); padding: 28px; }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* ---------- Motion model (under "How it works") ---------- */
.motion {
  border-radius: var(--radius-xl); background: #0A0A0A; color: #fff; padding: 36px;
  overflow: hidden;
}
.motion-head { max-width: 640px; margin-bottom: 28px; }
.motion-head .eyebrow { color: var(--credit); margin-bottom: 14px; }
.motion-head h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.06; margin-bottom: 12px; }
.motion-head p { font-size: 17px; line-height: 1.6; color: #B6C3CB; }
.motion-stage-wrap { position: relative; width: 100%; aspect-ratio: 1200 / 520; --s: 1; }
.motion-stage {
  position: absolute; left: 0; top: 0; width: 1200px; height: 520px;
  transform: scale(var(--s)); transform-origin: 0 0;
  background: radial-gradient(#161616 1.2px, transparent 1.2px) 0 0 / 24px 24px;
  border: 1px solid #1C1C1C; box-sizing: border-box; overflow: hidden;
  font-family: var(--font-mono);
}
.m-beam { position: absolute; top: 250px; width: 210px; height: 1px; animation: ydBeam 4.2s ease-in-out infinite; }
.m-beam-l { left: 250px; background: linear-gradient(90deg, transparent, #F5C451); }
.m-beam-r { left: 740px; background: linear-gradient(90deg, #F5C451, transparent); animation-delay: 1s; }
.m-label { position: absolute; top: 24px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6C7F8A; }
.m-label-l { left: 20px; } .m-label-c { left: 470px; width: 260px; text-align: center; color: #F5C451; } .m-label-r { left: 970px; }
.m-col { position: absolute; top: 46px; width: 210px; height: 400px; display: flex; flex-direction: column; justify-content: space-between; }
.m-col-l { left: 20px; } .m-col-r { left: 970px; }
.m-src, .m-app {
  border: 1px solid #24303A; background: #0F1620; padding: 12px 14px; font-size: 13px; color: #D6DEE3;
  box-sizing: border-box; animation: ydSrc 4.2s linear infinite;
}
.m-src-zip { border-style: dashed; color: #8B9AA4; }
.m-app { display: flex; align-items: center; gap: 10px; padding: 11px 14px; animation-name: ydHit; }
.m-sq { width: 10px; height: 10px; background: #F5C451; display: block; }
.m-dot { position: absolute; width: 12px; height: 12px; background: #F5C451; animation-duration: 4.2s; animation-iteration-count: infinite; }
.m-in { left: 244px; animation-timing-function: cubic-bezier(.5,0,.6,1); }
.m-out { left: 734px; top: 244px; animation-timing-function: cubic-bezier(.4,0,.5,1); }
.m-core { position: absolute; left: 470px; top: 120px; width: 260px; height: 260px; }
.m-ring { position: absolute; inset: 0; border: 1px solid #F5C451; border-radius: 999px; animation: ydRing 2.1s ease-out infinite; }
.m-box {
  position: absolute; inset: 26px; background: #10161C; border: 1px solid #2A3A44;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.m-duck { width: 96px; height: 84px; animation: ydBob 3.2s ease-in-out infinite; }
.m-steps { position: relative; height: 20px; width: 200px; }
.m-step { position: absolute; inset: 0; text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #F5C451; animation: ydStep 4.2s linear infinite; }
.m-foot { position: absolute; bottom: 24px; font-size: 11px; color: #6C7F8A; }
.m-foot-l { left: 20px; } .m-foot-r { left: 970px; }
.motion-captions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.motion-captions > div { border-top: 2px solid #24303A; padding-top: 16px; }
.motion-captions > div.is-yellow { border-top-color: #F5C451; }
.motion-captions h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.motion-captions p { font-size: 14px; line-height: 1.55; color: #9BAAB4; }

@keyframes ydIn1 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,184px) scale(.35); opacity: 0; } }
@keyframes ydIn2 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,116px) scale(.35); opacity: 0; } }
@keyframes ydIn3 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,48px) scale(.35); opacity: 0; } }
@keyframes ydIn4 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,-20px) scale(.35); opacity: 0; } }
@keyframes ydIn5 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,-88px) scale(.35); opacity: 0; } }
@keyframes ydIn6 { 0% { transform: translate(0,0) scale(1); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(210px,-156px) scale(.35); opacity: 0; } }
@keyframes ydOut1 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,-184px) scale(1); opacity: 0; } }
@keyframes ydOut2 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,-116px) scale(1); opacity: 0; } }
@keyframes ydOut3 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,-48px) scale(1); opacity: 0; } }
@keyframes ydOut4 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,20px) scale(1); opacity: 0; } }
@keyframes ydOut5 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,88px) scale(1); opacity: 0; } }
@keyframes ydOut6 { 0% { transform: translate(0,0) scale(.35); opacity: 0; } 18% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translate(210px,156px) scale(1); opacity: 0; } }
@keyframes ydRing { 0% { transform: scale(.55); opacity: .5; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes ydBob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes ydStep { 0%, 4% { opacity: 0; transform: translateY(5px); } 9%, 27% { opacity: 1; transform: translateY(0); } 33%, 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes ydHit { 0%, 70% { border-color: #24303A; background: #0F1620; } 78% { border-color: #F5C451; background: #1A1C14; } 100% { border-color: #24303A; background: #0F1620; } }
@keyframes ydSrc { 0%, 66% { border-color: #24303A; } 74% { border-color: #6C7F8A; } 100% { border-color: #24303A; } }
@keyframes ydBeam { 0% { opacity: .05; } 50% { opacity: .2; } 100% { opacity: .05; } }

@media (prefers-reduced-motion: reduce) {
  .motion-stage *, .motion-stage { animation: none !important; }
  .m-dot { display: none; }
  .m-step:first-child { opacity: 1; } .m-step:not(:first-child) { display: none; }
  .m-ring { opacity: .25; }
}
@media (max-width: 760px) {
  .motion { padding: 20px; }
  .motion-captions { grid-template-columns: 1fr; }
}

/* ---------- Breaker ---------- */
.breaker { padding: 24px var(--gutter) 72px; text-align: center; }
.breaker .eyebrow { margin-bottom: 18px; }
.breaker .statement {
  font-size: clamp(24px, 3vw, 36px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em;
  max-width: 820px; margin: 0 auto; text-wrap: balance;
}

/* ---------- Governance ---------- */
.governance {
  margin: 0 var(--gutter) 72px; border-radius: var(--radius-xl); background: var(--dark); color: #fff;
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background-image: radial-gradient(var(--dark-dot) 1.4px, transparent 1.4px); background-size: 24px 24px;
}
.governance .eyebrow { color: var(--attention-on-dark); margin-bottom: 18px; }
.governance h2 { font-size: clamp(32px, 3.3vw, 42px); line-height: 1.06; margin-bottom: 16px; }
.governance p { font-size: 17px; line-height: 1.6; color: var(--dark-text); margin-bottom: 26px; }
.btn-ghost-dark { border-color: var(--dark-border); color: #fff; padding: 13px 24px; font-size: 14px; }
.btn-ghost-dark:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.audit { background: var(--dark-panel); border-radius: var(--radius-md); padding: 26px; font-family: var(--font-mono); }
.audit table { width: 100%; border-collapse: collapse; }
.audit th {
  text-align: left; font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dark-muted-2); padding: 0 6px 12px 0; border-bottom: 1px solid var(--dark-line);
}
.audit td { font-size: 13px; padding: 13px 6px 13px 0; border-bottom: 1px solid var(--dark-line-soft); }
.audit tr:last-child td { border-bottom: 0; }
.audit .owner { color: var(--dark-muted); }
.audit .s-verified { color: var(--verified-on-dark); }
.audit .s-action { color: var(--attention-on-dark); }
.audit .s-paused { color: var(--dark-muted-2); }

/* ---------- Store ---------- */
.store-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.store-head .eyebrow { margin-bottom: 12px; }
.store-head h2 { font-size: clamp(30px, 3.3vw, 42px); }
.store-head .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.app-card {
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px;
  transition: border-color .15s ease;
}
.app-card:hover { border-color: var(--accent); text-decoration: none; }
.app-card .icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px; }
.app-card .name { font-weight: 700; font-size: 19px; }
.app-card .meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; }
.app-card.more {
  background: radial-gradient(var(--dot) 1.3px, transparent 1.3px) 0 0 / 16px 16px;
  display: flex; align-items: center; justify-content: center; min-height: 140px;
}
.app-card.more span {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; padding: 8px 14px;
}

/* ---------- Credits ---------- */
.credits {
  margin: 0 var(--gutter) 72px; background: var(--credit); border-radius: var(--radius-xl); padding: 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
}
.credits .eyebrow { color: var(--credit-ink); }
.credits h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.08; margin-bottom: 14px; letter-spacing: -.03em; }
.credits p { font-size: 16px; line-height: 1.55; color: var(--credit-text); }
.budget { background: #fff; border-radius: var(--radius-md); padding: 26px; }
.budget .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.budget-rows { display: flex; flex-direction: column; gap: 16px; }
.budget-row .line {
  display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13px; margin-bottom: 7px;
}
.bar { height: 7px; background: #F1EFEA; border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--credit-bar); border-radius: 999px; }
.budget-row.near .bar > i { background: var(--attention); }

/* ---------- Testimonial ---------- */
.quote-box {
  border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 48px;
  background: radial-gradient(var(--dot-soft) 1.3px, transparent 1.3px) 0 0 / 20px 20px, #fff;
}
.quote-box blockquote { margin: 0; max-width: 820px; }
.quote-box .q { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.35; font-weight: 500; letter-spacing: -.02em; margin-bottom: 24px; }
.quote-box figcaption {
  display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3);
}
.quote-box figcaption .avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--accent-soft); display: block; flex: none; }

/* ---------- Pricing ---------- */
.pricing-head { text-align: center; }
.pricing-head h2 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 10px; }
.pricing-head p { font-size: 17px; color: var(--text-3); margin: 0 auto 40px; max-width: 500px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.plan .tier { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.plan .price { font-weight: 700; font-size: 44px; letter-spacing: -.03em; margin: 12px 0 4px; line-height: 1.1; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .for { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
.plan .btn { display: block; text-align: center; padding: 12px; font-size: 14px; margin-bottom: 22px; }
.plan .btn-plan { border-color: var(--ink); background: #fff; color: var(--ink); }
.plan .btn-plan:hover { background: var(--ink); color: #fff; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-2); }
.plan.featured { border-color: var(--accent); background: var(--accent-tint); }
.plan.featured .tier { color: var(--accent); }
.plan.featured .btn-plan { background: var(--accent); color: #fff; border-color: var(--accent); }
.plan.featured .btn-plan:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq h2 { font-size: clamp(30px, 3.2vw, 40px); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.02em; }
.faq-item p { font-size: 15px; line-height: 1.6; color: var(--text-3); }

/* ---------- Final CTA ---------- */
.cta-final {
  margin: 0 var(--gutter) 44px; border-radius: var(--radius-xl); background: var(--dark); color: #fff;
  padding: 56px 48px; text-align: center;
  background-image: radial-gradient(var(--dark-dot) 1.4px, transparent 1.4px); background-size: 22px 22px;
}
.cta-final h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.04em; margin: 0 auto 16px; max-width: 700px; line-height: 1.05; }
.cta-final p { font-size: 17px; color: var(--dark-text); margin: 0 auto 30px; max-width: 520px; }
.cta-final .cta-row { margin-bottom: 0; }
.btn-accent { background: var(--accent-soft); color: var(--accent-deep); }
.btn-accent:hover { background: #fff; }
.btn-ghost-dark-lg { border-color: var(--dark-border); color: #fff; }
.btn-ghost-dark-lg:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); }
.site-footer .container {
  padding: 44px var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer .brand { font-size: 17px; margin-bottom: 12px; }
.site-footer .tagline { font-family: var(--font-mono); font-size: 12px; line-height: 1.9; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.footer-col .head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Motion ---------- */
@keyframes vs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .marquee-track .dup { display: none; }
  .pill .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .steps, .steps.three, .store-grid, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .governance, .credits { grid-template-columns: 1fr; padding: 36px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .section { padding-bottom: 56px; }
  .site-header .container { padding: 14px var(--gutter); flex-wrap: wrap; gap: 12px; }
  .nav-toggle { display: inline-block; }
  .nav-right { gap: 10px; }
  .nav-right .login { display: none; }
  .nav-links {
    display: none; order: 3; flex-direction: column; gap: 14px; width: 100%; padding: 12px 0 6px;
    border-top: 1px solid var(--hairline);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 56px var(--gutter) 48px; }
  .pill { font-size: 11px; padding: 7px 12px; }
  .pill .dot { flex: none; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .stat-stack { grid-template-rows: auto; }
  .steps, .steps.three, .store-grid, .features { grid-template-columns: 1fr; }
  .shelf-meta { display: none; }
  .page { padding-top: 40px; }
  .trust-row { grid-template-columns: 1fr; gap: 8px; }
  .section-head { padding-top: 56px; }
  .governance, .credits, .cta-final { margin-left: var(--gutter); margin-right: var(--gutter); padding: 28px 24px; }
  .audit { padding: 18px; overflow-x: auto; }
  .quote-box { padding: 28px 24px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
  .cta-row .btn { width: 100%; text-align: center; }
}
