:root {
  color-scheme: light;
  --ink: #0b1f33;
  --ink-soft: #40566c;
  --line: #cdd9e5;
  --line-strong: #9eb2c5;
  --surface: #ffffff;
  --surface-muted: #f3f7fa;
  --blue: #0768b8;
  --blue-deep: #064b82;
  --blue-soft: #eaf4fc;
  --green: #087a54;
  --focus: #f59e0b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial,
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  color: var(--blue-deep);
}

.header-download,
.primary-action,
.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-download,
.primary-action {
  background: var(--blue);
  color: #fff;
}

.header-download:hover,
.primary-action:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.hero-kicker {
  width: fit-content;
  margin: 0 0 20px;
  padding: 5px 9px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 5.3vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 62ch;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.secondary-action {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.secondary-action:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.release-facts {
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.release-facts div {
  min-width: 112px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.release-facts div:first-child {
  padding-left: 0;
}

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

.release-facts dt,
.download-proof dt {
  color: var(--ink-soft);
  font-size: 12px;
}

.release-facts dd,
.download-proof dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface-muted);
  box-shadow: 8px 8px 0 #dce8f2;
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fb0c0;
}

.window-bar strong {
  margin-left: 6px;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1920 / 1017;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #fff;
}

.signal-strip p {
  margin: 0;
  padding: 16px 24px;
  border-right: 1px solid #40566c;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.signal-strip p:last-child {
  border-right: 0;
}

.capabilities,
.screens,
.trust,
.guide-promo,
.download {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.capabilities,
.screens {
  padding: clamp(76px, 10vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-strong);
}

.section-heading h2,
.trust h2,
.download h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-soft);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.capability-list article {
  min-height: 186px;
  padding: 30px 34px 30px 0;
  border-bottom: 1px solid var(--line);
}

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

.capability-list article:nth-child(even) {
  padding-left: 34px;
}

.capability-list h3,
.screen-copy h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.capability-list p,
.screen-copy > p:last-child {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.screens {
  background: var(--surface-muted);
  width: 100%;
}

.screens > * {
  width: min(calc(100% - 40px), var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

.screen-feature {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.screen-feature--reverse {
  grid-template-columns: minmax(0, 1.38fr) minmax(240px, 0.62fr);
}

.screen-feature--reverse .screen-copy {
  order: 2;
}

.screen-feature--reverse figure {
  order: 1;
}

.screen-label {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
}

.screen-feature figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.screen-feature img {
  width: 100%;
}

.help-figure {
  max-height: 620px;
  overflow-y: auto !important;
}

.trust {
  padding: clamp(72px, 9vw, 112px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(44px, 8vw, 100px);
  border-bottom: 1px solid var(--line-strong);
}

.trust > div p {
  max-width: 62ch;
  color: var(--ink-soft);
}

.trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.trust li {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.trust li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 800;
}

.guide-promo {
  padding: clamp(52px, 7vw, 82px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line-strong);
}

.guide-promo h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.guide-promo p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.guide-promo-links {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  max-width: 600px;
}

.guide-promo-links > a:not(.secondary-action) {
  color: var(--blue-deep);
  font-weight: 700;
}

.guide-page {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.guide-hero {
  max-width: 900px;
  padding: clamp(68px, 10vw, 124px) 0 58px;
}

.guide-meta {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.guide-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.guide-lead {
  max-width: 68ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.guide-figure {
  margin: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 1920 / 1017;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.guide-layout {
  padding: clamp(62px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
}

.guide-content {
  max-width: 72ch;
}

.guide-content section {
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--line);
}

.guide-content h2,
.guide-aside h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.guide-content p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.guide-checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
  border-top: 1px solid var(--line-strong);
}

.guide-checklist li {
  counter-increment: guide-step;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.guide-checklist li::before {
  content: counter(guide-step) ".";
  display: inline-block;
  width: 28px;
  color: var(--blue-deep);
  font-weight: 800;
}

.guide-boundary {
  padding: 28px !important;
  background: var(--surface-muted);
  border: 0 !important;
}

.guide-aside {
  position: sticky;
  top: 24px;
  padding: 28px;
  background: var(--blue-deep);
  color: #fff;
}

.guide-aside p {
  margin: 16px 0 22px;
  color: #d9edff;
}

.guide-aside .primary-action {
  width: 100%;
  background: #fff;
  color: var(--blue-deep);
}

.guide-home-link {
  display: block;
  margin: 18px 0 0;
  color: #fff;
  font-weight: 700;
}

.guide-aside small {
  display: block;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #6f9bc2;
  color: #d9edff;
}

.download {
  margin-top: 72px;
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(42px, 8vw, 96px);
  padding: clamp(38px, 6vw, 70px);
  background: var(--blue-deep);
  color: #fff;
}

.download-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #d9edff;
  font-size: 13px;
  font-weight: 700;
}

.download-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ee2a8;
}

.download-main > p:not(.download-status) {
  max-width: 48ch;
  margin: 18px 0 26px;
  color: #d9edff;
}

.download .primary-action {
  background: #fff;
  color: var(--blue-deep);
}

.download .primary-action:hover {
  background: #eaf4fc;
}

.download-proof {
  margin: 0;
  border-top: 1px solid #6f9bc2;
}

.download-proof div {
  padding: 16px 0;
  border-bottom: 1px solid #6f9bc2;
}

.download-proof dt {
  color: #d9edff;
}

.download-proof code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #fff;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 500;
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

footer strong {
  color: var(--ink);
}

footer a {
  margin-left: auto;
  color: var(--blue-deep);
  font-weight: 700;
}

@media (max-width: 940px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }

  .section-heading,
  .trust,
  .guide-layout,
  .download {
    grid-template-columns: 1fr;
  }

  .screen-feature,
  .screen-feature--reverse {
    grid-template-columns: 1fr;
  }

  .screen-feature--reverse .screen-copy,
  .screen-feature--reverse figure {
    order: initial;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .capabilities,
  .screens > *,
  .trust,
  .guide-promo,
  .guide-page,
  .download,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .header-download {
    margin-left: auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .release-facts div {
    width: 50%;
    padding: 0 12px 14px 0;
    border-right: 0;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-strip p:nth-child(2) {
    border-right: 0;
  }

  .signal-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid #40566c;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

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

  .screen-feature {
    padding: 48px 0;
  }

  .guide-promo {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-promo-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-aside {
    position: static;
  }

  .download {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px 22px;
  }

  footer {
    padding: 24px 0;
    flex-wrap: wrap;
  }

  footer p {
    width: 100%;
    margin: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
