:root {
  --bg: #eef1ef;
  --paper: #fbfcfb;
  --paper-strong: #f4f6f4;
  --panel: rgba(252, 253, 252, 0.965);
  --ink: #1a241b;
  --muted: #5a6458;
  --brand: #1d5c46;
  --brand-dark: #143f31;
  --accent: #b98a43;
  --line: rgba(26, 36, 27, 0.12);
  --shadow: 0 16px 42px rgba(18, 28, 21, 0.085);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 92, 70, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(111, 132, 119, 0.08), transparent 22%),
    linear-gradient(180deg, #f5f7f5 0%, var(--bg) 100%);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.brief-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(250, 251, 250, 0.84);
  box-shadow: var(--shadow);
  position: sticky;
  top: 14px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.brandblock,
.topbar-links,
.section-nav {
  min-width: 0;
}

.brandline,
.brandsub,
.topbar-links {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.brandsub {
  font-size: 0.82rem;
  margin-top: 2px;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.section-nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.hero-card,
.truth-card,
.content-section,
.card,
.compare-card,
.flow-card,
.cta-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 22px;
  padding: 42px 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(111, 132, 119, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(29, 92, 70, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(252, 253, 252, 0.98) 0%, rgba(247, 249, 247, 0.94) 100%);
}

.hero-copy,
.hero-side {
  min-width: 0;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.mini-panel,
.contact-strip {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
}

.eyebrow,
.mini-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.mini-label {
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1,
h2 {
  font-family: "Fraunces", serif;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.06;
  max-width: 16ch;
}

h3 {
  font-size: 1.1rem;
}

p,
li {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.lede {
  max-width: 64ch;
  margin-top: 18px;
}

.lede.soft {
  max-width: 60ch;
}

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

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-button-primary {
  background: var(--brand);
  color: #fff8ef;
}

.hero-button-primary:hover {
  background: var(--brand-dark);
}

.hero-button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.truth-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.truth-card,
.card,
.compare-card,
.flow-card,
.cta-card {
  border-radius: 24px;
}

.truth-card {
  padding: 22px;
}

.truth-card h2 {
  font-family: "Public Sans", sans-serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
  max-width: none;
}

.brief-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.content-section {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(252, 253, 252, 0.985) 0%, rgba(246, 248, 246, 0.935) 100%);
}

.section-head {
  margin-bottom: 18px;
}

.section-head.compact h2 {
  font-size: 1.45rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-card {
  padding: 22px;
}

.flow-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e8dfcf;
  color: var(--brand-dark);
  font-weight: 700;
}

.flow-card h3 {
  margin-bottom: 8px;
}

.example-layout,
.compare-grid,
.two-col-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.compare-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.quote {
  margin-top: 8px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: rgba(185, 138, 67, 0.08);
  color: var(--ink);
  font-size: 1.05rem;
}

.clean-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.clean-list li + li {
  margin-top: 8px;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.inline-cta a {
  font-weight: 600;
}

.safeguard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-good {
  background:
    linear-gradient(180deg, rgba(252, 253, 252, 0.98) 0%, rgba(246, 250, 247, 0.95) 100%);
}

.compare-limit {
  background:
    linear-gradient(180deg, rgba(252, 253, 252, 0.98) 0%, rgba(248, 249, 247, 0.95) 100%);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cta-card {
  display: block;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(252, 253, 252, 0.98) 0%, rgba(246, 248, 246, 0.96) 100%);
  transition: transform 160ms ease, border-color 160ms ease;
}

.cta-card:hover {
  transform: translateY(-1px);
  text-decoration: none;
  border-color: rgba(29, 92, 70, 0.28);
}

.cta-card h3 {
  margin-bottom: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 10px 6px;
}

.footer-brand p,
.footer-links {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero-card,
  .truth-strip,
  .flow-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .example-layout,
  .compare-grid,
  .two-col-section,
  .safeguard-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .brief-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .topbar {
    align-items: flex-start;
    position: static;
    padding: 14px;
  }

  .hero-card,
  .content-section {
    padding: 24px;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .section-nav,
  .topbar-links,
  .inline-cta,
  .footer-links {
    width: 100%;
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --paper: #ffffff;
    --panel: #ffffff;
    --paper-strong: #ffffff;
  }

  body {
    background: #ffffff;
  }

  .brief-shell {
    width: 100%;
    padding: 0;
  }

  .hero-card,
  .truth-card,
  .content-section,
  .card,
  .compare-card,
  .flow-card,
  .cta-card,
  .mini-panel,
  .contact-strip {
    box-shadow: none;
    break-inside: avoid;
  }

  .topbar {
    margin-bottom: 12px;
    position: static;
  }

  .cta-card {
    color: inherit;
  }

  .hero-button,
  .section-nav a {
    color: inherit;
  }
}
