/* ================================================================
   EasyPOS Kenya — shared marketing stylesheet
   Extracted from the original inline <style> so every page shares
   one cacheable file instead of ~570 lines duplicated per page.
   Visual style and light/dark theming are unchanged.
   ================================================================ */

/* ---------------- Tokens (light) ---------------- */
:root {
  --bg: #f6f9f7;
  --bg-alt: #eef3f0;
  --surface: #ffffff;
  --surface-muted: #f0f5f2;
  --surface-raised: #ffffff;
  --text: #15241d;
  --text-soft: #40534a;
  --muted: #64766d;
  --border: #dbe4de;
  --border-strong: #c3d0c9;
  --accent: #0e7a4e;
  --accent-strong: #0a5f3d;
  --accent-ink: #ffffff;
  --accent-soft: #e4f1e9;
  --accent-soft-strong: #c9e5d4;
  --feedback: #b45309;
  --focus: #0a5f3d;
  --grid-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 9vw, 7rem);
  --shadow-soft: 0 1px 2px rgba(21, 36, 29, 0.06), 0 8px 24px -12px rgba(21, 36, 29, 0.12);
  --shadow-raised: 0 2px 4px rgba(21, 36, 29, 0.06), 0 24px 48px -24px rgba(21, 36, 29, 0.25);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c110f;
    --bg-alt: #101714;
    --surface: #141d18;
    --surface-muted: #1a251f;
    --surface-raised: #18231d;
    --text: #e6ede8;
    --text-soft: #b7c5bd;
    --muted: #8b9b92;
    --border: #26322c;
    --border-strong: #37463e;
    --accent: #3ad091;
    --accent-strong: #5bdda4;
    --accent-ink: #0b2a1c;
    --accent-soft: #122a20;
    --accent-soft-strong: #1b3d2e;
    --feedback: #f0b35c;
    --focus: #5bdda4;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 56px -28px rgba(0, 0, 0, 0.7);
  }
}

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
button { font: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.container-narrow { width: min(760px, 92%); margin-inline: auto; }

::selection { background: var(--accent-soft-strong); color: var(--text); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: 0 0 auto; }

.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-muted); border-color: var(--text-soft); }

.btn-on-accent { background: var(--accent-ink); color: var(--accent-strong); }
.btn-on-accent:hover { background: var(--accent-ink); opacity: 0.92; }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
}
.brand small { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: -4px; }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface-muted); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--accent-ink); background: var(--accent); font-weight: 600; }
.nav-links a.btn-primary:hover { background: var(--accent-strong); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--surface-muted); }

/* ---------------- Hero ---------------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-soft-strong);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 22px; letter-spacing: 0.01em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--text-soft); max-width: 40ch; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-proof .item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.hero-proof .item svg { color: var(--accent); flex: 0 0 auto; }

/* Breadcrumbs */
.crumbs { font-size: 0.82rem; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--border-strong); }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ---------------- Showcase (segment switcher on home) ---------------- */
.showcase { position: relative; min-width: 0; }
.showcase::after {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}

.carousel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.slides { display: flex; width: 100%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.slide { flex: 0 0 100%; min-width: 0; width: 100%; display: flex; flex-direction: column; }
.slide .till { border: 0; border-radius: 0; }

.slide-tag { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.slide-tag svg { color: var(--accent); flex: 0 0 auto; }
.slide-tag b { font-family: var(--font-display); font-size: 0.84rem; font-weight: 700; color: var(--text); }
.slide-tag span { font-size: 0.78rem; color: var(--muted); margin-left: auto; text-align: right; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.car-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-soft); cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.car-arrow:hover { background: var(--accent-soft); color: var(--accent-strong); border-color: var(--accent); }

.dots { display: flex; align-items: center; gap: 9px; }
.dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--border-strong); transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease; }
.dot:hover { background: var(--text-soft); }
.dot.is-on { width: 26px; background: var(--accent); }
.dot.is-on:hover { background: var(--accent-strong); }
@media (max-width: 520px) { .car-arrow { display: none; } .carousel-controls { gap: 12px; } }

