/* ============================================================
   Pubblix — shared design system
   Friendly, fresh-market shopper's guide (light/green)
   ============================================================ */

:root {
  /* Neutrals — warm cream market light */
  --bg:        oklch(98.6% 0.008 95);
  --surface:   oklch(100% 0 0);
  --surface-2: oklch(96.4% 0.013 120);
  --fg:        oklch(26% 0.03 155);
  --muted:     oklch(47% 0.022 150);
  --border:    oklch(90% 0.016 130);

  /* Accent — fresh Publix-style grocery green */
  --accent:      oklch(53% 0.14 151);
  --accent-deep: oklch(45% 0.13 151);
  --accent-soft: oklch(94% 0.046 150);
  --accent-text: oklch(43% 0.13 151);
  --accent-ring: oklch(53% 0.14 151 / 0.30);

  /* Sale tag red + sunny highlight — the price-tag pops */
  --sale:      oklch(57.5% 0.205 27);
  --sale-deep: oklch(50% 0.19 27);
  --sale-soft: oklch(95% 0.035 30);
  --sun:       oklch(83% 0.155 82);
  --sun-deep:  oklch(74% 0.16 70);

  /* Semantic */
  --success: var(--accent);
  --warn:    oklch(72% 0.15 75);
  --danger:  oklch(58% 0.18 25);

  /* Deep forest ink panels (footer / CTA / page header) */
  --ink:        oklch(30% 0.055 156);
  --ink-2:      oklch(24% 0.05 157);
  --on-ink:     oklch(96% 0.012 120);
  --on-ink-dim: oklch(83% 0.03 130);
  --ink-border: oklch(100% 0 0 / 0.13);

  /* Type — warm market serif display + clean friendly body */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Scale */
  --maxw: 1140px;
  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px oklch(40% 0.03 150 / 0.06), 0 1px 3px oklch(40% 0.03 150 / 0.05);
  --shadow:    0 6px 18px oklch(40% 0.04 150 / 0.08), 0 2px 6px oklch(40% 0.03 150 / 0.05);
  --shadow-lg: 0 24px 48px oklch(40% 0.05 150 / 0.13), 0 8px 18px oklch(40% 0.04 150 / 0.07);

  --space: clamp(62px, 9vw, 112px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(46px, 6vw, 70px); }

/* Eyebrow — soft green market label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 6px 14px;
  font-weight: 700;
  border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
p  { text-wrap: pretty; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.58; }
/* TODO: revisit section-head spacing once the products page art is final */
.section-head { max-width: 650px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 13px; }
.section-head p { margin-top: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.005em;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 8px var(--accent-ring); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 22px var(--accent-ring); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.btn-on-ink { background: #fff; color: var(--ink); }
.btn-on-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 8px;
}

/* ---------- Price-tag badge (grocery convention) ---------- */
.ptag {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.02em;
  color: #fff; background: var(--sale);
  padding: 5px 11px 5px 17px; border-radius: 5px 8px 8px 5px;
  box-shadow: 0 2px 6px oklch(57% 0.2 27 / 0.28);
}
.ptag::before { content: ""; position: absolute; left: 7px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: oklch(100% 0 0 / 0.9); }
.ptag.green { background: var(--accent); box-shadow: 0 2px 6px var(--accent-ring); }
.ptag.sun { background: var(--sun); color: oklch(32% 0.06 70); box-shadow: 0 2px 6px oklch(80% 0.15 80 / 0.4); }
.ptag.sun::before { background: oklch(32% 0.06 70 / 0.55); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(98.6% 0.008 95 / 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--fg); }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 0.96rem; font-weight: 600;
  color: var(--muted); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--fg); background: var(--accent-soft); }
