:root {
  color-scheme:light;
  --bg:#ffffff;
  --surface:#f5f5f6;
  --surface-hover:#ededf0;
  --text:#1c1c1f;
  --muted:#56575f;
  --line:#d4d4da;
  --control-line:#767681;
  --accent:#6441c4;
  --accent-hover:#5131aa;
  --button-bg:#6441c4;
  --button-hover:#5131aa;
  --on-accent:#ffffff;
  --track:#e7e5ec;
  --secondary-bar:#85838e;
  --skip-bg:#1c1c1f;
  --skip-text:#ffffff;
}

:root[data-theme="dark"] {
  color-scheme:dark;
  --bg:#141415;
  --surface:#1c1c1e;
  --surface-hover:#28282b;
  --text:#f2f2f3;
  --muted:#b7b7be;
  --line:#404045;
  --control-line:#83838d;
  --accent:#b9a2ff;
  --accent-hover:#cbbcff;
  --button-bg:#6441c4;
  --button-hover:#7652ca;
  --on-accent:#ffffff;
  --track:#343236;
  --secondary-bar:#85838d;
  --skip-bg:#f2f2f3;
  --skip-text:#141415;
}

@media(prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark;
    --bg:#141415;
    --surface:#1c1c1e;
    --surface-hover:#28282b;
    --text:#f2f2f3;
    --muted:#b7b7be;
    --line:#404045;
    --control-line:#83838d;
    --accent:#b9a2ff;
    --accent-hover:#cbbcff;
    --button-bg:#6441c4;
    --button-hover:#7652ca;
    --on-accent:#ffffff;
    --track:#343236;
    --secondary-bar:#85838d;
    --skip-bg:#f2f2f3;
    --skip-text:#141415;
  }
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  cursor:pointer;
}

button,a,summary {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,video:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px;
}

a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

p {
  margin:0 0 20px;
}

h1,h2,h3 {
  margin:0;
  font-weight:650;
  line-height:1.12;
  letter-spacing:-.035em;
}

h1 {
  max-width:14ch;
  font-size:clamp(44px,4.8vw,68px);
  line-height:1.06;
  letter-spacing:-.05em;
}

h2 {
  font-size:clamp(30px,3.2vw,44px);
}

h3 {
  font-size:21px;
  letter-spacing:-.025em;
}

.wrap {
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left:40px;
  padding-right:40px;
}

.header {
  min-height:88px;
  display:flex;
  align-items:center;
  gap:32px;
  border-bottom:1px solid var(--line);
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  font-size:21px;
  font-weight:700;
  letter-spacing:-.035em;
}

.brand:hover {
  text-decoration:none;
}

.header nav {
  display:flex;
  align-items:center;
  gap:30px;
  margin-left:auto;
  font-size:14px;
  font-weight:550;
}

.header nav a:hover,.footer nav a:hover {
  color:var(--accent);
}

.theme-control {
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
}

.theme-control svg {
  width:16px;
  height:16px;
}

.language,#theme {
  min-height:44px;
  padding:5px 9px;
  border:1px solid var(--control-line);
  border-radius:4px;
  background:var(--bg);
  color:var(--text);
  font:inherit;
  font-size:13px;
  font-weight:650;
}

.language {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
}

#theme {
  width:100px;
}

.language:hover,#theme:hover {
  background:var(--surface-hover);
}

[hidden] {
  display:none!important;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:20;
  padding:12px 20px;
  background:var(--skip-bg);
  color:var(--skip-text);
}

.skip-link:focus {
  top:15px;
}

.hero {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:64px;
  align-items:center;
  padding-top:72px;
  padding-bottom:64px;
}

.project-note {
  display:inline-block;
  margin-bottom:24px;
  color:var(--muted);
  font-size:13px;
}

.project-note:hover {
  color:var(--accent);
}

.hero-description {
  max-width:52ch;
  margin:26px 0 30px;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:11px 19px;
  border:1px solid var(--control-line);
  border-radius:4px;
  background:transparent;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  transition:background-color .15s,border-color .15s,color .15s;
}

.button:hover {
  background:var(--surface-hover);
  text-decoration:none;
}

.button.primary {
  border-color:var(--button-bg);
  background:var(--button-bg);
  color:var(--on-accent);
}

.button.primary:hover {
  border-color:var(--button-hover);
  background:var(--button-hover);
}

.button svg {
  width:18px;
  height:18px;
}

.text-link,.release-link {
  color:var(--accent);
  font-size:14px;
  font-weight:600;
}

.text-link:hover,.release-link:hover {
  color:var(--accent-hover);
}

.platform-note {
  margin:18px 0 0;
  color:var(--muted);
  font-size:12px;
}

.hero-visual {
  min-width:0;
  perspective:1400px;
}

.scene-stage {
  --scene-rx:3deg;
  --scene-ry:-6deg;
  position:relative;
  transform-style:preserve-3d;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}

