:root {
  color-scheme: light;
  --paper: #f6faf7;
  --paper-strong: #ffffff;
  --ink: #16322f;
  --ink-soft: #4f6b66;
  --line: #d9e7e1;
  --leaf: #177d70;
  --leaf-dark: #0f5c53;
  --mint: #dff3eb;
  --sun: #f5bc63;
  --coral: #d86855;
  --navy: #173047;
  --shadow: 0 24px 70px rgba(22, 50, 47, 0.11);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  font-family: "Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 300px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 9%, rgba(245, 188, 99, 0.2), transparent 26rem),
    radial-gradient(circle at 92% 4%, rgba(23, 125, 112, 0.13), transparent 30rem),
    var(--paper);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--leaf-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--leaf); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(216, 104, 85, 0.48); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { padding: 22px 0; }

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--leaf);
  box-shadow: 0 10px 25px rgba(23, 125, 112, 0.2);
}

.brand-mark::before,
.brand-mark::after { position: absolute; content: ""; }

.brand-mark::before {
  inset: 9px 12px 15px 10px;
  border: 3px solid #fff;
  border-radius: 7px 7px 9px 9px;
}

.brand-mark::after {
  width: 18px;
  height: 9px;
  right: -2px;
  bottom: 5px;
  border-radius: 8px;
  background: var(--sun);
  transform: rotate(-34deg);
}

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--leaf-dark); background: rgba(223, 243, 235, 0.82); }

.hero { padding: 72px 0 92px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 680;
}

h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 42px); }
h3 { margin-bottom: 10px; font-size: 20px; }

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.3vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  border-color: var(--leaf);
  color: white;
  background: var(--leaf);
  box-shadow: 0 14px 30px rgba(23, 125, 112, 0.19);
}

.button:hover {
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 28px rgba(22, 50, 47, 0.09);
  transform: translateY(-2px);
}

.button.primary:hover { color: white; background: var(--leaf-dark); }

.capture-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  color: #f5fffb;
  background: var(--navy);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.capture-card::before {
  position: absolute;
  z-index: -1;
  inset: -14px 22px 18px -18px;
  border: 1px solid rgba(23, 125, 112, 0.2);
  border-radius: inherit;
  background: var(--mint);
  content: "";
  transform: rotate(-4.2deg);
}

.capture-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.record-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(216, 104, 85, 0.13);
}

.evidence-frame {
  min-height: 178px;
  margin: 22px 0;
  padding: 22px;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(120deg, transparent 72%, rgba(245, 188, 99, 0.55) 72%), #f9fbf8;
}

.evidence-frame small { display: block; margin-bottom: 46px; color: var(--ink-soft); }

.evidence-frame strong {
  display: block;
  max-width: 230px;
  font-family: "Iowan Old Style", "Songti SC", serif;
  font-size: 25px;
  line-height: 1.25;
}

.progress-line { width: 100%; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.progress-line span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--sun); }
.capture-meta { display: flex; justify-content: space-between; margin-top: 10px; color: rgba(245, 255, 251, 0.72); font-size: 12px; }
.section { padding: 82px 0; }
.section.tint { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.55); }

.section-heading {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.section-heading p { margin-top: 2px; color: var(--ink-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.feature-card, .fact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.feature-card .number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf-dark);
  background: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.feature-card p, .fact-card p { margin-bottom: 0; color: var(--ink-soft); }

.privacy-strip {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 0.65fr);
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: #edf9f4;
  background: var(--navy);
}

.privacy-strip h2 { margin: 0; color: white; font-size: 31px; }
.privacy-strip .metric { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.privacy-strip strong, .privacy-strip span { display: block; }
.privacy-strip strong { color: var(--sun); font-size: 22px; }
.privacy-strip span { color: rgba(237, 249, 244, 0.68); font-size: 13px; }
.page-hero { padding: 56px 0 58px; }
.page-hero h1 { max-width: 850px; font-size: clamp(42px, 6vw, 68px); }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.page-meta span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.content-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  justify-content: space-between;
  gap: 70px;
  padding-bottom: 96px;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.toc strong { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.toc a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.policy { min-width: 0; }
.policy section { padding: 12px 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.policy section:last-child { border-bottom: 0; }
.policy h2 { font-size: 29px; }
.policy h3 { margin-top: 28px; }
.policy p, .policy li { color: var(--ink-soft); }
.policy li + li { margin-top: 8px; }

.callout {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid rgba(216, 104, 85, 0.3);
  border-left: 5px solid var(--coral);
  border-radius: var(--radius-sm);
  color: #683d35;
  background: #fff3ef;
}

.callout.safe { border-color: rgba(23, 125, 112, 0.25); border-left-color: var(--leaf); color: var(--leaf-dark); background: #edf9f4; }
.support-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 22px; padding-bottom: 96px; }

.support-panel {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.support-panel.primary { color: #edf9f4; background: var(--navy); }
.support-panel.primary h2, .support-panel.primary a:not(.button) { color: white; }
.support-panel.primary p { color: rgba(237, 249, 244, 0.72); }
.support-panel details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.support-panel details:last-child { border-bottom: 0; }
.support-panel summary { color: var(--ink); font-weight: 720; cursor: pointer; }
.support-panel details p, .support-panel details ol { margin-bottom: 0; color: var(--ink-soft); }
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.site-footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: 13px; font-weight: 680; text-decoration: none; }

@media (max-width: 820px) {
  .hero-grid, .section-heading, .content-layout, .support-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .capture-card { max-width: 520px; margin: 12px auto 0; }
  .card-grid { grid-template-columns: 1fr; }
  .privacy-strip { grid-template-columns: 1fr 1fr; }
  .privacy-strip h2 { grid-column: 1 / -1; margin-bottom: 12px; }
  .privacy-strip .metric:nth-child(2) { border-left: 0; padding-left: 0; }
  .toc { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .toc strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { padding: 16px 0; }
  .site-header .shell, .site-footer .shell { align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; justify-content: space-between; }
  .site-nav a { padding-inline: 9px; }
  .hero, .section { padding-block: 58px; }
  h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .capture-card { padding: 18px; border-radius: 23px; transform: none; }
  .capture-card::before { display: none; }
  .privacy-strip { grid-template-columns: 1fr; }
  .privacy-strip h2 { grid-column: auto; }
  .privacy-strip .metric { padding-top: 14px; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); border-left: 0; }
  .toc { grid-template-columns: 1fr; }
  .toc strong { grid-column: auto; }
  .page-hero { padding-top: 40px; }
  .support-panel { border-radius: 22px; }
}

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