/* VoiceToShip redesign v1. System fonts only. No external requests. CSP-safe (no inline styles). Mobile-first. */
:root {
  --midnight: #0F1B2D;
  --midnight-2: #16263D;
  --midnight-3: #1E3250;
  --prompt: #0B1424;
  --violet: #6C5CE7;
  --violet-ink: #5A4BD6;
  --violet-soft: #B3A9FF;
  --violet-tint: #ECEAFE;
  --mint: #00C2A8;
  --mint-ink: #00796A;
  --mint-tint: #DDF7F2;
  --amber: #FFB020;
  --amber-ink: #8A5A00;
  --amber-tint: #FFF2D6;
  --sky: #3B82F6;
  --sky-tint: #E3EEFF;
  --cloud: #F5F7FA;
  --white: #FFFFFF;
  --slate: #4A5872;
  --slate-dark: #AEB9CC;
  --prompt-text: #D8E0EC;
  --prompt-muted: #8C9AB3;
  --line: #E2E7EF;
  --line-dark: #263A57;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
  --shadow-lg: 0 2px 4px rgba(15, 27, 45, .08), 0 24px 60px rgba(15, 27, 45, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--midnight); background: var(--cloud); }
img, svg { display: block; }
a { color: var(--violet-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--midnight); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Avatars (inline SVG <use>) ---------- */
.av { flex: none; border-radius: 28%; padding: 14%; }
.av--xs { width: 26px; height: 26px; padding: 3px; border-radius: 8px; }
.av--sm { width: 44px; height: 44px; padding: 6px; border-radius: 13px; }
.av--lg { width: 72px; height: 72px; padding: 10px; border-radius: 20px; }
.tile--lead { background: #E4E7F2; }
.tile--planner { background: var(--violet-tint); }
.tile--builder { background: var(--amber-tint); }
.tile--evaluator { background: var(--mint-tint); }
.tile--researcher { background: var(--sky-tint); }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--midnight); border-bottom: 1px solid var(--line-dark); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--cloud); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; text-decoration: none; }
.mark { width: 26px; height: 26px; color: var(--cloud); }
.nav-list { display: flex; list-style: none; gap: 4px; }
.nav-item--wide { display: none; }
.nav a { display: inline-block; color: var(--cloud); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--midnight-3); }
.nav .topbar-link { background: var(--white); color: var(--midnight); }
.nav .topbar-link:hover { background: var(--violet-tint); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cloud); background-color: var(--midnight);
  padding: 48px 0 56px; }
