/* ESMH Gantt Planner - site styles
   One stylesheet, no external fonts or scripts. */

/* ---------- Tokens ---------- */
:root {
  --cream: #F3EFE6;
  --soft: #FBF7EF;
  --ink: #1A1F1B;
  --muted: #6B6A60;
  --line: #E7E1D4;
  --sage: #5C6F5A;
  --green: #2C3A2D;
  --green-hover: #1F2A20;
  --gold: #C9A96E;
  --gold-hover: #D6B983;
  --wash: #F8F1E2;
  --on-green: #F3EFE6;
  --on-green-muted: #D6D1C3;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --wrap: 1120px;
  --gutter: 16px;
  --shadow: 0 1px 2px rgba(26, 31, 27, .05), 0 24px 48px -28px rgba(26, 31, 27, .28);

  color-scheme: light;
}

@media (min-width: 760px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.4vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--sage); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 16px; }
@media (min-width: 900px) {
  [id] { scroll-margin-top: 92px; }
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--on-green);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 1rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--green); color: var(--soft); }
.btn-primary:hover { background: var(--green-hover); color: var(--soft); }
.btn-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--wash); color: var(--green); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.actions-center { justify-content: center; }

@media (max-width: 559px) {
  .actions .btn { width: 100%; }
}

.note {
  font-size: .9375rem;
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 28px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.2;
}
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; flex: none; }
.brand-esmh { letter-spacing: .04em; }

.nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9688rem;
}
.nav a:hover { color: var(--ink); text-decoration: underline; }

.header-cta { margin-left: auto; }

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(243, 239, 230, .94);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
  }
  .nav { margin-left: auto; }
  .header-cta { margin-left: 0; }
}

@media (max-width: 899px) {
  .header-inner { column-gap: 12px; row-gap: 0; padding-bottom: 6px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand img { width: 32px; height: 32px; }
  .nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .nav ul { justify-content: space-between; gap: 8px; }
  .nav a { display: inline-block; padding: 10px 0; font-size: .9375rem; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .nav ul { justify-content: flex-start; gap: 28px; }
}
@media (max-width: 559px) {
  .eyebrow { letter-spacing: .1em; }
}
@media (max-width: 359px) {
  /* very narrow phones: the hero buttons sit right below, so drop the header button */
  .header-cta { display: none; }
  .nav a { font-size: .875rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 7vw, 96px);
  text-align: center;
  /* the screenshot sits across the cream / soft edge */
  background: linear-gradient(to bottom, var(--cream) 0, var(--cream) calc(100% - 140px), var(--soft) calc(100% - 140px));
}
.hero h1 { max-width: 17ch; margin-inline: auto; }
.hero .lead {
  max-width: 36em;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
}
.hero .actions { justify-content: center; margin-top: 32px; }
.hero .note { margin-top: 16px; }
.hero-shot { margin-top: clamp(40px, 6vw, 64px); }

.hero + .section-soft { border-top: 0; padding-top: clamp(56px, 7vw, 96px); }

/* ---------- Screenshots ---------- */
.shot {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .9375rem;
  text-align: center;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.steps li { padding-top: 24px; border-top: 1px solid var(--line); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--wash);
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.125rem;
}
.steps h3 { font-size: 1.3rem; }
@media (max-width: 759px) {
  .steps { gap: 24px; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .steps h3 { margin: 6px 0 6px; }
}
.steps p { color: var(--muted); }

/* "Watch the demo" in the hero: jumps to the video */
.hero .demo-cta { margin: 22px 0 0; }
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.demo-link:hover { text-decoration: underline; }
.demo-play {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--wash);
}
.demo-play::before {
  content: "";
  margin-left: 3px;
  border-left: 10px solid var(--green);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* the demo video under the steps */
.demo { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 960px; }
.demo video { display: block; width: 100%; height: auto; background: var(--soft); }

/* ---------- Features ---------- */
.tag-pro {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--wash);
  color: var(--green);
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: .15em;
  white-space: nowrap;
}

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}
.feature + .feature,
.feature + .feature-group,
.feature-group + .feature { margin-top: clamp(64px, 9vw, 112px); }

@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature.reverse { grid-template-columns: 7fr 5fr; }
  .feature.reverse .feature-media { order: -1; }
}
.feature-text > p { color: var(--muted); font-size: 1.0625rem; }

.checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  padding: 7px 0 7px 30px;
  border-top: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.feature-group h3.group-title { margin-bottom: 8px; }
.feature-group > p { color: var(--muted); max-width: 640px; margin-bottom: 28px; }

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: normal;
  line-height: 1.25;
}
.card p { color: var(--muted); font-size: 1rem; }

