/* Layout: a light page like the app's main screens; left-aligned text, white cards on a pale ground, phone shots beside copy */
:root {
  --ground: #F3F3F5; --surface: #FFFFFF; --ink: #1D1D1F; --muted: #6B6B72; --rule: #E2E2E6;
  --red: #D62839; --blue: #1F5BD8; --gold: #A87400; --gold-fill: #FBEFC9; --gold-text: #6B4C00;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box }
body { margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
a { color: inherit }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px }


/* top bar */
.bar { padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: -0.01em }
.brand img { width: 34px; height: 34px; border-radius: 8px }
.bar nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted) }
.bar nav a { text-decoration: none }
.bar nav a:hover { color: var(--ink) }

/* buttons */
.get { display: inline-flex; flex-direction: column; align-items: center; background: var(--ink); color: #fff; text-decoration: none; border-radius: 999px; padding: 13px 30px; font-weight: 600; font-size: 17px; line-height: 1.2 }
.get small { font-weight: 400; font-size: 12px; opacity: 0.75 }
.get:hover { background: #000 }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 48px 72px }
.hero > div { min-width: 0 }
h1 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: balance }
.lede { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 32px }
.lede strong { color: var(--ink); font-weight: 600 }
.corners { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none }
.corners li { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 15px; font-weight: 500 }
.corners li::before { content: ""; width: 9px; height: 9px; border-radius: 50% ; background: var(--c) }
.phone { justify-self: center; width: min(320px, 100%); border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(29,29,31,0.35) }
.phone img { display: block; width: 100%; border-radius: 34px }

/* sections */
section { padding-block: 72px; border-top: 1px solid var(--rule) }
h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 14px; text-wrap: balance }
.intro { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 40px }


/* models */
.count { font-family: var(--display); font-stretch: 125%; font-weight: 900 }
.labs { columns: 3 300px; column-gap: 20px }
.lab { break-inside: avoid; background: var(--surface); border-radius: 20px; padding: 20px 22px; margin: 0 0 20px }
.lab header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px }
.lab header img { width: 28px; height: 28px; border-radius: 7px }
.lab h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 }
.lab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.lab li b { display: block; font-weight: 600; font-size: 17px; line-height: 1.3 }
.lab li > span { color: var(--muted); font-size: 15px; line-height: 1.4 }
.new { display: inline-block; font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px }
.note { color: var(--muted); font-size: 15px; margin: 8px 0 0 }

/* coins */
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.coins > div { background: var(--surface); border-radius: 20px; padding: 24px; min-width: 0 }
.coin { width: 34px; height: 34px; margin-bottom: 14px }
.coins h3 { font-size: 19px; margin: 0 0 6px }
.coins p { color: var(--muted); margin: 0; font-size: 16px }

/* faq */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px }
.faq h3 { font-size: 18px; margin: 0 0 6px }
.faq p { color: var(--muted); margin: 0; font-size: 16px }

/* closing */
.closing { text-align: left; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--ink); color: #fff; border-radius: 28px; padding: 40px 44px; margin-block: 0 72px }
.closing h2 { margin: 0; color: #fff }
.closing .get { background: #fff; color: var(--ink) }

footer { border-top: 1px solid var(--rule); padding-block: 28px 44px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px }
footer nav { display: flex; flex-wrap: wrap; gap: 20px }
footer a { text-decoration: none }
footer a:hover { color: var(--ink) }

/* how it works: the steps scroll past a pinned phone whose screen and glow follow the step */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px }
.steps { min-width: 0 }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s }
.step.on { opacity: 1 }
.step .tick { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c); margin-bottom: 10px }
.step .tick::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--c) }
.step h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 0 0 14px; text-wrap: balance }
.step p { color: var(--muted); font-size: 18px; max-width: 26em; margin: 0 }
.inline-shot { display: none }
.pin { position: sticky; top: 10vh; height: 80vh; display: grid; place-items: center; align-self: start }
.pin .phone { position: relative; z-index: 1; width: auto; height: min(640px, 74vh); aspect-ratio: 1320 / 2868 }
.shots { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #F2F2F7 }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 0; transform: translateY(8%) scale(.96); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1) }
.shots img.on { opacity: 1; transform: none }
.shots img.past { opacity: 0; transform: translateY(-6%) scale(.97) }
.glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--glow, var(--red)); filter: blur(70px); opacity: .28; transition: background .8s }
.rail { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 8px }
.rail i { width: 4px; height: 36px; border-radius: 2px; background: var(--rule); overflow: hidden; position: relative }
.rail i::after { content: ""; position: absolute; inset: 0; background: var(--c, var(--ink)); transform: scaleY(var(--fill, 0)); transform-origin: top }
.rail i:nth-child(1) { --c: var(--red) } .rail i:nth-child(2) { --c: var(--blue) } .rail i:nth-child(3) { --c: var(--gold) }

