/* ============================================================
   getemax.com — eMax hospitality compliance & web services
   Design system: Space Grotesk / Hanken Grotesk / Newsreader / Space Mono
   Palette: teal-ink, paper, mist, globe-teal, eMax green
   ============================================================ */

:root {
  /* palette */
  --ink:        #0A1F1C;   /* deep teal-black */
  --ink-2:      #12312B;   /* raised dark surface */
  --paper:      #FBFCFB;   /* base background */
  --mist:       #EEF3F1;   /* pale section / card */
  --mist-2:     #E4ECE8;
  --teal:       #0B6C7B;   /* globe blue-teal — trust anchor (AA on paper) */
  --teal-deep:  #0A5E6B;
  --green:      #3FA845;   /* eMax green — the "allowed / signal" accent */
  --green-deep: #2E7D33;   /* AA-safe green for white text */
  --green-lime: #7DC242;
  --line:       #D8E0DD;   /* hairline */
  --line-dark:  #234139;   /* hairline on dark */
  --muted:      #4C5F5A;   /* secondary text on light */
  --muted-d:    #9FB5AE;   /* secondary text on dark */
  --amber:      #C98A16;   /* "blocked / risk" tag */
  --white:      #ffffff;

  --grad: linear-gradient(100deg, var(--teal) 0%, var(--green) 100%);
  --grad-cta: linear-gradient(100deg, var(--teal-deep) 0%, var(--green-deep) 100%);
  --grad-lime: linear-gradient(100deg, var(--teal) 0%, var(--green-lime) 120%);

  /* type */
  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body:    "Hanken Grotesk", system-ui, sans-serif;
  --f-serif:   "Newsreader", Georgia, serif;
  --f-mono:    "Space Mono", ui-monospace, monospace;

  /* scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.75vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4.2rem);
  --step-5:  clamp(2.9rem, 2.1rem + 4vw, 5.4rem);

  /* layout */
  --container: 1200px;
  --narrow: 820px;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  --shadow-sm: 0 1px 2px rgba(10,31,28,.06), 0 4px 16px rgba(10,31,28,.05);
  --shadow-md: 0 12px 40px -12px rgba(10,31,28,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .7rem 1rem; border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--mist { background: var(--mist); }
.narrow { max-width: var(--narrow); }
.center { text-align: center; margin-inline: auto; }

.section--dark .muted,
.section--dark .lead { color: var(--muted-d); }
.section--dark a.link { color: var(--green-lime); }

/* ---------- type helpers ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.h-xl { font-size: var(--step-5); letter-spacing: -0.03em; }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); letter-spacing: -0.015em; }
.h-xs { font-size: var(--step-1); letter-spacing: -0.01em; }

.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--f-mono); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow { color: var(--green-lime); }
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7;
}

p + p { margin-top: 1rem; }
.stack > * + * { margin-top: 1.15rem; }
.measure { max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem;
  font-family: var(--f-display); font-weight: 500; font-size: var(--step--1);
  letter-spacing: .01em;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--white);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-cta); background-size: 140% 140%; }
.btn--primary:hover { background-position: 100% 0; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.section--dark .btn--ghost { color: var(--paper); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.05); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: var(--step-0); }
.btn--block { width: 100%; }

.link {
  color: var(--teal); font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
  border-bottom: 1px solid transparent; transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link:hover { gap: .65rem; border-bottom-color: currentColor; }
.link .arw { transition: transform .2s var(--ease); }
.link:hover .arw { transform: translateX(2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; align-items: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,252,251,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { width: 34px; height: auto; }
.brand .wordmark {
  font-family: var(--f-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand .wordmark b { color: var(--teal); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav-links a {
  font-family: var(--f-display); font-weight: 500; font-size: .92rem;
  padding: .55rem .75rem; border-radius: 8px; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--mist); color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--grad); margin-top: 3px;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--white); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* the in-menu CTA belongs to the mobile dropdown only */
.mobile-cta { display: none; }

@media (max-width: 940px) {
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .3s var(--ease), opacity .2s var(--ease);
  }
  .nav-links.open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .mobile-cta { display: block; margin-top: .8rem; border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--section-y); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero .risk-inline {
  font-family: var(--f-serif); font-style: italic; color: var(--teal);
}
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-stats dt { font-family: var(--f-display); font-size: var(--step-2); color: var(--ink); line-height: 1; }
.hero-stats dt b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dd { font-size: var(--step--1); color: var(--muted); margin-top: .35rem; letter-spacing: .01em; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* screen-reader-only (keeps an accessible/SEO heading for the image hero) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- image banner hero ---------- */
.hero-banner { padding-top: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: var(--section-y); }
.hero-banner .banner-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1.4rem 2rem; margin-top: 1.9rem;
}
.hero-cta-row .btn-row,
.hero-cta-row .hero-stats { margin-top: 0; }
@media (max-width: 760px) {
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- signature: consent gate ledger ---------- */
.gate {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-dark);
  position: relative; overflow: hidden;
}
.gate::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
}
.gate-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.gate-title { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .04em; text-transform: uppercase; color: var(--muted-d); }
.gate-state {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em;
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-dark);
  color: var(--green-lime);
}
.gate-rows { display: grid; gap: .5rem; }
.gate-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem .95rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark);
}
.gate-row .name { font-family: var(--f-mono); font-size: .86rem; color: var(--paper); }
.tag {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28rem .6rem; border-radius: 999px; white-space: nowrap;
}
.tag::before { content: "●"; font-size: .6em; }
.tag--blocked { color: var(--amber); background: rgba(201,138,22,.12); border: 1px solid rgba(201,138,22,.3); }
.tag--allowed { color: var(--green-lime); background: rgba(125,194,66,.12); border: 1px solid rgba(125,194,66,.3); }
.gate-foot {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--f-mono); font-size: .78rem; color: var(--muted-d);
}
.gate-foot b { color: var(--paper); }