/* ---------- Excel or Google Sheets ---------- */
.platforms {
  display: grid;
  gap: 20px;
}
@media (min-width: 820px) {
  .platforms { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.platform {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.platform h3 { margin-bottom: 4px; }
.platform .meta { color: var(--sage); font-weight: 600; font-size: .9375rem; }
.platform .pick { margin-top: 20px; }
.platform .pick + .btn-row { margin-top: auto; padding-top: 24px; }
.btn-row .btn { width: auto; }
@media (max-width: 559px) {
  .btn-row .btn { width: 100%; }
}
.platform-shot { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Pricing ---------- */
/* Price cards: the text lives in index.html, inside the PRICING block. */
.plans {
  display: grid;
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
}
@media (min-width: 820px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.plan-pro { border-top: 3px solid var(--green); }
.plan-name {
  margin: 0;
  color: var(--sage);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan-price {
  margin: 8px 0 4px;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem);
  line-height: 1.1;
}
.plan-sub { color: var(--muted); }
.plan .checks { margin-bottom: 28px; }
.plan .actions { margin-top: auto; }
.plan .note { margin-top: 14px; }

/* Pro licences: a tab per version (Excel / Google Sheets / both), three sizes each. Without JavaScript all
   three panels show one after the other, each with its heading. */
.licences { max-width: 940px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; }
.licences h3 { margin-bottom: 8px; }
.lic-intro { color: var(--muted); margin: 0 auto 22px; max-width: 560px; }
.lic-tabs, .demo-tabs {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  padding: 5px; margin: 0 auto 22px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(26, 31, 27, .06), 0 8px 24px -16px rgba(26, 31, 27, .25);
}
.lic-tabs[hidden], .demo-tabs[hidden] { display: none; }
.lic-tabs button, .demo-tabs button {
  display: inline-flex; align-items: baseline; gap: 8px;
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--muted); background: transparent;
  border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; transition: background-color .15s, color .15s;
  -webkit-appearance: none; appearance: none;
}
.lic-tabs button:hover, .demo-tabs button:hover { color: var(--green); background: var(--wash); }
.lic-tabs button[aria-selected="true"], .demo-tabs button[aria-selected="true"] {
  background: var(--green); color: var(--on-green); box-shadow: 0 2px 6px -2px rgba(26, 31, 27, .45);
}
.lic-tabs button:focus-visible, .demo-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tab-time { font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); opacity: .85; }
.demo-tabs button[aria-selected="true"] .tab-time { color: var(--gold); opacity: 1; }
@media (max-width: 479px) {
  .lic-tabs, .demo-tabs { border-radius: 18px; }
  .lic-tabs button, .demo-tabs button { padding: 8px 12px; font-size: .875rem; border-radius: 13px; }
}
.lic-panel + .lic-panel { margin-top: 32px; }
.js .lic-panel + .lic-panel { margin-top: 0; }
.lic-platform { margin: 0 0 14px; font-size: 1.125rem; }
.js .lic-platform { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lic-soon {
  max-width: 640px; margin: 0 auto 18px; padding: 10px 16px; font-size: .9375rem;
  background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius);
}
.lic-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .lic-grid { grid-template-columns: repeat(3, 1fr); } }
.lic {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 24px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.lic-size { margin: 0; color: var(--sage); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lic-price { margin: 4px 0 0; font-family: var(--serif); font-size: 2.25rem; line-height: 1.1; }
.lic-cur { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; vertical-align: .55em; }
.lic-who { margin: 0 0 4px; color: var(--muted); font-size: .9375rem; min-height: 3em; }
.lic-save { margin: -4px 0 6px; font-size: .8125rem; font-weight: 600; color: var(--sage); }
.lic .btn { margin-top: auto; width: 100%; }
[data-soon] .lic-price { color: var(--muted); }
.lic-points {
  list-style: none; padding: 0; margin: 24px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  font-size: .9375rem; color: var(--ink);
}
.lic-points li::before { content: "✓"; color: var(--sage); font-weight: 700; margin-right: 6px; }
.note.center { text-align: center; }

/* Checkout window: Whop's checkout, loaded on click (assets/js/site.js) */
html.checkout-open { overflow: hidden; }
dialog.checkout {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; overflow: auto;
  color: var(--ink); background: #fff; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px -20px rgba(26, 31, 27, .55);
}
dialog.checkout::backdrop { background: rgba(26, 31, 27, .55); }
@media (max-width: 559px) {
  dialog.checkout { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; margin: 0; border-radius: 0; border: 0; }
}
.checkout-head {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 14px 22px; background: var(--green); color: var(--on-green);
}
.checkout-head h2 { margin: 0; color: inherit; font-size: 1.0625rem; font-family: var(--sans); font-weight: 600; line-height: 1.3; flex: 1; }
.checkout-body { position: relative; z-index: 0; }
.checkout-close {
  font: inherit; font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--on-green); cursor: pointer;
}
.checkout-close:hover { background: rgba(243, 239, 230, .12); }
.checkout-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.checkout-body { padding: 8px 6px 4px; min-height: 240px; background: #fff; }
.checkout-status { color: var(--muted); text-align: center; margin: 60px 0; }
.checkout-embed { min-height: 1px; }
.checkout-fallback { text-align: center; margin: 40px 0; }
.checkout-fine { margin: 0; padding: 12px 22px 14px; font-size: .8125rem; color: var(--muted); background: var(--soft); border-top: 1px solid var(--line); }

/* Demo video switcher */
.demo-head { text-align: center; }
.demo-more { text-align: center; font-size: .9375rem; color: var(--muted); margin: 12px 0 0; }

.compare { max-width: 940px; margin: clamp(48px, 6vw, 72px) auto 0; }
.compare h3 { text-align: center; margin-bottom: 20px; }
.table-wrap {
  overflow-x: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9688rem;
  line-height: 1.45;
}
.compare th, .compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  background: var(--wash);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: normal;
}
.compare tbody th { font-weight: 600; width: 34%; }
.compare td { width: 33%; }
.compare td.pro { background: rgba(248, 241, 226, .45); }

.yes, .no { display: inline-block; position: relative; width: 18px; height: 18px; vertical-align: -3px; }
.yes::before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.no::before {
  content: "";
  position: absolute;
  left: 3px; top: 8px;
  width: 12px; height: 0;
  border-top: 2px solid #8A8678;
}

@media (max-width: 559px) {
  .compare table { font-size: .875rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare thead th { font-size: 1rem; }
}

/* ---------- Custom branding (dark band) ---------- */
.band-dark {
  background: var(--green);
  color: var(--on-green);
}
.band-dark h2 { color: var(--on-green); }
.band-dark p { color: var(--on-green-muted); }
.band-dark .eyebrow { color: var(--gold); }
.band-dark a:not(.btn) { color: var(--on-green); }
.band-dark a:not(.btn):hover { color: var(--gold); }
.band-dark :focus-visible { outline-color: var(--gold); }

.custom {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .custom { grid-template-columns: 7fr 5fr; gap: 72px; }
}
.custom .actions { margin-top: 28px; }
.custom .note { margin-top: 14px; color: var(--on-green-muted); }

.brand-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-top: 1px solid rgba(243, 239, 230, .2);
}
.brand-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 239, 230, .2);
  color: var(--on-green);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.brand-list span {
  min-width: 2ch;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  color: var(--sage);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--green); }
.faq-body { padding: 0 0 24px; max-width: 68ch; }
.faq-body p { color: #3E433E; }

/* ---------- Final call to action ---------- */
.cta-final { text-align: center; }
.cta-final .section-head { margin-bottom: 28px; }
.cta-final .note { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 5fr 4fr 3fr; gap: 48px; }
}
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { width: 200px; }
.footer-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer address { font-style: normal; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 6px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .8438rem;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 88px);
}
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.legal .updated { color: var(--muted); font-size: .9375rem; margin-bottom: 32px; }
.legal .intro { font-size: 1.125rem; }
.legal h2 {
  margin-top: 2.2em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.3rem, 1.2rem + .5vw, 1.6rem);
}
.legal ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal li + li { margin-top: .35em; }
.legal address { font-style: normal; }
.legal .back { margin-top: 48px; }

/* ---------- Cookie consent banner (built by assets/js/consent.js, same as esmhconsulting.com) ---------- */
.consent {
  position: fixed;
  z-index: 100;
  left: var(--gutter);
  bottom: 24px;
  width: min(400px, calc(100vw - 2 * var(--gutter)));
  padding: 22px 22px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: consent-in .4s ease both;
}
.consent__title {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.1;
}
.consent__text { margin: 0 0 18px; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.consent__text a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent__actions { display: flex; gap: 10px; }
.consent__actions .btn { flex: 1; min-height: 44px; padding: 10px 16px; font-size: .875rem; }
@keyframes consent-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
}

/* "Cookie settings" is a <button> (it opens the consent banner) styled as a link */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.link-button:hover { color: var(--green); }
