/* BAG landing. Values transcribed from the Claude Design bundle (BAG - Landing.html). */
:root {
  --ink: #0A0A0C;
  --violet: #6B38FB;
  --violet-hover: #7E52FF;
  --violet-text: #5B2BE0;
  --violet-tint: #EFE9FF;
  --panel: #F5F3F8;
  --line: #E2DEEA;
  --line-soft: #ECE9F1;
  --body: #4A4458;
  --muted: #6B657A;
  --white: #FFFFFF;
  --display: 'Anton', Impact, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(48px, 6vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; margin: 0; background: var(--white); color: var(--ink); font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.5; min-height: 100vh; }
a { color: var(--violet-text); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; }
.sr-only { position: absolute; 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: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--white); }

.wrap { max-width: 1240px; margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.section.tint { background: var(--panel); }
.section.rule { border-top: 1px solid var(--line-soft); }
.stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }

.display { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 0.95; }

/* Buttons */
.btn-primary { min-height: 50px; padding: 10px 24px; max-width: 100%; text-align: center; justify-content: center; border-radius: 999px; background: var(--violet); color: var(--white); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; border: 0; }
.btn-primary:hover { background: var(--violet-hover); color: var(--white); }
.btn-outline { height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; white-space: nowrap; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.link-under { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.link-under:hover { color: var(--violet-text); }

/* Play circle: the only circles on the page */
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--violet); color: var(--white); display: grid; place-items: center; flex: none; padding: 0; }
.play:hover { background: var(--violet-hover); }
.play.lg { width: 56px; height: 56px; }
.play svg { width: 16px; height: 16px; }
.play.lg svg { width: 20px; height: 20px; }
.play .i-pause { display: none; }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.play.loading { background: var(--violet-hover); }

/* Labels */
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 6px; padding: 3px 7px; line-height: 1.2; white-space: nowrap; }
.tag-ai { background: var(--violet-tint); color: var(--violet-text); }
.tag-explicit { background: var(--ink); color: var(--white); }
.tag-soon { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }

/* 0 · Nav */
.nav { padding: 0 clamp(20px, 4vw, 56px); }
.nav .wrap { display: flex; align-items: center; gap: 12px 28px; padding: 18px 0; min-width: 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
@media (min-width: 520px) { .logo img { height: 40px; } }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 600; min-width: 0; }
.nav-links { display: none; gap: 26px; }
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--violet-text); }
.nav-join { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--violet); color: var(--white); display: flex; align-items: center; white-space: nowrap; }
.nav-join:hover { background: var(--violet-hover); color: var(--white); }

/* 1 · Hero */
.hero { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 80px); }
.hero .wrap { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 0.92; letter-spacing: 0.005em; text-wrap: balance; }
.lede { margin: 0; max-width: 62ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--body); text-wrap: pretty; }
.hero-ctas { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }

.demo { display: flex; flex-direction: column; gap: 12px; max-width: 980px; width: 100%; }
.demo-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(26, 16, 48, 0.08); }
.demo-top { padding: clamp(18px, 2.6vw, 28px) clamp(18px, 2.6vw, 30px) 16px; display: flex; flex-direction: column; gap: 14px; }
.demo-text { min-height: 120px; display: flex; flex-direction: column; gap: 8px; }
.demo-clip { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.demo-line { margin: 0; color: var(--ink); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; font-weight: 500; min-height: 3em; }
.demo-line.idle { color: var(--muted); }
.demo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-locked { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.demo-bar { border-top: 1.5px solid var(--line-soft); padding: 16px clamp(18px, 2.6vw, 30px); display: flex; align-items: center; gap: 16px; }
.demo-time { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--body); display: grid; place-items: center; flex: none; padding: 0; }
.icon-btn:hover { background: var(--panel); color: var(--ink); }
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; background: transparent; }
.content-note { margin: 0; font-size: 13px; color: var(--muted); }