/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: 1rem; }

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

/* cards */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { font-size: var(--step-1); margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: var(--step-0); }
.card .kicker {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 1rem;
}
.section--mist .card { background: var(--white); }

/* feature card with icon dot */
.feature { display: flex; flex-direction: column; gap: .6rem; }
.feature .dot {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--mist); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--teal); margin-bottom: .6rem;
}
.feature .dot svg { width: 20px; height: 20px; }

/* list with checks */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.checklist li::before {
  content: ""; flex-shrink: 0; margin-top: .5em; width: 8px; height: 8px; border-radius: 999px;
  background: var(--grad);
}
.section--dark .checklist li { color: var(--muted-d); }

/* exposure list — two columns of chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--f-mono); font-size: .82rem;
  padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; gap: .5rem;
}
.chip::before { content: "●"; color: var(--amber); font-size: .6em; }
.section--dark .chip { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--paper); }

/* big stat / risk callout — wraps on available width, not viewport:
   side-by-side when the container is wide (CIPA full-width),
   stacked when it sits in a narrow column (home split cell). */
.riskstat {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.2rem,3vw,2.5rem);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--ink-2);
}
.riskstat .num {
  flex: 0 0 auto;
  font-family: var(--f-display); font-weight: 700; line-height: .95;
  font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -0.03em;
  background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.riskstat > p { flex: 1 1 16rem; min-width: 0; }
.riskstat .num small { display:block; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; color: var(--muted-d); -webkit-text-fill-color: var(--muted-d); margin-top: .5rem; text-transform: uppercase; }

/* numbered process (real sequence only) */
.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line); counter-increment: step;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n {
  font-family: var(--f-mono); font-size: .85rem; color: var(--teal);
  padding-top: .3rem;
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.step p { color: var(--muted); max-width: 60ch; }

/* pull quote / authority line */
.pull {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: var(--step-2); line-height: 1.3; color: var(--ink);
  border-left: 3px solid transparent; border-image: var(--grad) 1;
  padding-left: clamp(1rem, 3vw, 2rem); max-width: 40ch;
}
.section--dark .pull { color: var(--paper); }
.pull cite { display: block; font-family: var(--f-mono); font-style: normal; font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin-top: 1rem; text-transform: uppercase; }
.section--dark .pull cite { color: var(--muted-d); }

/* split feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 820px){ .split, .split.rev { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0; padding-right: 2.5rem;
  font-family: var(--f-display); font-weight: 500; font-size: var(--step-1); position: relative;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 1.7rem; width: 12px; height: 12px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; max-width: 70ch; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 1rem auto 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }

.contact-aside .detail { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-aside .detail:last-child { border-bottom: 1px solid var(--line); }
.contact-aside .detail .k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.contact-aside .detail .v { font-size: var(--step-1); font-family: var(--f-display); margin-top: .3rem; }
.contact-aside .detail .v a:hover { color: var(--teal); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field > label { display: block; font-family: var(--f-display); font-weight: 500; font-size: .92rem; margin-bottom: .5rem; }
.field .req { color: var(--teal); }
.field .hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,140,.15);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field .error { color: #C0392B; font-size: .82rem; margin-top: .4rem; display: none; }
.field .error.show { display: block; }
.grid-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
@media (max-width: 540px){ .grid-2-form { grid-template-columns: 1fr; } }

/* segmented radio for contact method */
.segmented { display: flex; gap: .5rem; flex-wrap: wrap; }
.segmented label {
  flex: 1 1 auto; min-width: 90px; text-align: center; cursor: pointer;
  padding: .8rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--f-display); font-weight: 500; font-size: .9rem; color: var(--muted);
  transition: all .2s var(--ease); background: var(--paper);
}
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented label:hover { border-color: var(--teal); color: var(--ink); }
.segmented input:checked + label { border-color: var(--teal); color: var(--white); background: var(--teal); }
.segmented input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }

.conditional { display: none; }
.conditional.show { display: block; animation: slideDown .3s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.form-status { border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.err { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.3); color: #922; }
.form-status.ok { background: rgba(63,168,69,.1); border: 1px solid rgba(63,168,69,.35); color: #1d6b2a; }

.form-success { text-align: center; padding: clamp(2rem,5vw,3rem) 1rem; display: none; }
.form-success.show { display: block; }
.form-success .mark { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 999px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.form-success h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.form-success p { color: var(--muted); max-width: 40ch; margin-inline: auto; }

.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(3rem,6vw,5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 780px){ .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer .brand .wordmark { color: var(--paper); }
.site-footer .brand .wordmark b { color: var(--green-lime); }
.footer-about { max-width: 34ch; color: var(--muted-d); margin-top: 1.1rem; font-size: .95rem; }
.footer-col h4 { font-family: var(--f-mono); font-weight: 400; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .65rem; }
.footer-col a { color: var(--paper); opacity: .85; transition: opacity .2s var(--ease), color .2s; font-size: .95rem; }
.footer-col a:hover { opacity: 1; color: var(--green-lime); }
.footer-phone { font-family: var(--f-display); font-size: var(--step-1); color: var(--paper); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.6rem 0 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom small { color: var(--muted-d); font-size: .8rem; }
.footer-bottom .dotcom { font-family: var(--f-mono); letter-spacing: .05em; color: var(--green-lime); font-size: .82rem; }
.cookie-prefs {
  font-family: var(--f-body); font-size: .8rem; color: var(--muted-d);
  background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; transition: color .2s var(--ease);
}
.cookie-prefs:hover { color: var(--green-lime); }
.cookie-prefs:focus-visible { outline: 3px solid var(--green-lime); outline-offset: 3px; border-radius: 3px; }
.disclaimer { border-top: 1px solid var(--line-dark); }
.disclaimer p { color: var(--muted-d); font-size: .78rem; line-height: 1.6; max-width: 100%; padding: 1.8rem 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .conditional.show { animation: none; }
  .btn, .card, .link { transition: none; }
}

/* small print row */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.4rem; }
.trust-row .item { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); display: inline-flex; align-items: center; gap: .55rem; }
.trust-row .item svg { width: 16px; height: 16px; color: var(--teal); }
.section--dark .trust-row .item { color: var(--muted-d); }
.section--dark .trust-row .item svg { color: var(--green-lime); }

/* page hero (interior pages) */
.page-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem,4vw,3rem); }
.page-hero h1 { margin-bottom: 1.2rem; max-width: 20ch; }
.page-hero .lead { max-width: 58ch; }
