:root {
  color-scheme: light;
  --canvas: #eef2f5;
  --canvas-deep: #e1e8ed;
  --surface: #f9fbfc;
  --surface-soft: rgba(249, 251, 252, 0.9);
  --surface-dark: #202930;
  --ink: #16212b;
  --ink-soft: #51616e;
  --ink-faint: #71808c;
  --line: #cdd8df;
  --line-strong: #aebdc8;
  --accent: #52799d;
  --accent-deep: #345c80;
  --accent-soft: #dbe6ee;
  --gold: #d8a34c;
  --gold-soft: #f2e3c4;
  --success: #3f7d69;
  --shadow: 0 18px 48px rgba(21, 36, 48, 0.14);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 70px;
  border-bottom: 1px solid rgba(174, 189, 200, 0.75);
  background: rgba(249, 251, 252, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(34, 55, 70, 0.18);
}

.brand span,
.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand strong {
  font-size: 16px;
  font-weight: 800;
}

.brand small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-deep);
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 40px;
  padding: 0 15px;
  gap: 8px;
  border: 1px solid var(--accent-deep);
  border-radius: 7px;
  color: #fff;
  background: var(--accent-deep);
  font-size: 13px;
  font-weight: 750;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.header-download:hover {
  background: #294d6c;
  transform: translateY(-1px);
}

.header-download b {
  font-size: 17px;
  line-height: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 108px);
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #27343d;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.015);
}

.hero-shade {
  z-index: -2;
  background: rgba(12, 20, 27, 0.66);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(62%, 760px);
  content: "";
  background: rgba(16, 28, 38, 0.44);
}

.hero-inner {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-block: 44px 58px;
}

.hero-copy {
  width: min(600px, 92%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #fff;
  background: rgba(22, 33, 43, 0.46);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 86px;
  font-weight: 700;
  line-height: 0.98;
}

.hero-offer {
  margin: 24px 0 0;
  color: #fff;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.35;
}

.hero-summary {
  max-width: 540px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 780;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #17232c;
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.button-primary:hover {
  background: #e2b460;
}

.button-symbol {
  font-size: 19px;
  line-height: 1;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(22, 33, 43, 0.4);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(22, 33, 43, 0.64);
}

.release-facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 19px;
  gap: 9px 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.release-facts span:not(:last-child)::after {
  margin-left: 18px;
  color: rgba(255, 255, 255, 0.28);
  content: "/";
}

.hero-trust {
  position: absolute;
  bottom: 18px;
  left: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.intro-band {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro-layout,
.section-heading,
.privacy-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 72px;
}

.intro-layout h2,
.section-heading h2,
.capabilities-intro h2,
.privacy-layout h2,
.download-copy h2,
.story-content h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 40px;
  line-height: 1.22;
}

.intro-layout > p,
.section-heading > p,
.capabilities-intro > p,
.story-content > p,
.download-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.product-section,
.capabilities-section,
.install-section {
  padding: 96px 0;
}

.section-heading {
  align-items: end;
  margin-bottom: 38px;
}

.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--canvas-deep);
}

.product-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 18px;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.product-shot figcaption strong {
  font-size: 14px;
}

.product-shot figcaption span {
  color: var(--ink-faint);
  font-size: 12px;
  text-align: right;
}

.story-band {
  display: grid;
  position: relative;
  isolation: isolate;
  min-height: 590px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #29323a;
}

.story-band > img,
.story-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-band > img {
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.72) contrast(1.03);
}

.story-shade {
  z-index: -1;
  background: rgba(16, 23, 28, 0.62);
}

.story-content {
  max-width: 760px;
  margin-left: max(24px, calc((100% - var(--shell)) / 2));
}

.section-kicker-light {
  color: var(--gold-soft);
}

.story-content h2 {
  max-width: 700px;
  font-size: 48px;
}

.story-content > p:last-child {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
}

.capabilities-section {
  background: var(--surface);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 86px;
}

.capabilities-intro {
  position: sticky;
  top: 108px;
}

.capabilities-intro > p:last-child {
  margin-top: 20px;
}

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

.capability-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  padding: 27px 0;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.capability-code {
  display: inline-flex;
  width: 54px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
}

.capability-item h3 {
  margin: -3px 0 7px;
  font-size: 18px;
}

.capability-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.privacy-band {
  padding: 88px 0;
  border-block: 1px solid var(--line-strong);
  background: var(--canvas-deep);
}

.privacy-layout {
  align-items: start;
}