.nav-links a.active { color: var(--accent-text); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn-primary {
  padding: 11px 20px;
  font-size: 0.94rem;
  /* HACK: !important keeps the green CTA from inheriting ghost styles on iOS Safari back-nav */
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px var(--accent-ring);
  border: none;
}
.nav-cta .btn-primary:hover { background: var(--accent-deep) !important; box-shadow: 0 8px 20px var(--accent-ring); }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: var(--fg); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 14px 22px 22px; margin: 0;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero — bright, airy market ---------- */
/* Hero padding nudged to sit the deal card nicely against the fold */
.hero { position: relative; overflow: hidden; padding-block: clamp(46px, 7vw, 92px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; top: -180px; right: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 68%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; bottom: -220px; left: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at center, oklch(94% 0.06 82 / 0.7), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(34px, 5vw, 66px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin-top: 20px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; color: var(--muted); font-size: 0.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 15px 6px 9px; font-size: 0.82rem; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero p.lead { max-width: 48ch; }
  .hero-visual { order: 2; }
}

/* ---------- Weekly-deal card (hero widget) ---------- */
.deal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px 26px 24px;
}
.dc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.deal-card h3 { font-size: 1.5rem; }
.deal-card .dc-sub { color: var(--muted); font-size: 0.85rem; margin-top: 3px; }
.deal-list { margin-top: 18px; display: grid; gap: 0; }
.deal-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.deal-row:last-child { border-bottom: 0; }
.deal-row .di b { font-weight: 600; font-size: 0.99rem; display: block; }
.deal-row .di span { color: var(--muted); font-size: 0.8rem; }
.deal-card .dc-note { margin-top: 16px; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.deal-card .btn { margin-top: 18px; }

/* ---------- Hero icon strip — service-counter row ---------- */
.icon-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(40px, 6vw, 64px); padding-top: 28px;
  border-top: 1px solid var(--border);
}
.icon-strip span {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.96rem;
  color: var(--fg);
}
.icon-strip svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
@media (max-width: 760px) { .icon-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ---------- Sunny promo panel ---------- */
.promo-card {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--sun) 0%, var(--sun-deep) 100%);
  color: oklch(30% 0.06 70); border-radius: var(--radius-lg);
  padding: clamp(32px, 4.5vw, 56px);
}
.promo-card::before {
  content: ""; position: absolute; right: -110px; top: -130px;
  width: 380px; height: 380px; border-radius: 50%;
  background: oklch(100% 0 0 / 0.26);
}
.promo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 52px); align-items: center; position: relative; }
@media (max-width: 820px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card h2 { color: oklch(28% 0.07 68); }
.promo-card p, .promo-card .lead { color: oklch(34% 0.05 68); }
.promo-card .eyebrow { background: oklch(100% 0 0 / 0.5); color: oklch(30% 0.07 68); }
.promo-card .eyebrow::before { background: oklch(40% 0.12 60); }
.promo-grid img { border-radius: var(--radius); box-shadow: 0 22px 40px oklch(40% 0.06 60 / 0.3); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.promo-card .btn-on-ink { background: oklch(30% 0.06 70); color: #fff; }
.promo-card .btn-on-ink:hover { background: oklch(24% 0.05 70); }

/* ---------- Photo cards & image bands ---------- */
.photo-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.photo-card .ph { position: relative; }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card .ph .ptag { position: absolute; left: 14px; bottom: 14px; }
.photo-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.photo-card .body p { color: var(--muted); font-size: 0.95rem; }
.photo-card .body .more { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--accent-text); font-size: 0.92rem; }
.photo-card .body .more:hover { color: var(--accent); }

.img-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 58px); align-items: center; }
.img-split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .img-split { grid-template-columns: 1fr; } }

