:root {
  --ink: #081522;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --blue: #2167e8;
  --cyan: #16b8ce;
  --green: #1c9b6c;
  --amber: #e89525;
  --muted: #5e6d7e;
  --line: #ccd5df;
  --soft-blue: #eaf1ff;
  --soft-green: #e5f5ef;
  --shadow: 0 24px 70px rgba(8, 21, 34, 0.12);
  --display: "Bahnschrift SemiCondensed", "Arial Narrow", "Microsoft YaHei UI", sans-serif;
  --body: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(204, 213, 223, 0.75);
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.hero,
.proof-strip,
.section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px 9px 9px 2px;
  color: var(--surface);
  background: var(--blue);
  font-family: var(--body);
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--cyan);
}

.primary-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-download {
  padding: 9px 15px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr);
  align-items: center;
  gap: clamp(46px, 7vw, 96px);
  padding-block: 88px 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 720;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--surface);
  background: var(--blue);
  box-shadow: 7px 7px 0 var(--ink);
}

.button-primary:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 38px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.trust-line li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.evidence-ledger {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--surface);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.evidence-ledger::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--cyan), var(--blue) 48%, var(--green));
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ledger-head strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 22px;
}

.ledger-kicker,
.demo-label,
.queue-index,
.readiness > span,
.capability-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.ledger-kicker,
.queue-index {
  color: #83def0;
}

.demo-label {
  align-self: flex-start;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #b9c6d5;
}

.queue-list {
  display: grid;
  gap: 10px;
}

.queue-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}

.queue-item div {
  min-width: 0;
}

.queue-item strong,
.queue-item small {
  display: block;
}

.queue-item strong {
  font-size: 16px;
}

.queue-item small {
  overflow: hidden;
  color: #9eabba;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-item b {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 650;
}

.queue-alert {
  border-left-color: var(--amber);
}

.queue-review {
  border-left-color: #9977ed;
}

.queue-ready {
  border-left-color: var(--green);
}

.readiness {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b9c6d5;
  font-size: 12px;
}

.readiness > span {
  grid-column: 1 / -1;
  color: #83def0;
}

.readiness div {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
}

.readiness strong {
  color: var(--surface);
}

.signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.signal-ok {
  background: var(--green);
}

.signal-warn {
  background: var(--amber);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip div {
  padding: 27px 30px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.section {
  padding-block: 118px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.compact-heading {
  margin-bottom: 58px;
}

.demo-section {
  width: min(1040px, calc(100% - 48px));
}

.demo-frame {
  overflow: hidden;
  border: 1px solid #9aabbc;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.demo-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-static {
  display: none;
}

.media-note,
.center-link {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.media-note a,
.center-link a,
.privacy-copy > a {
  color: var(--blue);
  font-weight: 800;
}

.workflow-section {
  border-top: 1px solid var(--line);
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--line);
}

.workflow-track li {
  position: relative;
  padding: 0 24px 0 0;
}

.workflow-track li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.step-number {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.workflow-track p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.capabilities-section {
  border-top: 1px solid var(--line);
}

.capability-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 70px;
  border-block: 1px solid var(--ink);
}

.capability-ledger article {
  padding: 36px 32px 38px;
}

.capability-ledger article + article {
  border-left: 1px solid var(--ink);
}

.capability-code {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-weight: 800;
}

.capability-ledger p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.product-screen img {
  width: 100%;
  aspect-ratio: 2063 / 1190;
  object-fit: contain;
}

.product-screen figcaption {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.product-screen figcaption strong {
  color: var(--ink);
}

.privacy-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(340px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(44px, 7vw, 100px);
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  color: var(--surface);
  background: var(--ink);
}

.privacy-copy {
  align-self: center;
}

.privacy-copy .eyebrow {
  color: #83def0;
}

.privacy-copy > p:not(.eyebrow),
.privacy-copy li {
  color: #b9c6d5;
}

.privacy-copy ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.privacy-copy li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 23px;
  font-size: 14px;
}

.privacy-copy li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--green);
}

.privacy-copy > a {
  color: #83def0;
}

.privacy-diagram {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  color: var(--surface);
  background: var(--blue);
}

.download-section h2 {
  max-width: 720px;
  margin-bottom: 14px;
}

.download-section p:not(.eyebrow) {
  margin-bottom: 0;
  color: #dbe7ff;
}

.download-section .eyebrow {
  color: var(--surface);
}

.download-actions {
  max-width: 470px;
  justify-content: flex-end;
}

.button-light {
  color: var(--blue);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
}

.text-link-light {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .evidence-ledger {
    width: min(620px, 100%);
  }

  .proof-strip,
  .capability-ledger {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div,
  .capability-ledger article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-track::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 21px;
    width: 2px;
    height: auto;
  }

  .workflow-track li,
  .workflow-track li + li {
    min-height: 138px;
    padding: 0 0 34px 76px;
    border-left: 0;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .privacy-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .privacy-copy {
    max-width: 760px;
  }

  .download-actions {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .nav-wrap,
  .hero,
  .proof-strip,
  .section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .primary-nav {
    display: none;
  }

  .nav-download {
    margin-left: auto;
    padding-inline: 10px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding-block: 56px 48px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .trust-line {
    display: grid;
  }

  .evidence-ledger {
    padding: 22px 18px;
  }

  .ledger-head {
    align-items: flex-start;
  }

  .demo-label {
    max-width: 86px;
    text-align: center;
  }

  .proof-strip div {
    padding-inline: 16px;
  }

  .section {
    padding-block: 82px;
  }

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

  .capability-ledger article {
    padding-inline: 0;
  }

  .product-screen figcaption {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .privacy-section,
  .download-section {
    padding-block: 78px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }
}

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

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

  .demo-motion {
    display: none;
  }

  .demo-static {
    display: block;
  }
}
