@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f3f0e8;
  --bg-deep: #e8e3d6;
  --ink: #14211f;
  --ink-soft: #3a4744;
  --mute: #5b6865;
  --line: #d5d0c4;
  --line-strong: #8d8981;
  --card: #fffcf6;
  --accent: #165e58;
  --accent-2: #0e4a45;
  --accent-soft: #d7e6e3;
  --good: #297149;
  --warn: #865d17;
  --bad: #a33a3a;
  --max: 1120px;
  --narrow: 720px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 31, 0.04), 0 12px 32px rgba(20, 33, 31, 0.06);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-200%);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 100;
}
.skip:focus, .skip:focus-visible { transform: translateY(12px); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(var(--narrow), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img { height: 28px; width: auto; }
.nav-toggle {
  display: none;
}
.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font: 600 0.9rem/1 var(--sans);
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 28px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72em 1.2em;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.btn-light {
  background: #fff;
  color: var(--accent-2);
}
.btn-light:hover { background: var(--accent-soft); color: var(--accent-2); }
.nav-links .btn { padding: 0.55em 1em; font-size: 0.98rem; }

@media (max-width: 780px) {
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  max-width: 16ch;
  font-weight: 500;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.015em; }
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 44rem;
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--mute);
}

/* Panels */
section { padding: 84px 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}
.section-head p { color: var(--ink-soft); margin: 12px 0 0; }
.band { background: var(--bg-deep); }
.band-accent {
  background: var(--accent);
  color: #e7f0ee;
}
.band-accent h2, .band-accent h3 { color: #fff; }
.band-accent p, .band-accent li { color: #d5e4e1; }
.band-accent a { color: #fff; }

.grid-3, .grid-2, .steps, .pricing-grid {
  display: grid;
  gap: 18px;
}
.grid-3, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); }
.card .price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 10px 0 4px;
}
.card .price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0;
}
.card ul, .prose ul { margin: 12px 0 0; padding-left: 1.15em; color: var(--ink-soft); }
.card li, .prose li { margin: 0.35em 0; }
.card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

/* Example teaser */
.example-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.score-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px 24px;
  box-shadow: var(--shadow);
}
.score-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.score-card .n {
  font-family: var(--serif);
  font-size: 4.4rem;
  font-weight: 550;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--warn);
}
.score-card .of { color: var(--mute); font-size: 0.95rem; }
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f8ebcf;
  color: var(--warn);
  margin-top: 8px;
}
.kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.kpis div {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 12px 14px;
}
.kpis strong { display: block; font-size: 1.15rem; }
.kpis span { font-size: 0.8rem; color: var(--mute); }
.bar { height: 6px; background: #e6e2d8; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* Answer mock */
.ask-panel {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ask {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.ask .q {
  font-weight: 650;
  margin: 0 0 10px;
}
.ask .a { margin: 0; color: var(--ink-soft); }
.ask.win { box-shadow: inset 3px 0 0 var(--good); }
.ask.lose { box-shadow: inset 3px 0 0 var(--bad); }
.ask .flag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ask.win .flag { color: var(--good); }
.ask.lose .flag { color: var(--bad); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* Forms */
form.stack { display: grid; gap: 16px; max-width: 36rem; }
label .lbl {
  display: block;
  font-weight: 650;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  font: 400 1.05rem/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7em 0.85em;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235c6966' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  background: #f8eaea;
  border: 1px solid #e3c0c0;
  color: #6d2424;
  border-radius: 10px;
  padding: 12px 14px;
}
.hint { font-size: 0.9rem; color: var(--mute); margin: 4px 0 0; }

/* Prose pages */
.prose { padding: 64px 0 96px; }
.prose h1 { max-width: 20ch; margin-bottom: 12px; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.7rem; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin: 0.8em 0; }
.prose .meta { color: var(--mute); font-size: 0.95rem; margin-bottom: 1.5em; }

/* Tables in example audit */
.report table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
  margin: 12px 0 28px;
}
.report th, .report td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.report th {
  background: var(--bg-deep);
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.report tr:last-child td { border-bottom: 0; }
.report .ok { color: var(--good); font-weight: 650; }
.report .warn { color: var(--warn); font-weight: 650; }
.report .bad { color: var(--bad); font-weight: 650; }
.report .hm td.c { text-align: center; width: 72px; }
.report .hm .y { background: #d7ebe5; color: var(--accent); font-weight: 700; }
.report .hm .n { color: #c3c7cc; }
.report blockquote {
  margin: 0 0 10px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.report .q { font-weight: 650; margin: 18px 0 6px; }
.report .note { font-size: 0.92rem; color: var(--mute); }
.fix-list { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 20px; margin-bottom: 28px; }
.fix {
  display: grid;
  grid-template-columns: 110px 1fr 70px 50px;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.fix:last-child { border: 0; }
.fix .tag { margin: 0; }

/* CTA band */
.cta-band { padding: 72px 0; text-align: center; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { max-width: 36rem; margin: 14px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--mute);
  font-size: 0.98rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.site-footer .logo img { height: 22px; opacity: 0.85; }

@media (max-width: 900px) {
  .grid-3, .pricing-grid, .steps, .grid-2, .example-teaser, .ask-panel, .kpis {
    grid-template-columns: 1fr;
  }
  .fix { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
}
@media (min-width: 901px) and (max-width: 1040px) {
  .kpis { grid-template-columns: 1fr 1fr 1fr; }
}
