:root {
  color-scheme: light;
  --ink: oklch(19% 0.025 263);
  --text: oklch(31% 0.035 263);
  --muted: oklch(47% 0.04 263);
  --paper: oklch(98% 0.008 263);
  --surface: oklch(94% 0.018 263);
  --line: oklch(84% 0.035 263);
  --brand: oklch(60% 0.16 263);
  --brand-strong: oklch(47% 0.2 263);
  --brand-soft: oklch(86% 0.075 263);
  --cyan: oklch(74% 0.11 205);
  --green: oklch(70% 0.14 150);
  --focus: oklch(62% 0.18 48);
  --radius: 8px;
  --shadow: 0 22px 60px rgb(31 49 91 / 12%);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, oklch(96% 0.025 263), var(--paper) 460px),
    var(--paper);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}

.site-nav a {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-strong);
}

.nav-toggle {
  display: none;
  min-width: 72px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(64px, 6vw, 18px) clamp(18px, 6vw, 88px) clamp(52px, 7vw, 18px);
  min-height: calc(90vh - 78px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(1.72rem, 3.1vw, 3.1rem);
  font-weight: 820;
}

h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
}

.lead, .page-hero p, .hero-copy p {
  max-width: 66ch;
}

.lead {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}
.hero-actions{  margin-top: 34px;}
.hero-actions, .cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: oklch(98% 0.01 263);
  background: var(--brand-strong);
  box-shadow: 0 16px 38px rgb(53 91 200 / 22%);
}

.btn.primary:hover {
  background: color-mix(in oklch, var(--brand-strong), var(--ink) 18%);
}

.btn.secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.vault-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.vault-disc {
  position: relative;
  width: min(82vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(92% 0.055 263), var(--brand-soft) 45%, var(--brand) 100%);
  box-shadow: var(--shadow);
}

.vault-disc::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 14px solid var(--ink);
  border-radius: 50%;
}

.vault-disc img {
  width: 58%;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.vault-panel {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: min(340px, 74%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(98% 0.01 263);
  box-shadow: var(--shadow);
}

.panel-line {
  display: block;
  height: 12px;
  margin: 12px 0;
  border-radius: 999px;
  background: var(--brand-soft);
}

.panel-line.long { width: 84%; background: var(--brand); }
.panel-line.short { width: 44%; background: var(--cyan); }
.panel-lock {
  display: block;
  width: 54px;
  height: 34px;
  margin-top: 18px;
  border-radius: 6px;
  background: var(--ink);
}

.scene-band, .reviews, .matrix-section, .download-board, .faq, .steps, .qr-downloads, .security-stack, .split-section, .feature-strip, .cta-band {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.section-heading {
 /* display: grid; */
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 100%;
}

.scene-grid, .review-grid, .download-grid, .security-stack, .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.scene-grid article, .review-grid figure, .download-grid article, .security-stack article, .steps article, .capability-list article, .matrix article, .qr-grid article {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(98% 0.01 263);
}

.scene-grid article {
  padding: 28px;
}

.security-stack article {
  padding: 26px 28px;
}

.security-stack strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.security-stack p {
  margin: 0;
}

.scene-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.scene-grid .scene-number, .steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 850;
}

.scene-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in oklch, var(--brand) 32%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(135deg, oklch(97% 0.018 263), oklch(90% 0.055 263));
  color: var(--brand-strong);
}

.scene-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: var(--ink);
  color: oklch(88% 0.02 263);
}

.feature-strip h2 {
  color: oklch(98% 0.01 263);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.reviews {
  background: linear-gradient(180deg, var(--paper), var(--surface));
}

.review-grid figure {
  padding: 30px;
}

blockquote {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 1.08rem;
}

figcaption {
  color: var(--muted);
  font-weight: 700;
}

.cta-band {
  justify-content: space-between;
  background: var(--brand-soft);
}

.cta-band h2 {
  max-width: 12ch;
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(62px, 9vw, 112px) clamp(18px, 6vw, 88px) clamp(52px, 7vw, 82px);
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--brand-soft) 42%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in oklch, var(--brand-soft) 34%, transparent) 1px, transparent 1px),
    linear-gradient(135deg, oklch(96% 0.035 263), oklch(90% 0.08 263));
  background-size: 44px 44px, 44px 44px, auto;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 6vw, 88px) 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-strong), var(--cyan), transparent 72%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero.compact h1 {
  max-width: 16ch;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.12rem;
}

