/* =============================================================================
   Actigy BPO — design system
   System-font, token-driven, responsive, light/dark aware. No external deps.
   Sections: tokens · base · layout · header/nav · buttons · hero · components
   · forms · footer · utilities · responsive · motion/print
   ========================================================================== */

/* ---- tokens --------------------------------------------------------------- */
:root {
  --brand-ink: #1a2150;
  --brand: #3340c7;
  --brand-2: #5b46f0;
  --accent: #109fb8;
  --good: #15875f;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef1ff;
  --ink: #0c1230;
  --surface: #ffffff;
  --surface-2: #fbfcff;
  --border: #e7eaf3;
  --border-strong: #d6dbea;
  --text: #141a2e;
  --text-soft: #4d5878;
  --text-faint: #6c7693;
  --on-dark: #eef1fb;
  --on-dark-soft: #aeb8d8;

  --grad: linear-gradient(120deg, #2a3bb0 0%, #5b46f0 52%, #17b6d8 100%);
  --grad-soft: linear-gradient(120deg, #eef1ff 0%, #f3f0ff 50%, #e8fbff 100%);
  --grad-ink: linear-gradient(150deg, #0c1230 0%, #161c46 55%, #1b2150 100%);

  --shadow-sm: 0 1px 2px rgba(16, 24, 48, 0.06), 0 1px 1px rgba(16, 24, 48, 0.04);
  --shadow: 0 8px 28px -10px rgba(20, 28, 60, 0.18);
  --shadow-lg: 0 28px 64px -24px rgba(20, 28, 60, 0.34);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  --container: 1140px;
  --gap: clamp(1rem, 2.4vw, 1.5rem);
  --pad-section: clamp(3.5rem, 7vw, 6rem);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Light-only by design (Stripe-style). The site does not follow the OS dark
   theme — backgrounds stay white with blue accents on every device. */
:root { color-scheme: light; }

/* ---- base ----------------------------------------------------------------- */
*, *::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(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-2) 70%, white);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; color: var(--text); font-weight: 760; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { color: var(--text-soft); }
strong { color: var(--text); font-weight: 680; }

.ico { width: 24px; height: 24px; flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- layout --------------------------------------------------------------- */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 800px; }
.section { padding-block: var(--pad-section); }
/* small spacing between stacked blocks (was collapsed to 0) */
.section + .section { padding-top: clamp(0.75rem, 2vw, 1.5rem); }
/* tinted / dark bands keep full top padding so their background isn't cramped */
.section.tone-soft, .section.tone-ink, .section.tone-tint { padding-top: var(--pad-section); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem;
  font-weight: 700; color: var(--brand-2);
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem;
}
.section-title { max-width: 22ch; }
.section-intro { margin-top: 1rem; max-width: 64ch; font-size: 1.075rem; }
.section-intro p + p { margin-top: 0.8rem; }
.tone-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.tone-tint { background: var(--grad-soft); }
.tone-ink { background: var(--grad-ink); }
.tone-ink h2, .tone-ink h3, .tone-ink .section-title { color: #fff; }
.tone-ink p { color: var(--on-dark-soft); }
.tone-ink .eyebrow { color: #8fa0ff; }

/* ---- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border-strong); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { display: inline-flex; align-items: baseline; gap: 0.3rem; letter-spacing: -0.02em; font-size: 1.16rem; }
.logo-name { color: var(--text); }
.logo-suffix {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  color: #fff; background: var(--brand); padding: 0.12rem 0.36rem;
  border-radius: 6px; transform: translateY(-1px);
}

.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 0.4rem; padding: 0; }
.nav-link, .nav-trigger {
  font: inherit; font-weight: 560; font-size: 0.96rem; color: var(--text);
  background: none; border: 0; cursor: pointer;
  padding: 0.55rem 0.7rem; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; gap: 0.34rem;
}
.nav-link:hover, .nav-trigger:hover { background: var(--bg-soft); text-decoration: none; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; }
.nav-trigger[aria-expanded="true"] { background: var(--bg-soft); color: var(--brand); }
.nav-trigger[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }
.header-cta { margin-left: 0.4rem; }

.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 760px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.25rem; z-index: 120;
}
.mega.narrow { max-width: 380px; }
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 1.1rem 1.75rem; }
.menu-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 700; margin-bottom: 0.5rem; }
.menu-col ul, .mega-list { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.menu-col a { display: block; padding: 0.4rem 0.5rem; border-radius: 8px; color: var(--text); font-size: 0.92rem; }
.menu-col a:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand); }
.mega-list { grid-template-columns: 1fr 1fr; gap: 0.2rem 0.6rem; }
.mega.narrow .mega-list { grid-template-columns: 1fr; }
.mega-list a { display: flex; gap: 0.7rem; padding: 0.6rem; border-radius: 10px; color: var(--text); }
.mega-list a:hover { background: var(--bg-soft); text-decoration: none; }
.mega-list .ico { color: var(--brand); margin-top: 2px; }
.mega-list strong { display: block; font-size: 0.93rem; }
.mega-list em { font-style: normal; font-size: 0.8rem; color: var(--text-faint); line-height: 1.4; }
.mega-foot { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.mega-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; font-size: 0.9rem; }
.mega-cta .ico { width: 18px; height: 18px; }

.nav-toggle { display: none; }
.bars { display: grid; gap: 5px; }
.bars span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

.mobile-nav { display: none; }

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 640; font-size: 0.98rem; line-height: 1;
  padding: 0.85rem 1.3rem; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-sm { padding: 0.62rem 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 70%, black); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 90%, black); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.cta-row.center { justify-content: center; }

/* inline mid-page CTA */
.inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-left: 4px solid var(--brand); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm);
}
.inline-cta h2 { font-size: 1.3rem; max-width: 26ch; }
.inline-cta p { margin-top: 0.4rem; max-width: 52ch; font-size: 0.96rem; }
.inline-cta .btn { flex: none; }
@media (max-width: 640px) { .inline-cta { flex-direction: column; align-items: flex-start; } .inline-cta .btn { width: 100%; } }

/* ---- home + page hero ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(58% 88% at 100% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 13%, transparent) 1px, transparent 0);
  background-size: 28px 28px; opacity: 0.5;
  mask-image: radial-gradient(75% 70% at 82% 8%, black, transparent 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero-sub { font-size: 1.18rem; max-width: 52ch; margin-top: 1.1rem; color: var(--text-soft); }

.page-hero {
  background:
    radial-gradient(52% 92% at 100% 0%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 72%),
    var(--bg);
  border-bottom: 1px solid var(--border); padding-block: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 11%, transparent) 1px, transparent 0);
  background-size: 28px 28px; opacity: 0.45;
  mask-image: radial-gradient(68% 80% at 86% 0%, black, transparent 72%);
}
.page-hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.5rem; align-items: start; }
.hero-aside { display: grid; gap: 0.8rem; }

.eyebrow.light, .hero .eyebrow { color: var(--brand-2); }

/* trust strip */
.trust-strip { margin-top: 2.2rem; }
.trust-strip p { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-faint); font-weight: 700; margin-bottom: 0.7rem; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.trust-logos span {
  font-weight: 640; font-size: 0.9rem; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  padding: 0.42rem 0.85rem; border-radius: var(--pill); box-shadow: var(--shadow-sm);
}

/* hero visual card */
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.3rem;
}
.hero-card h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 0.9rem; color: var(--text); }
.hc-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.hc-row:first-of-type { border-top: 0; }
.hc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); flex: none; }
.hc-ico .ico { width: 20px; height: 20px; }
.hc-row strong { font-size: 0.95rem; display: block; }
.hc-row span { font-size: 0.82rem; color: var(--text-faint); }
.hc-kpi { margin-left: auto; font-weight: 760; color: var(--good); font-size: 0.9rem; }