/* Waveform: functional progress only */
.wave { flex: 1; min-width: 0; height: 40px; position: relative; cursor: pointer; touch-action: none; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wave .w-base rect { fill: var(--line); }
.wave .w-fill { clip-path: inset(0 100% 0 0); }
.wave .w-fill rect { fill: var(--violet); }

/* Voice picker */
.picker { position: relative; }
.picker-btn { height: 36px; padding: 0 10px 0 4px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.picker-btn:hover { background: var(--panel); }
.picker-btn .dash, .picker-btn .sub { color: var(--muted); }
.picker-btn .sub { font-weight: 500; }
.picker-btn svg { width: 12px; height: 12px; transition: transform 0.15s; }
.picker-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.picker-list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; width: 280px; max-width: 80vw; max-height: 340px; overflow-y: auto; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(26, 16, 48, 0.14); padding: 6px; margin: 0; list-style: none; }
.picker-list[hidden] { display: none; }
.picker-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-align: left; cursor: pointer; }
.picker-opt:hover, .picker-opt.active { background: var(--panel); }
.picker-opt[aria-selected="true"] { background: var(--violet-tint); }
.picker-opt[aria-disabled="true"] { cursor: default; color: var(--muted); }
.picker-opt[aria-disabled="true"]:hover { background: transparent; }
.picker-opt .n { font-weight: 700; font-size: 15px; }
.picker-opt .s { font-size: 13px; color: var(--muted); flex: 1; }
.picker-opt .c { color: var(--violet); font-weight: 700; font-size: 14px; }

/* Showcase */
.show-head { display: flex; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.show-head h2 { flex: 1 1 420px; }
.show-head p { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.vcard { background: var(--white); border: 1.5px solid var(--white); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.vcard.playing { border-color: var(--violet); }
.vcard-top { display: flex; align-items: center; gap: 14px; }
.vcard-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vcard-name { font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.vcard-place { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--violet-text); }
.vcard.soon .vcard-place { color: var(--muted); }
.vcard-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vcard-line { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.vcard.soon .vcard-line { color: var(--body); }
.vcard-foot { display: flex; align-items: center; gap: 12px; }
.bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--violet); }
.vcard-use { font-size: 13px; font-weight: 700; color: var(--violet-text); white-space: nowrap; }
.vcard-use:hover { color: var(--ink); }
.vcard-soon { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }

/* 2 · Use cases */
#made-for h2 { max-width: 14ch; }
.use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.use { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* 9:16 slot: the placeholder and the real video occupy the same box, so nothing shifts when a video lands. */
.use-media { aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--panel); position: relative; }
.use-media.placeholder { border: 1.5px dashed var(--line); }
.use-video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); cursor: pointer; }
.use-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); text-align: center; padding: 16px; }
.use-soon span { font-size: 14px; font-weight: 700; color: var(--body); }
.use-soon .use-soon-sub { font-size: 12px; font-weight: 600; color: var(--muted); }
.use-body { display: flex; align-items: flex-start; gap: 14px; }
.use-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.use-title { font-family: var(--display); font-size: 24px; line-height: 1; text-transform: uppercase; }
.use-desc { font-size: 15px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.use-meta { display: flex; align-items: center; gap: 10px; }
/* Phones and tablets: a horizontal swipe row of tall cards. Only the row scrolls, never the page. */
@media (max-width: 899px) {
  .use-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .use-grid::-webkit-scrollbar { display: none; }
  .use { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
}
.use-meta .bar { height: 3px; }
.use-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 3 · Quality */
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 64px; align-items: end; }
.q-big { font-family: var(--display); font-size: clamp(48px, 6vw, 84px); line-height: 0.9; color: var(--violet); text-transform: uppercase; }
.q-left { display: flex; flex-direction: column; gap: 14px; }
.q-left p { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; max-width: 30ch; }
.q-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.q-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.q-list b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--violet); }

/* 4 · Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.pillar { background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pillar-t { font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.pillar .btn-outline { margin-top: auto; align-self: flex-start; }
.pair { margin-top: auto; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.pair div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.pair .k { color: var(--muted); font-weight: 600; }
.pair .k2 { color: var(--violet-text); font-weight: 600; }
.pair .v { color: var(--body); }
.pair .v2 { color: var(--ink); font-weight: 600; }

/* 5 · Consent */
.consent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.consent-grid p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; text-wrap: pretty; }
.consent-tag { font-family: var(--display); font-size: clamp(36px, 5vw, 68px); line-height: 0.95; text-transform: uppercase; color: var(--violet); }