/* ---------------- The till (HTML stand-in for the app screen) ---------------- */
.till { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.till-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.till-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.till-bar .dot:first-child { background: var(--accent); }
.till-bar .title { margin-left: 4px; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.till-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.till-body { display: grid; grid-template-columns: 1.35fr 1fr; }
@media (max-width: 520px) { .till-body { grid-template-columns: 1fr; } }

.till-main { padding: 18px 18px 20px; }
.till-label { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.till-items { display: grid; gap: 9px; }
.till-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--surface-muted); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; }
.till-item .qty { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.till-item .name { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.till-item .mod { font-size: 0.74rem; color: var(--muted); }
.till-item .price { font-size: 0.85rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }

.till-side { padding: 18px; border-left: 1px solid var(--border); background: var(--surface-muted); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
@media (max-width: 520px) { .till-side { border-left: 0; border-top: 1px solid var(--border); } }

.till-total { display: grid; gap: 6px; font-size: 0.85rem; color: var(--text-soft); }
.till-total .row { display: flex; justify-content: space-between; }
.till-total .grand { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--border-strong); }
.till-total .grand strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.till-pay { display: grid; gap: 8px; }
.till-pay .pay-btn { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 11px 12px; font-size: 0.84rem; font-weight: 600; color: var(--text-soft); }
.till-pay .pay-btn .dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--border-strong); flex: 0 0 auto; }
.till-pay .pay-btn.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.till-pay .pay-btn.is-active .dot { border-color: transparent; background: var(--accent); }

.till-code { display: grid; gap: 7px; justify-items: center; padding-top: 4px; }
.till-code .bar { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.till-code .bar i { width: 3px; background: var(--text-soft); opacity: 0.55; border-radius: 1px; }
.till-code .txt { font-size: 0.72rem; color: var(--muted); }

/* ---------------- Proof strip ---------------- */
.proof { border-block: 1px solid var(--border); background: var(--bg-alt); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.proof-cell { background: var(--bg-alt); padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; }
.proof-cell strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--text); }
.proof-cell span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 720px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Sections (shared) ---------------- */
section.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head .kicker { font-size: 0.82rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.15; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; }

/* ---------------- Features grid ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gutter); list-style: none; padding: 0; margin: 0; }
@media (max-width: 880px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.feature h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.feature p { font-size: 0.88rem; color: var(--muted); }
.feature .tile-ic { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.feature .tile-ic svg { width: 21px; height: 21px; }
.feature .more { font-size: 0.85rem; font-weight: 600; text-decoration: none; margin-top: auto; }

/* ---------------- Solution (segment) cards ---------------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  text-decoration: none; color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}
.solution:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.solution .tile-ic { width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.solution .tile-ic svg { width: 22px; height: 22px; }
.solution h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.solution p { font-size: 0.9rem; color: var(--muted); }
.solution .go { margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gutter); }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; color: var(--accent-ink); background: var(--accent); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 0.94rem; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ---------------- Pricing ---------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 32px 28px; }
.plan.hot { border: 2px solid var(--accent); background: var(--accent-soft); box-shadow: var(--shadow-raised); }
.plan .flag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.plan h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.plan .audience { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.plan .quote { text-decoration: none; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-muted); padding: 14px 16px; margin: 6px 0 18px; display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s, background 0.15s; }
.plan .quote:hover { border-color: var(--accent); background: var(--accent-soft); }
.plan .quote strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-strong); }
.plan .quote span { font-size: 0.8rem; color: var(--muted); }
.plan.hot .quote { background: var(--surface); }
.plan.hot .quote:hover { border-color: var(--accent-strong); }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 4px 0 26px; padding: 0; }
.plan li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-soft); }
.plan li svg { color: var(--accent); flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pricing-note { margin-top: 26px; text-align: center; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------------- FAQ ---------------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--muted); flex: 0 0 auto; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .a { padding: 0 24px 22px; color: var(--text-soft); font-size: 0.95rem; }
.faq .a p + p { margin-top: 10px; }

/* ---------------- Lead form ---------------- */
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .lead-wrap { grid-template-columns: 1fr; } }

.lead-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 16px; box-shadow: var(--shadow-soft); }
.lead-form h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.lead-form > p { font-size: 0.9rem; color: var(--muted); margin-top: -6px; }