/* ---- direct answer -------------------------------------------------------- */
.direct-answer {
  margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--brand); border-radius: var(--r);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); max-width: 60ch;
}
.da-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--brand-2); margin-bottom: 0.3rem; }
.da-text { color: var(--text); font-size: 1.06rem; line-height: 1.55; }
.hero .direct-answer { max-width: 56ch; }

/* ---- cards ---------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; margin-top: 2rem; }
.link-card {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.2rem; color: var(--text); box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.link-card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.lc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex: none; border: 1px solid var(--border); }
.lc-body { display: block; }
.lc-body strong { display: block; margin-bottom: 0.25rem; font-size: 1.02rem; }
.lc-body span { color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; }
.lc-arrow { margin-left: auto; color: var(--text-faint); align-self: center; }
.lc-arrow .ico { width: 20px; height: 20px; }
.link-card:hover .lc-arrow { color: var(--brand); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.feature-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 0.9rem; }
.feature-ico .ico { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.95rem; }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.9rem; margin-top: 2rem; }
.cap-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 1.15rem 1.25rem; }
.cap-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.5rem; }
.cap-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.cap-card p { font-size: 0.92rem; }

/* ticks + fit columns */
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.65rem 1.5rem; margin-top: 1.6rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks .ico { width: 20px; height: 20px; color: var(--good); margin-top: 3px; }
.ticks span { color: var(--text-soft); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.fit-card { border-radius: var(--r-lg); padding: 1.5rem; border: 1px solid var(--border); }
.fit-card h3 { margin-bottom: 1rem; }
.fit-card ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.fit-card li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.96rem; color: var(--text-soft); }
.fit-good { background: color-mix(in srgb, var(--good) 7%, var(--surface)); border-color: color-mix(in srgb, var(--good) 26%, var(--border)); }
.fit-good .ico { color: var(--good); width: 20px; height: 20px; margin-top: 2px; }
.fit-bad { background: var(--surface); }
.fit-bad .x { color: var(--text-faint); font-weight: 800; flex: none; width: 20px; text-align: center; }

