:root {
  --cave: #10272b;
  --cave-2: #173a3f;
  --stone: #d9ddd6;
  --bone: #f2f3f0;
  --ink: #1b2326;
  --muted: #455155;
  --teal: #1f6f6b;
  --glow: #8fe8cf;
  --rule: #c5cac2;
  --max: 66rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--cave); }

:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--cave);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--glow);
  color: var(--cave);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Placeholders: remove every highlighted item before launch */
.ph {
  background: #fff1a8;
  color: #3a3000;
  padding: 0 0.25em;
  border-radius: 2px;
}

/* ---------- Top band: header + hero with limestone strata ---------- */
.hero {
  position: relative;
  background: var(--cave);
  color: var(--bone);
  padding-bottom: 7.5rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 7rem;
  background: url("/strata.svg") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img { width: 1.9rem; height: 1.9rem; }
.brand:hover { color: var(--glow); }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a {
  color: var(--bone);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--glow); color: var(--bone); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--glow); }

.hero-copy { padding-top: 3.5rem; }
.hero--tall .hero-copy { padding-top: 5rem; }

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero--page h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: 24ch; }

.lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  font-size: 1.1875rem;
  color: #d4dcd9;
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--glow);
  border-radius: 0.25rem;
  background: var(--glow);
  color: var(--cave);
  font-weight: 650;
  text-decoration: none;
}
.btn:hover { background: #b4f2e0; border-color: #b4f2e0; color: var(--cave); }

.btn--ghost { background: transparent; color: var(--bone); border-color: #5d7a7a; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--bone); color: var(--bone); }

.btn--dark { background: var(--cave); border-color: var(--cave); color: var(--bone); }
.btn--dark:hover { background: var(--cave-2); border-color: var(--cave-2); color: var(--bone); }

/* ---------- Content ---------- */
main { display: block; }

.section { padding-block: 3.5rem; }
.section + .section { padding-top: 0.5rem; }

h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1rem; max-width: 40rem; }
ul, ol { max-width: 40rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

/* Ruled rows: title left, detail right */
.rows { border-bottom: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem 3rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.row h3, .row h2 { margin: 0; }
.row p:last-child, .row ul:last-child { margin-bottom: 0; }

.price {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 52rem) {
  .row { grid-template-columns: 18rem minmax(0, 1fr); }
}

/* Engagement steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; max-width: none; }
.steps li {
  position: relative;
  counter-increment: step;
  margin: 0;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--cave);
  color: var(--glow);
  font-family: var(--serif);
  font-weight: 700;
  text-align: center;
  line-height: 2.25rem;
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.125rem; }

/* Closing call to action */
.cta {
  background: var(--stone);
  padding-block: 3rem;
  margin-top: 2rem;
}
.cta h2 { margin-bottom: 0.75rem; }

.note {
  max-width: 40rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--teal);
  background: #e7ece8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cave);
  color: #c9d3d0;
  padding-block: 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--glow); }
.site-footer p { max-width: none; margin-bottom: 0.4rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
