:root {
  --ink: #162018;
  --muted: #5b675e;
  --line: #d9dfd7;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --accent: #1f7a4f;
  --accent-dark: #145236;
  --warn: #a33c28;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}
a { color: var(--accent-dark); text-decoration: none; }
.text-link { display: inline-block; margin: 12px 0 0 14px; font-weight: 700; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 244, 0.92);
  position: sticky;
  top: 0;
}
.brand { font-weight: 800; color: var(--ink); }
nav { display: flex; gap: 18px; }
main { padding: clamp(24px, 5vw, 64px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  min-height: 62vh;
}
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }
h1 { font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; margin: 0 0 20px; letter-spacing: 0; }
h2 { margin-top: 36px; }
.lede { color: var(--muted); font-size: 1.18rem; line-height: 1.6; max-width: 760px; }
.trust-line { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: -10px 0 20px; }
.inline-form, .stack { display: flex; gap: 10px; margin: 24px 0; }
.stack { flex-direction: column; max-width: 520px; }
input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  width: 100%;
}
button, .primary-link {
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  padding: 13px 16px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  display: inline-block;
}
button:hover, .primary-link:hover { background: var(--accent-dark); color: white; }
.secondary { background: #31443a; margin-left: 8px; }
.snapshot, .panel, .grid article, .cta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.snapshot { padding: 22px; display: grid; gap: 10px; }
.snapshot span { font-size: 2rem; font-weight: 800; color: var(--accent); }
.session-bars { height: 72px; display: flex; align-items: end; gap: 8px; padding-top: 8px; }
.session-bars i { display: block; flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; }
.session-bars i:nth-child(1) { height: 46%; }
.session-bars i:nth-child(2) { height: 28%; background: var(--warn); }
.session-bars i:nth-child(3) { height: 82%; }
.session-bars i:nth-child(4) { height: 20%; background: var(--warn); }
.band { border-top: 1px solid var(--line); padding-top: 32px; }
.workflow, .pricing-line { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.workflow { margin-top: 24px; }
.workflow.compact { margin-top: 0; }
.workflow span, .pricing-line span { color: var(--muted); }
.pricing-line a { font-weight: 750; }
.sample-links { display: flex; gap: 18px; font-weight: 750; }
.faq { max-width: 900px; margin-top: 42px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { color: var(--muted); line-height: 1.6; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid article { padding: 20px; }
.panel { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 42px); }
.wide { max-width: 1180px; }
label { display: grid; gap: 7px; font-weight: 700; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.metrics div { background: #eef5ef; border: 1px solid #d3dfd4; border-radius: 8px; padding: 18px; }
.metrics strong { display: block; font-size: 1.6rem; }
.metrics span { color: var(--muted); }
.metrics .metric-alert { background: #fff3ee; border-color: #d9a293; }
.risk-review { border: 1px solid #d9a293; background: #fff8f5; padding: 18px 20px; border-radius: 8px; }
.risk-review h2 { margin: 0 0 12px; }
.risk-review ul { display: grid; gap: 10px; margin: 0; padding-left: 22px; line-height: 1.55; }
.risk-review p { margin: 0; color: var(--muted); line-height: 1.55; }
.findings { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 8px; }
.findings ul { display: grid; gap: 10px; padding-left: 22px; line-height: 1.55; }
.findings dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.findings dl div { background: var(--panel); padding: 14px; }
.findings dt { color: var(--muted); font-size: 0.86rem; }
.findings dd { margin: 5px 0 0; font-weight: 750; }
.disclaimer { color: var(--muted); font-size: 0.84rem; }
.article { max-width: 760px; margin: 0 auto; }
.article p { line-height: 1.75; font-size: 1.1rem; }
.article h2 { margin-top: 34px; }
.guide-index h1 { max-width: 850px; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 28px; }
.guide-list a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.guide-list a:nth-child(odd) { margin-right: 20px; }
.legal h1 { font-size: 2.5rem; }
.cta { padding: 20px; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.flag-list { display: grid; gap: 10px; }
.flag-list form { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 8px; }
.utility-form { display: flex; gap: 12px; align-items: center; margin: 12px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.section-heading h1 { margin-bottom: 0; }
.table-scroll { overflow-x: auto; }
.status-strip { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; margin: 20px 0; border: 1px solid; border-radius: 6px; }
.status-ok { background: #edf7ef; border-color: #9bc7a5; }
.status-warn { background: #fff3ee; border-color: #d9a293; }
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.92rem; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 4vw, 56px); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
footer nav { flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero, .grid, .metrics, .findings dl, .guide-list { grid-template-columns: 1fr; }
  .guide-list a:nth-child(odd) { margin-right: 0; }
  .inline-form, .cta, .workflow, .pricing-line { flex-direction: column; align-items: stretch; }
  .text-link { margin-left: 0; }
  nav { gap: 10px; font-size: 0.9rem; }
  footer { flex-direction: column; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .status-strip { flex-direction: column; gap: 6px; }
}