/* ---- process -------------------------------------------------------------- */
.proc-list { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.proc-step { display: flex; gap: 1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg); padding: 1.25rem; }
.section:not(.tone-ink) .proc-step { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.proc-n { font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--grad); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.proc-step h3 { color: #fff; margin-bottom: 0.35rem; }
.section:not(.tone-ink) .proc-step h3 { color: var(--text); }
.proc-step p { font-size: 0.92rem; }

/* ---- comparison ----------------------------------------------------------- */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.cmp-card { border-radius: var(--r-lg); padding: 1.6rem; border: 1px solid var(--border); }
.cmp-card h3 { margin-bottom: 1.1rem; font-size: 1.12rem; }
.cmp-card ul { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.cmp-card li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-soft); }
.cmp-good { background: var(--surface); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); box-shadow: var(--shadow); position: relative; }
.cmp-good::before { content: "Actigy"; position: absolute; top: -11px; left: 1.6rem; background: var(--brand); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: var(--pill); }
.cmp-good .ico { color: var(--good); width: 20px; height: 20px; margin-top: 1px; flex: none; }
.cmp-base { background: var(--bg-soft); }
.cmp-base .x { color: var(--text-faint); font-weight: 800; width: 20px; text-align: center; flex: none; }

/* ---- faq ------------------------------------------------------------------ */
.faq-list { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0.25rem;
  display: flex; align-items: center; gap: 1rem; font-weight: 640; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.05rem; }
.faq-mark { margin-left: auto; position: relative; width: 18px; height: 18px; flex: none; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: 0.2s; }
.faq-mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-mark::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 0.25rem 1.2rem; max-width: 72ch; }
.faq-a p { color: var(--text-soft); }

