:root {
  color-scheme: light dark;
  --bg: #f6f5ef;
  --surface: #ffffff;
  --ink: #182b24;
  --muted: #52635a;
  --line: #d8dfd5;
  --accent: #285f42;
  --soft: #e8eedf;
  --spot: #dcf293;
  --spot-ink: #1a3020;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111a16;
    --surface: #19251e;
    --ink: #edf2e8;
    --muted: #b0bdb1;
    --line: #354339;
    --accent: #c3e68d;
    --soft: #243527;
    --spot: #c8e88f;
    --spot-ink: #1a3020;
  }
}
:root[data-theme="dark"] {
  --bg: #111a16;
  --surface: #19251e;
  --ink: #edf2e8;
  --muted: #b0bdb1;
  --line: #354339;
  --accent: #c3e68d;
  --soft: #243527;
  --spot: #c8e88f;
  --spot-ink: #1a3020;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.wordmark span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
}
.tools {
  display: flex;
  gap: 8px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 99px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.8rem;
}
button:hover {
  background: var(--soft);
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 76px 64px;
}
.eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(2.9rem, 5.5vw, 4.9rem);
}
h1 span {
  color: var(--accent);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 16px;
}
.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 540px;
}
.byline {
  margin: 28px 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.byline strong {
  color: var(--ink);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--spot-ink);
  background: var(--spot);
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}
.budget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  padding: 32px;
  border-radius: 8px;
}
.budget-value {
  font-size: clamp(2.5rem, 4.3vw, 3.8rem);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.budget > p:not(.budget-value) {
  font-size: 0.86rem;
}
dl {
  margin-block: 28px;
}
dl > div {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
dt {
  color: var(--muted);
  font-size: 0.75rem;
}
dd {
  margin: 3px 0 0;
  font-size: 0.99rem;
  font-weight: 650;
}
.fine {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.budget .fine {
  margin-bottom: 0;
}
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  background: var(--bg);
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.section-nav a {
  color: var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
}
.section-nav a:hover {
  text-decoration: underline;
}
.section {
  padding-block: 68px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-heading > p:last-child {
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.card-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 32px;
}
.card p:not(.card-number) {
  color: var(--muted);
  font-size: 0.92rem;
}
.card p:last-child {
  margin-bottom: 0;
}
.callout {
  margin-top: 28px;
  padding: 26px 30px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.callout p {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.phase {
  margin-block: 36px;
}
.phase > p {
  color: var(--muted);
  font-size: 0.91rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
caption {
  text-align: left;
  font-size: 0.95rem;
  font-weight: 650;
  padding-bottom: 14px;
}
th,
td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
  font-size: 0.89rem;
  overflow-wrap: anywhere;
}
th:first-child {
  width: 49%;
  text-align: left;
}
thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}
tbody th {
  font-weight: 450;
}
.phase th:nth-child(3),
.phase td:nth-child(3),
.grand th:nth-child(3),
.grand td:nth-child(3) {
  background: var(--soft);
}
.hours {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.money {
  display: block;
  font-weight: 650;
  white-space: nowrap;
}
tfoot th,
tfoot td {
  font-weight: 650;
  border-bottom: 2px solid var(--line);
}
.grand {
  margin: 36px 0 22px;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.grand .money {
  font-size: 1.12rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  margin-top: 36px;
}
.split p,
.split li {
  color: var(--muted);
  font-size: 0.92rem;
}
ul {
  padding-left: 20px;
  margin: 0;
}
li {
  margin-bottom: 12px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline > li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 38px;
  padding-block: 28px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.week {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent);
}
.timeline h3 {
  margin-bottom: 12px;
}
.timeline p {
  color: var(--muted);
  font-size: 0.92rem;
}
.timeline p:last-child {
  margin-bottom: 0;
}
.running-table {
  max-width: 850px;
}
.running-table th:first-child {
  width: 65%;
}
.cost-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 52px;
  margin-block: 36px;
}
.cost-notes p {
  color: var(--muted);
  font-size: 0.91rem;
}
.cost-notes .source {
  font-size: 0.8rem;
}
.payments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}
.payments li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  margin: 0;
}
.payments span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  min-height: 54px;
}
.payments strong {
  display: block;
  font-size: 1.1rem;
}
.next-step {
  margin-top: 40px;
  padding: 30px;
  background: var(--soft);
  border-radius: 8px;
}
.next-step h3 {
  font-size: 1.5rem;
}
.next-step p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 40px 52px;
  font-size: 0.8rem;
  color: var(--muted);
}
footer strong {
  color: var(--ink);
  font-size: 0.82rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 8px 16px;
  background: var(--surface);
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }
  .budget {
    max-width: 600px;
  }
  .hero h1 {
    font-size: 3.8rem;
  }
  .payments {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .masthead {
    padding-block: 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .wordmark {
    font-size: 1.5rem;
  }
  .wordmark span {
    font-size: 0.72rem;
  }
  .tools {
    gap: 6px;
  }
  button {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.7rem);
  }
  .hero {
    padding-block: 40px;
  }
  .eyebrow {
    font-size: 0.65rem;
  }
  .budget {
    padding: 24px;
  }
  .section {
    padding-block: 44px;
  }
  .section-nav {
    gap: 10px 20px;
  }
  .cards,
  .split,
  .cost-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 24px;
  }
  .card-number {
    margin-bottom: 20px;
  }
  .callout {
    padding: 22px;
  }
  th,
  td {
    padding: 12px 5px;
    font-size: 0.77rem;
  }
  th:first-child {
    width: 39%;
  }
  thead th {
    font-size: 0.7rem;
  }
  .hours {
    font-size: 0.69rem;
  }
  .money {
    font-size: 0.73rem;
  }
  .grand .money {
    font-size: 0.76rem;
  }
  .timeline > li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .week br {
    display: none;
  }
  .payments {
    grid-template-columns: 1fr;
  }
  .payments span {
    min-height: 0;
    margin-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  :root,
  :root[data-theme="dark"] {
    --bg: #fff;
    --surface: #fff;
    --ink: #182b24;
    --muted: #52635a;
    --line: #d8dfd5;
    --accent: #285f42;
    --soft: #e8eedf;
  }
  body {
    font-size: 10pt;
  }
  .wrap {
    width: 100%;
  }
  .tools,
  .section-nav,
  .cta,
  .skip {
    display: none;
  }
  .hero {
    padding-block: 32px;
    gap: 24px;
  }
  .section {
    padding-block: 28px;
  }
  h2,
  h3,
  caption {
    break-after: avoid;
  }
  tr,
  .card,
  .timeline li,
  .payments li {
    break-inside: avoid;
  }
}
