/* BotPulsar marketing site — zero-build CSS.
   Deliberately hand-written rather than Tailwind: no node toolchain, no purge
   step, and nothing that can silently drop a class from the built stylesheet. */

:root {
  --brand: #6d28d9;
  --brand-600: #7c3aed;
  --brand-700: #5b21b6;
  --brand-soft: #f5f3ff;
  --accent: #10b981;

  --ink: #0f1222;
  --ink-2: #3d4155;
  --ink-3: #6b7086;
  --line: #e6e6f0;
  --bg: #ffffff;
  --bg-2: #fafaff;
  --bg-3: #f4f4fb;

  --ok: #059669;
  --ok-text: #047857;
  --warn: #b45309;
  --no: #8b90a3;

  /* Fixed brand colours for inverted surfaces (CTA band, badges). These must
     NOT flip in dark mode: the surface stays deep purple in both themes, so a
     token that lightens would put pale text on a white button. */
  --on-brand: #ffffff;
  --brand-fixed: #6d28d9;
  --brand-fixed-deep: #5b21b6;

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1140px;
  --shadow: 0 1px 2px rgba(16, 18, 40, .05), 0 8px 24px rgba(16, 18, 40, .06);
  --shadow-lg: 0 2px 4px rgba(16, 18, 40, .06), 0 18px 48px rgba(16, 18, 40, .10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #a78bfa;
    --brand-600: #8b5cf6;
    --brand-700: #c4b5fd;
    --brand-soft: #1c1633;
    --accent: #34d399;

    --ink: #f2f3f9;
    --ink-2: #c3c6d6;
    --ink-3: #9297ac;
    --line: #2a2d43;
    --bg: #0c0e1a;
    --bg-2: #11132250;
    --bg-3: #161930;

    --ok: #34d399;
    --ok-text: #34d399;
    --warn: #fbbf24;
    --no: #767c95;

    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 48px rgba(0, 0, 0, .5);
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.028em; }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 62ch; }
.center .lede { margin-inline: auto; }

.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;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 18px; min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; letter-spacing: -.025em; font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 40%, transparent);
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
/* `:not(.btn)` is essential, not cosmetic. `.site-nav > a` outranks
   `.btn-primary` on specificity, so without it the nav repainted the CTA's
   label to --ink-2 (1.42:1 on the purple fill) and the hover rule replaced the
   purple fill with --bg-3 entirely. */
.site-nav > a:not(.btn) { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.site-nav > a:not(.btn):hover { color: var(--ink); background: var(--bg-3); text-decoration: none; }
.site-nav > a.btn { margin-left: 6px; }

.navtoggle, .navburger { display: none; }

@media (max-width: 900px) {
  .navburger {
    display: block; margin-left: auto; width: 40px; height: 38px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 9px; position: relative; background: var(--bg-3);
  }
  .navburger span, .navburger span::before, .navburger span::after {
    position: absolute; left: 10px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: "";
  }
  .navburger span { top: 18px; }
  .navburger span::before { top: -6px; }
  .navburger span::after { top: 6px; }

  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; box-shadow: var(--shadow);
  }
  .navtoggle:checked ~ .site-nav { display: flex; }
  .site-nav > a:not(.btn) { padding: 11px 12px; }
  .site-nav > a.btn { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* Fixed tokens: white on deep purple stays ~7:1 in both themes. The previous
   theme-reactive version lightened the fill in dark mode until the label and
   the button read as nearly the same colour. */
.btn-primary { background: var(--brand-fixed); color: var(--on-brand); border-color: var(--brand-fixed); box-shadow: 0 2px 10px color-mix(in srgb, var(--brand-fixed) 40%, transparent); }
.btn-primary:hover { background: var(--brand-fixed-deep); border-color: var(--brand-fixed-deep); color: var(--on-brand); }
.btn-ghost { background: var(--bg-3); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.btn-ghost:hover { background: var(--bg); border-color: var(--brand-600); color: var(--ink); }
.btn-lg { padding: 13px 26px; font-size: 1rem; }

.btn:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 2px; }

/* Defensive floor for button labels.
   A container rule such as `.site-nav > a` (0,1,1) outranks a bare `.btn-primary`
   (0,1,0) and will silently repaint a CTA's text — that is exactly how the nav
   "Start free" button ended up at 1.42:1. Anchor-qualified selectors match that
   specificity and sit later in the file, so a button keeps its own colour no
   matter which container it is dropped into. */
a.btn-primary, a.btn-primary:hover, a.btn-primary:focus { color: var(--on-brand); }
a.btn-ghost, a.btn-ghost:hover, a.btn-ghost:focus { color: var(--ink); }
a.btn-compare, a.btn-compare:hover, a.btn-compare:focus { color: var(--ink); }
.cta-band a.btn-primary, .cta-band a.btn-primary:hover { color: var(--brand-fixed-deep); }
.cta-band a.btn-ghost, .cta-band a.btn-ghost:hover { color: #fff; }

/* ---------------------------------------------------------------- sections */

section { padding: 76px 0; }
section.tight { padding: 52px 0; }
section.alt { background: var(--bg-3); }
.sec-head { max-width: 66ch; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: 12px;
}

/* answer-first block: the paragraph AI assistants and voice search lift */
.answer-first {
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 1.06rem;
  color: var(--ink);
  margin: 0 0 28px;
}
.answer-first p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- hero */

.hero { padding: 84px 0 64px; background: radial-gradient(1100px 480px at 50% -12%, var(--brand-soft), transparent 70%); }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin: 0 auto 26px; font-size: 1.22rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: .9rem; color: var(--ink-3); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 22px;
  border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}
.pill b { color: var(--brand-600); }

.price-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
}
.price-chip {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 20px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); min-width: 132px;
}
.price-chip .who { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.price-chip .amt { font-weight: 700; font-size: 1.05rem; }
.price-chip.us { border-color: var(--brand); background: var(--brand-soft); }
.price-chip.us .amt { color: var(--brand-600); }

/* ---------------------------------------------------------------- grids */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: .96rem; }
.card-link { display: block; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.icon-badge {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-600); margin-bottom: 14px;
  font-weight: 800; font-size: 1.05rem; border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}