/* ---- cta band ------------------------------------------------------------- */
.cta-band { padding-block: var(--pad-section); }
.cta-band-inner {
  background: var(--grad-ink); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band-inner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(91, 70, 240, 0.5), transparent 70%);
}
.cta-band-inner h2 { color: #fff; max-width: 20ch; }
.cta-band-inner p { color: var(--on-dark-soft); margin-top: 0.6rem; max-width: 46ch; position: relative; }
.cta-band-inner .cta-row { margin-top: 0; position: relative; }

/* ---- breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--bg); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 0; font-size: 0.84rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; color: var(--text-faint); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs [aria-current="page"] span { color: var(--text); font-weight: 600; }

/* ---- chips / stat strip --------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; margin-bottom: 1.1rem; }
.chip { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--pill); padding: 0.42rem 0.9rem; font-size: 0.88rem; font-weight: 560; color: var(--text); }
a.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.chip.static { color: var(--text-soft); }
.rel-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--text-faint); margin-top: 0.4rem; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 0.9rem 1rem; box-shadow: var(--shadow-sm); }
.stat-k { display: block; font-size: 0.78rem; color: var(--text-faint); font-weight: 600; }
.stat-v { display: block; font-weight: 720; color: var(--text); margin-top: 0.2rem; }

/* prose */
.prose p { margin-top: 1rem; max-width: 70ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.2rem; color: var(--text-soft); max-width: 68ch; }
.prose li { margin-top: 0.4rem; }
.prose li::marker { color: var(--brand); }

/* ---- forms ---------------------------------------------------------------- */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.4rem; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: 0.35rem; }
.field.row-2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field.row-2 { grid-template-columns: 1fr; } }
.field label { font-size: 0.85rem; font-weight: 620; color: var(--text); }
.field .req { color: var(--brand-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.96rem; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--brand-2) 30%, transparent); outline-offset: 0; }
.field .hint { font-size: 0.78rem; color: var(--text-faint); }
.form-aside { display: grid; gap: 1.2rem; align-content: start; }
.form-note { font-size: 0.8rem; color: var(--text-faint); }
.checklist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-soft); font-size: 0.95rem; }
.checklist .ico { color: var(--good); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-success { display: none; padding: 1rem 1.1rem; border-radius: var(--r); background: color-mix(in srgb, var(--good) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--good) 35%, var(--border)); color: var(--text); font-weight: 560; }

/* ---- footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; margin-top: 1rem; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 2.5rem; }
.footer-brand .logo { margin-bottom: 0.9rem; }
.footer-tagline { max-width: 30ch; margin-bottom: 1.1rem; }
.footer-contact { margin-top: 1rem; font-size: 0.9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-col h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 700; margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--text-soft); font-size: 0.9rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.84rem; color: var(--text-faint); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; }
.footer-legal a { font-size: 0.84rem; color: var(--text-soft); }

/* ---- AEO blocks: key takeaways, facts, pull-quote, byline ----------------- */
.takeaways { background: var(--bg-tint); border: 1px solid var(--border); border-left: 4px solid var(--brand-2); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; margin-top: 1.6rem; max-width: 66ch; }
.takeaways h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-2); margin-bottom: 0.75rem; }
.takeaways ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.takeaways li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.takeaways .ico { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.byline { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; font-size: 0.9rem; color: var(--text-faint); flex-wrap: wrap; }
.byline strong { color: var(--text); font-weight: 640; }
.byline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.6rem; margin-top: 2rem; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 0.9rem 1.1rem; box-shadow: var(--shadow-sm); }
.fact dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700; }
.fact dd { margin: 0.25rem 0 0; font-weight: 640; color: var(--text); }
.pullquote { border-left: 4px solid var(--brand); background: var(--grad-soft); border-radius: var(--r-lg); padding: 1.6rem 1.85rem; margin-top: 2rem; max-width: 68ch; }
.pullquote p { font-size: 1.22rem; line-height: 1.5; color: var(--text); font-weight: 560; }
.pullquote cite { display: block; margin-top: 0.85rem; font-style: normal; font-size: 0.9rem; color: var(--text-faint); }
.pullquote cite strong { color: var(--text); }