.scene-stage.is-tilting {
  transition-duration:.12s;
  transition-timing-function:ease-out;
}

.scene-layer {
  position:absolute;
  inset:0;
  pointer-events:none;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:6px;
}

.scene-layer-back {
  transform:translate3d(12px,12px,-30px);
}

.scene-layer-middle {
  transform:translate3d(24px,24px,-60px);
}

.product-image {
  position:relative;
  display:block;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--surface);
  box-shadow:0 16px 32px -24px rgb(0 0 0 / 35%);
  transform:translateZ(20px);
}

.product-image:hover {
  border-color:var(--muted);
}

.visual-caption {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:28px;
  color:var(--muted);
  font-size:11px;
}

@media(min-width:761px) and (prefers-reduced-motion:no-preference) {
  .hero-visual {
    animation:scene-enter .7s cubic-bezier(.2,.7,.2,1) both;
  }

  .scene-stage {
    transform:rotateX(var(--scene-rx)) rotateY(var(--scene-ry));
  }
}

@keyframes scene-enter {
  from {
    opacity:0;
    transform:translateY(12px);
  }

  to {
    opacity:1;
    transform:translateY(0);
  }
}

.section {
  padding-top:88px;
  padding-bottom:88px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:64px;
  margin-bottom:40px;
}

.section-heading h2 {
  max-width:18ch;
}

.section-heading>p,.section-heading>div>p {
  max-width:44ch;
  margin:0;
  color:var(--muted);
  font-size:15px;
}

.section-heading>div>p {
  margin-top:16px;
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.feature {
  padding-top:24px;
  border-top:1px solid var(--line);
}

.feature-icon {
  margin-bottom:24px;
  color:var(--accent);
}

.feature h3 {
  margin-bottom:14px;
}

.feature p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
}

.demo-section {
  padding:72px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface);
}

.demo-duration {
  flex-shrink:0;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
}

.demo-player {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:6px;
  background:#000;
}

.demo-player video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
}

.media-credit {
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin:16px 0 0;
  color:var(--muted);
  font-size:11px;
}

.media-credit a {
  text-decoration:underline;
  text-underline-offset:3px;
}

.benchmark-overview {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.benchmark-copy>p {
  max-width:46ch;
  margin:22px 0 0;
  color:var(--muted);
  font-size:15px;
}

.measurement {
  padding-left:40px;
  border-left:1px solid var(--line);
}

.measurement-label {
  margin-bottom:26px;
  font-size:13px;
  font-weight:600;
}

.bar-label {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:8px;
  font-size:12px;
}

.bar-label strong {
  font-variant-numeric:tabular-nums;
}

.bar-track {
  height:8px;
  margin-bottom:22px;
  overflow:hidden;
  background:var(--track);
}

.bar {
  height:100%;
}

.bar.native {
  width:24.47%;
  background:var(--accent);
}

.bar.electron {
  width:100%;
  background:var(--secondary-bar);
}

.measurement-note {
  margin:24px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.75;
}

.downloads {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface);
}

.downloads .section-heading {
  align-items:start;
  margin-bottom:36px;
}

.downloads .section-heading h2 {
  max-width:none;
}

.downloads .release-link {
  margin-top:10px;
  white-space:nowrap;
}

.download-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}

.download-card {
  display:flex;
  flex-direction:column;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.download-card h3 {
  font-size:24px;
}

.architecture {
  margin:7px 0 20px;
  color:var(--muted);
  font-size:11px;
}

.download-card .button {
  align-self:flex-start;
  margin-bottom:0;
  background:var(--bg);
  font-size:12px;
}

.download-card .button:hover {
  color:var(--accent);
}

.faq {
  display:block;
  padding-top:80px;
  padding-bottom:48px;
}

.faq h2 {
  margin-bottom:28px;
  font-size:32px;
}

.faq-list {
  border-top:1px solid var(--line);
}

.faq-list details {
  padding:16px 0;
  border-bottom:1px solid var(--line);
}

.faq-list summary {
  display:flex;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  list-style:none;
  font-size:15px;
  font-weight:600;
}

.faq-list summary::-webkit-details-marker {
  display:none;
}

.faq-list summary:after {
  content:"+";
  color:var(--accent);
  font-size:20px;
  font-weight:400;
  line-height:1.2;
}

.faq-list details[open] summary:after {
  content:"−";
}

.faq-list details p {
  max-width:82ch;
  margin:16px 0 10px;
  color:var(--muted);
  font-size:13px;
}

.footer {
  padding-top:0;
  padding-bottom:28px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.15fr .7fr 1fr;
  gap:72px;
  padding-top:32px;
  border-top:1px solid var(--line);
}

.footer .brand {
  font-size:19px;
}

.footer-intro>p {
  max-width:34ch;
  margin:18px 0 14px;
  color:var(--muted);
  font-size:12px;
}

.footer-source {
  color:var(--accent);
  font-size:12px;
  font-weight:600;
}

.footer h2 {
  margin-bottom:16px;
  font-size:11px;
  font-weight:650;
  letter-spacing:0;
  text-transform:uppercase;
}

.footer nav {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.footer-facts dl {
  margin:0;
}

.footer-facts dl>div {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
  border-bottom:1px solid var(--line);
  font-size:11px;
}

.footer-facts dl>div:first-child {
  padding-top:0;
}

.footer-facts dt {
  color:var(--muted);
}

.footer-facts dd {
  margin:0;
  text-align:right;
  font-weight:550;
}

.footer-bottom {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:32px;
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-size:11px;
}

.legal {
  max-width:100ch;
  margin:0;
  color:var(--muted);
  font-size:10px;
}

@media(max-width:1000px) {
  .wrap {
    padding-left:28px;
    padding-right:28px;
  }

  .hero {
    gap:36px;
  }

  h1 {
    font-size:clamp(42px,5vw,56px);
  }

  .hero-description {
    font-size:15px;
  }

  .section-heading {
    gap:36px;
  }

  .feature-grid {
    gap:26px;
  }

  .benchmark-overview {
    gap:48px;
  }

  .measurement {
    padding-left:32px;
  }

  .download-grid {
    gap:24px;
  }

  .footer-grid {
    gap:36px;
  }
}

@media(max-width:900px) {
  .header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px 14px;
    padding-top:12px;
    padding-bottom:12px;
  }

  .header .brand {
    grid-area:1 / 1;
  }

  .header .language {
    grid-area:1 / 2;
    justify-self:end;
  }

  .header nav {
    grid-area:2 / 1;
    margin-left:0;
    gap:16px;
  }

  .header nav a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
  }

  .header .theme-control {
    grid-area:2 / 2;
    justify-self:end;
  }
}

