:root {
  --bg: #f8faf9;
  --paper: #ffffff;
  --paper-soft: #f0f6f3;
  --ink: #14202f;
  --muted: #607084;
  --line: #dfe8e4;
  --mint: #0f8f72;
  --mint-soft: #e7f8f1;
  --leaf: #42c79b;
  --warm: #fff7e8;
  --orange: #f27d4c;
  --shadow: 0 22px 60px rgba(27, 57, 72, .10);
  --radius: 24px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fcfdfb 0%, var(--bg) 54%, #ffffff 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  word-break: break-all;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 253, 251, .86);
  border-bottom: 1px solid rgba(223, 232, 228, .76);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 850;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(15, 143, 114, .12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a:hover { color: var(--ink); }

.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 50px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 68px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.03;
  font-weight: 920;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #394b5d;
  font-size: clamp(17px, 1.8vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.button.primary {
  color: #fff;
  background: #14202f;
  box-shadow: 0 18px 34px rgba(20, 32, 47, .18);
}

.button.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.release-line {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-line span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #087a63;
  font-size: 13px;
  font-weight: 820;
}

.hero-checksum {
  max-width: 610px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.hero-checksum summary {
  width: fit-content;
  cursor: pointer;
  color: var(--ink);
  font-weight: 780;
}

.hero-checksum code {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(231, 248, 241, .95), rgba(255, 247, 232, .86));
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}

.phone {
  position: relative;
  z-index: 2;
  width: 310px;
  min-height: 604px;
  border: 10px solid #162436;
  border-radius: 42px;
  background: #f7fbfa;
  box-shadow: 0 28px 70px rgba(25, 45, 58, .24);
  padding: 22px;
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 88px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #162436;
}

.phone-topbar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.phone-topbar strong {
  color: var(--mint);
}

.review-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(27, 57, 72, .10);
}

.mode-pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.review-card h2 {
  margin: 18px 0 0;
  font-size: 24px;
  line-height: 1.18;
}

.review-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.waveform {
  height: 76px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.waveform span {
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leaf), var(--mint));
}

.waveform span:nth-child(1) { height: 24px; }
.waveform span:nth-child(2) { height: 46px; }
.waveform span:nth-child(3) { height: 62px; }
.waveform span:nth-child(4) { height: 36px; }
.waveform span:nth-child(5) { height: 54px; }
.waveform span:nth-child(6) { height: 30px; }

.quick-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-row div {
  min-height: 78px;
  padding: 12px;
  border-radius: 18px;
  background: var(--paper-soft);
}

.quick-row strong, .quick-row span {
  display: block;
}

.quick-row strong {
  font-size: 24px;
}

.quick-row span {
  color: var(--muted);
  font-size: 12px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 40px rgba(27, 57, 72, .13);
  backdrop-filter: blur(16px);
}

.floating-card span {
  display: block;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
}

.card-library {
  left: 4px;
  top: 120px;
}

.card-voice {
  right: 0;
  bottom: 118px;
}

.hero-icon {
  position: absolute;
  z-index: 3;
  right: 32px;
  top: 50px;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(15, 143, 114, .18);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-title h2,
.download-copy h2,
.subhero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-title p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-title.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-title.compact a,
.section-title.compact span {
  color: var(--mint);
  font-weight: 850;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(27, 57, 72, .06);
}

.shot-card h3 {
  margin: 16px 4px 4px;
  font-size: 17px;
}

.shot-card p {
  margin: 0 4px 2px;
  color: var(--muted);
  font-size: 13px;
}

.shot-phone {
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  border: 7px solid #172231;
  background: linear-gradient(180deg, #f9fcfb, #eef7f3);
  padding: 18px 13px;
  overflow: hidden;
}

.screen-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mock-line,
.mock-list span,
.mock-actions span,
.mock-toggle,
.mock-progress,
.mock-stat-grid span {
  display: block;
  border-radius: 999px;
  background: #dbeae5;
}

.mock-line {
  width: 70%;
  height: 12px;
  margin-top: 18px;
}

.mock-line.wide { width: 100%; }

.mock-review {
  margin-top: 22px;
  padding: 18px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  box-shadow: 0 10px 24px rgba(27, 57, 72, .07);
}

.mock-actions {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}

.mock-actions span {
  width: 34px;
  height: 34px;
}

.mock-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.mock-list span {
  height: 34px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(27, 57, 72, .06);
}

.mock-list.small span {
  height: 42px;
}

.mock-toggle {
  width: 70px;
  height: 36px;
  margin-top: 22px;
  background: var(--mint);
}

.mock-progress {
  height: 12px;
  margin-top: 22px;
  background: #dbeae5;
}

.mock-progress span {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}

.mock-stat-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mock-stat-grid span {
  height: 54px;
  border-radius: 15px;
  background: #fff;
}

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

.feature-strip article,
.trust-section article,
.notes-band article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(27, 57, 72, .055);
}

.icon-dot {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 15px;
  font-weight: 900;
}

.feature-strip h3,
.trust-section h3,
.notes-band h3 {
  margin: 16px 0 6px;
  font-size: 20px;
}

.feature-strip p,
.trust-section p,
.notes-band p {
  margin: 0;
  color: var(--muted);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.download-copy,
.download-card,
.release-card,
.install-panel,
.changelog {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.download-copy {
  padding: 34px;
  background: linear-gradient(145deg, #fff, var(--mint-soft));
}

.download-copy p,
.subhero p,
.release-card p,
.sha-panel p {
  color: var(--muted);
}

.download-card {
  padding: 26px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
}

.download-card img,
.release-card img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.download-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.download-card dl div {
  display: grid;
  gap: 4px;
}

.download-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.download-card dd {
  margin: 0;
  font-weight: 850;
}

.copy-button {
  grid-column: 2;
  min-height: 42px;
  width: fit-content;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.updates-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.updates-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: #34475a;
  font-weight: 680;
}

.trust-section,
.notes-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

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

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

.subhero {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 34px;
  text-align: center;
}

.subhero p {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 18px;
}

.beta-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
}

.release-card {
  padding: 28px;
  height: fit-content;
}

.release-card h2 {
  margin: 20px 0 6px;
  font-size: 25px;
}

.install-panel {
  padding: 28px;
  display: grid;
  gap: 26px;
}

.install-panel h2,
.sha-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg);
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.sha-panel {
  padding: 22px;
  border-radius: 22px;
  background: var(--warm);
  border: 1px solid #f1dfbf;
}

.sha-panel code {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.changelog {
  padding: 28px;
}

@media (max-width: 980px) {
  .nav {
    width: min(100% - 28px, 760px);
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    width: min(100% - 28px, 760px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .section,
  .site-footer {
    width: min(100% - 28px, 760px);
  }

  .screen-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .shot-card {
    flex: 0 0 230px;
    scroll-snap-align: start;
  }

  .feature-strip,
  .download-section,
  .trust-section,
  .notes-band,
  .beta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
    gap: 12px;
    font-size: 13px;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 24px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .release-line span {
    font-size: 12px;
  }

  .hero-visual {
    min-height: 530px;
    overflow: hidden;
  }

  .hero-visual::before {
    width: 340px;
    height: 430px;
    border-radius: 36px;
  }

  .phone {
    width: min(304px, 100%);
    min-height: 560px;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 288px);
    margin-top: -18px;
  }

  .card-library {
    justify-self: start;
  }

  .card-voice {
    justify-self: end;
  }

  .hero-icon {
    width: 68px;
    height: 68px;
    right: 18px;
    top: 26px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    display: block;
  }

  .section-title p {
    margin-top: 12px;
  }

  .feature-strip {
    gap: 12px;
  }

  .screen-rail {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .shot-card {
    flex: initial;
  }

  .shot-phone {
    max-width: 230px;
    margin: 0 auto;
  }

  .feature-strip article,
  .trust-section article,
  .notes-band article {
    padding: 20px;
  }

  .download-copy,
  .download-card,
  .release-card,
  .install-panel,
  .changelog {
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(27, 57, 72, .07);
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .copy-button {
    grid-column: 1;
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}