/* ---- scroll-to-top -------------------------------------------------------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: color-mix(in srgb, var(--brand) 88%, black); }
.to-top svg { width: 22px; height: 22px; }
@media print { .to-top { display: none; } }

/* ---- utilities ------------------------------------------------------------ */
.lede { font-size: 1.18rem; color: var(--text-soft); max-width: 60ch; }
.muted { color: var(--text-faint); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.note-card { background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.3rem 1.5rem; }
.note-card h3 { margin-bottom: 0.5rem; }
.note-card p { color: var(--text-soft); font-size: 0.96rem; }
.anchor-offset { scroll-margin-top: 90px; }

/* ---- responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
  .hero-layout, .hero-grid, .footer-top, .form-wrap, .split { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .mobile-nav.open { display: block; border-top: 1px solid var(--border); background: var(--bg); }
  .mobile-nav-inner { padding-block: 1rem 1.5rem; display: grid; gap: 0.4rem; }
  .m-group summary { cursor: pointer; padding: 0.8rem 0.25rem; font-weight: 640; border-bottom: 1px solid var(--border); list-style: none; display: flex; justify-content: space-between; }
  .m-group summary::-webkit-details-marker { display: none; }
  .m-group summary::after { content: "+"; color: var(--brand); font-weight: 700; }
  .m-group[open] summary::after { content: "–"; }
  .m-group ul { list-style: none; padding: 0.3rem 0 0.8rem; display: grid; gap: 0.1rem; }
  .m-group a { display: block; padding: 0.5rem 0.75rem; color: var(--text-soft); border-radius: 8px; }
  .m-group a:hover { background: var(--bg-soft); }
  .m-link { display: block; padding: 0.8rem 0.25rem; font-weight: 640; border-bottom: 1px solid var(--border); color: var(--text); }
  .mobile-nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .fit-grid, .cmp-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- motion / print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .btn:hover { transform: none; } }
@media print {
  .site-header, .site-footer, .cta-band, .breadcrumbs, .nav-toggle { display: none; }
  body { font-size: 12pt; } .direct-answer { border: 1px solid #000; }
}

/* =============================================================================
   v2 — premium polish: reveal animations, graphics, menu, mobile, author box
   ========================================================================== */

/* ---- reveal-on-scroll (applied by app.js; safe without JS) ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---- animated hero graphic ------------------------------------------------ */
.hero::after, .page-hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px; right: -130px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 24%, transparent), transparent 64%);
  filter: blur(18px); opacity: .55; animation: floatBlob 16s ease-in-out infinite;
}
.page-hero::after { width: 360px; height: 360px; opacity: .4; animation-duration: 20s; }
@keyframes floatBlob { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-26px,22px) scale(1.06); } }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.logo-mark { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }

/* ---- nav micro-interactions ----------------------------------------------- */
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; }
.btn-primary:hover::after { transform: translateX(120%); }

/* ---- card hover lift ------------------------------------------------------ */
.feature-card, .cap-card, .fact, .cmp-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feature-card:hover, .fact:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 28%, var(--border)); }
.feature-ico { transition: transform .25s ease; }
.feature-card:hover .feature-ico { transform: scale(1.08) rotate(-3deg); }

/* ---- wider, grouped Resources mega-menu ----------------------------------- */
.mega.resources { max-width: 620px; }
.mega.resources .mega-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
@media (max-width: 760px) { .mega.resources { max-width: 92vw; } .mega.resources .mega-grid { grid-template-columns: 1fr 1fr; } }

/* ---- E-E-A-T author box --------------------------------------------------- */
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); max-width: 64ch; }
.author-box .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; letter-spacing: .02em; }
.author-box .ab-body h3 { font-size: 1rem; margin-bottom: .25rem; }
.author-box .ab-body p { font-size: .9rem; color: var(--text-soft); margin: 0; }
.author-box .ab-meta { margin-top: .5rem; font-size: .82rem; color: var(--text-faint); }
.author-box .ab-meta a { font-weight: 600; }

