:root {
  color-scheme: dark;
  --ink: #f2f4f9;
  --muted: #aeb3c0;
  --accent: #c0cdff;
  --rule: #252830;
  --surface: #101217;
  --page: #08090b;
  --shell: 72rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; line-height: 1.6; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#features, #download { scroll-margin-top: 5.5rem; }
.shell { width: min(var(--shell), calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .7rem; left: .7rem; padding: .7rem 1rem; background: #fff; color: #101217; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 3; background: rgb(8 9 11 / 86%); backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid #ffffff17; }
.bar { width: min(var(--shell), calc(100% - 5rem)); min-height: 4rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; font-size: 1rem; font-weight: 650; white-space: nowrap; }
.brand img { border-radius: .5rem; }
.nav-links { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.9rem); font-size: .95rem; }
.nav-features { color: var(--muted); }
.nav-features:hover { color: var(--ink); }
.locale { border: 0; background: none; color: var(--muted); padding: .45rem .1rem; cursor: pointer; }
.locale:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .55rem 1.05rem; border: 1px solid #3a3d49; border-radius: 99rem; font-weight: 650; white-space: nowrap; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.button:hover { background: #222532; border-color: #646a80; }
.button:active { transform: scale(.97); }
.button-primary { min-height: 3.15rem; padding-inline: 1.45rem; background: var(--accent); border-color: transparent; color: #11182f; }
.button-primary:hover { background: #dce3ff; border-color: transparent; }
.hero { overflow: hidden; position: relative; isolation: isolate; min-height: 44rem; padding: clamp(3.5rem, 7vw, 6.5rem) 1.25rem 0; text-align: center; background: #000; border-bottom: 1px solid #ffffff11; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.25rem, 9.5vw, 8.3rem); line-height: .94; font-weight: 710; letter-spacing: -.057em; word-spacing: .045em; }
.hero h1 span { color: #d0d9fa; }
.hero-copy > p:not(.meta) { margin: 1.25rem auto 1.35rem; color: #c4c8d3; font-size: clamp(1.08rem, 2.15vw, 1.55rem); line-height: 1.35; letter-spacing: -.025em; }
.meta { color: #a0a7bb; font-size: .875rem; }
.hero .meta, .release-action .meta { margin-top: .72rem; }
.hero-media { width: min(66rem, 100%); margin: -.35rem auto -1.4rem; position: relative; }
.hero-media img { width: 100%; mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 86%, transparent); }
.features, .extras { padding-top: clamp(4.5rem, 9vw, 7.25rem); }
h2 { font-size: clamp(2.25rem, 5.35vw, 4.8rem); line-height: 1.02; font-weight: 690; letter-spacing: -.052em; }
.feature-tabs { display: flex; width: fit-content; max-width: 100%; gap: .18rem; padding: .3rem; margin: 1.75rem 0 1.35rem; background: #14161c; border: 1px solid var(--rule); border-radius: 1.6rem; }
.feature-tabs button { min-height: 2.5rem; border: 0; border-radius: 99rem; background: transparent; padding: .46rem .95rem; color: var(--muted); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.feature-tabs button:hover { color: var(--ink); }
.feature-tabs button[aria-selected="true"] { color: #0f152b; background: var(--accent); font-weight: 650; }
.feature-panel { min-height: 24rem; position: relative; display: grid; grid-template-columns: .77fr 1.23fr; overflow: hidden; background: #08090b; border: 1px solid var(--rule); border-radius: 1.6rem; isolation: isolate; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 1; padding: clamp(1.6rem, 4.2vw, 3.6rem); }
.feature-copy h3 { font-size: clamp(2.1rem, 3.9vw, 4rem); line-height: .99; letter-spacing: -.059em; }
.feature-copy p { color: var(--muted); max-width: 30rem; margin-top: 1.05rem; }
.feature-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 50%; mask-image: linear-gradient(90deg, transparent, #000 16%); }
.feature-panel.is-revealed { animation: reveal .22s ease-out; }
@keyframes reveal { from { opacity: .55; } to { opacity: 1; } }
.detail { color: var(--muted); font-size: .875rem; }
.feature-copy .detail { margin-top: .8rem; }
.extra-grid { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.extra-card { overflow: hidden; border-radius: 1.55rem; border: 1px solid var(--rule); background: var(--surface); }
.extra-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.extra-card > div { padding: clamp(1.2rem, 3vw, 2rem); }
.extra-card h3 { font-size: clamp(1.55rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; }
.extra-card p { color: var(--muted); margin-top: .6rem; max-width: 44ch; }
.release { margin-top: clamp(4.5rem, 9vw, 7.25rem); padding: clamp(1.7rem, 5vw, 3.4rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: radial-gradient(900px 340px at 89% 0%, #232d4a, #141923 56%, #101217); border: 1px solid #333c51; border-radius: 1.55rem; }
.release h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); margin: .75rem 0 .75rem; }
.release .detail { margin-top: .35rem; max-width: 58ch; }
.release-action { text-align: center; flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; color: var(--muted); gap: 1rem; font-size: .875rem; padding: 1.5rem 0 2.5rem; }
@media (max-width: 760px) {
  .shell, .bar { width: calc(100% - 2rem); }
  .hero { min-height: 0; }
  .hero-media { margin: 1rem auto .25rem; width: min(48rem, calc(100% + 1.75rem)); left: -.875rem; }
  .feature-panel { grid-template-columns: 1fr; min-height: 0; }
  .feature-panel img { aspect-ratio: 16 / 9; min-height: 0; height: auto; mask-image: linear-gradient(180deg, transparent, #000 17%); }
  .feature-copy { padding-bottom: .6rem; }
  .feature-copy br { display: none; }
  .extra-grid { gap: .8rem; }
}
@media (max-width: 510px) {
  .nav-features { display: none; }
  .bar { gap: .5rem; }
  .brand { font-size: .92rem; gap: .42rem; }
  .brand img { width: 29px; height: 29px; }
  .nav-download { padding-inline: .75rem; }
  .hero h1 { max-width: 11ch; margin-inline: auto; font-size: clamp(3.35rem, 11.3vw, 5rem); }
  .hero .meta { font-size: .78rem; }
  .feature-tabs { width: 100%; }
  .feature-tabs button { flex: 1; padding-inline: .3rem; font-size: .9rem; }
  .extra-grid { grid-template-columns: 1fr; }
  .release { flex-direction: column; align-items: flex-start; }
  .release-action { text-align: left; }
  .site-footer { flex-direction: column; gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-header { background: var(--page); backdrop-filter: none; }
}
