:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #62605b;
  --line: #ddd7cc;
  --paper: #f7f2ea;
  --panel: #fffaf2;
  --panel-strong: #ebe3d5;
  --green: #064f43;
  --green-soft: #d5e2dc;
  --gold: #b8893e;
  --coral: #b95b48;
  --blue: #213c56;
  --shadow: 0 22px 70px rgba(35, 28, 16, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.09);
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: clamp(170px, 19vw, 255px);
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
}

.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fffaf2;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.print-button:hover {
  background: var(--green);
  border-color: var(--green);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(52px, 7vw, 104px) clamp(20px, 6vw, 88px) 64px;
  border-bottom: 1px solid var(--line);
}

.print-logo {
  display: none;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 9vw, 9rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 34px;
  color: #3d3a34;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.hero-metrics div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-metrics span {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(1.32rem, 2.3vw, 2rem);
  font-weight: 850;
}

.hero-metrics small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.overview-band,
.content-section,
.investment-section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 88px);
}

.overview-band {
  background: #fffaf2;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 0;
}

.section-heading h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.overview-grid article {
  min-height: 270px;
  padding: clamp(24px, 3vw, 34px);
  background: #fffaf2;
}

.step-number {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.overview-grid h3,
.phase-copy h3,
.terms-grid h3 {
  margin-bottom: 14px;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.overview-grid p,
.phase-copy p,
.terms-grid p,
.summary-card p {
  color: var(--muted);
  line-height: 1.65;
}

.phase-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.phase-panel:last-child {
  border-bottom: 1px solid var(--line);
}

.phase-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phase-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.9rem;
}

caption {
  padding: 18px 18px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(213, 226, 220, 0.3);
}

tfoot td {
  border-bottom: 0;
  background: var(--green);
  color: #fffaf2;
  font-weight: 900;
}

.investment-section {
  background: var(--ink);
  color: #fffaf2;
}

.investment-section .eyebrow {
  color: #d9a154;
}

.investment-section .section-heading h2 {
  color: #fffaf2;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.summary-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 250, 242, 0.15);
  border-radius: var(--radius);
  background: #242424;
}

.summary-card.primary {
  background: var(--green);
}

.summary-card span {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 500;
}

.summary-card p {
  color: rgba(255, 250, 242, 0.72);
}

.tables-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.investment-section .table-wrap {
  border-color: rgba(255, 250, 242, 0.16);
  background: #fffaf2;
}

.terms-section {
  background: #fffaf2;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.terms-grid article {
  min-height: 230px;
  padding: 26px;
  background: #fffaf2;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .hero-section,
  .phase-panel,
  .tables-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .overview-grid,
  .summary-grid,
  .terms-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .print-button {
    display: none;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    padding-top: 40px;
  }

  .hero-copy,
  .hero-intro,
  .hero-metrics {
    max-width: 330px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 4.6rem);
    line-height: 1;
  }

  .hero-metrics,
  .overview-grid,
  .summary-grid,
  .terms-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .brand-mark {
    width: 175px;
  }

  table {
    min-width: 560px;
  }
}

@media print {
  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff;
  }

  .site-header,
  .print-button {
    display: none;
  }

  .print-logo {
    display: block;
    width: 240px;
    height: auto;
    margin-bottom: 28px;
  }

  .hero-section,
  .overview-band,
  .content-section,
  .investment-section {
    padding: 28px 0;
  }

  .hero-section,
  .phase-panel,
  .tables-grid,
  .summary-grid,
  .overview-grid,
  .terms-grid {
    display: block;
  }

  .overview-grid article,
  .summary-card,
  .terms-grid article,
  .table-wrap {
    break-inside: avoid;
    margin-bottom: 18px;
  }

  .investment-section {
    background: #fff;
    color: var(--ink);
  }

  .summary-card,
  .summary-card.primary {
    background: #fff;
    color: var(--ink);
  }

  .summary-card p,
  .summary-card span {
    color: var(--muted);
  }
}