.privacy-points {
  display: grid;
  gap: 10px;
}

.privacy-points p {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  margin: 0;
  padding: 14px 0;
  gap: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.privacy-points strong {
  color: var(--accent-deep);
  font-size: 13px;
}

.privacy-points span {
  color: var(--ink-soft);
  font-size: 13px;
}

.download-section {
  padding: 94px 0;
  color: #fff;
  background: var(--surface-dark);
}

.download-layout {
  align-items: center;
}

.download-copy > p {
  max-width: 560px;
  margin: 18px 0 25px;
  color: rgba(255, 255, 255, 0.69);
}

.release-panel {
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.release-panel dl {
  margin: 0;
}

.release-panel dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.release-panel dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.release-panel dd {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.checksum {
  display: grid;
  margin-top: 17px;
  gap: 8px;
}

.checksum > span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  color: #d5e1e9;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  line-height: 1.55;
}

.checksum button {
  width: fit-content;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.checksum button:hover,
.checksum button:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.install-section {
  background: var(--surface);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 144px;
  padding: 25px 22px;
  gap: 13px;
  background: var(--canvas);
}

.install-steps li > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
}

.install-steps strong {
  display: block;
  margin: 2px 0 7px;
  font-size: 14px;
}

.install-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer {
  padding: 35px 0;
  border-top: 1px solid var(--line-strong);
  background: var(--canvas-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  font-size: 13px;
}

.footer-brand span,
.footer-inner > p {
  color: var(--ink-faint);
  font-size: 11px;
}

.footer-inner > p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #fff;
  background: #27333d;
  box-shadow: 0 12px 34px rgba(18, 29, 38, 0.24);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(82, 121, 157, 0.42);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .hero-offer {
    font-size: 23px;
  }

  .intro-layout,
  .section-heading,
  .privacy-layout,
  .download-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .capabilities-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .capabilities-intro {
    position: static;
    max-width: 650px;
  }

  .story-content {
    margin-inline: auto;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li {
    min-height: 112px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    height: 60px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand small {
    display: none;
  }

  .header-download {
    min-height: 36px;
    padding: 0 11px;
  }

  .header-download span {
    display: none;
  }

  .hero {
    height: calc(100svh - 86px);
    min-height: 500px;
    max-height: 690px;
  }

  .hero-media {
    object-position: 60% center;
  }

  .hero::after {
    width: 100%;
    background: rgba(16, 28, 38, 0.28);
  }

  .hero-shade {
    background: rgba(12, 20, 27, 0.7);
  }

  .hero-inner {
    justify-content: flex-end;
    padding-block: 34px 52px;
  }

  .hero-copy {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

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

  .hero-offer {
    margin-top: 17px;
    font-size: 20px;
  }

  .hero-summary {
    margin-top: 10px;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 44px;
    padding: 0 15px;
    font-size: 13px;
  }

  .release-facts {
    margin-top: 13px;
    gap: 6px 10px;
    font-size: 10px;
  }

  .release-facts span:not(:last-child)::after {
    margin-left: 10px;
  }

  .hero-trust {
    display: none;
  }

  .intro-band {
    padding: 34px 0;
  }

  .intro-layout h2,
  .section-heading h2,
  .capabilities-intro h2,
  .privacy-layout h2,
  .download-copy h2,
  .story-content h2 {
    font-size: 30px;
  }

  .intro-layout > p,
  .section-heading > p,
  .capabilities-intro > p,
  .story-content > p,
  .download-copy > p {
    font-size: 13px;
  }

  .product-section,
  .capabilities-section,
  .install-section {
    padding: 68px 0;
  }

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

  .product-shot figcaption {
    display: block;
    min-height: 64px;
    padding: 12px 14px;
  }

  .product-shot figcaption span {
    display: block;
    margin-top: 2px;
    text-align: left;
  }

  .story-band {
    min-height: 510px;
  }

  .story-band > img {
    object-position: 54% center;
  }

  .story-content > p:last-child {
    margin-top: 16px;
    font-size: 13px;
  }

  .capability-item {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 22px 0;
    gap: 12px;
  }

  .capability-code {
    width: 46px;
  }

  .capability-item h3 {
    font-size: 16px;
  }

  .capability-item p {
    font-size: 12px;
  }

  .privacy-band,
  .download-section {
    padding: 68px 0;
  }

  .privacy-points p {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .release-panel {
    padding: 17px;
  }

  .install-steps li {
    min-height: 104px;
    padding: 20px 16px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
  }
}

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

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

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