.hero > .wrap, .pricing > .wrap, .get-main > :not(.glows) { position: relative; z-index: 1; }
.studio-chip { z-index: 2; }
/* Glows: box-shadow on a 1px element, so text never sits on a gradient (axe can verify contrast) */
.glows { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* Glows are 2px dots that paint a soft box-shadow: the element box never overlaps text,
   so axe and pa11y can verify every text pair on a solid background. */
.glow { position: absolute; width: 2px; height: 2px; border-radius: 50%; }
.glow--violet { left: 80%; top: 34%; box-shadow: 0 0 120px 150px rgba(108, 92, 231, .22), 0 0 160px 230px rgba(108, 92, 231, .18); }
.glow--mint { left: 66%; top: 99%; box-shadow: 0 0 120px 110px rgba(0, 194, 168, .14), 0 0 140px 170px rgba(0, 194, 168, .08); }
.glow--corner { left: 99%; top: 1%; box-shadow: 0 0 110px 110px rgba(108, 92, 231, .3), 0 0 140px 170px rgba(108, 92, 231, .18); }
.glow--left { left: 14%; top: 1%; box-shadow: 0 0 120px 140px rgba(108, 92, 231, .18), 0 0 160px 220px rgba(108, 92, 231, .12); }
.glow--studio { left: 50%; top: 45%; box-shadow: 0 0 120px 180px rgba(255, 255, 255, .7), 0 0 160px 260px rgba(255, 255, 255, .5); }
.glows--stage { inset: -48px -120px -56px -24px; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); font-weight: 700; padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(22, 38, 61, .7); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0, 194, 168, .2); }
.hero h1 { margin-top: 20px; font-size: clamp(2.25rem, 7.4vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 15ch; }
.sub { margin-top: 18px; font-size: clamp(1.125rem, 2.4vw, 1.375rem); color: var(--slate-dark); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta, .cta-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.cta { background: var(--violet); color: var(--white); box-shadow: 0 8px 24px rgba(108, 92, 231, .45); }
.cta:hover { background: var(--violet-ink); }
.cta-ghost { color: var(--cloud); border: 1.5px solid #3A5175; background: rgba(22, 38, 61, .6); }
.cta-ghost:hover { border-color: var(--violet-soft); }
.small { margin-top: 18px; font-size: .875rem; color: var(--slate-dark); }
.avatar-row { display: flex; list-style: none; margin-top: 28px; }
.avatar-row-item + .avatar-row-item { margin-left: -8px; }
.avatar-row .av { box-shadow: 0 0 0 3px var(--midnight); }

.hero-stage { position: relative; display: flex; justify-content: center; padding: 8px 0 12px; }
.phone { position: relative; z-index: 1; margin: 0; width: 300px; border-radius: 44px; background: #0A1220; padding: 12px; box-shadow: 0 0 0 1.5px #33465F inset, var(--shadow-lg), 0 40px 80px rgba(0, 0, 0, .35); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 999px; background: #0A1220; z-index: 2; }
.phone-screen { border-radius: 34px; background: #F3F5F9; color: var(--midnight); padding: 56px 14px 18px; min-height: 520px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone--hero { transform: perspective(1400px) rotateY(-14deg) rotateX(4deg); animation: float 7s ease-in-out 3.8s infinite; }
.feed { list-style: none; display: grid; gap: 8px; }
.feed-item { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); font-size: .875rem; animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.feed-item--1 { animation-delay: .2s; }
.feed-item--2 { animation-delay: .7s; }
.feed-item--3 { animation-delay: 1.2s; }
.feed-item--4 { animation-delay: 1.7s; }
.feed-name { font-weight: 700; }
.feed-step { margin-left: auto; font-family: var(--mono); font-size: .75rem; font-weight: 700; color: var(--slate); background: var(--cloud); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.feed-step--pass { color: var(--midnight); background: var(--mint); border-color: var(--mint); }
.approval-card { margin-top: auto; background: var(--midnight); color: var(--cloud); border-radius: 20px; padding: 16px; box-shadow: 0 16px 40px rgba(15, 27, 45, .35); animation: slideup .7s cubic-bezier(.2, .8, .2, 1) 2.4s both; }
.approval-label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .75rem; color: var(--slate-dark); text-transform: uppercase; letter-spacing: .06em; }
.approval-title { margin-top: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.approval-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.approve, .decline { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; font-weight: 700; font-size: .9375rem; }
.approve { background: var(--mint); color: var(--midnight); animation: pulse 2.4s ease-in-out 3.2s infinite; }
.decline { background: var(--midnight-3); color: var(--cloud); }
.float-chip { position: absolute; display: none; align-items: center; gap: 8px; background: var(--white); color: var(--midnight); font-weight: 700; font-size: .875rem; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.float-chip--a { top: 18%; left: 0; animation-delay: 2.9s; }
.float-chip--b { bottom: 14%; right: 0; animation-delay: 3.3s; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.chip-dot--mint { background: var(--mint); }
.chip-dot--amber { background: var(--amber); }

/* Reveal with clip-path + transform, never opacity: text is never shown at low contrast */
@keyframes rise { from { clip-path: inset(0 0 100% 0 round 14px); transform: translateY(14px) scale(.97); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
@keyframes slideup { from { clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 194, 168, .55); } 50% { box-shadow: 0 0 0 8px rgba(0, 194, 168, 0); } }
@keyframes float { 0%, 100% { transform: perspective(1400px) rotateY(-14deg) rotateX(4deg) translateY(0); } 50% { transform: perspective(1400px) rotateY(-14deg) rotateX(4deg) translateY(-10px); } }

/* Hero avatar cluster behind the phone (Miles hook-card look) */
.cluster { position: absolute; inset: 0; pointer-events: none; }
.cluster { display: none; }
.cluster .av { position: absolute; padding: 0; background: none; border-radius: 0; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: bob 6s ease-in-out infinite; }
.cluster-1 { width: 120px; height: 120px; left: 2%; top: 52%; animation-delay: .4s; }
.cluster-2 { width: 96px; height: 96px; right: 0; top: 4%; animation-delay: 1.2s; }
.cluster-3 { width: 84px; height: 84px; right: 4%; bottom: 2%; animation-delay: 2s; }
.cluster-4 { width: 70px; height: 70px; left: 18%; top: -2%; animation-delay: 2.8s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-4deg); } }

/* ---------- Sections ---------- */
.block { padding: 64px 0; background: var(--white); }
.block.alt { background: var(--cloud); }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.kicker { font-family: var(--mono); font-weight: 700; font-size: .875rem; color: var(--violet-ink); border: 1.5px solid var(--violet-tint); background: var(--violet-tint); border-radius: 8px; padding: 2px 8px; }
.block h2 { font-size: clamp(1.875rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; }

/* Demo / video slot (GrokBotRadar studio look) */
.demo { background: var(--cloud); }
.player { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.player-studio { position: relative; display: flex; justify-content: center; padding: 36px 16px 40px; background: #E6EAF1; overflow: hidden; }
.phone--demo { width: 270px; transform: perspective(1200px) rotateY(10deg) rotateX(3deg); }
.phone--demo .phone-screen { min-height: 460px; }
.phone-top { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9375rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.post { display: grid; gap: 10px; }
.post p { background: var(--white); border-radius: 16px 16px 16px 6px; padding: 12px 14px; font-size: .9375rem; line-height: 1.45; box-shadow: var(--shadow); }
.post p:first-child { background: var(--midnight); color: var(--cloud); font-weight: 700; font-size: 1.0625rem; }
.studio-chip { position: absolute; display: none; align-items: center; gap: 8px; background: var(--white); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .875rem; box-shadow: var(--shadow-lg); }
.studio-chip--a { top: 22%; left: 8%; }
.studio-chip--b { bottom: 20%; right: 8%; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--midnight); color: var(--cloud); }
.player-play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--midnight); flex: none; }
.player-play .ic { width: 16px; height: 16px; }
.player-track { flex: 1; height: 6px; border-radius: 3px; background: var(--midnight-3); overflow: hidden; }
.player-fill { display: block; width: 18%; height: 100%; background: var(--mint); }
.player-slot { font-family: var(--mono); font-size: .75rem; color: var(--slate-dark); }

/* What you get */
.get-list { list-style: none; display: grid; gap: 16px; }
.get { position: relative; border-radius: var(--r-lg); padding: 24px; background: var(--cloud); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.get h3 { font-size: 1.25rem; font-weight: 800; }
.get-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.get-main { background: var(--midnight); color: var(--cloud); border-color: var(--midnight); position: relative; overflow: hidden; }
.get-main .get-price { color: var(--white); }
.get-avatars { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.get-addon { background: var(--white); border: 1.5px solid var(--violet-tint); }
.get-addon .get-price { color: var(--violet-ink); }
.get-free .get-price { color: var(--mint-ink); }

/* How it works: 01-08 strip */
.pipeline { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.step { position: relative; padding: 16px 14px 18px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: .875rem; color: var(--slate); line-height: 1.5; }
.step { border-left: 4px solid var(--accent, var(--violet)); }
.step strong { display: block; color: var(--midnight); font-size: 1.0625rem; font-weight: 800; margin: 2px 0 4px; letter-spacing: -.01em; }
.step-num { font-family: var(--mono); font-weight: 700; font-size: .8125rem; color: var(--midnight); background: var(--accent-tint, var(--violet-tint)); border-radius: 6px; padding: 1px 7px; }
.step--researcher { --accent: var(--sky); --accent-tint: var(--sky-tint); }
.step--planner { --accent: var(--violet); --accent-tint: var(--violet-tint); }
.step--builder { --accent: var(--amber); --accent-tint: var(--amber-tint); }
.step--evaluator { --accent: var(--mint); --accent-tint: var(--mint-tint); }
.step--lead { --accent: var(--midnight); --accent-tint: #E4E7F2; }
.step--ship { --accent: var(--violet-soft); --accent-tint: var(--violet-tint); }
.step--you { --accent: var(--mint); --accent-tint: var(--mint-tint); }

/* Team */
.team-grid { display: grid; gap: 16px; }
.bot { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--accent); }
.bot--lead { --accent: var(--midnight); }
.bot--planner { --accent: var(--violet); }
.bot--builder { --accent: var(--amber); }
.bot--evaluator { --accent: var(--mint); }
.bot--researcher { --accent: var(--sky); }
.bot-head { display: flex; align-items: center; gap: 14px; }
.bot-id h3 { font-size: 1.5rem; font-weight: 800; }
.bot-sub { font-family: var(--mono); font-size: .8125rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.bot-num { margin-left: auto; font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em; color: var(--midnight); line-height: 1; }
.bounds { margin: 0; display: grid; gap: 8px; }
.bounds-row { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--cloud); }
.bounds dt { font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.bounds dd { margin: 0; font-size: .9375rem; color: var(--midnight); }
.bounds-row--own dt { color: var(--mint-ink); }
.bounds-row--yes { background: var(--violet-tint); }
.bounds-row--yes dt { color: var(--violet-ink); }
.bounds-row--never { background: var(--amber-tint); }
.bounds-row--never dt { color: var(--amber-ink); }
.never-label { font-weight: 700; }
.io { margin-top: auto; background: var(--prompt); color: var(--prompt-text); border-radius: 14px; padding: 14px; font-family: var(--mono); font-size: .8125rem; line-height: 1.55; display: grid; gap: 6px; }
.io-label { color: var(--prompt-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.io-line { display: flex; gap: 10px; }
.io-k { flex: none; color: var(--violet-soft); font-weight: 700; min-width: 3ch; }
.io-k--out { color: var(--mint); }
.confirm { font-family: var(--mono); font-size: .6875rem; font-weight: 700; color: var(--amber-ink); background: var(--amber-tint); border: 1px dashed var(--amber-ink); border-radius: 4px; padding: 0 4px; white-space: nowrap; }
.io .confirm { color: var(--amber); background: transparent; border-color: var(--amber); }

/* Proof */
.proof-wrap { max-width: 900px; }
.proof-steps { list-style: none; counter-reset: p; display: grid; gap: 0; position: relative; }
.proof-steps li { counter-increment: p; position: relative; padding: 0 0 22px 52px; font-size: 1.0625rem; }
.proof-steps li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--midnight); color: var(--cloud); font-family: var(--mono); font-size: .8125rem; font-weight: 700; }
.proof-steps li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.proof-steps li:last-child::after { display: none; }
.proof-line { margin-top: 8px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--mint); font-weight: 700; font-size: 1.125rem; }

/* Pricing */
.pricing { background: var(--midnight); color: var(--cloud); position: relative; overflow: hidden; }
.section-head--dark .kicker { background: var(--midnight-3); border-color: var(--midnight-3); color: var(--violet-soft); }
.pricing-line { margin: -12px 0 28px; color: var(--slate-dark); font-size: 1.0625rem; }
.cards { display: grid; gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; border-radius: var(--r-lg); padding: 26px 22px; background: var(--midnight-2); border: 1px solid var(--line-dark); }
.card-main { background: var(--white); color: var(--midnight); border: 0; box-shadow: 0 0 0 3px var(--violet), var(--shadow-lg); }
.card-tag { align-self: flex-start; font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--violet-tint); color: var(--violet-ink); }
.card-addon .card-tag { background: var(--midnight-3); color: var(--violet-soft); }
.product-name { font-size: 1.5rem; font-weight: 800; }
.card-price { font-size: 3.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.card-desc { color: inherit; }
.card-addon .card-desc { color: var(--slate-dark); }
.story-head { font-size: 1.25rem; font-weight: 800; color: var(--amber); letter-spacing: -.01em; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 4px 0; }
.ticks li { position: relative; padding-left: 30px; font-size: .9375rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-tint); box-shadow: inset 0 0 0 2px var(--mint-ink); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px; border: solid var(--mint-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.buy-box { margin-top: auto; display: grid; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--cloud); color: var(--midnight); border: 1px solid var(--line); }
.card-addon .buy-box { background: var(--midnight); color: var(--cloud); border-color: var(--line-dark); }
.final { font-weight: 800; }
.cancel { font-size: .875rem; color: var(--slate); }
.card-addon .cancel { color: var(--slate-dark); }
.buy { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 800; background: var(--midnight-3); color: var(--cloud); cursor: not-allowed; }
.card-main .buy { background: var(--midnight); }
.license { margin-top: 24px; text-align: center; color: var(--slate-dark); font-size: .9375rem; }

/* Free bots: Miles-style dense monospace prompt cards */
.free { background: var(--cloud); }
.free-intro { max-width: 62ch; margin: -8px 0 28px; color: var(--slate); font-size: 1.0625rem; }
.free-grid { display: grid; gap: 16px; }
.free-bot { --accent: var(--violet-soft); position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--prompt); color: var(--prompt-text); border-radius: 18px; padding: 20px; border: 1px solid #1C2B44; box-shadow: var(--shadow); }
.free-bot--violet { --accent: var(--violet-soft); }
.free-bot--amber { --accent: var(--amber); }
.free-bot--mint { --accent: var(--mint); }
.free-bot--sky { --accent: #8DB8FF; }
.free-bot--lead { --accent: var(--cloud); }
.pc-dots { display: flex; gap: 6px; }
.pc-dots span { width: 10px; height: 10px; border-radius: 50%; background: #22334F; }
.pc-dots span:first-child { background: var(--accent); }
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.free-tag { font-weight: 700; color: var(--midnight); background: var(--accent); border-radius: 4px; padding: 2px 8px; }
.pc-id { color: var(--prompt-muted); }
.free-bot h3 { font-family: var(--mono); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.free-note { font-family: var(--mono); font-size: .8125rem; color: var(--amber); border: 1px dashed rgba(255, 176, 32, .6); border-radius: 8px; padding: 8px 10px; }
.prompt { list-style: none; counter-reset: s; font-family: var(--mono); font-size: .8125rem; line-height: 1.6; border-top: 1px solid #22334F; border-bottom: 1px solid #22334F; padding: 12px 0; display: grid; gap: 10px; user-select: text; }
.prompt li { counter-increment: s; display: grid; grid-template-columns: 3.2ch 1fr; gap: 10px; }
.prompt li::before { content: counter(s, decimal-leading-zero); color: var(--accent); font-weight: 700; }
.pc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn, .add-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 700 .875rem/1 var(--sans); }
.copy-btn { border: 0; background: var(--violet-soft); color: var(--midnight); cursor: pointer; }
.copy-btn:hover { background: var(--white); }
.copy-btn[hidden] { display: none; }
.add-btn[hidden], .player-bar[hidden] { display: none; }
.add-btn { border: 1.5px dashed #3A5175; color: var(--slate-dark); cursor: not-allowed; }
.copy-status { font-family: var(--mono); font-size: .8125rem; color: var(--mint); min-height: 1em; }
.credit { font-family: var(--mono); font-size: .75rem; color: var(--prompt-muted); margin-top: auto; }
.credit a { color: var(--violet-soft); }

/* FAQ */
.faq-grid { display: grid; gap: 10px; }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; font-size: 1.0625rem; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); font-size: 1.25rem; color: var(--violet-ink); flex: none; }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 18px 18px; color: var(--slate); }

/* All sales final */
.final-block { background: var(--amber-tint); }
.final-in { display: grid; gap: 8px; justify-items: start; border-left: 6px solid var(--amber); padding-left: 24px; }
.final-block h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
.final-block p { font-size: 1.125rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--midnight); color: var(--slate-dark); padding: 40px 0 48px; font-size: .9375rem; }
.footer-in { display: grid; gap: 10px; }

/* Private delivery pages: same palette, readable on light backgrounds */
.private { background: var(--cloud); }
.private .topbar { display: flex; align-items: center; min-height: 60px; padding: 0 20px; }
.doc { width: 100%; max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; display: grid; gap: 16px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.doc h2 { margin-top: 16px; font-size: 1.5rem; font-weight: 800; }
.doc h3 { margin-top: 8px; font-size: 1.125rem; font-weight: 800; }
.doc ol, .doc ul { padding-left: 1.4em; display: grid; gap: 6px; }
.doc .eyebrow { justify-self: start; color: var(--mint-ink); background: var(--mint-tint); border-color: var(--mint-tint); }
.lede { font-size: 1.125rem; color: var(--slate); }
.doc .files { list-style: none; padding: 0; gap: 12px; }
.file { display: grid; gap: 4px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.file-link, .template-link { font-weight: 700; }
.file-note { color: var(--slate); font-size: .9375rem; }
.toc, .card-rules { padding: 16px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.card-rules { background: var(--violet-tint); border-color: var(--violet-tint); }
.doc .license { margin-top: 8px; text-align: left; color: var(--slate); }
.private .site-footer { padding: 32px 20px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .bot--lead { grid-column: 1 / -1; }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .free-bot--lead { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .studio-chip { display: inline-flex; }
}
@media (min-width: 900px) {
  .nav-item--wide { display: block; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .float-chip { display: inline-flex; }
  .cluster { display: block; }
  .hero-stage { min-height: 600px; align-items: center; }
  .block { padding: 96px 0; }
  .get-list { grid-template-columns: 1.4fr 1fr 1fr; }
  .get-main { grid-row: span 1; }
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .step { border-right: 1px solid var(--line); }
  .step:nth-child(4n) { border-right: 0; }
  .step:nth-child(n+5) { border-bottom: 0; }
  .cards { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .player-studio { padding: 48px 24px 56px; }
  .bot--lead { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "head io" "bounds io"; column-gap: 28px; }
  .bot--lead .bot-head { grid-area: head; }
  .bot--lead .bounds { grid-area: bounds; }
  .bot--lead .io { grid-area: io; margin-top: 0; align-content: center; font-size: .9375rem; }
}
@media (min-width: 1200px) {
  .free-grid { grid-template-columns: repeat(6, 1fr); }
  .free-bot { grid-column: span 2; }
  .free-bot--sky, .free-bot--lead { grid-column: span 3; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .phone--hero { transform: none; }
  .phone--demo { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .hero-stage, .sprite, .pc-actions, .glows { display: none !important; }
  .hero, .pricing, .site-footer, .free-bot, .io { background: none !important; color: #000 !important; }
}

/* X Money checkout (added 2026-10-25) */
.buy-box .buy.buy--live { width: 100%; border: 0; font: inherit; font-weight: 800; background: var(--mint); color: var(--midnight); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.buy-box .buy.buy--live:hover { background: #19D6BD; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 194, 168, .35); }
.buy-box .buy.buy--live:focus-visible { outline: 3px solid var(--violet-soft); outline-offset: 3px; }
.xm-dlg { width: min(480px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--midnight); box-shadow: var(--shadow-lg); }
.xm-dlg::backdrop { background: rgba(15, 27, 45, .62); }
.xm-in { position: relative; padding: 28px 24px 24px; display: grid; gap: 12px; }
.xm-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--cloud); color: var(--midnight); font-size: 22px; line-height: 1; cursor: pointer; }
.xm-in h3 { margin: 0; font-size: 1.35rem; }
.xm-in p { margin: 0; }
.xm-meta { font-weight: 700; }
.xm-small { font-size: .875rem; color: var(--slate); }
.xm-form form { display: grid; gap: 8px; }
.xm-form label { font-weight: 700; font-size: .9rem; }
.xm-form input { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cloud); color: var(--midnight); }
.xm-form input:focus-visible { outline: 3px solid var(--violet-soft); outline-offset: 1px; }
.xm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.xm-err { color: #B42318; font-weight: 700; }
.xm-go { margin-top: 6px; min-height: 52px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; background: var(--mint); color: var(--midnight); cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 20px; }
.xm-go:hover { background: #19D6BD; }
.xm-go[disabled] { opacity: .6; cursor: wait; }
.xm-codebox { font-family: var(--mono); font-size: 1.6rem; font-weight: 800; letter-spacing: .06em; padding: 10px 14px; border-radius: var(--r-sm); background: var(--mint-tint); color: var(--mint-ink); justify-self: start; }
.xm-steps ol, .xm-order ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.xm-order { display: grid; gap: 14px; }
.xm-order .xm-status { padding: 12px 16px; border-radius: var(--r-md); background: var(--amber-tint); color: var(--amber-ink); font-weight: 700; }
.xm-order.is-paid .xm-status { background: var(--mint-tint); color: var(--mint-ink); }
.xm-order .xm-deliver { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .buy-box .buy.buy--live { transition: none; } .buy-box .buy.buy--live:hover { transform: none; } }

/* Local Model Add-on guide (added 2026-10-25) */
.lmg-deliver{display:grid;gap:18px;margin-top:8px}
.lmg-deliver .lmg-bot{justify-self:start}
.lmg{display:grid;gap:14px;padding:26px 24px;border:1px solid rgba(127,140,170,.32);border-radius:20px;background:rgba(127,140,170,.06);line-height:1.6;max-width:860px}
.lmg h2{margin:0;font-size:1.7rem;line-height:1.2}
.lmg h3{margin:18px 0 0;font-size:1.2rem;padding-left:12px;border-left:4px solid #9159FE}
.lmg p,.lmg ul,.lmg ol{margin:0}
.lmg ul,.lmg ol{padding-left:1.3em;display:grid;gap:4px}
.lmg .lmg-time{font-weight:700;opacity:.85}
.lmg :not(pre)>code{font:600 .92em ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0;display:inline;padding:1px 6px;border:0;border-radius:6px;background:rgba(127,140,170,.18);color:inherit}
.lmg-code{position:relative;border-radius:14px;background:#0b1020;border:1px solid #232b3f;overflow:hidden}
.lmg-code pre{margin:0;padding:16px 18px;padding-right:86px;overflow-x:auto;max-height:520px}
.lmg-code pre code{font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:0;color:#dfe6f3;background:none;border:0;padding:0;border-radius:0;display:block;white-space:pre}
.lmg-copy{position:absolute;top:10px;right:10px;font:700 13px system-ui,sans-serif;padding:6px 12px;border-radius:999px;border:1px solid #3a4562;background:#161c2a;color:#eef1f7;cursor:pointer;transition:transform .15s,background .15s}
.lmg-copy:hover{background:#222b40;transform:translateY(-1px)}
.lmg-copy.is-done{background:#00C972;border-color:#00C972;color:#07080c}
.lmg-copy:focus-visible{outline:3px solid #9159FE;outline-offset:2px}
.lmg-dl{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:10px 18px;border-radius:999px;font-weight:800;text-decoration:none;background:linear-gradient(135deg,#00C972,#0aa1a0);color:#07080c}
.lmg-dl:hover{filter:brightness(1.08)}
.lmg-foot{font-size:.9rem;opacity:.8}
@media (max-width:640px){.lmg{padding:18px 14px}.lmg-code pre{padding-right:18px;padding-top:48px}}
