:root {
  --cream: #FAF7F0;
  --card: #FFFFFF;
  --border: #E8E2D6;
  --primary: #1A6B52;
  --primary-light: #E9F2ED;
  --accent: #E8C87A;
  --text: #1A1F1B;
  --muted: #767061;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* One serif for everything that is meant to be read slowly. */
.serif {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* Small uppercase label above a section heading. */
.eyebrow {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); margin: 0 0 14px;
}

/* The wordmark is artwork, not type: assets/logo/ten-wordmark.png, recoloured
   for each background by scripts/gen-logo.js. line-height 0 on the anchor
   stops the inline box adding a few stray pixels under the image, which is
   what makes a logo sit visibly off-centre next to a nav. */
.mark { display: inline-block; line-height: 0; text-decoration: none; }
.mark img { height: 30px; width: auto; display: block; }

/* ── The banner ────────────────────────────────────────────────────────────
   One treatment for the wordmark everywhere it appears: white on the deep
   emerald. So the header is a full-width band of it rather than a logo
   floating on cream — which also gives the nav somewhere to sit. */
header {
  background: var(--primary);
  padding: 16px 0;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header .mark img { height: 34px; }
header nav a {
  color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14.5px; margin-left: 26px;
}
header nav a:hover { color: #fff; }
@media (max-width: 560px) {
  header { padding: 14px 0; }
  header .wrap { justify-content: center; gap: 10px; }
  header .mark img { height: 30px; }
  header nav a { margin: 0 11px; font-size: 13.5px; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; border-radius: 24px; overflow: hidden;
  margin: 20px auto 0; max-width: 1060px;
  min-height: 560px; display: flex; align-items: flex-end;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
/* Dark enough at the foot for white text to clear 4.5:1, clear at the top so
   the photograph is still a photograph. */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,30,24,0.88) 0%, rgba(12,30,24,0.55) 38%, rgba(12,30,24,0.12) 70%, rgba(12,30,24,0.05) 100%);
}
.hero-text { position: relative; z-index: 1; padding: 48px 44px 44px; color: #fff; max-width: 680px; }
.hero-text .mark { margin-bottom: 10px; }
.hero-text .mark img { height: 52px; }
.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 46px; line-height: 1.1; font-weight: 400; margin: 10px 0 16px;
  letter-spacing: -0.02em;
}
.hero p { font-size: 18.5px; line-height: 1.5; margin: 0 0 26px; color: rgba(255,255,255,0.92); max-width: 520px; }
.hero .cities { margin: 0; }
.hero .city { background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(6px); }

@media (max-width: 720px) {
  .hero { min-height: 500px; border-radius: 20px; }
  .hero-text { padding: 32px 24px 30px; }
  .hero-text .mark img { height: 40px; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 17px; }
}

.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.city {
  background: var(--primary-light); color: var(--primary);
  border-radius: 99px; padding: 7px 15px; font-size: 13.5px; font-weight: 600;
}

/* ── How it works ──────────────────────────────────────────────────────── */
/* padding-top/bottom, never the shorthand: .section and .wrap share elements
   ("wrap section"), and a "padding: 92px 0" quietly reset .wrap's 28px side
   gutter to zero — which put the text hard against the edge of the phone. */
.section { padding-top: 92px; padding-bottom: 92px; }
@media (max-width: 759px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 32px; }
}
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 34px; font-weight: 400; line-height: 1.2; margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.steps { display: grid; gap: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { padding: 28px 0; border-top: 2px solid var(--primary); }
@media (max-width: 759px) { .step { padding: 24px 0; } }
.step .n {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 15px; color: var(--primary); letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 14px;
}
.step h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.6; }

/* ── Alternating image bands ───────────────────────────────────────────── */
.band { display: grid; gap: 40px; align-items: center; padding: 20px 0 76px; }
@media (min-width: 860px) {
  .band { grid-template-columns: 1fr 1fr; gap: 64px; }
  .band.flip .band-media { order: 2; }
}
/* aspect-ratio, not height:100%. A percentage height inside a grid cell whose
   own height comes from its content is circular, and browsers resolve it
   differently — here it collapsed the photograph to a strip and left a hole in
   the page the height of the text beside it. */
.band-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 20px; display: block;
}
@media (min-width: 860px) { .band-media img { aspect-ratio: 5 / 4; } }
.band-text h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 31px; font-weight: 400; line-height: 1.2; margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.band-text p { font-size: 17px; color: var(--muted); margin: 0 0 14px; line-height: 1.65; }
.band-text p:last-child { margin-bottom: 0; }
.band-text strong { color: var(--text); font-weight: 600; }

/* ── Safety ────────────────────────────────────────────────────────────── */
.safety-section { background: var(--primary); color: #fff; padding: 84px 0; }
.safety-section h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 34px; font-weight: 400; margin: 0 0 16px; letter-spacing: -0.02em;
}
.safety-section .eyebrow { color: rgba(255,255,255,0.65); }
.safety-grid { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 760px) { .safety-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.safety-grid h3 { font-size: 17px; margin: 0 0 8px; }
.safety-grid p { font-size: 15.5px; margin: 0; color: rgba(255,255,255,0.8); line-height: 1.6; }
.safety-section .lede { font-size: 19px; color: rgba(255,255,255,0.9); margin: 0; max-width: 620px; }
.safety-note {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.22);
  font-size: 15px; color: rgba(255,255,255,0.8);
}
.safety-note a { color: #fff; }

/* Legal pages */
.doc { padding: 48px 0 24px; max-width: 720px; }
.doc h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400; letter-spacing: -0.02em;
}
.doc h1 { font-size: 30px; margin: 0 0 6px; letter-spacing: -0.4px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.doc section { margin-bottom: 30px; }
.doc h2 { font-size: 17px; margin: 0 0 8px; }
.doc p { margin: 0; color: #35392F; font-size: 16px; }

.contact-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 18px;
  padding: 24px; margin: 24px 0;
}
.contact-card h2 { margin: 0 0 10px; font-size: 17px; }
.contact-card p { margin: 0 0 12px; font-size: 15.5px; color: var(--muted); }
.contact-card p:last-child { margin-bottom: 0; }
a { color: var(--primary); }

.urgent {
  background: #FFF4F6; border: 1.5px solid #F3D3DA; border-radius: 14px;
  padding: 16px 18px; font-size: 15px; margin: 24px 0;
}

footer {
  margin-top: 72px; border-top: 1px solid var(--border);
  padding: 28px 0 56px; color: var(--muted); font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--primary); }
