:root {
  --bg: #f5f9f4;
  --surface: #ffffff;
  --surface-soft: #fbfdfb;
  --text: #26332c;
  --muted: #5d6f65;
  --faint: #94a299;
  --accent: #7bae96;
  --accent-strong: #5f9c83;
  --accent-soft: #e8f1eb;
  --border: #dfe8df;
  --danger: #c26a63;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(38, 51, 44, 0.07);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 249, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--accent-strong);
  text-decoration: none;
}

.nav .nav-download {
  color: var(--accent-strong);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.nowrap {
  white-space: nowrap;
}

.hero .lead {
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 13px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #6c9f87;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--muted);
}

.btn-secondary:hover {
  border-color: #cfe0d4;
  background: #f7fbf7;
}

.btn[aria-disabled="true"] {
  background: #c9dcd2;
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-frame {
  width: min(380px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 38%, #e8f1eb, #f5f9f4 70%);
}

.hero-frame img {
  width: 72%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

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

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Voice companionship */
.voice-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
  border: 1px solid #efe6d2;
  border-radius: 24px;
  background: #fbf7ec;
}

.voice-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.28;
}

.voice-lead {
  margin: 0;
  color: var(--muted);
}

.voice-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.voice-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14.5px;
}

.voice-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.voice-visual {
  display: grid;
  gap: 12px;
}

.voice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(38, 51, 44, 0.05);
}

.voice-badge {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.voice-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.voice-info strong {
  font-size: 15px;
}

.voice-info span {
  color: var(--faint);
  font-size: 12px;
}

.wave {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  width: 84px;
  flex: none;
}

.wave span {
  flex: 1;
  height: 30%;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: center;
  animation: wave 1.4s ease-in-out infinite alternate;
}

.wave span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.wave span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.wave span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.wave span:nth-child(5) { height: 75%; animation-delay: 0.15s; }
.wave span:nth-child(6) { height: 100%; animation-delay: 0.25s; }
.wave span:nth-child(7) { height: 55%; animation-delay: 0.05s; }
.wave span:nth-child(8) { height: 80%; animation-delay: 0.35s; }
.wave span:nth-child(9) { height: 40%; animation-delay: 0.2s; }
.wave span:nth-child(10) { height: 70%; animation-delay: 0.1s; }
.wave span:nth-child(11) { height: 50%; animation-delay: 0.3s; }
.wave span:nth-child(12) { height: 85%; animation-delay: 0.15s; }

.wave-alt {
  transform: scaleX(-1);
}

.record-chip {
  justify-self: start;
  padding: 8px 14px;
  border: 1px solid #e6dcc6;
  border-radius: 999px;
  background: #fff;
  color: #8a7a5a;
  font-size: 13px;
}

@keyframes wave {
  from {
    transform: scaleY(0.55);
    opacity: 0.7;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave span {
    animation: none;
  }
}

/* Pricing teaser */
.price-band {
  background: #eef5f0;
  border: 1px solid #d8e8dd;
  border-radius: 20px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.price-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.price-band p {
  margin: 0;
  color: var(--muted);
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.pill.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-strong);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Content pages */
.page {
  padding: 56px 0 72px;
}

.page-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.page-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

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

.prose ul {
  padding-left: 1.2em;
}

.draft-banner {
  max-width: 760px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #f0e0b8;
  background: #fff8e8;
  color: #8a6a2f;
  font-size: 14px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.meta-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.meta-item dt {
  color: var(--faint);
  font-size: 12px;
}

.meta-item dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.notice {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 14px;
}

/* 404 */
.not-found {
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 0 80px;
  text-align: center;
}

.not-found h1 {
  margin: 14px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.not-found p {
  margin: 0;
  color: var(--muted);
}

.not-found .actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #eef4ee;
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  margin-top: 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13px;
}

/* Focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(123, 174, 150, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .voice-band,
  .price-band {
    grid-template-columns: 1fr;
  }

  .voice-band {
    padding: 28px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-art {
    order: -1;
  }

  .hero-frame {
    width: min(300px, 64vw);
  }

  .plan-tags {
    justify-content: flex-start;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 13px;
  }

  .prose {
    padding: 24px 20px;
  }

  .section {
    padding: 40px 0;
  }
}