/* Forest section variant */
.section--forest { background: var(--ink); color: var(--on-ink); }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest p, .section--forest .lead { color: var(--on-ink-dim); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: oklch(80% 0.07 150); }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-text);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.sun { background: oklch(94% 0.07 82); color: oklch(45% 0.12 65); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num {
  counter-increment: step; font-family: var(--font-display); font-weight: 600;
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.15rem; margin-bottom: 16px;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.quote .stars { color: var(--sun-deep); display: flex; gap: 2px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { font-size: 1.04rem; line-height: 1.56; color: var(--fg); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who b { font-weight: 700; display: block; font-size: 0.95rem; }
.quote .who span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Avatars ---------- */
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 0.95rem; }
.avatar.lg { width: 92px; height: 92px; font-size: 1.8rem; border-radius: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(155deg, var(--ink), var(--ink-2)); color: var(--on-ink); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 100% at 50% -10%, oklch(53% 0.14 151 / 0.5), transparent 70%); pointer-events:none; }
.cta-band--photo::before { content:""; position:absolute; inset:0; background: url("../assets/img/produce.jpg") center / cover no-repeat; opacity: 0.16; pointer-events:none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: var(--on-ink-dim); max-width: 54ch; margin: 16px auto 0; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- Perk / benefit tiles ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 880px){ .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.tier.featured { border-color: var(--accent); box-shadow: 0 18px 40px var(--accent-ring); position: relative; }
.tier .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.tier h3 { font-size: 1.3rem; }
.tier .price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.tier .price .amt { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.tier .price .per { color: var(--muted); font-size: 0.9rem; }
.tier .desc { color: var(--muted); font-size: 0.92rem; min-height: 42px; }
.tier ul.feat { display: grid; gap: 11px; margin: 22px 0 26px; }
.tier ul.feat li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--fg); align-items: flex-start; }
.tier ul.feat li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
table.cmp thead th { font-family: var(--font-display); font-weight: 600; font-size: 1rem; background: var(--surface-2); }
table.cmp tbody th { font-weight: 600; color: var(--fg); }
table.cmp td { text-align: center; color: var(--muted); }
table.cmp td.yes { color: var(--accent-text); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }
table.cmp .col-feat { background: var(--accent-soft); }
table.cmp td svg, table.cmp th svg { width: 18px; height: 18px; display: inline-block; }
table.cmp td.yes svg { color: var(--accent); }
table.cmp td.no svg { color: var(--border); }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--accent); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > p { padding: 0 0 18px; color: var(--muted); font-size: 0.97rem; }

/* ---------- Feature detail rows ---------- */
.feat-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.feat-row:last-child { border-bottom: 0; }
.feat-row .icon-badge { margin: 0; }
.feat-row h3 { margin-bottom: 6px; }
.feat-row p { color: var(--muted); }
.feat-row ul.mini { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.feat-row ul.mini li { font-size: 0.82rem; background: var(--accent-soft); border-radius: 999px; padding: 4px 13px; color: var(--accent-text); font-weight: 600; }

/* ---------- Stats strip — first tile green ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
@media (max-width: 620px){ .stats { grid-template-columns: 1fr; } }
.stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.stats > div:first-child { background: var(--accent); border-color: var(--accent); }
.stats > div:first-child .n, .stats > div:first-child .l { color: #fff; }
.stats .n { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.stats .l { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 18px; margin-top: 28px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon-badge { margin: 0; width: 44px; height: 44px; }
.info-item b { display: block; font-family: var(--font-display); font-weight: 600; }
.info-item a, .info-item span { color: var(--muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--accent-text); }

form .field { margin-bottom: 18px; }
form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; }
form .req { color: var(--danger); }
form input, form textarea, form select {
  width: 100%; font: inherit; font-size: 0.96rem; color: var(--fg);
  padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); outline: none; }
form textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.form-success { display: none; align-items: center; gap: 12px; background: var(--accent-soft); border: 1px solid oklch(80% 0.1 150); color: var(--accent-text); padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }
.field.error input, .field.error textarea { border-color: var(--danger); }
.field .err-msg { display: none; color: var(--danger); font-size: 0.82rem; margin-top: 6px; }
.field.error .err-msg { display: block; }

/* ---------- Page header (interior pages) — forest band ---------- */
.page-hero { padding-block: clamp(52px, 7vw, 84px) clamp(40px, 5vw, 56px); background: linear-gradient(125deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--on-ink); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-120px; top:-120px; width:380px; height:380px; border-radius:50%; background: radial-gradient(circle at center, oklch(53% 0.14 151 / 0.4), transparent 70%); pointer-events:none; }
.page-hero .eyebrow { position: relative; z-index: 1; background: oklch(100% 0 0 / 0.12); color: var(--on-ink); }
.page-hero .eyebrow::before { background: var(--sun); }
.page-hero h1 { margin-top: 14px; color: #fff; position: relative; z-index: 1; }
.page-hero p { margin-top: 16px; max-width: 62ch; color: var(--on-ink-dim); position: relative; z-index: 1; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose .updated { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); margin-bottom: 32px; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--fg); }
.prose ul.bullets { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: grid; gap: 8px; }
.prose ul.bullets li { color: var(--fg); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; color: var(--accent-text); font-size: 0.94rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px){ .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; padding: 30px 24px; }
.team-card .avatar { margin: 0 auto 16px; }
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--accent-text); font-weight: 700; font-size: 0.85rem; margin: 4px 0 12px; }
.team-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Value props (about) ---------- */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
@media (max-width: 700px){ .values { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-dim); padding-block: 56px 28px; margin-top: clamp(60px, 8vw, 96px); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--ink-border); }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand b { color: var(--sun); }
.footer-brand p { font-size: 0.9rem; max-width: 36ch; }
.footer-brand .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-brand .badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; border: 1px solid var(--ink-border); padding: 5px 11px; border-radius: 999px; }
.footer-brand .badges svg { width: 14px; height: 14px; color: var(--sun); }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--on-ink-dim); }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { font-size: 0.82rem; color: var(--on-ink-dim); padding: 24px 0; border-bottom: 1px solid var(--ink-border); line-height: 1.6; }
.footer-disclaimer b { color: var(--on-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
/* TODO: trim the hardcoded transforms here after the consent copy is finalized */
.cookie-banner {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
  max-width: 540px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); }
.cookie-banner h4 svg { width: 18px; height: 18px; color: var(--accent); }
.cookie-banner p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.cookie-banner p a { color: var(--accent-text); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-row { margin-top: 40px; display: flex; justify-content: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