@media(max-width:760px) {
  .wrap {
    padding-left:22px;
    padding-right:22px;
  }

  .header {
    min-height:76px;
    gap:14px;
  }

  .header .brand {
    font-size:19px;
  }

  .header .brand img {
    width:30px;
    height:30px;
  }

  .header nav {
    gap:16px;
    font-size:12px;
  }

  .header nav>a:first-child {
    display:none;
  }

  .language {
    min-width:48px;
  }

  .hero {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:36px;
    padding-top:44px;
    padding-bottom:44px;
  }

  h1 {
    max-width:15ch;
    font-size:clamp(42px,10.5vw,58px);
  }

  .hero-description {
    max-width:55ch;
    font-size:15px;
  }

  .scene-layer {
    display:none;
  }

  .product-image {
    box-shadow:none;
    transform:none;
  }

  .visual-caption {
    margin-top:12px;
    font-size:10px;
  }

  .section {
    padding-top:60px;
    padding-bottom:60px;
  }

  .section-heading {
    display:block;
    margin-bottom:30px;
  }

  .section-heading>p,.section-heading>div>p {
    max-width:55ch;
    margin-top:18px;
    font-size:14px;
  }

  .feature-grid,.download-grid {
    grid-template-columns:1fr;
    gap:32px;
  }

  .feature {
    padding-top:20px;
  }

  .feature-icon {
    margin-bottom:18px;
  }

  .feature p {
    max-width:62ch;
  }

  .demo-section {
    padding:52px 0;
  }

  .demo-duration {
    display:inline-block;
    margin-top:18px;
  }

  .media-credit {
    gap:8px;
    font-size:10px;
  }

  .benchmark-overview {
    grid-template-columns:1fr;
    gap:36px;
  }

  .measurement {
    padding:28px 0 0;
    border-top:1px solid var(--line);
    border-left:0;
  }

  .release-link {
    display:inline-block;
    margin-top:18px;
  }

  .faq {
    padding-top:48px;
  }

  .faq h2 {
    margin-bottom:28px;
  }

  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:36px;
  }

  .footer-intro {
    grid-column:1/-1;
  }

  .footer-intro>p {
    max-width:44ch;
  }

  .footer-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
}

@media(max-width:420px) {
  .theme-control svg {
    display:none;
  }

  #theme {
    width:100px;
  }

  .hero-actions {
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
  }

  .visual-caption span:last-child {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  .button,.scene-stage {
    transition:none;
  }

  .scene-layer {
    display:none;
  }

  .product-image {
    box-shadow:none;
    transform:none;
  }
}

@media print {
  :root {
    --bg:#ffffff;
    --surface:#ffffff;
    --text:#111111;
    --muted:#444444;
    --line:#cccccc;
    --accent:#5131aa;
  }

  body {
    background:#ffffff;
    color:#111111;
  }

  .header nav,.language,.hero-actions,.demo-player,.download-card .button {
    display:none;
  }

  .wrap {
    max-width:none;
    padding-left:0;
    padding-right:0;
  }

  .section,.hero {
    padding-top:30px;
    padding-bottom:30px;
  }

  .feature,.download-card,.measurement {
    break-inside:avoid;
  }

  .footer {
    margin-top:30px;
  }
}