/* the lineup: two rows of AIs that slide opposite ways as the page scrolls */
.lineup { margin: 8px calc(50% - 50vw) 48px; overflow: hidden; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent) }
.row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; will-change: transform }
.row li { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 999px; padding: 12px 26px 12px 14px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); white-space: nowrap }
.row li img { width: 36px; height: 36px; border-radius: 9px }
.sub { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 16px }

/* the live arena in the hero */
.live .screen { position: relative; border-radius: 34px; background: #F2F2F7; aspect-ratio: 9 / 18.5; overflow: hidden; padding: 18px 12px 70px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.42 }
.avatars { display: flex; justify-content: center; gap: 6px; padding-bottom: 6px }
.avatars i, .answer header i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--c); background: #EDEDF0; color: var(--muted); font-size: 11px; font-weight: 600 }
.ask { align-self: flex-end; max-width: 88%; margin: 0; background: var(--ink); color: #fff; border-radius: 18px; padding: 8px 13px; transform-origin: 100% 100% }
.answer { background: var(--surface); border-radius: 16px; padding: 10px 12px 12px; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; transition: opacity .3s }
.answer header { display: flex; align-items: center; gap: 7px; margin-bottom: 5px }
.answer header b { color: var(--c); font-weight: 600; font-size: 14px }
.answer header em { margin-left: auto; font-style: normal; font-size: 12px; color: #A1A1A6 }
.answer p { margin: 0; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent) }
.answer.waiting { opacity: .55 }
.answer.writing em::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: var(--c); animation: pulse .8s infinite alternate }
@keyframes pulse { from { opacity: .25 } to { opacity: 1 } }
.composer { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-radius: 999px; padding: 6px 6px 6px 16px; color: #A1A1A6; box-shadow: 0 1px 0 rgba(0,0,0,.04) }
.composer.typed { color: var(--ink) }
.composer button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer }
.composer button:disabled { background: #C7C7CC; cursor: default }
.pop { animation: pop .45s cubic-bezier(.2,.9,.3,1.25) both }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9) } }

/* a glint passes over each coin once */
.coinwrap { position: relative; display: inline-block; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; overflow: hidden }
.coinwrap .coin { margin: 0; display: block }
.coinwrap::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: skewX(-20deg); opacity: 0 }
.coins.shine .coinwrap::after { animation: glint .9s ease-in-out both; animation-delay: calc(var(--i) * 160ms + 200ms) }
@keyframes glint { 0% { left: -60%; opacity: 1 } 100% { left: 130%; opacity: 1 } }

@media (prefers-reduced-motion: reduce) {
  .pop, .coins.shine .coinwrap::after, .answer.writing em::after { animation: none }
  .shots img, .step, .glow { transition: none }
}

@media (max-width: 820px) {
  .story { grid-template-columns: 1fr }
  .pin { display: none }
  .step { min-height: 0; opacity: 1; padding-block: 24px }
  .inline-shot { display: block; width: min(300px, 100%); margin-top: 24px; border-radius: 34px; border: 10px solid var(--ink) }
  .hero, .feature { grid-template-columns: 1fr; gap: 36px }
  .feature.flip .phone { order: 0 }
  .coins, .faq { grid-template-columns: 1fr }
  .bar nav { display: none }
  .closing { padding: 32px 28px }
}

/* legal pages */
.legal { background: var(--surface); border-radius: 28px; padding: 44px clamp(22px, 5vw, 64px); margin-block: 16px 72px; max-width: 820px }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px }
.legal .updated { color: var(--muted); margin: 0 0 32px }
.legal h2 { font-size: 24px; margin: 36px 0 10px }
.legal h3 { font-size: 18px; margin: 22px 0 6px }
.legal p, .legal li { color: #3A3A3F; max-width: 68ch }
.legal ul { padding-left: 1.2em }