/* 6 · CTA band */
.band { padding: clamp(44px, 5vw, 72px) var(--gutter); background: var(--violet); color: var(--white); }
.band .wrap { display: flex; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; }
.band h2 { flex: 1 1 520px; text-wrap: balance; }
.band-ctas { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.band .btn-primary { background: var(--white); color: var(--ink); }
.band .btn-primary:hover { background: var(--ink); color: var(--white); }
.band-spots { font-size: 15px; font-weight: 600; }
.band a.link-under { color: var(--white); font-weight: 700; }

/* 7 · Footer */
.footer { padding: 48px clamp(20px, 4vw, 56px) 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.foot-top { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.foot-top img { height: 34px; width: auto; display: block; }
.foot-links { margin-left: auto; display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.foot-links a { color: var(--body); }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 20px; }

/* Beta modal. Works with no JS via :target (#signup); JS adds focus handling. */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 12, 0.45); display: none; justify-content: center; padding: 20px; overflow-y: auto; }
.modal:target, .modal.open { display: flex; }
.modal-close-bg { position: fixed; inset: 0; }
.sheet { position: relative; width: 100%; max-width: 460px; background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 80px rgba(10, 10, 12, 0.25); margin: auto; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.sheet-x:hover { background: var(--panel); color: var(--ink); }
.sheet-head { display: flex; flex-direction: column; gap: 8px; padding-right: 28px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-text); }
.sheet-title { font-family: var(--display); font-size: 36px; line-height: 0.95; text-transform: uppercase; margin: 0; font-weight: 400; }
.sheet-sub { font-size: 15px; line-height: 1.5; color: var(--body); text-wrap: pretty; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-size: 13px; font-weight: 700; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field .opt { font-weight: 500; color: var(--muted); }
.input { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; font-size: 16px; outline: none; color: var(--ink); background: var(--white); width: 100%; }
.input:focus { border-color: var(--violet); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { height: 36px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2.5px solid var(--violet); outline-offset: 2px; }
.submit { height: 56px; border: 0; border-radius: 999px; background: var(--violet); color: var(--white); font-size: 15px; font-weight: 700; width: 100%; }
.submit:hover { background: var(--violet-hover); }
.submit:disabled { background: var(--line); color: var(--muted); cursor: wait; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.form-note a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.form-error { font-size: 14px; font-weight: 600; color: #B42318; margin: 0; }
.form-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet); }

/* Thanks + legal pages */
.page { padding: clamp(28px, 4vw, 56px) var(--gutter) var(--section-y); }
.page .wrap { max-width: 720px; }
.thanks-num { font-family: var(--display); font-size: clamp(64px, 10vw, 120px); line-height: 0.9; color: var(--violet); }
.card { background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.prose h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 0.92; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.6; color: var(--body); }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.updated { font-size: 14px; color: var(--muted); }
.js .modal:target:not(.open) { display: none; }
.demo-line .w { border-radius: 4px; transition: background-color 0.08s; }
.demo-line .w.on { background: var(--violet-tint); color: var(--violet-text); }
@media (prefers-reduced-motion: reduce) { .demo-line .w { transition: none; } }
/* /listen/<clip> pages */
.listen .wrap { max-width: 980px; }
.listen-h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: .92; }
.demo-voice { font-size: 15px; font-weight: 700; color: var(--ink); }
.demo-transcript { font-weight: 700; color: var(--violet-text); white-space: nowrap; }
.transcript h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1; margin-bottom: 6px; }
.transcript-note { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.transcript p { margin: 0 0 16px; font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 68ch; }
.transcript .line { cursor: pointer; border-radius: 6px; padding: 1px 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.transcript .line:hover { background: var(--violet-tint); }
.transcript .line:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 2px; }
.listen-cta { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 24px 0 8px; border-top: 1px solid var(--line); }
