:root {
  color-scheme: light;
  --ink: #111113;
  --muted: #66666b;
  --quiet: #86868b;
  --surface: #ffffff;
  --soft: #f5f6f7;
  --line: rgba(17, 17, 19, 0.12);
  --blue: #0a84ff;
  --green: #30b38c;
  --amber: #f2b84b;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-decoration: none;
}
.brand img { border-radius: 8px; }
nav { display: flex; gap: 32px; }
nav a, footer a, .text-link { text-decoration: none; }
nav a { color: #424247; font-size: 14px; }
.language-switch {
  justify-self: end;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.language-switch button {
  min-width: 48px;
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.language-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(17, 17, 19, 0.12);
}

.hero {
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  padding: clamp(72px, 9vh, 112px) 0 0;
  text-align: center;
}
.eyebrow, .section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 650;
}
.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 720;
  line-height: 1;
}
.hero-lede {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(21px, 2.4vw, 29px);
  line-height: 1.45;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  font-weight: 620;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, translate 160ms ease;
}
.button.primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.button:hover { translate: 0 -1px; }
.button.primary:hover { background: #29292d; }
.text-link { color: var(--blue); font-weight: 560; }
.compatibility { margin: 16px 0 0; color: var(--quiet); font-size: 14px; }

.product-film {
  position: relative;
  margin: clamp(56px, 8vh, 88px) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--line);
  background: var(--soft);
}
.product-film video { width: 100%; height: 100%; object-fit: cover; }
.film-control {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(17, 17, 19, 0.78);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  backdrop-filter: blur(12px);
}
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.film-control[aria-pressed="true"] .play-icon { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }

.section { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 760px; padding-top: 136px; }
.section-heading.compact { max-width: 820px; }
.section h2 {
  margin: 12px 0 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
  font-weight: 680;
}
.section-heading > p:last-child, .proof-copy > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.flow-line {
  margin-top: 72px;
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-line div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.source-dot { width: 12px; height: 12px; border-radius: 50%; }
.source-dot.blue { background: var(--blue); }
.source-dot.green { background: var(--green); }
.source-dot.amber { background: var(--amber); border-radius: 2px; rotate: 45deg; }
.flow-arrow { color: var(--quiet); font-size: 24px; }
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.deliverables article { min-height: 240px; padding: 44px 34px 52px; }
.deliverables article:not(:last-child) { border-right: 1px solid var(--line); }
.deliverables span { color: var(--quiet); font-size: 13px; }
.deliverables h3 { margin: 52px 0 10px; font-size: 25px; }
.deliverables p { margin: 0; color: var(--muted); font-size: 16px; }

.platforms { padding-bottom: 136px; }
.platform-list { margin-top: 64px; border-top: 1px solid var(--line); }
.platform-list > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status.variable::before { background: var(--amber); }
.status.network::before { background: var(--quiet); }
.platform-note { max-width: 760px; margin: 24px 0 0; color: var(--quiet); font-size: 14px; }

.proof {
  width: 100%;
  padding: 112px max(24px, calc((100% - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  background: var(--ink);
  color: #fff;
}
.proof .section-kicker { color: #8ec7ff; }
.proof h2 { font-size: clamp(38px, 4.5vw, 58px); }
.proof-copy > p:last-child { color: #b7b7bc; }
.release-facts { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.release-facts div { min-height: 76px; display: grid; grid-template-columns: 120px 1fr; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.release-facts dt { color: #b7b7bc; font-size: 14px; }
.release-facts dd { margin: 0; text-align: right; font-weight: 600; }
.release-facts .hash dd { overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 400; }

.closing { padding: 136px 0 148px; text-align: center; }
.closing > img { margin: 0 auto; border-radius: 16px; }
.closing h2 { margin-top: 32px; }
.closing > p { margin: 18px auto 0; color: var(--muted); font-size: 19px; }
footer {
  width: min(var(--content), calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0; }
footer > div:last-child { justify-self: end; display: flex; gap: 8px; }
footer > div:last-child a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:focus-visible, a:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.38); outline-offset: 3px; }
nav a:hover, footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .header-inner { width: calc(100% - 32px); grid-template-columns: 1fr auto; min-height: 72px; }
  nav { display: none; }
  .brand span { font-size: 15px; }
  .language-switch button { min-width: 44px; min-height: 44px; }
  .hero, .section { width: calc(100% - 32px); }
  .hero { min-height: auto; padding-top: 64px; }
  .hero h1 { font-size: 56px; }
  .hero-lede { font-size: 21px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .button, .text-link { width: min(100%, 320px); min-height: 48px; }
  .text-link { display: inline-flex; align-items: center; justify-content: center; }
  .product-film { width: calc(100% + 32px); margin-left: -16px; margin-top: 56px; }
  .film-control { right: 12px; bottom: 12px; }
  .section-heading { padding-top: 96px; }
  .section h2 { font-size: 40px; }
  .flow-line { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .flow-arrow { rotate: 90deg; justify-self: center; }
  .deliverables { grid-template-columns: 1fr; }
  .deliverables article { min-height: 188px; padding: 32px 8px 36px; }
  .deliverables article:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .deliverables h3 { margin-top: 36px; }
  .proof { padding: 88px 24px; grid-template-columns: 1fr; gap: 64px; }
  .release-facts div { grid-template-columns: 90px 1fr; }
  .closing { padding: 96px 0 104px; }
  footer { width: calc(100% - 32px); padding: 28px 0; grid-template-columns: 1fr auto; gap: 16px; }
  footer > p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
