:root {
  --black: #050505;
  --black-raised: #111111;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #8e8e93;
  --paper: #f5f5f7;
  --white: #ffffff;
  --line: rgba(29, 29, 31, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #0a84ff;
  --blue-strong: #0071e3;
  --green: #30d158;
  --amber: #ff9f0a;
  --red: #ff453a;
  --max-width: 1180px;
  --header-height: 64px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

html[data-lang="zh"] .en,
html[data-lang="en"] .zh {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a,
summary {
  font-family: inherit;
  letter-spacing: 0;
}

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

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

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 68%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-80px);
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(130%) blur(18px);
  -webkit-backdrop-filter: saturate(130%) blur(18px);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.nav-shell,
.content-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.nav-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 720;
  line-height: 1;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.nav-links,
.nav-actions,
.language-control,
.hero-actions,
.hero-proof,
.fact-list,
.download-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
  font-size: 14px;
  font-weight: 560;
}

.nav-links a {
  opacity: 0.76;
  transition: opacity 120ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  justify-content: flex-end;
  gap: 12px;
}

.language-control {
  gap: 2px;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 7px;
  opacity: 0.82;
}

.language-control button {
  min-width: 32px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.language-control button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
}

.is-scrolled .language-control button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-download {
  position: relative;
  overflow: hidden;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 680;
}

.hero {
  position: relative;
  min-height: 560px;
  height: calc(100svh - 36px);
  max-height: 820px;
  overflow: hidden;
  background-color: var(--black);
  background-image: url("assets/control-room.png");
  background-repeat: no-repeat;
  background-position: center 305px;
  background-size: min(1180px, 92vw) auto;
  color: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding-top: 116px;
  max-width: 1180px;
}

.hero-copy > * {
  max-width: 700px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 690;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow.inverse,
.section-heading.inverse .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--subtle);
}

.status-dot.blue { background: var(--blue); }
.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }
.status-dot.red { background: var(--red); }

.hero h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-lede {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 440;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.2;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.button:active,
.nav-download:active {
  transform: scale(0.98);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  background: var(--blue-strong);
}

.button.secondary-dark {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button.secondary-dark:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.release-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.hero-proof {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max-width)) / 2));
  top: 126px;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof b {
  font-weight: 580;
}

.band {
  position: relative;
  padding: 96px 0;
  background: var(--white);
}

.muted-band {
  background: var(--paper);
}

.dark-band {
  background: var(--black);
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading.compact {
  margin-bottom: 38px;
}

.section-heading h2,
.download h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

.section-summary,
.media-copy > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading.inverse .section-summary,
.media-copy.inverse > p {
  color: rgba(255, 255, 255, 0.58);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
}

.principle-index {
  color: var(--subtle);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
}

.principle h3,
.capability h3 {
  margin: 52px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 690;
}

.principle p,
.capability p,
.boundary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.status-table {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row div {
  min-width: 0;
}

.status-row strong,
.status-row small {
  display: block;
}

.status-row strong {
  font-size: 16px;
  font-weight: 680;
}

.status-row small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-state {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 64px;
}

.media-copy h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  font-weight: 720;
}

.fact-list {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.fact-list span {
  padding-left: 16px;
  position: relative;
}

.fact-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.product-figure,
.motion-figure {
  margin: 0;
}

.product-figure img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

figcaption {
  margin-top: 12px;
  color: var(--subtle);
  font-size: 12px;
}

.motion-figure img {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: var(--black-raised);
}

.dark-band figcaption {
  color: rgba(255, 255, 255, 0.42);
}

.island-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.island-facts div {
  padding: 24px 28px;
  border-right: 1px solid var(--line-dark);
}

.island-facts div:last-child {
  border-right: 0;
}

.island-facts strong,
.island-facts span {
  display: block;
}

.island-facts strong {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 18px;
}

.island-facts span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.capability {
  position: relative;
  overflow: hidden;
  min-height: 224px;
  padding: 28px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}

.capability:nth-child(odd) {
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.capability:nth-child(even) {
  padding-left: 48px;
}

.capability > span {
  color: var(--blue-strong);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 680;
}

.capability h3 {
  margin-top: 44px;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.boundary-grid article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.boundary-grid article:last-child {
  border-right: 0;
}

.boundary-grid strong {
  display: block;
  margin-bottom: 42px;
  font-size: 16px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  gap: 80px;
  align-items: start;
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 36px 24px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 21px;
  color: var(--subtle);
  font-size: 22px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -6px 40px 24px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.download-actions {
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;
}

.text-link {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  padding: 28px 0;
  background: var(--black);
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line-dark);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.footer-layout p {
  margin: 0;
}

.footer-layout p:last-child {
  justify-self: end;
}

.footer-brand {
  color: var(--white);
}

.footer-brand img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.ripple-surface {
  --ripple-x: 50%;
  --ripple-y: 50%;
  isolation: isolate;
}

.ripple-surface::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 160px at var(--ripple-x) var(--ripple-y), rgba(10, 132, 255, 0.13), transparent 68%);
  transition: opacity 160ms ease;
}

.ripple-surface:hover::after,
.ripple-surface.is-pressed::after {
  opacity: 1;
}

.button.ripple-surface::after,
.nav-download.ripple-surface::after {
  z-index: 0;
  background: radial-gradient(circle 90px at var(--ripple-x) var(--ripple-y), rgba(255, 255, 255, 0.24), transparent 70%);
}

.button.ripple-surface > span,
.nav-download.ripple-surface > span {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .media-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .product-figure {
    order: -1;
  }

  .section-heading h2,
  .download h2 {
    font-size: 38px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 58px;
  }

  .nav-shell,
  .content-shell,
  .hero-copy {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand span {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-download {
    min-height: 32px;
    padding: 6px 10px;
  }

  .hero {
    min-height: 520px;
    height: calc(100svh - 28px);
    max-height: 720px;
    background-position: center 360px;
    background-size: 850px auto;
  }

  .hero-copy {
    padding-top: 94px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .release-note {
    max-width: 340px;
  }

  .band {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .download h2,
  .media-copy h2 {
    font-size: 32px;
  }

  .section-summary,
  .media-copy > p {
    font-size: 16px;
  }

  .principle-grid,
  .island-facts,
  .capability-list,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .principle,
  .island-facts div,
  .boundary-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child,
  .island-facts div:last-child,
  .boundary-grid article:last-child {
    border-bottom: 0;
  }

  .principle h3 {
    margin-top: 34px;
  }

  .status-row {
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  .row-state {
    grid-column: 2;
    margin-top: -8px;
  }

  .product-figure img {
    aspect-ratio: 1.12;
  }

  .capability,
  .capability:nth-child(odd),
  .capability:nth-child(even) {
    min-height: auto;
    padding: 26px 0 30px;
    border-right: 0;
  }

  .capability h3 {
    margin-top: 30px;
  }

  .boundary-grid article {
    padding: 26px 0;
  }

  .boundary-grid strong {
    margin-bottom: 20px;
  }

  .download-layout,
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .download-actions {
    align-items: stretch;
  }

  .footer-layout {
    text-align: left;
  }

  .footer-layout p:last-child {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