/* ---- mobile layout improvements ------------------------------------------ */
@media (max-width: 960px) {
  .header-inner { min-height: 62px; gap: 1rem; }
  .mobile-nav.open { box-shadow: var(--shadow-lg); max-height: calc(100dvh - 62px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .mobile-nav-inner { padding-block: 0.75rem 1.75rem; }
  .m-group summary, .m-link { min-height: 48px; align-items: center; font-size: 1.02rem; }
  .m-group ul { background: var(--bg-soft); border-radius: var(--r-sm); padding: 0.35rem 0.4rem 0.6rem; margin-top: 0.3rem; }
  .m-group a, .m-sub-head { min-height: 42px; display: flex; align-items: center; }
  .m-sub-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-faint); font-weight: 700; padding: 0.6rem 0.75rem 0.2rem; }
  .hero-layout { gap: 1.75rem; }
  .hero h1 { max-width: 100%; }
  .hero-aside { margin-top: 0.5rem; }
  .to-top { width: 42px; height: 42px; }
  .cta-band-inner { padding: 1.5rem; }
  .breadcrumbs ol { font-size: 0.8rem; }
}
@media (max-width: 520px) {
  :root { --pad-section: clamp(2.6rem, 9vw, 3.4rem); }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .btn { width: 100%; justify-content: center; }
  .header-cta .btn, .nav-toggle ~ * .btn { width: auto; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .trust-logos { gap: 0.4rem; }
  .trust-logos span { font-size: 0.82rem; padding: 0.36rem 0.7rem; }
  .da-text { font-size: 1rem; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ---- focus & a11y polish -------------------------------------------------- */
.reveal:focus-within { opacity: 1; transform: none; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 90px; }
.faq-item summary:focus-visible { outline-offset: 4px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero::after, .page-hero::after { animation: none; }
}

/* ---- statistics cards (backlink-magnet pages) ----------------------------- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 28%, var(--border)); }
.stat-card .num { font-size: clamp(1.7rem, 3.5vw, 2.1rem); font-weight: 820; letter-spacing: -0.02em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .lbl { margin-top: 0.5rem; color: var(--text-soft); font-size: 0.93rem; }
.stat-card .src { margin-top: 0.65rem; font-size: 0.74rem; color: var(--text-faint); }
.stat-card .src a { color: var(--text-faint); text-decoration: underline; }
.src-list { margin-top: 1rem; font-size: 0.85rem; color: var(--text-soft); }
.src-list li { margin-top: 0.35rem; }

/* ---- footer address ------------------------------------------------------- */
.footer-address { font-size: 0.84rem; color: var(--text-faint); margin-top: 0.4rem; font-style: normal; line-height: 1.5; }
.footer-address svg { width: 15px; height: 15px; display: inline; vertical-align: -2px; margin-right: 4px; color: var(--brand); }

/* ---- form validation + thank-you ------------------------------------------ */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d4453a; background: color-mix(in srgb, #d4453a 4%, var(--surface-2)); }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { outline: 2px solid color-mix(in srgb, #d4453a 35%, transparent); }
.field-error-msg { color: #c0392b; font-size: 0.8rem; margin-top: 0.25rem; display: flex; align-items: center; gap: 0.35rem; }
.field-error-msg::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #d4453a; color: #fff; font-size: 0.66rem; font-weight: 800; flex: none; }
.form-success { /* shown as flex by JS on submit */ flex-direction: column; gap: 0.45rem; padding: 1.6rem 1.5rem; border-radius: var(--r-lg); background: color-mix(in srgb, var(--good) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--good) 35%, var(--border)); color: var(--text); text-align: center; align-items: center; }
.form-success strong { font-size: 1.1rem; }
.form-success span { color: var(--text-soft); font-size: 0.95rem; max-width: 42ch; }
.form-success .ty-check { width: 52px; height: 52px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; margin-bottom: 0.3rem; animation: pop .4s cubic-bezier(.34,1.56,.64,1); }
.form-success .ty-check svg { width: 28px; height: 28px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .form-success .ty-check { animation: none; } }

/* ---- author hero ---------------------------------------------------------- */
.author-hero { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 0.5rem; }
.avatar-lg { width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 820; font-size: 1.8rem; flex: none; box-shadow: var(--shadow); letter-spacing: 0.02em; }
.author-hero h1 { margin-bottom: 0.2rem; }
.author-hero .lede { margin-bottom: 0.5rem; }
@media (max-width: 560px) { .author-hero { flex-direction: column; align-items: flex-start; } .avatar-lg { width: 68px; height: 68px; font-size: 1.5rem; } }

/* ---- inline diagrams / infographics --------------------------------------- */
.diagram { margin-top: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1rem,3vw,1.6rem); box-shadow: var(--shadow-sm); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { margin-top: 0.9rem; font-size: 0.86rem; color: var(--text-faint); text-align: center; }

/* ---- social proof: trusted-by, testimonials, results ---------------------- */
.trusted { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.trusted .tl-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-faint); font-weight: 700; }
.client-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.4rem; }
.client-mark { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--text-faint); opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.client-mark:hover { opacity: 1; }
.client-mark .dot { color: #0052cc; }
.client-mark.elogic { font-weight: 700; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; margin-top: 2rem; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tcard .stars { color: #e6b53f; letter-spacing: 2px; margin-bottom: 0.7rem; font-size: 0.95rem; }
.tcard blockquote { font-size: 1.06rem; color: var(--text); line-height: 1.55; margin: 0; }
.tcard .who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1.1rem; }
.tcard .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; flex: none; }
.tcard .who b { display: block; font-size: 0.92rem; color: var(--text); }
.tcard .who span { font-size: 0.82rem; color: var(--text-faint); }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; margin-top: 2rem; }
.result { background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.result .ico { color: var(--brand); width: 22px; height: 22px; margin-bottom: 0.5rem; }
.result strong { display: block; font-size: 0.97rem; color: var(--text); }
.result span { font-size: 0.86rem; color: var(--text-soft); }

/* ---- CEE / delivery region ------------------------------------------------ */
.region-flag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--pill); padding: 0.4rem 0.9rem; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm); }
.region-flag .ico { width: 18px; height: 18px; color: var(--brand); }

