:root {
  --purple: #723CD6;
  --white: #FCFFFF;
  --gold: #EDB158;
  --purple-deep: #2A1259;
  --purple-ink: #1B0F3A;
  --purple-mid: #4E23A6;
  --lilac: #F3EEFD;
  --muted: #5A4F73;
  --line: rgba(27, 15, 58, .12);
  --radius: 18px;
  --font: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--purple-ink); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(44px, 6.1vw, 84px); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 300; letter-spacing: -.025em; }
h3 { font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .82em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow-wrap { max-width: 820px; }
.narrow { max-width: 820px; }

/* nav */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 28px; width: 100%; max-width: 980px; padding: 9px 9px 9px 20px; color: var(--white); background: rgba(52, 22, 122, .62); border: 1px solid rgba(252, 255, 255, .2); border-radius: 999px; backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { color: var(--gold); }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .88; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-buy { flex: none; padding: 9px 18px; background: var(--white); color: var(--purple-ink); font-size: 15px; font-weight: 500; border-radius: 999px; text-decoration: none; transition: background .2s; }
.nav-buy:hover { background: var(--gold); }

/* hero */
.hero { position: relative; color: var(--white); background: var(--purple) url(assets/hero-bg.jpg) center / cover no-repeat; padding: 120px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(58, 24, 130, .62) 0%, rgba(58, 24, 130, .18) 62%, rgba(58, 24, 130, 0) 100%); }
.hero-grid { max-width: 1280px; margin: 0 auto; padding: 0 28px 60px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { font-size: 15px; font-weight: 500; margin-bottom: 18px; color: var(--gold); }
.lede { margin-top: 24px; max-width: 610px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.lede strong { font-weight: 600; }
.fn { color: var(--gold); text-decoration: none; padding: 0 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; opacity: .9; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 26px; font-size: 17px; font-weight: 500; border-radius: 999px; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--purple-ink); box-shadow: 0 10px 30px rgba(237, 177, 88, .3); }
.btn-gold:hover { background: #F4C074; box-shadow: 0 14px 36px rgba(237, 177, 88, .42); }
.btn-glass { background: rgba(252, 255, 255, .14); color: var(--white); border: 1px solid rgba(252, 255, 255, .34); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(252, 255, 255, .24); }
.block { display: flex; width: 100%; }

.glass { background: rgba(252, 255, 255, .13); border: 1px solid rgba(252, 255, 255, .24); border-radius: var(--radius); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }

.hero-side { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 16px; align-items: center; justify-content: end; }
.phone { position: relative; margin: 0; border-radius: 26px; padding: 7px; background: rgba(16, 7, 40, .75); border: 1px solid rgba(252, 255, 255, .24); box-shadow: 0 30px 70px rgba(20, 6, 60, .5); }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--purple-deep); }
.sound { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); min-height: 38px; padding: 7px 15px; font: 500 14px var(--font); color: var(--white); background: rgba(27, 15, 58, .72); border: 1px solid rgba(252, 255, 255, .3); border-radius: 999px; cursor: pointer; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sound:hover { background: rgba(27, 15, 58, .92); }
.run { padding: 18px; font-size: 15px; line-height: 1.35; }
.run-label { font-size: 13px; opacity: .85; }
.run-prompt { margin: 6px 0 14px; padding: 11px 13px; font-size: 15px; background: var(--white); color: var(--purple-ink); border-radius: 11px; }
.run-list { list-style: none; margin: 0; padding: 0; }
.run-list li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid rgba(252, 255, 255, .16); }
.run-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
.run-list li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 6px; height: 3.5px; border: solid var(--purple-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.run-done { margin-top: 10px; padding-top: 10px; font-weight: 500; color: var(--gold); border-top: 1px solid rgba(252, 255, 255, .16); }

.hero-points { list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; background: rgba(38, 15, 96, .46); border-top: 1px solid rgba(252, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; line-height: 1.35; }
.hero-points li { max-width: 240px; justify-self: center; width: 100%; }
.hero-points b { display: block; margin-bottom: 3px; font-size: 15px; font-weight: 600; }

/* sections */
.section { padding: clamp(72px, 9vw, 124px) 0; }
.light { background: var(--white); }
.light-alt { background: var(--lilac); }
.dark { color: var(--white); background: var(--purple-deep); background-image: radial-gradient(900px 500px at 88% 0%, rgba(114, 60, 214, .55), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(237, 177, 88, .13), transparent 70%); }
.kicker { margin-bottom: 16px; color: var(--purple); font-size: 15px; font-weight: 600; }
.kicker.gold, .cast .kicker { color: var(--gold); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.two.center { align-items: center; }
.prose p + p { margin-top: 16px; }
.prose { font-size: 19px; color: #352A52; }

/* compare */
.table-scroll { margin-top: 44px; overflow-x: auto; border-radius: var(--radius); background: var(--white); box-shadow: 0 2px 0 var(--line); }
.compare { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 500; font-size: 15px; color: var(--muted); }
.compare tbody th { font-weight: 500; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { color: var(--white); font-weight: 500; background: var(--purple); border-bottom-color: rgba(252, 255, 255, .18); }
.compare thead .us { color: var(--gold); font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; padding: 26px; background: rgba(252, 255, 255, .07); }
.num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--gold); color: var(--purple-ink); font-weight: 600; font-size: 16px; }
.step p { margin: 10px 0 18px; font-size: 16px; color: #E3DBF6; }
.step code { display: block; margin-top: auto; padding: 11px 13px; color: var(--gold); background: rgba(16, 7, 40, .6); border-radius: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.pipeline { margin-top: 16px; padding: 26px; background: rgba(252, 255, 255, .07); }
.pipeline ol { list-style: none; counter-reset: p; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; font-size: 16px; color: #E3DBF6; }
.pipeline li { padding: 11px 0; border-top: 1px solid rgba(252, 255, 255, .13); }
.pipeline b { color: var(--white); font-weight: 600; }

/* inside */
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; background: var(--lilac); border-radius: var(--radius); }
.card p { margin-top: 9px; font-size: 16px; color: #41365F; line-height: 1.5; }

/* cast */
.cast { color: var(--white); background: var(--purple); }
.cast h2 { margin-bottom: 18px; }
.on-purple { font-size: 18.5px; }
.on-purple + .on-purple { margin-top: 14px; }
.dark .on-purple { margin-top: 18px; color: #E3DBF6; }
.cast-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cast-imgs figure { margin: 0; }
.cast-imgs img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--purple-deep); }
.cast-imgs figcaption { margin-top: 9px; font-size: 15px; font-weight: 500; }

/* uses */
.uses { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use { display: flex; flex-direction: column; padding: 26px; background: var(--white); border-radius: var(--radius); }
.use p { margin: 10px 0 20px; font-size: 16.5px; color: #41365F; }
.use code { display: block; margin-top: auto; padding: 11px 13px; color: var(--white); background: var(--purple-deep); border-radius: 10px; line-height: 1.45; overflow-wrap: anywhere; }

/* pricing */
.needs { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(252, 255, 255, .18); }
.needs ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; color: #E3DBF6; }
.needs li { padding: 6px 0; }
.needs b { color: var(--white); font-weight: 600; }
.price { padding: 34px; background: rgba(252, 255, 255, .09); }
.price-name { font-size: 18px; font-weight: 500; }
.price-num { margin-top: 8px; font-size: 96px; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--gold); }
.price-num span { font-size: .45em; vertical-align: .75em; margin-right: 2px; }
.price-once { margin-top: 8px; font-size: 16px; color: #E3DBF6; }
.ticks { list-style: none; margin: 24px 0 26px; padding: 0; font-size: 16.5px; }
.ticks li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid rgba(252, 255, 255, .13); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 11px; height: 6px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.secure { margin-top: 12px; text-align: center; font-size: 14px; color: #D5CAEE; }

/* faq */
.faq { margin-top: 36px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 42px 20px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-size: 26px; font-weight: 300; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 42px 22px 0; font-size: 17px; color: #41365F; }
.faq code { padding: 2px 6px; background: var(--lilac); border-radius: 5px; }

/* final + footer */
.final { color: var(--white); background: var(--purple) url(assets/hero-bg.jpg) center / cover no-repeat; text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { font-size: clamp(38px, 5.4vw, 72px); }
.final p { font-size: 19px; margin-bottom: 8px; }
.foot { padding: 40px 0 44px; background: var(--purple-ink); color: #C9BEDF; font-size: 14px; line-height: 1.55; }
.foot-note { max-width: 900px; margin-bottom: 12px; }
.foot-brand { margin-top: 18px; color: var(--white); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { justify-content: start; max-width: 620px; }
  .hero::before { background: rgba(58, 24, 130, .4); }
  .hero-points { grid-template-columns: repeat(3, 1fr); }
  .cards, .uses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .nav-wrap { inset: 10px 0 auto; padding: 0 10px; }
  .hero { padding-top: 92px; }
  .hero-grid { padding: 0 16px 40px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .phone { width: min(72vw, 300px); }
  .run { width: 100%; }
  .btn { width: 100%; }
  .hero-points { grid-template-columns: 1fr 1fr; padding: 20px 16px; }
  .hero-points li { max-width: none; }
  .hero-points li:last-child { grid-column: 1 / -1; }
  .two, .steps, .cards, .uses, .pipeline ol { grid-template-columns: 1fr; }
  .price-num { font-size: 80px; }
  .final-in .btn { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-buy, .faq summary::after { transition: none; }
}

/* the /workflow page */
.wf { padding-bottom: 76px; }
.wf-hero { color: var(--white); background: var(--purple) url(assets/hero-bg.jpg) center / cover no-repeat; padding: 124px 0 64px; }
.wf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 400px); gap: 48px; align-items: center; }
.wf-hero h1 { font-size: clamp(42px, 5.4vw, 72px); }
.buy-card { padding: 28px; color: var(--white); background: rgba(38, 15, 96, .72); border: 1px solid rgba(252, 255, 255, .26); border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.buy-name { font-size: 18px; font-weight: 500; }
.buy-price { margin-top: 4px; font-size: 80px; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--gold); }
.buy-price span { font-size: .45em; vertical-align: .75em; margin-right: 2px; }
.buy-once { margin: 6px 0 20px; font-size: 16px; }
.btn-big { min-height: 62px; font-size: 19px; font-weight: 600; }
.buy-facts { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; line-height: 1.4; }
.buy-facts li { padding: 7px 0; border-top: 1px solid rgba(252, 255, 255, .16); }
.buy-card .ticks { margin-top: 0; }
.wf-steps { list-style: none; margin: 44px 0 0; padding: 0; max-width: 880px; }
.wf-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.wf-steps .num { margin: 0; }
.wf-steps p { margin-top: 7px; color: #41365F; font-size: 17px; }
.wf-steps a { color: var(--purple); }
.wf-steps code, .shot-copy code { padding: 1px 6px; background: var(--lilac); border-radius: 5px; overflow-wrap: anywhere; }
.cmd-box { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; padding: 12px 12px 12px 16px; background: var(--purple-deep); border-radius: 11px; }
.cmd-box code { flex: 1; min-width: 0; padding: 4px 0 0; color: var(--gold); background: none; white-space: pre-wrap; line-height: 1.5; font-size: 15px; }
.copy { flex: none; min-height: 34px; padding: 5px 13px; font: 500 14px var(--font); color: var(--white); background: rgba(252, 255, 255, .14); border: 1px solid rgba(252, 255, 255, .3); border-radius: 8px; cursor: pointer; }
.copy:hover { background: rgba(252, 255, 255, .26); }
.inline-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 880px; margin-top: 16px; padding: 20px 24px; background: var(--lilac); border-radius: var(--radius); }
.inline-buy b { font-weight: 600; }
.wf-intro { max-width: 720px; margin-top: 16px; font-size: 18px; color: #41365F; }
.shot { display: block; overflow: hidden; border-radius: 14px; background: var(--purple-ink); box-shadow: 0 16px 44px rgba(42, 18, 89, .22); transition: transform .15s; }
.shot:hover { transform: translateY(-2px); }
.shot img { width: 100%; height: auto; }
.shot-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 56px; }
.shot-row.flip .shot-copy { order: 2; }
.shot-copy p { margin-top: 9px; font-size: 17px; color: #41365F; }
.sub-head { margin-top: 72px; font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.sub-head + .shot-stack { margin-top: 24px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.shot-pair figure, .shot-stack figure, figure.shot-stack { margin: 0; }
.shot-stack { display: grid; gap: 20px; }
figure.shot-stack { margin-top: 24px; }
figcaption { margin-top: 10px; font-size: 15.5px; font-weight: 500; }
.on-purple.small { margin-top: 18px; font-size: 16px; }
.buy-bar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(16px, calc((100vw - 1144px) / 2)); color: var(--white); background: var(--purple-ink); border-top: 1px solid rgba(252, 255, 255, .18); }
.buy-bar p { font-size: 16px; line-height: 1.25; }
.buy-bar b { font-weight: 600; }
.buy-bar span { margin-left: 8px; color: #D5CAEE; }
.buy-bar .btn { flex: none; min-height: 46px; padding: 10px 30px; font-weight: 600; width: auto; }
.foot-brand a { color: inherit; }
@media (max-width: 900px) {
  .wf-hero { padding-top: 96px; }
  .wf-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .shot-row { grid-template-columns: 1fr; margin-top: 44px; }
  .shot-row.flip .shot-copy { order: 0; }
  .shot-pair { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .buy-bar span { display: block; margin: 2px 0 0; font-size: 14px; }
  .wf-steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .wf-steps .num { width: 30px; height: 30px; font-size: 14px; }
  .inline-buy .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .shot { transition: none; } }
