:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --base: #f6f7f9;
  --ink: #182230;
  --muted: #526075;
  --blue: #2563eb;
  --line: #e2e6ec;
  color: var(--ink);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { display: block; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(calc(100% - 3rem), 72rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -7rem; z-index: 3; padding: .7rem 1rem; border-radius: .5rem; background: var(--ink); color: white; }
.skip:focus { top: .75rem; }
.topbar { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.topbar-inner, .brand, nav, .platform, .actions, .button, figcaption, #demo-toggle, .footer { display: flex; align-items: center; }
.topbar-inner { min-height: 4.5rem; justify-content: space-between; gap: .75rem; }
.brand { flex: none; gap: .65rem; min-height: 44px; font-weight: 650; font-size: 1.1rem; }
nav { gap: .35rem; }
nav a { display: grid; place-items: center; min-height: 44px; padding: .5rem .85rem; border-radius: .5rem; font-size: .94rem; color: var(--muted); }
nav a[aria-current], nav a:hover { color: #1d4ed8; background: #eff4ff; }
nav a[aria-current] { font-weight: 650; }

.hero { display: grid; grid-template-columns: 1fr minmax(0, 1.07fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding-block: clamp(2.25rem, 5.3vw, 4.7rem); }
.platform { gap: .65rem; color: var(--muted); font-size: .98rem; font-weight: 600; }
.platform svg { color: var(--blue); }
h1 { margin-block: 1rem 1.15rem; font-size: clamp(3rem, 5vw, 4rem); line-height: 1.18; font-weight: 700; letter-spacing: -.04em; }
h1 span { color: var(--blue); }
.lead { max-width: 27em; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.9; text-wrap: pretty; }
.actions { flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button { justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: .5rem; padding: .65rem 1.25rem; gap: .65rem; font-weight: 600; }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: #1d4ed8; }
.secondary { border-color: #cbd5e1; background: #fff; }
.secondary:hover { color: #1d4ed8; border-color: #b6c9ed; background: #eff4ff; }
.release-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.release-link, .footer a, figcaption a { text-decoration: underline; text-decoration-color: #a5adb9; text-underline-offset: .24em; }
.release-link:hover, .footer a:hover, figcaption a:hover { color: #1d4ed8; }

.preview { min-width: 0; overflow: hidden; border: 1px solid #d5dce3; border-radius: 1rem; background: #fff; }
.recording { background: #172c23; }
video { display: block; width: 100%; height: auto; aspect-ratio: 684 / 620; object-fit: contain; }
figcaption { min-height: 3.4rem; justify-content: space-between; gap: 1rem; padding: .25rem 1rem; }
.preview-title { font-weight: 650; }
#demo-toggle { gap: .6rem; min-height: 44px; padding: .35rem .5rem; border: 0; border-radius: .4rem; color: #1d4ed8; background: transparent; font-size: .94rem; font-weight: 600; }
#demo-toggle:hover { background: #eff4ff; }
.play-symbol { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
#demo-toggle.playing .play-symbol { width: 8px; height: 10px; border: 0; border-inline: 3px solid currentColor; }

.guide { scroll-margin-top: 5.5rem; border: 1px solid #ecd9cd; border-radius: 1.25rem; padding: clamp(1.2rem, 2.5vw, 2rem); background: #f9eee7; }
h2 { margin-bottom: 1.2rem; font-size: clamp(1.45rem, 2vw, 1.7rem); line-height: 1.35; letter-spacing: -.025em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
article { border: 1px solid #e9dcd3; border-radius: .9rem; padding: clamp(1rem, 1.8vw, 1.45rem); background: #fff; }
.card-icon { width: 24px; height: 24px; margin-bottom: .9rem; fill: none; stroke: #405571; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: 1.12rem; font-weight: 650; }
article p { color: var(--muted); margin-top: .5rem; line-height: 1.8; }
kbd { border: 1px solid #d4dce7; border-bottom-width: 2px; border-radius: .3rem; padding: 0 .25rem; font: .9em ui-monospace, monospace; }
.footer { justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); padding-block: 1.75rem; font-size: .9rem; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .lead { max-width: 36em; }
  .preview { max-width: 38rem; width: 100%; justify-self: center; }
  .cards { grid-template-columns: 1fr; }
  .card-icon { float: left; margin: .14rem .65rem 0 0; }
  article p { clear: both; }
}

@media (max-width: 30rem) {
  .wrap { width: calc(100% - 2rem); }
  .topbar-inner { flex-wrap: wrap; padding-block: .35rem; gap: 0 .25rem; min-height: 4rem; }
  .brand { font-size: 1rem; gap: .45rem; }
  .brand svg { width: 1.75rem; height: 1.75rem; }
  nav { gap: 0; }
  nav a { padding-inline: .45rem; font-size: .875rem; }
  .actions { gap: .6rem; }
  .button { padding-inline: .9rem; }
  .guide { scroll-margin-top: 7.5rem; }
}

@media (forced-colors: active) {
  .button { border-color: ButtonText; }
}
