:root {
  --ink: #102a2b;
  --muted: #5b6b6b;
  --paper: #f7f5ef;
  --card: #fffdf8;
  --line: #d9ded9;
  --green: #0c6b58;
  --green-dark: #084d41;
  --lime: #dff36d;
  --amber: #bf6b18;
  --red: #a83b31;
  --shadow: 0 18px 50px rgba(26, 57, 52, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 2%, rgba(223, 243, 109, .32), transparent 26rem),
    var(--paper);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.section-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 10;
  border: 1px solid rgba(217, 222, 217, .8);
  border-radius: 16px;
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(21, 50, 46, .06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: white; background: var(--green); font-size: 12px; letter-spacing: .04em; }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--green); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 70px; padding-block: 100px 80px; }
.eyebrow { margin: 0 0 14px; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 760px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(48px, 7.2vw, 92px); line-height: 1.04; letter-spacing: -.055em; }
h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.12; letter-spacing: -.035em; }
.lede { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--green); box-shadow: 0 10px 22px rgba(12, 107, 88, .20); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.55); }
.button.full { width: 100%; }
.trust-list { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 25px 0 0; list-style: none; color: var(--muted); font-size: 13px; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 900; }

.hero-panel { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 253, 248, .76); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.status-line { display: flex; align-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(223,243,109,.28); }
.metric { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); }
.metric strong { font-family: Georgia, serif; font-size: 50px; line-height: 1; }
.metric span { max-width: 150px; color: var(--muted); font-size: 13px; text-align: right; }
.hero-panel p { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-block: 90px 110px; border-top: 1px solid var(--line); }
.problem-cards { display: grid; gap: 14px; }
.problem-cards article { display: grid; grid-template-columns: 42px 1fr; gap: 0 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.45); }
.problem-cards article > span { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); font-weight: 900; font-size: 12px; }
.problem-cards h3 { margin: 0 0 4px; }
.problem-cards p { margin: 0; color: var(--muted); }

.demo-section { padding-block: 100px; color: white; background: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.demo-section .eyebrow { color: var(--lime); }
.demo-workspace { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.sheet-card, .results-card { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: #f8faf8; color: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.sheet-toolbar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; background: #e6ebe7; color: var(--muted); font-size: 12px; }
.sheet-toolbar span { width: 9px; height: 9px; border-radius: 50%; background: #aeb8b1; }
.sheet-toolbar b { margin-left: 7px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
th, td { padding: 14px 12px; border-right: 1px solid #e3e8e4; border-bottom: 1px solid #e3e8e4; text-align: left; }
th { color: #49615d; background: #f0f4f1; font-weight: 800; }
td:first-child { color: var(--muted); background: #f0f4f1; }
.blank { color: var(--red); font-weight: 900; background: #fff1ef; }
.results-card { padding: 24px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.results-head h3 { margin: 0; font-size: 22px; }
.pill { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.pill.neutral { color: var(--muted); background: #e8ede9; }
.pill.alert { color: #7b2b24; background: #ffe0db; }
.empty-state { display: grid; place-items: center; min-height: 250px; color: var(--muted); text-align: center; }
.results-list { margin: 18px 0 0; padding: 0; list-style: none; }
.results-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.result-meta { display: flex; gap: 8px; margin-bottom: 5px; }
.severity { color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.field { color: var(--green); font: 700 11px ui-monospace, monospace; }
.results-list p { margin: 0; color: var(--muted); font-size: 13px; }
.demo-note { margin: 18px 0 0; color: #afc2bd; font-size: 12px; }

.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; padding-block: 120px; }
.pricing-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 18px; }
.pricing-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; padding: 0; margin: 30px 0 0; list-style: none; }
.pricing-copy li::before { content: "↳"; margin-right: 8px; color: var(--green); font-weight: 900; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.price-label { color: var(--muted); font-size: 13px; }
.price { margin: 18px 0 24px; font-family: Georgia, serif; font-size: 84px; line-height: 1; }
.price small { vertical-align: top; font-size: 30px; }
.text-button { display: block; margin: 16px auto 0; padding: 6px; border: 0; color: var(--muted); background: transparent; cursor: pointer; text-decoration: underline; }
.intent-status { min-height: 42px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.intent-dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 24px; color: var(--ink); background: var(--card); box-shadow: 0 28px 100px rgba(0,0,0,.28); }
.intent-dialog::backdrop { background: rgba(7, 34, 32, .72); backdrop-filter: blur(5px); }
.intent-dialog form { padding: 30px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.dialog-head h2 { font-size: clamp(28px, 5vw, 42px); }
.close-button { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
.intent-dialog label:not(.consent):not(.honeypot) { display: grid; gap: 7px; margin-top: 18px; font-size: 13px; font-weight: 800; }
.intent-dialog input, .intent-dialog select, .intent-dialog textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; }
.intent-dialog textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 20px 0; color: var(--muted); font-size: 12px; }
.consent input { width: 17px; height: 17px; margin-top: 2px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.faq { padding-block: 100px 130px; border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 36px; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { max-width: 820px; color: var(--muted); }

footer { border-top: 1px solid var(--line); background: #eef0eb; }
.footer-inner { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-inner div { display: flex; gap: 18px; }

.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 140px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); }
.legal h2 { margin-top: 42px; font-family: inherit; font-size: 22px; letter-spacing: 0; }
.legal p, .legal li { color: var(--muted); }
.legal-callout { margin: 28px 0; padding: 18px; border-left: 4px solid var(--amber); background: #fff5e8; }

.resource-section { padding-block: 20px 100px; }
.resource-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--lime); }
.resource-card h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 48px); }
.resource-card p { max-width: 760px; margin: 0; color: #27302a; }
.resource-card .button { flex: 0 0 auto; background: white; }
.guide-intro { font-size: 20px; line-height: 1.7; }
.guide-checklist { padding-left: 0; list-style: none; counter-reset: guide-step; }
.guide-checklist > li { position: relative; margin: 18px 0; padding: 20px 20px 20px 68px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.guide-checklist > li::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 900; }
.guide-checklist strong { display: block; margin-bottom: 6px; color: var(--ink); }
.guide-sources a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 850px) {
  nav { display: none; }
  .hero, .problem-grid, .demo-workspace, .pricing { grid-template-columns: 1fr; }
  .resource-card { align-items: flex-start; flex-direction: column; }
  .hero { min-height: 0; gap: 45px; padding-top: 82px; }
  .hero-panel { transform: none; }
  .problem-grid, .pricing { gap: 45px; }
  .section-heading { align-items: start; flex-direction: column; }
  .pricing-copy ul { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section-shell { width: min(100% - 28px, 1120px); }
  h1 { font-size: 50px; }
  .hero { padding-block: 70px; }
  .trust-list { display: grid; gap: 6px; }
  .problem-grid, .demo-section, .pricing, .faq { padding-block: 72px; }
  .footer-inner { flex-direction: column; }
  .intent-dialog form { padding: 22px; }
}