.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-soft); }
.field input, .field select {
  font: inherit; font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  min-height: 46px;
  width: 100%;
}
.field input::placeholder { color: var(--muted); }
.field .hint { font-size: 0.78rem; color: var(--muted); }

.lead-form .btn { width: 100%; }
.form-status { font-size: 0.88rem; font-weight: 600; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: var(--feedback); }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------------- Contact channels ---------------- */
.channels { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--grid-gutter); align-items: start; }
@media (max-width: 820px) { .channels { grid-template-columns: 1fr; } }

.channel-list { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s; }
.channel:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.channel .ic { width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.channel .ic svg { width: 23px; height: 23px; }
.channel .body { flex: 1; }
.channel .body b { display: block; font-size: 1rem; }
.channel .body span { font-size: 0.85rem; color: var(--muted); }
.channel .go { color: var(--muted); flex: 0 0 auto; }

.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; }
.contact-card .tel { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; display: inline-block; }
.contact-card .tel:hover { color: var(--accent); }
.contact-card .hours { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* ---------------- Final CTA ---------------- */
.final-cta { margin-bottom: var(--section-pad); }
.final { background: var(--accent-strong); color: var(--accent-ink); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 4.5rem); text-align: center; }
@media (prefers-color-scheme: dark) { .final { background: var(--accent-soft-strong); color: var(--text); } }
.final h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.025em; font-weight: 800; margin-bottom: 14px; }
.final p { font-size: 1.02rem; opacity: 0.9; max-width: 46ch; margin: 0 auto 32px; }
.final .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .col > b { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--text-soft); text-decoration: none; font-size: 0.92rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; max-width: 30ch; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

/* ---------------- Floating WhatsApp + mobile bar ---------------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.float-wa:hover { transform: translateY(-2px); }
.float-wa svg { width: 27px; height: 27px; }

.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar .btn { flex: 1; }
@media (max-width: 720px) { .mobile-bar { display: flex; } body { padding-bottom: 76px; } .float-wa { bottom: 96px; } }

/* ---------------- Legal prose ---------------- */
.prose { max-width: var(--measure); }
.prose h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin: 2.4rem 0 0.75rem; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-soft); font-size: 0.98rem; }
.prose p + p { margin-top: 0.9rem; }
.prose ul, .prose ol { margin: 0.9rem 0 0 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose a { font-weight: 500; }

.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.82rem; color: var(--muted); padding: 14px 0 22px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }

/* Draft banner — every legal page carries this until counsel signs off. */
.draft-banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-strong);
  border-left: 4px solid var(--feedback);
  border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 28px;
  font-size: 0.88rem; color: var(--text-soft);
}
.draft-banner strong { color: var(--feedback); }

/* ---------------- TODO markers (visible, never silently shipped) ---------------- */
.todo {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8em; font-weight: 600;
  background: var(--accent-soft);
  border: 1px dashed var(--feedback);
  color: var(--feedback);
  border-radius: 5px;
  padding: 1px 6px;
}
.todo-block {
  border: 1px dashed var(--feedback);
  border-radius: var(--radius);
  background: var(--surface-muted);
  padding: 20px 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.todo-block strong { color: var(--feedback); display: block; margin-bottom: 6px; }

/* ---------------- Comparison table ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); -webkit-overflow-scrolling: touch; }
table.compare { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 0.92rem; }
table.compare caption { text-align: left; padding: 18px 20px 0; font-size: 0.85rem; color: var(--muted); }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare thead th { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; background: var(--surface-muted); position: sticky; top: 0; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody th { font-weight: 600; color: var(--text); }
table.compare td { color: var(--text-soft); }
table.compare .yes { color: var(--accent); font-weight: 700; }
table.compare .no { color: var(--muted); }
table.compare .own { background: var(--accent-soft); }

/* ---------------- Hardware list ---------------- */
.hw-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hw-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; }
.hw-item h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hw-item h3 .tag { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.hw-item h3 .tag.tbd { background: var(--surface-muted); color: var(--muted); }
.hw-item p { font-size: 0.9rem; color: var(--muted); }

/* ---------------- Responsive nav ---------------- */
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

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