.feature-list { margin-top: 14px; display: grid; gap: 10px; }
.feature-list li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: .95rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 15px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}

/* ------------------------------------------------- billing period toggle */

/* The radios are visually hidden but still focusable, and sit before both the
   control and the plan grid so `:checked ~` can drive them. No JavaScript. */
.bp-input {
  position: absolute; width: 1px; height: 1px; opacity: 0;
  margin: 0; padding: 0; border: 0; overflow: hidden;
}

.billing-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 36px;
}

.seg {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px;
}

.seg-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .98rem; color: var(--ink-3);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  user-select: none; white-space: nowrap;
}
.seg-item:hover { color: var(--ink); }

.save {
  font-size: .72rem; font-weight: 800; letter-spacing: .03em;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--bg));
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

/* Active segment */
#bp-monthly:checked ~ .billing-bar .seg-monthly,
#bp-quarterly:checked ~ .billing-bar .seg-quarterly,
#bp-yearly:checked ~ .billing-bar .seg-yearly {
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow);
}

/* Keyboard focus has to be visible even though the input itself is hidden. */
.bp-input:focus-visible ~ .billing-bar .seg { outline: 3px solid var(--brand-600); outline-offset: 3px; }

.btn-compare {
  background: var(--bg); color: var(--ink);
  border: 2px solid var(--ok); font-weight: 700;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--ok) 22%, transparent);
}
.btn-compare svg { color: var(--ok); }
.btn-compare:hover { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); color: var(--ink); border-color: var(--ok); }

/* Only the selected period's price block is shown. */
.price-for { display: none; }
#bp-monthly:checked ~ .plans .for-monthly,
#bp-quarterly:checked ~ .plans .for-quarterly,
#bp-yearly:checked ~ .plans .for-yearly { display: block; }

.plan .billed { font-size: .84rem; color: var(--ink-3); margin: 0 0 4px; }
.plan .billed b { color: var(--ok); font-weight: 700; }

@media (max-width: 560px) {
  .seg { width: 100%; flex-direction: column; align-items: stretch; border-radius: var(--radius); }
  .seg-item { justify-content: space-between; border-radius: var(--radius-sm); }
  .btn-compare { width: 100%; }
}

/* ------------------------------------------------------ per-message rates */

