:root {
  --bg: #f5f7f6;
  --bg-elev: #ffffff;
  --ink: #0f2a24;
  --ink-soft: #355049;
  --muted: #6b8079;
  --line: #d8e0dd;
  --accent: #0f4c3a;
  --accent-2: #2a7d63;
  --gold: #f5b301;
  --red: #b93838;
  --amber: #c98a1a;
  --green: #1f6f4a;
  --shadow: 0 1px 2px rgba(15, 44, 36, 0.06), 0 8px 24px rgba(15, 44, 36, 0.06);
  --radius: 14px;
  --container: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }

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

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.brand-mark { width: 32px; height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav a:hover { color: var(--accent); }

.hero {
  padding: 56px 0 24px;
}
.kicker {
  display: inline-block;
  background: #e7f3ee;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.lede { font-size: 17px; color: var(--ink-soft); max-width: 720px; margin: 0 0 16px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-points li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px #e7f3ee;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.hero-meta { color: var(--muted); font-size: 12px; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn.ghost:hover { background: #e7f3ee; }

section { padding: 40px 0; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); margin: 0; }

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.preset {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 500;
}
.preset:hover { border-color: var(--accent-2); color: var(--accent); }
.preset:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.scorecard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}
.assessment {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.q {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 14px;
  background: #fbfbfb;
}
.q legend {
  font-weight: 700;
  font-size: 15px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.q-num {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.q label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 12px 0 4px;
}
.input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.input-row .prefix {
  padding: 10px 12px;
  background: #eef3f1;
  color: var(--ink-soft);
  font-weight: 600;
  border-right: 1px solid var(--line);
}
.input-row input, .q input[type="number"] {
  border: 0;
  padding: 10px 12px;
  font-size: 15px;
  width: 100%;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.q input[type="number"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.input-row input:focus, .q input[type="number"]:focus {
  box-shadow: 0 0 0 3px rgba(42, 125, 99, 0.18);
}
.q .hint {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  border: 0;
  padding: 0;
  margin: 10px 0 0;
}
.checks label {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  margin: 0;
  cursor: pointer;
}
.checks input { accent-color: var(--accent); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.score-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
}
.overall {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.overall-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.overall-score {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
}
.overall-band {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.dims {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.dims li {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.dim-label { font-weight: 600; color: var(--ink); }
.dim-meter {
  height: 8px;
  background: #eef3f1;
  border-radius: 999px;
  overflow: hidden;
}
.dim-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent-2);
  transition: width 0.25s ease, background 0.25s ease;
}
.dim-score {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
}
.dim-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3f1;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-green { background: #e4f3ec; color: var(--green); }
.tag-amber { background: #fbf0d9; color: var(--amber); }
.tag-red { background: #f7e3e3; color: var(--red); }

.weakest h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.weakest p { margin: 0; font-size: 14px; color: var(--ink); }

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.plan-list li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}
.plan-list li.empty {
  display: block;
  color: var(--muted);
  font-size: 14px;
  background: #fbfbfb;
}
.plan-list .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.plan-list .step-body strong { display: block; margin-bottom: 2px; }
.plan-list .step-body span { color: var(--ink-soft); font-size: 14px; }
.plan-list .step-meta {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
}
.plan-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bench-grid article {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.bench-grid h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--accent);
}
.bench-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.notes-grid article {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.notes-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--accent);
}
.notes-grid ul, .notes-grid p, .notes-grid dl { margin: 0; color: var(--ink-soft); font-size: 14px; }
.notes-grid ul { padding-left: 18px; }
.notes-grid li { margin-bottom: 4px; }
.notes-grid dt { font-weight: 700; color: var(--ink); margin-top: 8px; }
.notes-grid dd { margin: 2px 0 0; }

.why {
  background: #e7f3ee;
  border: 1px solid #cfe3da;
  border-radius: 12px;
  padding: 16px 18px;
}
.why h3 { margin: 0 0 6px; color: var(--accent); font-size: 16px; }
.why p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.product-spotlight {
  background: #ffffff;
  border-top: 1px solid var(--line);
}
.spotlight-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  box-shadow: var(--shadow);
}
.spotlight-body h3 { margin: 0 0 6px; color: var(--ink); }
.spotlight-body p { color: var(--ink-soft); margin: 0 0 10px; }
.spotlight-why { padding-left: 18px; color: var(--ink-soft); margin: 0 0 14px; font-size: 14px; }
.spotlight-why li { margin-bottom: 4px; }

.site-footer {
  margin-top: 40px;
  padding: 28px 0;
  background: #0f2a24;
  color: #d8e0dd;
  font-size: 13px;
}
.site-footer a { color: #9fd1bf; }
.site-footer a:hover { color: #ffffff; }
.site-footer strong { display: block; color: #ffffff; font-size: 13px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer p { margin: 0 0 4px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .scorecard-grid { grid-template-columns: 1fr; }
  .score-panel { position: static; }
  .bench-grid, .notes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  nav { gap: 12px; }
  nav a { font-size: 13px; }
}
@media (max-width: 560px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .overall-score { font-size: 44px; }
  .hero { padding: 36px 0 16px; }
  section { padding: 28px 0; }
}

@media print {
  .site-header, .site-footer, .hero, .preset-row, .form-actions, .product-spotlight { display: none; }
  body { background: #fff; color: #000; }
  .scorecard-grid { grid-template-columns: 1fr; }
  .score-panel { position: static; box-shadow: none; border: 1px solid #ccc; }
  .q, .plan-list li { break-inside: avoid; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