.page-hero-art {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 390px);
  min-height: 310px;
  padding: 24px;
  border: 1px solid color-mix(in oklch, var(--brand) 32%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--paper) 92%, var(--brand-soft));
  box-shadow: var(--shadow);
}

.page-hero-art svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.art-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.art-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-strong);
  background: var(--paper);
  font-weight: 800;
}

.vault-rows {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.vault-rows span,
.security-bars span,
.progress-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.vault-rows span:nth-child(1) { width: 86%; background: var(--brand); }
.vault-rows span:nth-child(2) { width: 64%; }
.vault-rows span:nth-child(3) { width: 74%; background: var(--cyan); }

.art-tags,
.security-notes,
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.art-tags span,
.security-notes span,
.platform-grid span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.security-art {
  display: grid;
  align-content: center;
  gap: 22px;
}

.lock-mark {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border: 14px solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, oklch(95% 0.035 263), var(--brand-soft));
}

.lock-mark span {
  position: relative;
  width: 58px;
  height: 40px;
  border-radius: 6px;
  background: var(--ink);
}

.lock-mark span::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: -38px;
  height: 46px;
  border: 10px solid var(--ink);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.security-bars {
  display: grid;
  gap: 12px;
}

.security-bars span:nth-child(1) { width: 92%; background: var(--brand); }
.security-bars span:nth-child(2) { width: 76%; }
.security-bars span:nth-child(3) { width: 84%; background: var(--cyan); }

.download-art {
  display: grid;
  align-content: center;
  gap: 22px;
}

.download-arrow {
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--brand-strong);
  color: oklch(98% 0.01 263);
}

.download-arrow svg {
  width: 42px;
  height: 42px;
}

.progress-lines {
  display: grid;
  gap: 12px;
}

.progress-lines span:nth-child(1) { width: 88%; background: var(--brand); }
.progress-lines span:nth-child(2) { width: 66%; background: var(--cyan); }

.support-art {
  display: grid;
  align-content: center;
  gap: 12px;
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.guide-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 850;
}

.guide-step strong {
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.72fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.split-section.reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.58fr);
  align-items: center;
}

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-list article, .matrix article {
  padding: 24px;
}

.capability-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.capability-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in oklch, var(--brand) 30%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(135deg, oklch(97% 0.018 263), oklch(89% 0.06 263));
  color: var(--brand-strong);
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.matrix span {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-strong);
  font-weight: 850;
}

.safe-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-height: 340px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink);
}

.safe-visual span {
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
}

.safe-visual span:nth-child(2),
.safe-visual span:nth-child(3) {
  background: oklch(92% 0.04 263);
}

.download-board h2, .faq h2 {
  margin-bottom: 26px;
}

.download-grid article {
  padding: 28px;
}

.download-grid .btn {
  margin-top: 10px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.download-board.muted {
  background: var(--surface);
}

.qr-downloads {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qr-grid article {
  padding: 18px;
  text-align: center;
}

.qr-grid img {
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr-grid h3 {
  margin-top: 12px;
}

.steps article {
  padding: 28px;
}

.steps h2 {
  font-size: 1.28rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

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

.faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 6vw, 88px);
  color: oklch(82% 0.02 263);
  background: var(--ink);
}

.site-footer strong {
  color: oklch(98% 0.01 263);
}

.site-footer p {
  max-width: 64ch;
  margin: 8px 0 0;
}

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

.site-footer a {
  color: oklch(93% 0.035 263);
}

.download-modal[hidden] {
  display: none;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(17 25 45 / 68%);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 32px 90px rgb(0 0 0 / 30%);
}

.modal-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.modal-card p {
  max-width: 62ch;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.release-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: absolute;
    top: 77px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero, .page-hero, .section-heading, .feature-strip, .split-section, .split-section.reverse, .qr-downloads {
    grid-template-columns: 1fr;
  }
  .page-hero-art {
    justify-self: stretch;
    width: 100%;
    min-height: 260px;
  }
  .hero {
    min-height: auto;
  }
  .vault-visual {
    min-height: 420px;
  }
  h1 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 9.5vw, 3.6rem);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }
  .hero-actions, .cta-band {
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .qr-grid {
    grid-template-columns: 1fr;
  }
  .vault-panel {
    right: 8px;
    bottom: 18px;
  }
  .site-footer {
    flex-direction: column;
  }
}

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