/* Built locally: no remote fonts or third-party assets. */
:root {
  color-scheme: light dark;
  --paper: #f6f3e9;
  --paper-strong: #fffdf8;
  --ink: #173129;
  --muted: #5d6c66;
  --line: rgba(23, 49, 41, 0.14);
  --brand: #155f49;
  --brand-strong: #0f4938;
  --brand-soft: #d9f4e8;
  --blue-soft: #e0ebff;
  --warm: #9b6500;
  --shadow: 0 24px 70px rgba(25, 54, 44, 0.12);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 12% 4%, rgba(110, 231, 183, 0.2), transparent 25rem),
    radial-gradient(circle at 92% 15%, rgba(133, 172, 255, 0.16), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--brand-strong);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  transform: translateY(-180%);
}

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

.shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 1rem 0;
}

.nav {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links .nav-download {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  min-height: 44rem;
  padding: clamp(4rem, 9vw, 8rem) 0 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #2ec78e;
  content: "";
  box-shadow: 0 0 0 0.35rem rgba(46, 199, 142, 0.13);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 820;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.76rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(21, 95, 73, 0.2);
  color: #fff;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: none;
  color: var(--ink);
}

.button.disabled {
  border-color: var(--line);
  background: #dde3df;
  box-shadow: none;
  color: #68736f;
  cursor: not-allowed;
}

.hero-note,
.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-note {
  margin: 1rem 0 0;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% 0 -6% 15%;
  border-radius: 45%;
  background: rgba(82, 190, 149, 0.14);
  content: "";
  filter: blur(42px);
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(23, 49, 41, 0.08);
  border-radius: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow);
}

.kbd-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

kbd {
  min-width: 2.5rem;
  padding: 0.34rem 0.56rem;
  border: 1px solid rgba(23, 49, 41, 0.2);
  border-bottom-width: 3px;
  border-radius: 0.56rem;
  background: var(--paper-strong);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.section {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.step-grid,
.feature-grid,
.trust-grid {
  display: grid;
  gap: 1rem;
}

.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.feature,
.trust-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.66);
}

.step {
  min-height: 17rem;
  padding: 1.5rem;
}

.step-number {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 2.4rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
}

.step p,
.feature p,
.trust-item p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: 1.35fr 0.85fr 0.8fr;
}

.feature {
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  overflow: hidden;
}

.feature:first-child {
  background: var(--brand);
  color: #fff;
}

.feature:first-child p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-art {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 3.4rem;
}

.feature-art .language {
  padding: 0.55rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 750;
}

.feature-art .arrow {
  color: #6ee7b7;
  font-size: 1.5rem;
}

.compatibility-list {
  display: grid;
  gap: 0.55rem;
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
}

.compatibility-list li::before {
  margin-right: 0.5rem;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.trust-band {
  border-block: 1px solid var(--line);
  background: rgba(225, 240, 233, 0.48);
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  min-height: 13.5rem;
  padding: 1.5rem;
  background: rgba(255, 253, 248, 0.43);
}

.icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 0.85rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 1.25rem;
  font-weight: 800;
}

.access-card,
.download-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.access-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.access-card h2 {
  max-width: 12ch;
}

.access-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: access;
}

.access-steps li {
  position: relative;
  padding: 0.85rem 0 0.85rem 3.2rem;
  color: var(--muted);
  counter-increment: access;
}

.access-steps li::before {
  position: absolute;
  top: 0.7rem;
  left: 0;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  content: counter(access);
  font-weight: 800;
}

.page-hero {
  max-width: 51rem;
  padding: clamp(4rem, 9vw, 7rem) 0 3.5rem;
}

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

.prose,
.download-wrap,
.support-wrap {
  max-width: 51rem;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.prose h2 {
  margin-top: 3.4rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.prose h3 {
  margin-top: 2.2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

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

.prose code {
  padding: 0.15rem 0.35rem;
  border-radius: 0.3rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.9em;
}

.download-card {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.release-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.status-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #f8e9c9;
  color: #74510d;
  font-size: 0.82rem;
  font-weight: 750;
}

.status-pill.ready {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.status-pill::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.release-meta div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(23, 95, 73, 0.055);
}

.release-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.release-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.checksum {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.notice {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--warm);
  border-radius: 0.4rem 1rem 1rem 0.4rem;
  background: rgba(244, 197, 104, 0.16);
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.support-card {
  padding: 1.5rem;
  box-shadow: none;
}

.support-card p {
  color: var(--muted);
}

.faq {
  margin-top: 3rem;
}

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

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

.faq summary {
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  font-weight: 750;
}

.faq details p {
  max-width: 44rem;
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

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

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 4rem;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .step-grid,
  .feature-grid,
  .trust-grid,
  .access-card,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .step,
  .feature,
  .trust-item {
    min-height: 0;
  }

  .release-top,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: transform 160ms ease, background-color 160ms ease;
  }

  .hero-copy > *,
  .hero-visual {
    animation: enter 520ms both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 170ms; }
  .hero-copy > :nth-child(5) { animation-delay: 220ms; }
  .hero-visual { animation-delay: 140ms; }

  @keyframes enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@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;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101713;
    --paper-strong: #17201b;
    --ink: #eff6f1;
    --muted: #aab8b1;
    --line: rgba(229, 242, 235, 0.15);
    --brand: #6ee7b7;
    --brand-strong: #a5f3d3;
    --brand-soft: #1d4537;
    --blue-soft: #1c2d47;
    --warm: #f4c568;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }

  body {
    background:
      radial-gradient(circle at 12% 4%, rgba(42, 154, 112, 0.13), transparent 25rem),
      radial-gradient(circle at 92% 15%, rgba(81, 118, 183, 0.13), transparent 28rem),
      var(--paper);
  }

  .nav-links .nav-download,
  .button.secondary {
    background: rgba(23, 32, 27, 0.75);
  }

  .button {
    background: #43b68d;
    color: #071f17;
  }

  .button:hover {
    background: #69d8b0;
    color: #071f17;
  }

  .button.disabled {
    background: #28342e;
    color: #93a29a;
  }

  .step,
  .feature,
  .trust-item {
    background: rgba(23, 32, 27, 0.68);
  }

  .feature:first-child {
    background: #173d32;
  }

  .status-pill {
    background: #4e3c1a;
    color: #f4cc7e;
  }

  .notice {
    background: rgba(244, 197, 104, 0.09);
  }
}
