:root {
  color-scheme: light dark;
  --bg: #f4f6f1;
  --surface: #e9ede4;
  --surface-strong: #dde4d7;
  --ink: #161812;
  --muted: #5d6257;
  --line: #cbd2c4;
  --accent: #9cff00;
  --accent-ink: #172100;
  --danger: #a33a31;
  --shadow: 0 18px 52px rgba(35, 45, 24, 0.12);
  --radius: 8px;
  --content: 1180px;
  --nav-height: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12140f;
    --surface: #1b1f17;
    --surface-strong: #262c20;
    --ink: #f1f4ed;
    --muted: #aeb7a6;
    --line: #363d30;
    --accent: #9cff00;
    --accent-ink: #172100;
    --danger: #ff8a7d;
    --shadow: 0 20px 60px rgba(4, 6, 2, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 28px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(122, 137, 109, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 137, 109, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
}

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

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

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

button,
.button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 12px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(69, 102, 15, 0.16);
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.nav-links a:active,
.button:active,
.menu-button:active {
  transform: translateY(1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button span {
  position: absolute;
}

.menu-button::before {
  transform: translateY(-6px);
}

.menu-button::after {
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100dvh - var(--nav-height) - 88px);
  padding: 56px 0 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--accent);
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: 76px;
  font-weight: 850;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--ink);
  background: var(--surface-strong);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  border-color: var(--ink);
  background: var(--accent);
}

.hero-art {
  position: relative;
  display: grid;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 58%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  content: "";
}

.hero-art::before {
  width: 76%;
  height: 76%;
  transform: rotate(9deg);
}

.hero-art::after {
  width: 58%;
  height: 58%;
  transform: rotate(-8deg);
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: 58%;
  height: 58%;
  border-radius: 22%;
  box-shadow: 0 22px 48px rgba(40, 65, 10, 0.24);
}

.hero-art-label {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  max-width: 180px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 104px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 1px solid var(--line);
}

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

.proof-item strong {
  margin-bottom: 2px;
  font-size: 16px;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 112px 0;
}

.section-compact {
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.privacy-callout h2,
.support-hero h1,
.legal-hero h1 {
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: 820;
}

.section-heading p,
.privacy-callout p,
.support-hero p,
.legal-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.feature {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature:nth-child(1) {
  grid-column: span 7;
  background: var(--accent);
  color: var(--accent-ink);
}

.feature:nth-child(1) p {
  color: color-mix(in srgb, var(--accent-ink) 76%, transparent);
}

.feature:nth-child(2) {
  grid-column: span 5;
}

.feature:nth-child(3),
.feature:nth-child(4) {
  grid-column: span 4;
}

.feature:nth-child(5) {
  grid-column: span 4;
  background: var(--ink);
  color: var(--bg);
}

.feature:nth-child(5) p {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.feature-code {
  display: inline-block;
  margin-bottom: 52px;
  font-family: "SFMono-Regular", "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.feature p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.voice-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.voice-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.voice-input,
.voice-output {
  padding: 28px;
}

.voice-input {
  border-bottom: 1px solid var(--line);
}

.voice-input small,
.voice-output small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "SFMono-Regular", "Roboto Mono", monospace;
  font-size: 12px;
}

.voice-input p {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 720;
}

.voice-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.voice-result-grid span {
  display: block;
}

.voice-result-grid span:first-child {
  color: var(--muted);
  font-size: 12px;
}

.voice-result-grid span:last-child {
  margin-top: 2px;
  font-weight: 700;
}

.privacy-band {
  background: var(--accent);
  color: var(--accent-ink);
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.privacy-callout p {
  color: color-mix(in srgb, var(--accent-ink) 75%, transparent);
}

.privacy-callout .button {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  padding: 52px 0 28px;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 48px;
}

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

.footer-links h2 {
  margin-bottom: 12px;
  font-size: 13px;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  padding: 20px 0 28px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.legal-hero,
.support-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .meta,
.support-hero .meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.legal-summary {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.legal-summary div {
  padding: 20px;
  background: var(--surface);
}

.legal-summary strong,
.legal-summary span {
  display: block;
}

.legal-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  padding: 68px 0 112px;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: 64px;
}

.toc {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  height: fit-content;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.legal-content section {
  margin-bottom: 54px;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.legal-content h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

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

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

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}

.support-actions {
  margin-top: 28px;
}

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

.support-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-card:first-child {
  background: var(--accent);
  color: var(--accent-ink);
}

.support-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

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

.support-card:first-child p {
  color: color-mix(in srgb, var(--accent-ink) 75%, transparent);
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  font-size: 18px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: var(--muted);
  content: "+";
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
}

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

.faq-answer {
  max-width: 780px;
  padding: 0 52px 24px 0;
  color: var(--muted);
}

.faq-answer p:last-child,
.faq-answer ol:last-child,
.faq-answer ul:last-child {
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  padding: 36px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-panel h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.contact-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-art img {
    animation: hero-settle 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding: 48px 0 64px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-art {
    width: min(100%, 560px);
    margin: 0;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .proof-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .voice-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
  }

  .toc strong {
    grid-column: 1 / -1;
  }

  .privacy-callout,
  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  .nav-shell,
  .shell {
    width: min(calc(100% - 32px), var(--content));
  }

  .menu-button {
    position: relative;
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-art-label {
    right: 14px;
    bottom: 12px;
    max-width: 150px;
  }

  .section {
    padding: 76px 0;
  }

  .section-compact {
    padding: 56px 0;
  }

  .section-heading h2,
  .privacy-callout h2,
  .support-hero h1,
  .legal-hero h1 {
    font-size: 36px;
  }

  .feature-grid,
  .support-grid,
  .legal-summary {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(n) {
    min-height: 220px;
    grid-column: 1;
  }

  .voice-layout {
    grid-template-columns: 1fr;
  }

  .voice-result-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .legal-hero,
  .support-hero {
    padding: 56px 0 48px;
  }

  .legal-layout {
    padding: 48px 0 76px;
  }

  .contact-panel {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:last-child {
    border-right: 1px solid var(--line);
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
  }

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

  .button {
    width: 100%;
  }

  .toc,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
