:root {
  color-scheme: dark;
  --ink: #100d15;
  --panel: #1a1522;
  --line: #3c3248;
  --paper: #f5f1ea;
  --muted: #c2b7cc;
  --lime: #d4ff63;
  --lilac: #dfceff;
  --sans: "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 100% 5%, #291933 0, var(--ink) 53rem);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 3; padding: .65rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }

.site-header { min-height: 89px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.045em; }
.brand img { margin-right: 2px; }
.brand span { margin-left: -5px; color: var(--lilac); font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 33px; color: var(--muted); font-size: 14px; }
.site-header nav a:hover, .footer a:hover, .text-link:hover { color: var(--lime); }
.nav-demo { justify-self: end; border: 1px solid #61516d; border-radius: 7px; padding: 9px 13px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-demo span, .button span, .text-link span { margin-left: 9px; }
.nav-demo:hover { border-color: var(--lime); }

.hero { min-height: 570px; display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: clamp(30px,4vw,68px); padding-block: 70px 79px; }
.hero-copy { min-width: 0; }
.tag, .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--lime); font: 650 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .11em; }
.tag { padding: 8px 10px; background: #23251a; border: 1px solid #47532c; border-radius: 4px; }
.tag span, .record-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; display: inline-block; }
h1 { margin-top: 17px; font-size: clamp(53px,6.2vw,93px); line-height: .92; letter-spacing: -.082em; font-weight: 780; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.078em; }
h1 em { color: var(--lilac); }
.lede { color: var(--muted); max-width: 39ch; margin: 25px 0 26px; font-size: clamp(16px,1.4vw,19px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px 23px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; width: fit-content; padding: 11px 15px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 800; }
.primary { color: #1a1820; background: var(--lime); border-color: var(--lime); }
.primary:hover { background: #e4ff9a; }
.text-link { color: var(--paper); font-size: 14px; font-weight: 600; }
.hero-note { color: var(--muted); font-size: 12px; margin-top: 16px; }
.hero-note a, .pack-note a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.hero-scene { padding: 10px; background: #1c1425; border: 1px solid #523b63; border-radius: 16px; box-shadow: 0 28px 70px #06030878; }
.frame-header, .hero-scene figcaption { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 5px 11px; color: var(--muted); font: 600 10px/1.25 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.frame-header > div { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.frame-header .record-dot { width: 6px; height: 6px; background: #f28db6; }
.divider { opacity: .65; }
.hero-scene figcaption { padding: 11px 5px 4px; letter-spacing: .025em; text-transform: none; }
.hero-scene figcaption span:first-child { color: var(--paper); }
.comparison { --cut: 51%; position: relative; display: grid; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: #27152b; border-radius: 8px; }
.comparison img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.replacement { clip-path: inset(0 0 0 var(--cut)); }
.comparison-line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; background: var(--lime); transform: translateX(-50%); pointer-events: none; }
.comparison-line span { display: grid; place-items: center; position: absolute; top: 51%; left: 50%; transform: translate(-50%, -50%); width: 37px; height: 37px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 19px/1 var(--sans); white-space: pre; box-shadow: 0 2px 12px #1b1428aa; }
.frame-label { position: absolute; bottom: 10px; padding: 5px 7px; border-radius: 4px; background: #14101dea; color: var(--paper); font: 650 9px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.before { left: 11px; }
.after { right: 11px; color: var(--lime); }
.comparison input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.comparison:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }

.workflow { padding: 75px 0 94px; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(220px,30%); gap: 16px 45px; align-items: end; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro > p:last-child { color: var(--muted); max-width: 32ch; margin-bottom: 4px; }
h2 { font-size: clamp(39px,5.5vw,78px); line-height: .97; letter-spacing: -.07em; font-weight: 760; }
.section-intro h2 em { color: var(--lilac); }
.showcase { padding-block: clamp(33px,5vw,68px); border-top: 1px solid var(--line); scroll-margin-block-start: 14px; }
.showcase h2 { font-size: clamp(35px,5vw,68px); overflow-wrap: anywhere; }
.showcase-nav { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 17px; }
.showcase-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--lilac); font-size: 13px; font-weight: 650; }
.showcase-nav a:hover { color: var(--lime); border-color: var(--lime); }
.showcase-players { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: clamp(18px,3vw,29px); }
.showcase-portrait-comparison { max-width: 690px; margin-inline: auto; }
.showcase-clip { min-width: 0; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.showcase-recast { background: #1d2018; border-color: #586537; }
.showcase-clip figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; padding: 3px 4px 9px; font: 650 11px/1.3 var(--mono); }
.showcase-clip figcaption span:first-child { color: var(--lilac); }
.showcase-recast figcaption span:first-child { color: var(--lime); }
.showcase-clip figcaption span:last-child { margin-inline-start: auto; color: var(--muted); }
.showcase-clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 6px; background: #0c0910; }
.showcase-portrait { display: grid; justify-items: center; align-content: start; }
.showcase-portrait :is(figcaption, video) { width: min(100%, 320px); }
.showcase-portrait video { aspect-ratio: 9 / 16; }
.showcase-clip video:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.showcase-cost { display: grid; grid-template-columns: minmax(135px,.28fr) minmax(0,1fr); gap: 10px 20px; margin: 12px 0 0; padding: 13px 16px; background: #17121e; border: 1px solid var(--line); border-radius: 10px; }
.showcase-cost dt { margin-bottom: 3px; color: var(--muted); font: 600 10px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.showcase-cost dd { margin: 0; color: var(--paper); font-size: 14px; overflow-wrap: anywhere; }
.showcase-cost > div:first-child dd { color: var(--lime); font-size: clamp(22px,3vw,28px); font-weight: 760; letter-spacing: -.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.showcase-cost > div + div { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.showcase-meta { margin-top: 10px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.showcase-meta strong { margin-inline-end: 4px; color: var(--lime); }
.showcase-meta a { color: var(--lilac); text-decoration: underline; text-underline-offset: 3px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.step { min-width: 0; padding: 19px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.step-number { display: flex; justify-content: space-between; color: var(--lime); font: 650 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.step-number span { color: var(--muted); }
.step h3 { margin: 15px 0 4px; font-size: clamp(19px,2vw,25px); letter-spacing: -.04em; }
.step > p:last-child { color: var(--muted); max-width: 37ch; font-size: 14px; line-height: 1.55; }
.trim-visual, .cast-visual, .quote-visual { height: 112px; margin-top: 19px; padding: 13px; background: #100d16; border: 1px solid #302638; border-radius: 7px; }
.trim-visual { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: center; gap: 5px; color: var(--muted); font: 11px/1.5 var(--mono); }
.trim-frames { width: 100%; display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; }
.trim-frames i { display: block; height: 42px; background: center / cover url("assets/demo-source.webp"); border-radius: 3px; opacity: .68; }
.trim-frames i:nth-child(2) { background-position: left; }
.trim-frames i:nth-child(4) { background-position: right; }
.trim-selection { position: absolute; left: 20%; right: 20%; top: calc(50% - 32px); height: 47px; border: 2px solid var(--lime); border-inline-width: 5px; border-radius: 4px; pointer-events: none; }
.cast-visual { display: flex; align-items: center; justify-content: center; gap: clamp(12px,2vw,35px); }
.cast-visual > div { display: grid; justify-items: center; gap: 5px; font: 11px/1.2 var(--mono); color: var(--muted); }
.cast-visual img { width: 53px; height: 53px; border-radius: 6px; border: 1px solid #665477; object-fit: cover; }
.quote-visual { display: grid; align-content: center; gap: 8px; }
.quote-visual div { display: flex; justify-content: space-between; gap: 5px; font: 11px/1.3 var(--mono); color: var(--muted); }
.quote-visual div + div { border-top: 1px solid var(--line); padding-top: 8px; }
.quote-visual strong { color: var(--lime); white-space: nowrap; }

.examples { padding: 76px 0 84px; border-top: 1px solid var(--line); }
.example-grid, .pack-grid, .access-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 32px; }
.example-card { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.example-card > video, .example-card > img, .screening-placeholder {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #110e18; object-fit: cover;
}
.screening-placeholder {
  position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg,#21172b 0,#21172b 12px,#1c1326 12px,#1c1326 24px);
}
.screening-placeholder > span { position: absolute; top: 12px; left: 15px; color: var(--lilac); font: 600 11px/1 var(--mono); letter-spacing: .1em; }
.screening-placeholder > img { opacity: .62; }
.example-info { padding: 16px 17px 19px; }
.example-kicker { display: flex; justify-content: space-between; gap: 9px; color: var(--lime); font: 650 10px/1.4 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.example-kicker > span { color: var(--muted); text-align: right; }
.example-info h3, .access-steps h3, .roadmap-card h3 { margin: 10px 0 4px; font-size: clamp(18px,2vw,24px); letter-spacing: -.04em; line-height: 1.18; }
.example-info > p:nth-of-type(2), .access-steps p, .roadmap-card p { color: var(--muted); font-size: 14px; }
.example-info .text-link { display: inline-block; margin-top: 12px; color: var(--lilac); font-size: 13px; }
.example-info .text-link:hover { color: var(--lime); }

.pricing { padding-bottom: 82px; }
.license { display: grid; grid-template-columns: minmax(0,1fr) minmax(255px,.52fr); gap: 32px; align-items: center; color: #20172a; background: var(--lilac); border-radius: 16px; padding: clamp(23px,5vw,65px); }
.license .eyebrow { color: #583c72; }
.license h2 { margin: 13px 0 16px; }
.license h2 em { color: #58376d; }
.license > div > p:last-child { max-width: 43ch; }
.license-card { background: #22172d; color: var(--paper); border-radius: 12px; padding: 24px; }
.license-card p { color: #ded2ea; font-size: 13px; }
.license-card .price { display: flex; align-items: baseline; gap: 10px; line-height: 1.15; margin: 8px 0; }
.price strong { font-size: clamp(44px,5.5vw,74px); letter-spacing: -.085em; }
.price span { color: var(--lilac); }
.license-card .button { width: 100%; margin-top: 19px; }
.license-copy { max-width: 42ch; }
.license-promise { margin-top: 12px; font-size: 15px; font-weight: 800; }
.packs { margin-top: 72px; }
.packs .section-intro h2 { font-size: clamp(37px,5vw,67px); }
.pack { min-width: 0; display: grid; align-content: start; gap: 7px; padding: 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.pack-value { border-color: #8a9d46; background: #23251b; }
.pack-label { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; min-height: 23px; color: var(--lilac); font: 650 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .055em; }
.pack-label > span { color: var(--lime); font-size: 9px; letter-spacing: .025em; }
.pack h3 { font-size: clamp(24px,2.8vw,37px); font-weight: 760; letter-spacing: -.055em; line-height: 1.14; }
.pack-price { font-size: clamp(29px,4vw,51px); font-weight: 780; letter-spacing: -.065em; line-height: 1; }
.pack-price span { margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 550; letter-spacing: 0; }
.pack > p:last-child, .pack-note { color: var(--muted); font-size: 13px; }
.pack-details { margin-top: 14px; }
.pack-details p { max-width: 75ch; }
.pack-details strong { color: var(--paper); }
.pack-note { margin-top: 14px; }
.pack-note a { margin-left: .3em; }
.access { padding: 70px 0 82px; border-top: 1px solid var(--line); }
.access .section-intro h2 { font-size: clamp(37px,5vw,66px); }
.access-steps { list-style: none; padding: 0; margin-bottom: 0; }
.access-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 15px 12px 0 0; border-top: 1px solid var(--line); }
.access-steps li > span, .roadmap-mark { color: var(--lime); font: 650 10px/1.3 var(--mono); letter-spacing: .08em; }
.access-steps h3 { margin: 0 0 5px; }
.roadmap { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: 24px 37px; padding: 33px 0 62px; border-top: 1px solid var(--line); }
.roadmap h2 { margin-top: 10px; font-size: clamp(34px,4.2vw,57px); }
.roadmap-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.roadmap-card { min-width: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.faq { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 35px; padding-bottom: 84px; }
.faq h2 { margin-top: 12px; font-size: clamp(36px,4.3vw,65px); }
.faq-items { border-top: 1px solid var(--line); }
details { padding: 14px 0; border-bottom: 1px solid var(--line); }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin-top: 8px; max-width: 54ch; font-size: 14px; }
.footer { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 15px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .brand { color: var(--paper); }
.footer > a:last-child { white-space: nowrap; color: var(--paper); }
.animate { opacity: .4; transform: translateY(15px); transition: transform .55s ease, opacity .55s ease; }
.animate.shown { opacity: 1; transform: none; }

@media (max-width: 1030px) {
  .wrap { width: min(1240px,calc(100% - 60px)); }
  .hero { min-height: auto; padding-block: 60px 70px; gap: 30px; }
  .hero-actions { gap: 10px 17px; }
}
@media (max-width: 810px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 48px 58px; }
  h1 { font-size: clamp(68px,13vw,104px); }
  .lede { margin: 20px 0; }
  .hero-scene { max-width: 700px; }
  .workflow { padding-block: 59px 64px; }
  .examples, .access { padding-block: 59px 64px; }
  .packs { margin-top: 55px; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro > p:last-child { max-width: 49ch; }
  .step { padding: 13px; }
  .trim-visual, .cast-visual, .quote-visual { padding: 9px; }
  .pricing, .faq { padding-bottom: 62px; }
}
@media (max-width: 610px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 69px; grid-template-columns: 1fr auto; gap: 8px; }
  .site-header nav { display: none; }
  .site-header .brand { font-size: 17px; }
  .site-header .brand img { width: 29px; height: 29px; }
  .nav-demo { font-size: 12px; padding: 8px 9px; }
  .nav-demo span { margin-left: 2px; }
  .hero { padding-block: 38px 46px; gap: 25px; }
  h1 { font-size: clamp(58px,15vw,87px); }
  .hero-note { margin-top: 12px; }
  .hero-scene { padding: 7px; border-radius: 11px; }
  .frame-header, .hero-scene figcaption { font-size: 9px; }
  .showcase-players, .showcase-cost { grid-template-columns: 1fr; }
  .showcase-cost > div + div { padding: 8px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .workflow-grid, .license, .faq, .example-grid, .pack-grid, .access-steps, .roadmap { grid-template-columns: 1fr; }
  .workflow-grid, .example-grid, .pack-grid, .access-steps { margin-top: 25px; }
  .step { padding: 16px; }
  .license { gap: 21px; }
  .faq { gap: 20px; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; justify-content: flex-start; padding-block: 17px; }
  .footer p { flex-basis: 100%; order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
