:root {
  color-scheme: dark;
  --night: #080c16;
  --surface: #0b1120;
  --card: #111827;
  --raised: #162033;
  --ink: #f8fafc;
  --muted: #a5b3c8;
  --line: #29364b;
  --emerald: #10b981;
  --mint: #72eac1;
  --gold: #fbbf24;
  --blue: #2563eb;
  --pink: #ec4899;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }
a { color: var(--mint); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
:target { scroll-margin-block-start: 1.25rem; }
ul, ol { padding-inline-start: 1.4em; }

.wrap { width: min(77rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .6rem 1rem; color: var(--night); background: var(--gold); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 1; background: var(--night); border-bottom: 1px solid var(--line); }
.topbar { min-height: 4.65rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.brand { color: var(--ink); display: inline-flex; gap: .65rem; align-items: center; font-size: 1.25rem; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.brand img { border-radius: .55rem; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.55rem; align-items: center; }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 650; }
.site-header nav a:hover, .site-footer nav a:hover, a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.site-header nav .language { color: var(--ink); border: 1px solid var(--line); padding: .27rem .65rem; border-radius: .5rem; }

h1, h2, h3 { line-height: 1.08; font-weight: 760; }
h1, h2 { letter-spacing: -.052em; }
h1 { font-size: clamp(2.7rem, 5.3vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.45vw, 4.1rem); text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.46rem); letter-spacing: -.023em; }
.lead { color: var(--muted); max-width: 55ch; font-size: clamp(1.03rem, 1.5vw, 1.16rem); margin-top: 1.2rem; }
.platform { color: var(--gold); font-size: .83rem; font-weight: 700; line-height: 1.45; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-head { max-width: 51rem; margin-bottom: clamp(1.4rem, 3vw, 2.3rem); }
.section-head > p:not(.section-label) { margin-top: .8rem; max-width: 60ch; color: var(--muted); }
.section-label { color: var(--mint); text-transform: uppercase; letter-spacing: .125em; font-weight: 730; font-size: .77rem; margin-bottom: .7rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; background: var(--emerald); color: #041610; border: 1px solid transparent; border-radius: .6rem; padding: .77rem 1.05rem; font-size: .92rem; font-weight: 760; line-height: 1.35; text-decoration: none; text-align: center; }
.button:hover { background: #58e1ad; }
.button-gold { background: #2a2113; color: #ffdb77; border-color: #806022; }
.button-gold:hover { background: #403015; }
.text-link { font-weight: 700; }
.trial-note .tax { display: inline; }
.trial-note { margin-top: .7rem; color: var(--muted); font-size: .86rem; }

.hero-shell {
  background:
    radial-gradient(ellipse 42% 64% at 13% 18%, #ec489919, transparent),
    radial-gradient(ellipse 52% 83% at 79% 25%, #2563eb40, transparent),
    radial-gradient(ellipse 38% 36% at 73% 92%, #10b98118, transparent),
    var(--night);
}
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; padding-block: clamp(2.4rem, 4.3vw, 4.6rem); }
.hero-signature { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.3rem; }
.hero-signature .platform { max-width: 45ch; border: 1px solid #fbbf2447; padding: .48rem .72rem; border-radius: .5rem; background: #241f18ba; }
.medallion { flex: 0 0 auto; border-radius: 25%; box-shadow: 0 0 2.3rem #ec48993b, 0 0 1.15rem #fbbf2440; }
.medallion img { width: clamp(6rem, 8vw, 7.4rem); height: auto; border-radius: inherit; }
.hero h1 { font-size: clamp(2.14rem, 3.7vw, 4rem); line-height: 1.04; text-wrap: balance; }
.brand-motto { color: var(--mint); font-size: clamp(1.05rem, 1.65vw, 1.36rem); font-weight: 750; margin-top: .7rem; }
.hero .lead { font-size: 1rem; margin-top: .75rem; max-width: 60ch; }
.hero-price strong { color: var(--gold); }
.hero-price .tax { display: inline; font-size: .75rem; }
.actions .button { min-height: 3.2rem; }
.actions .button-gold { padding-block: .36rem; }
.hero-media { min-width: 0; overflow: hidden; border: 1px solid #758abc6b; border-radius: .9rem; background: #11192a; box-shadow: 0 1.5rem 3.5rem #0008, 0 0 2.65rem #2563eb33; }
.hero-media video { width: 100%; aspect-ratio: 1600/836; object-fit: contain; background: var(--night); }
.media-caption { padding: .55rem .85rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: .83rem; border-top: 1px solid var(--line); }
.media-caption > div { display: flex; gap: .45rem; align-items: center; flex: 0 0 auto; }
.media-label { color: var(--muted); font-weight: 650; }
.media-control { border: 1px solid var(--line); border-radius: .42rem; padding: .28rem .52rem; background: var(--raised); color: var(--ink); cursor: pointer; text-decoration: none; font-weight: 680; line-height: 1.4; }
.media-control:hover { border-color: var(--mint); }
button.media-control { min-width: 2.1rem; min-height: 2.05rem; }

.values { background: var(--surface); border-block: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { padding: 1.3rem clamp(.85rem, 2vw, 1.8rem) 1.4rem; }
.value:first-child { padding-inline-start: 0; }
.value + .value { border-inline-start: 1px solid var(--line); }
.value dt { font-size: .96rem; font-weight: 700; display: grid; gap: .14rem; }
.value .value-figure { display: block; color: var(--mint); font-size: clamp(1.03rem, 1.63vw, 1.38rem); font-weight: 780; line-height: 1.14; letter-spacing: -.05em; }
.value-2 .value-figure { color: #a4c4ff; }
.value-3 .value-figure { color: #f9a3cd; }
.value-4 .value-figure { color: var(--gold); }
.value .tax { display: inline; font-size: .76rem; }
.value dd .tax { display: inline; }
.value dd { color: var(--muted); font-size: .87rem; margin-top: .28rem; }

.lightbox:not([open]) { display: none; }
.lightbox { border: 0; border-radius: .75rem; background: var(--surface); color: var(--ink); padding: .6rem; width: max-content; max-width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
.lightbox::backdrop { background: #03050bf5; }
.lightbox-tools { display: flex; justify-content: space-between; gap: .4rem; margin-bottom: .55rem; }
.lightbox-tools button { border: 1px solid var(--line); border-radius: .45rem; padding: .32rem .65rem; color: var(--ink); background: var(--raised); font-size: .88rem; font-weight: 680; cursor: pointer; }
.lightbox-tools button:hover { border-color: var(--mint); }
.lightbox-size[aria-pressed="true"] { background: var(--mint); color: var(--night); }
.lightbox-viewport { overflow: auto; max-height: calc(100dvh - 4.9rem); overscroll-behavior: contain; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 4.9rem); object-fit: contain; }
.lightbox-actual .lightbox-viewport { max-height: calc(100dvh - 7rem); border: 1px solid var(--line); }
.lightbox-actual img { max-width: none; max-height: none; }
.lightbox-pan-note { margin: 0 .1rem .45rem; color: var(--muted); font-size: .83rem; }

.feature-sequence { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.feature-step { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); grid-template-areas: "copy media"; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.feature-step:nth-child(even) { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); grid-template-areas: "media copy"; background: #101829; }
.feature-copy { grid-area: copy; padding: clamp(1.15rem, 3.5vw, 2.55rem); }
.feature-number { display: inline-block; margin-bottom: .6rem; color: var(--mint); font: 750 .84rem ui-monospace, Consolas, monospace; letter-spacing: .07em; }
.feature-copy h3 { color: var(--ink); font-size: clamp(1.27rem, 2.5vw, 2.15rem); line-height: 1.16; }
.feature-copy p { color: var(--muted); margin-top: .75rem; }
.feature-copy .text-link { display: inline-block; margin-top: .85rem; }
.feature-media { grid-area: media; position: relative; display: block; min-width: 0; aspect-ratio: 16/9; overflow: hidden; background: #080c16; }
/* Frame the visible step in each preview. Links and the viewer use the entire image. */
.feature-media img { position: absolute; width: var(--preview-width); height: auto; max-width: none; left: var(--preview-left); top: var(--preview-top); }
.feature-ribbon { --preview-width: 237.5%; --preview-left: -33.1%; --preview-top: 0%; }
.feature-diff { --preview-width: 228.9%; --preview-left: -71.1%; --preview-top: -107.6%; }
.feature-vbe { --preview-width: 203.3%; --preview-left: -17.3%; --preview-top: -134.2%; }
.feature-models { --preview-width: 292.3%; --preview-left: -192.3%; --preview-top: -56.9%; }
.feature-mcp { --preview-width: 292.3%; --preview-left: -192.3%; --preview-top: -14.2%; }
.feature-timeline { --preview-width: 133.3%; --preview-left: -1.3%; --preview-top: -14%; }
.feature-media span { position: absolute; inset: auto .7rem .7rem auto; display: grid; place-items: center; width: 2rem; aspect-ratio: 1; background: var(--night); color: var(--ink); border: 1px solid var(--line); border-radius: .4rem; font-weight: 740; }
.feature-media:hover span { color: var(--mint); }
.feature-media:focus-visible { outline-offset: -3px; z-index: 1; }

.faq-list { display: grid; gap: .65rem; max-width: 61rem; }
.faq details { border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
.faq summary { color: var(--ink); font-weight: 690; cursor: pointer; padding: .9rem 1rem; }
.faq summary::marker { color: var(--mint); }
.faq details[open] { border-color: #4c776f; }
.faq details .tax { display: inline; }
.faq details p { margin: 0 1rem 1rem; color: var(--muted); max-width: 74ch; overflow-wrap: anywhere; }

.video-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.episode-still, .episode-empty { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.episode-still { object-fit: cover; }
.episode-empty { display: grid; place-items: center; padding: 1.3rem; text-align: center; background: radial-gradient(ellipse at 48% 48%, #1d2e49, #10192b 61%, #0a101c); }
.episode-empty h3 { color: var(--muted); }
.video-card-copy { padding: 1rem 1.22rem 1.2rem; border-top: 1px solid var(--line); }
.video-card-copy p { color: var(--muted); margin-top: .35rem; }
.video-card-copy .episode-status, .launch-status { color: var(--gold); font-weight: 750; }
.video-card-copy .text-link { display: inline-block; margin-top: .4rem; }

.comparison { background: var(--surface); border-block: 1px solid var(--line); }
.comparison-frame { border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.comparison table { min-width: 45rem; width: 100%; border-collapse: collapse; text-align: start; font-size: .93rem; }
.comparison th, .comparison td { text-align: start; vertical-align: top; padding: .85rem .9rem; border-bottom: 1px solid var(--line); }
.comparison thead { background: var(--raised); }
.comparison th:first-child { min-width: 8rem; }
.comparison td { width: 21%; color: var(--muted); }
.comparison th:nth-child(2), .comparison td.our-workflow { background: #102920; color: #b7f6df; }
.comparison tr:last-child td, .comparison tbody tr:last-child th { border-bottom: 0; }
.mobile-column-name { display: none; }
.comparison-detail { display: flex; gap: .45rem; align-items: flex-start; }
.comparison-check { flex: 0 0 auto; color: var(--mint); font-weight: 820; }
.source-links { margin-top: .9rem; color: var(--muted); font-size: .84rem; }

.price-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.9rem, 6vw, 5rem); }
.price-grid h2 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); }
.price-terms { color: var(--muted); margin-top: .8rem; }
.pricing .launch-status { margin-top: .65rem; }
.pricing { background: radial-gradient(ellipse 60% 150% at 100% 0%, #213929 0, transparent 80%), var(--surface); border-block: 1px solid var(--line); }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.prices > div { background: var(--card); border: 1px solid var(--line); border-radius: .75rem; padding: clamp(.8rem, 2vw, 1.4rem); }
.prices > div:first-child { border-color: #8d6a28; background: #252016; }
.prices > div:first-child h3, .prices > div:first-child .amount { color: var(--gold); }
.prices p { color: var(--muted); }
.prices .amount { color: var(--ink); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1; margin-block: .65rem .55rem; letter-spacing: -.07em; }
.tax { display: block; font-size: .82rem; letter-spacing: 0; margin-top: .4rem; }

.reading { width: min(48rem, calc(100% - 3rem)); margin-inline: auto; }
.document { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.secondary-document { border-top: 1px solid var(--line); }
.page-title, .document > h1 { font-size: clamp(2.25rem, 4.5vw, 3.9rem); }
.document h2:not(.page-title), .document h3 { font-size: 1.33rem; margin-top: 1.8rem; letter-spacing: -.018em; }
.document p, .document li + li { margin-top: .65rem; }
.document .page-title + p { margin-top: 1rem; }
.document ul, .document ol { margin-block: .55rem .85rem; }
.document pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--raised); color: var(--ink); border-radius: .5rem; padding: .65rem .95rem; }
code { font-family: ui-monospace, Consolas, monospace; }
.release { border: 1px solid #3a7667; background: #142d29; border-radius: .7rem; margin-top: 1.3rem; padding: 1rem 1.2rem; }
.release p:first-child { margin-top: 0; }
.release code { display: block; overflow-wrap: anywhere; }
.smartscreen { background: var(--raised); border-radius: .6rem; padding: .9rem 1.1rem; margin-top: .9rem; }
.smartscreen figcaption { font-weight: 650; }
.smartscreen ol { display: flex; flex-wrap: wrap; gap: .55rem 2.25rem; margin-bottom: 0; }
.smartscreen li + li { margin: 0; }
.date { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.45rem; }
.footer-content p { color: var(--muted); font-size: .88rem; margin-top: .35rem; }

@media (min-width: 62.0625rem) {
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .hero .actions .button { min-height: 3.9rem; padding-inline: .7rem; }
}

@media (max-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 49rem; }
}
@media (max-width: 51rem) {
  .comparison-frame { border: 0; border-radius: 0; overflow: visible; }
  .comparison table, .comparison tbody { display: block; min-width: 0; }
  .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparison tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: .72rem; }
  .comparison tbody tr + tr { margin-top: .8rem; }
  .comparison tbody th { grid-column: 1 / -1; background: var(--raised); padding: .65rem .75rem; }
  .comparison tbody td { width: auto; padding: .64rem .68rem; border-bottom: 0; }
  .comparison tbody td:nth-child(n+4) { border-top: 1px solid var(--line); }
  .comparison tbody td:nth-child(odd) { border-inline-start: 1px solid var(--line); }
  .mobile-column-name { display: block; color: var(--ink); font-weight: 750; line-height: 1.28; margin-bottom: .45rem; }
  .comparison-detail { font-size: .88rem; line-height: 1.43; }
}
@media (max-width: 45rem) {
  .wrap, .reading { width: calc(100% - 2rem); }
  .topbar { align-items: flex-start; flex-wrap: wrap; padding-block: .7rem; gap: .55rem 1.25rem; }
  .site-header nav { gap: .45rem .85rem; min-height: 2rem; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value { padding-block: .95rem; }
  .value:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feature-copy { grid-area: copy; padding: 1rem; }
  .hero { row-gap: .85rem; }
  .hero-copy { display: contents; }
  .hero-signature, .hero .brand-motto, .hero .actions, .hero .lead, .hero .trial-note { margin-block: 0; }
  .hero .actions { grid-row: 4; }
  .hero .hero-media { grid-row: 5; }
  .hero .lead { grid-row: 6; }
  .feature-step, .feature-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "media"; }
  .video-cards, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-content { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 22rem) {
  .topbar { width: calc(100% - 1.5rem); }
  .site-header nav { gap: .35rem .4rem; }
  .site-header nav a { font-size: .78rem; }
  .site-header nav .language { padding-inline: .45rem; }
  .hero-signature { gap: .65rem; }
  .actions .button { padding-inline: .7rem; font-size: .86rem; }
  .hero-signature .platform { font-size: .73rem; }
  .media-caption { padding-inline: .5rem; }
  .media-control { font-size: .76rem; }
}
