:root {
  color-scheme: light;
  --night: #080f1e;
  --dark: #0c1526;
  --ink: #121f32;
  --muted: #526177;
  --soft: #b0bfd3;
  --cyan: #71edff;
  --border: #dce5ef;
  --paper: #f4f8fc;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0098b2; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, dl, dd { margin: 0; }
section[id] { scroll-margin-top: 1.8rem; }
.frame { width: min(100% - 4rem, 72rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 1rem; left: 1rem; padding: .6rem 1rem; color: #06131d; background: var(--cyan); transform: translateY(-250%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--night); color: #f5faff; border-bottom: 1px solid #223147; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.18rem; letter-spacing: -.035em; text-decoration: none; }
.wordmark img { border: 1px solid #223d56; border-radius: .5rem; }
.nav-links { display: flex; gap: clamp(1rem, 3vw, 2.2rem); align-items: center; font-size: .9rem; }
.nav-links a { color: #ccd8e7; text-decoration: none; }
.nav-links a:is(:hover, [aria-current]) { color: var(--cyan); }

.hero { background: radial-gradient(ellipse at 78% 70%, #0b2139 0%, transparent 45%), var(--night); color: #f5faff; overflow: hidden; }
.hero-layout { display: grid; align-items: center; min-height: 33.5rem; position: relative; isolation: isolate; padding-block: 5.2rem; }
.hero-copy { position: relative; z-index: 1; width: min(64%, 43rem); }
.eyebrow { color: var(--cyan); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { line-height: 1.08; font-weight: 760; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6.2vw, 5.5rem); margin-block: .8rem 1.25rem; max-width: 11ch; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.23rem); line-height: 1.6; color: var(--soft); max-width: 40ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { padding: .72rem 1.12rem; min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .94rem; border: 1px solid transparent; border-radius: .42rem; text-decoration: none; line-height: 1.35; }
.primary { background: var(--cyan); color: #072334; }
.primary:hover { background: #b3f7ff; }
.secondary { border-color: #526982; color: #edf7ff; background: #101e32; }
.secondary:hover { background: #19304a; }
.light { border-color: #c9dbe8; color: #10364b; background: #fff; }
.light:hover { background: #e9f8ff; border-color: #87b7c9; }
.hero-art { position: absolute; inset: 0 0 0 35%; overflow: hidden; pointer-events: none; }
.hero-art img { position: absolute; inset-block: 0; right: -2%; width: auto; height: 100%; max-width: none; mask-image: linear-gradient(to right, transparent 53%, #000 63%, #000 91%, transparent 100%); mix-blend-mode: screen; }

.features { padding-block: 4.3rem; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.85rem; gap: 1.45rem; }
.feature-grid > div { border-top: 2px solid #b8d4e5; padding: 1.05rem .75rem 0 0; }
dt { font-weight: 750; font-size: 1.2rem; letter-spacing: -.025em; color: var(--ink); }
dd { margin-top: .35rem; color: var(--muted); }

.demo-section { background: var(--paper); border-block: 1px solid #e4ecf4; padding-block: 4.3rem; }
.section-heading p, .end-section p { margin-top: .75rem; color: var(--muted); }
.demo-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1.1rem; margin-top: 1.65rem; }
.player { display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #091322; border-radius: .65rem; isolation: isolate; }
.player img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .73; z-index: -1; }
.player iframe { width: 100%; height: 100%; border: 0; }
.player-action { align-self: end; margin: 1.1rem; }
.demo-list { display: flex; flex-direction: column; gap: .55rem; }
.demo-list a[data-video] { display: grid; text-decoration: none; gap: .11rem; padding: .68rem 1rem; border: 1px solid var(--border); border-radius: .45rem; background: #fff; }
.demo-list a[data-video]:is(:hover, [aria-current]) { border-color: #62a4b9; background: #e5f7fb; }
.demo-list strong { letter-spacing: -.015em; }
.demo-list span { font-size: .9rem; color: var(--muted); }
.direct-video { color: #23566c; font-size: .9rem; align-self: flex-start; margin: .27rem .2rem; }

.end-section { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 4.1rem; }
.end-section p { max-width: 57ch; }
.end-section .button { flex: none; }
footer { background: var(--night); color: var(--soft); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.35rem; font-size: .9rem; }
.footer-layout :first-child { color: #fff; font-weight: 700; text-decoration: none; }

.support-hero { background: var(--night); color: #fff; padding-block: 3.2rem 3.5rem; }
.support-hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); max-width: none; text-wrap: wrap; }
.support-hero .lede { max-width: 53ch; }
.guide-layout { display: grid; grid-template-columns: 11.5rem minmax(0, 48rem); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; padding-block: 2.6rem 4.5rem; }
.guide-layout aside { position: sticky; top: 1.2rem; }
.guide-layout aside nav { display: grid; padding: .7rem 0 .7rem 1rem; border-left: 2px solid var(--border); }
.guide-layout aside a { text-decoration: none; padding: .3rem 0; color: #31566a; }
.guide-layout aside a:hover { text-decoration: underline; }
.guide-content section + section { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--border); }
.guide-content h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3.4vw, 2.3rem); }
.guide-content li + li { margin-top: .65rem; }
code { padding: .12em .3em; border-radius: .25rem; background: #edf4f8; overflow-wrap: anywhere; font-size: .9em; }
.platforms > div { background: var(--paper); padding: .8rem 1rem; margin-top: .55rem; border-radius: .35rem; }
details { border-bottom: 1px solid var(--border); padding: .65rem 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .55rem 0; }
.contact-link { display: inline-block; margin-top: .75rem; color: #155774; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 850px) {
  .hero-layout { min-height: 28rem; }
  .hero-art { right: -1rem; }
  .hero-art img { right: -8%; }
  .demo-layout { grid-template-columns: 1.35fr 1fr; }
}
@media (max-width: 640px) {
  .frame { width: min(100% - 2rem, 72rem); }
  .nav { min-height: 3.9rem; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding-block: 2.7rem 0; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 13ch; }
  .hero-art { position: relative; inset: auto; height: clamp(13rem, 55vw, 17rem); margin-top: .6rem; }
  .hero-art img { height: 123%; top: -10%; right: 50%; transform: translateX(26%); mask-image: linear-gradient(to right, transparent 53%, #000 64%); }
  .feature-grid, .demo-layout, .guide-layout { grid-template-columns: 1fr; }
  .feature-grid { gap: .95rem; }
  .features, .demo-section, .end-section { padding-block: 2.6rem; }
  .end-section { display: grid; justify-items: start; gap: 1rem; }
  .guide-layout { gap: 1.4rem; }
  .guide-layout aside { position: static; }
  .guide-layout aside nav { display: flex; flex-wrap: wrap; column-gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