/* ---- compliance badges + coverage strip ----------------------------------- */
.compliance { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.badge { display: flex; align-items: center; gap: 0.7rem; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r); padding: 0.8rem 1.1rem; box-shadow: var(--shadow-sm); }
.badge .ico { width: 26px; height: 26px; color: var(--brand); flex: none; }
.badge b { font-size: 0.93rem; color: var(--text); display: block; line-height: 1.2; }
.badge span { font-size: 0.76rem; color: var(--text-faint); }
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.cov { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.1rem 0.9rem; box-shadow: var(--shadow-sm); }
.cov .big { font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 820; letter-spacing: -0.02em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cov .lbl { font-size: 0.82rem; color: var(--text-soft); margin-top: 0.35rem; }
.footer-compliance { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; align-items: center; font-size: 0.82rem; color: var(--text-faint); margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.footer-compliance .ci { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-compliance .ico { width: 16px; height: 16px; color: var(--brand); }

/* ---- "Learn more" affordance on homepage cards ---------------------------- */
.lc-more { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.55rem; font-size: 0.84rem; font-weight: 650; color: var(--brand); }
.lc-more::after { content: "→"; transition: transform 0.18s ease; }
.link-card:hover .lc-more::after { transform: translateX(3px); }

/* ---- scenarios ("situations we solve") ------------------------------------ */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.scenario { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.scenario:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.scenario .trig { font-weight: 700; color: var(--text); font-size: 1rem; display: flex; gap: 0.55rem; align-items: flex-start; line-height: 1.4; }
.scenario .trig::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 0.45rem; flex: none; }
.scenario p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-soft); }
.scenario .sc-link { margin-top: 0.6rem; font-size: 0.84rem; font-weight: 650; display: inline-block; }

/* ---- home service-card spacing + "Learn more" on its own line ------------- */
.card-grid { gap: 1.4rem; }
.link-card { padding: 1.3rem 1.35rem; }
.lc-body span { display: block; }
.lc-more { display: flex; width: fit-content; align-items: center; gap: 0.3rem; margin-top: 0.7rem; }

/* ---- comparison table (AI-overview / Perplexity friendly) ----------------- */
.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.93rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.cmp-table thead th { background: var(--bg-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); font-weight: 700; }
.cmp-table tbody td:first-child { font-weight: 650; color: var(--text); }
.cmp-table td { color: var(--text-soft); }
.cmp-table .hl { background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.cmp-table th.hl { color: var(--brand); background: color-mix(in srgb, var(--brand) 13%, var(--surface)); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