.rates { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.rate-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.rate-name {
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-600); margin: 0 0 10px;
}
.rate-amt {
  font-size: 2.15rem; font-weight: 800; letter-spacing: -.035em; margin: 0 0 10px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.rate-unit { font-size: .84rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.rate-body { color: var(--ink-2); font-size: .93rem; margin: 0; }

.rate-note {
  margin: 22px auto 0; max-width: 82ch; text-align: center;
  color: var(--ink-2); font-size: .93rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px;
}

.plan-cmp .th-price { font-size: .8rem; font-weight: 600; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.plan-cmp thead th.us .th-price { color: var(--brand-600); }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); align-items: start; }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--brand); border-width: 2px; box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-fixed); color: var(--on-brand); font-size: .74rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan .plan-tag { color: var(--ink-3); font-size: .9rem; min-height: 2.6em; margin-bottom: 14px; }
.plan .amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan .amount .n { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; }
.plan .amount .per { color: var(--ink-3); font-size: .95rem; font-weight: 500; }
.plan .conv { font-size: .86rem; color: var(--ink-3); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan .btn { width: 100%; margin-bottom: 18px; }
.plan .feature-list { margin-top: 0; }
.plan .feature-list li.heading { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan .feature-list li.heading::before { display: none; }

.notes { margin: 34px auto 0; max-width: 74ch; display: grid; gap: 9px; }
.notes li { padding-left: 24px; position: relative; color: var(--ink-2); font-size: .92rem; }
.notes li::before { content: "•"; position: absolute; left: 6px; color: var(--brand); font-weight: 700; }

/* ---------------------------------------------------------------- tables */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 780px; font-size: .93rem; }
table.cmp th, table.cmp td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { position: sticky; top: 0; background: var(--bg-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; z-index: 1; }
table.cmp thead th.us { color: var(--brand-600); background: var(--brand-soft); }
table.cmp td.us, table.cmp th.us { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); font-weight: 600; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover td { background: var(--bg-2); }
table.cmp tbody tr:hover td.us { background: var(--brand-soft); }
table.cmp td:first-child, table.cmp th:first-child { font-weight: 500; color: var(--ink); min-width: 250px; }
table.cmp tr.group-row td {
  background: var(--bg-3); font-weight: 700; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-3); padding: 10px 15px;
}
table.cmp td { text-align: center; }
table.cmp td:first-child { text-align: left; }
table.cmp th { text-align: center; }
table.cmp th:first-child { text-align: left; }

.mark { font-weight: 700; font-size: 1.02rem; }
.mark.yes { color: var(--ok); }
.mark.no { color: var(--no); }
.mark.partial { color: var(--warn); }
.cell-text { font-size: .9rem; font-weight: 600; }

.table-note { margin-top: 14px; font-size: .84rem; color: var(--ink-3); max-width: 82ch; }

/* ---------------------------------------------------------------- compare */

.vs-head { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-bottom: 34px; }
.vs-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.vs-card.us { border-color: var(--brand); background: var(--brand-soft); }
.vs-card .who { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.vs-card .amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; margin-bottom: 2px; }
.vs-card.us .amt { color: var(--brand-600); }
.vs-card .seat { font-size: .9rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- faq */

.faq { max-width: 78ch; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 1.4rem; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 20px; color: var(--ink-2); font-size: .97rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- blog */

.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); margin-bottom: 10px; }
.post-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.post-card .meta { margin-top: auto; padding-top: 16px; font-size: .84rem; color: var(--ink-3); }

.article { max-width: 74ch; margin: 0 auto; }
.article h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); margin-bottom: 16px; }
.article .meta { color: var(--ink-3); font-size: .9rem; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.article p { color: var(--ink-2); font-size: 1.04rem; }

.crumbs { font-size: .87rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs span { margin: 0 7px; opacity: .5; }

/* ---------------------------------------------------------------- cta band */

/* Uses the fixed brand tokens so the band stays deep purple in dark mode.
   With the theme-reactive tokens the gradient inverted to pale lavender and
   the white button text became unreadable against it. */
.cta-band { background: linear-gradient(135deg, var(--brand-fixed-deep), var(--brand-fixed)); color: var(--on-brand); padding: 58px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-brand); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--brand-fixed-deep); border-color: #fff; }
.cta-band .btn-primary:hover { background: #ede9fe; color: var(--brand-fixed-deep); }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .75); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .28); border-color: #fff; color: #fff; }

/* ---------------------------------------------------------------- footer */

.site-foot { background: var(--bg-3); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1.7fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand p { color: var(--ink-2); font-size: .93rem; margin: 12px 0 0; max-width: 34ch; }
.site-foot h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.site-foot ul { display: grid; gap: 9px; }
.site-foot ul a { color: var(--ink-2); font-size: .93rem; }
.site-foot ul a:hover { color: var(--brand-600); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

/* ---------------------------------------------------------------- glossary */

.glossary { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); margin: 0; }
.glossary-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.glossary dt { font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; color: var(--ink); }
.glossary dd { margin: 0; color: var(--ink-2); font-size: .95rem; }
.gloss-link { display: inline-block; margin-left: 4px; font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------- misc */

.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-card { text-align: center; }
.contact-card .big { font-size: 1.1rem; font-weight: 700; margin: 8px 0 4px; }

/* WhatsApp is the channel this product is built for, so its card is the one
   that reads as an action rather than a line of text. */
a.contact-card-whatsapp {
  color: inherit; border-color: color-mix(in srgb, var(--ok) 45%, var(--line));
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.contact-card-whatsapp:hover {
  text-decoration: none; border-color: var(--ok); transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
/* --ok is tuned for icons and marks; as 17.6px bold text on the card it only
   reaches 3.77:1 in light mode. --ok-text is the same hue darkened to 5.48:1. */
a.contact-card-whatsapp .big { color: var(--ok-text); }
.icon-badge-whatsapp {
  background: color-mix(in srgb, var(--ok) 14%, var(--bg));
  border-color: color-mix(in srgb, var(--ok) 30%, transparent);
  color: var(--ok);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .btn:hover, .card-link:hover { transform: none; }
}
