:root {
  color-scheme: light;
  --ink: #142b3b;
  --paper: #faf8f4;
  --accent: #216f4b;
  --rule: #d8d4cc;
  --muted: #58636a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
header, main, footer {
  width: min(100%, 1200px);
  margin: auto;
  padding: 28px 40px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
}
header img { display: block; width: 174px; max-width: 100%; height: auto; }
header > *, nav > *, .grid > * { min-width: 0; }
a { color: var(--accent); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: var(--ink); }
nav { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
nav a { padding: 6px 0; }
header nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
header nav a:hover { color: var(--accent); text-decoration: underline; }
h1, h2, h3, .price { font-family: inherit; font-weight: 750; }
h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -.035em; max-width: 900px; margin: 18px 0 26px; }
h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.22; letter-spacing: -.025em; margin: 0 0 20px; }
h3 { font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 14px; }
p { max-width: 820px; margin: 0 0 18px; }
section { scroll-margin-top: 24px; }
main > section:not(.hero):not(.card):not(.pricing) { margin: 52px 0; }
.hero { padding: 42px 0 52px; border-bottom: 1px solid var(--rule); }
.hero > p { max-width: 760px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero .actions + p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 0; }
.breadcrumbs a { color: inherit; }
.actions { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}
.button:hover { background: #17563a; border-color: #17563a; color: white; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: #f0ece5; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0; border-top: 1px solid var(--rule); }
.card { background: transparent; border-bottom: 1px solid var(--rule); padding: 28px 0; }
.grid .card { padding: 30px 32px 30px 0; }
.grid .card:nth-child(odd) { border-right: 1px solid var(--rule); }
.grid .card:nth-child(even) { padding-left: 32px; padding-right: 0; }
.card p:last-child { margin-bottom: 0; }
.pricing { margin: 48px 0; padding: 38px; background: var(--ink); color: white; border-radius: 8px; }
.pricing p { color: #d8e0e4; }
.pricing .price { color: white; }
.pricing .button.secondary { color: white; border-color: #afbec7; }
.pricing .button.secondary:hover { background: #29404f; border-color: white; }
.price { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 24px; }
.muted, small { color: var(--muted); }
.example { background: #edf3ec; border-left: 3px solid var(--accent); padding: 26px 30px; margin: 36px 0; }
.example h2 { font-size: 28px; }
.example small { display: block; font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: steps; list-style: none; padding: 0; margin: 26px 0; }
.steps li { position: relative; counter-increment: steps; padding-top: 54px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 6px; left: 0; color: var(--accent); font-size: 30px; line-height: 1.4; font-weight: 700; }
details { padding: 20px 0; border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
details p { margin: 16px 0 0; }
main section > nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; border-top: 1px solid var(--rule); }
main section > nav a { font-size: 15px; line-height: 1.55; padding: 18px 0; border-bottom: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); padding-top: 32px; padding-bottom: 36px; font-size: 14px; }
footer p { max-width: none; }
footer a[href^="tel:"] { white-space: nowrap; }
footer strong { font-size: 22px; font-weight: 700; }
footer nav { gap: 10px 24px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

@media (max-width: 760px) {
  header, main, footer { padding: 22px 24px; }
  header { gap: 18px; }
  header nav { gap: 8px 20px; }
  .hero { padding: 30px 0 38px; }
  .grid { grid-template-columns: 1fr; }
  .grid .card, .grid .card:nth-child(even) { padding: 24px 0; }
  .grid .card:nth-child(odd) { border-right: 0; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li { padding: 16px 0 14px 50px; }
  .steps li::before { top: 8px; }
  main section > nav { grid-template-columns: 1fr; }
  main > section:not(.hero):not(.card):not(.pricing) { margin: 38px 0; }
  .example { padding: 22px; }
  .pricing { padding: 28px 24px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  header, main, footer { padding-left: 20px; padding-right: 20px; }
  header nav { width: 100%; gap: 6px 18px; }
  header img { width: 156px; }
  h1 { font-size: 38px; }
  .actions { flex-direction: column; }
  .actions .button { width: 100%; }
  footer nav { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
