/* ============================================================
   PriorityDial: styles.css
   Rebuilt presentation layer on the live app's design tokens.
   Light, soft, credible. DM Sans throughout. No serif.
   ============================================================ */

/* DM Sans, self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). Latin subset. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Surfaces */
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --border: #E4E8ED;
  --border-hover: #CBD2DA;

  /* Brand */
  --brand: #0B3C2F;
  --brand-mid: #145C47;

  /* Accent */
  --accent: #14D890;
  --accent-hover: #0FC47E;
  --accent-subtle: rgba(20, 216, 144, 0.10);
  --accent-border: rgba(20, 216, 144, 0.25);

  /* Priority */
  --p1: #14D890; --p1-bg: rgba(20, 216, 144, 0.10); --p1-border: rgba(20, 216, 144, 0.25);
  --p2: #F5A623; --p2-bg: rgba(245, 166, 35, 0.10); --p2-border: rgba(245, 166, 35, 0.25);
  --p3: #FF4757; --p3-bg: rgba(255, 71, 87, 0.10); --p3-border: rgba(255, 71, 87, 0.20);

  /* Text */
  --text: #0F172A;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  /* AA-safe text greys (pass 4.5:1 on white, --bg and the mint tint) */
  --text-2: #546173;
  --p1-text: #097C51; /* mint as text: passes 4.5:1 on white, --bg and the mint tint */
  --p3-text: #CC2D3D; /* red as text: passes 4.5:1 on white, --bg and the mint tint */
  --text-3: #5B6878;

  /* Radius */
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(11,60,47,0.10);

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --side: clamp(16px, 4vw, 40px);
}

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

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--brand); text-wrap: balance; }
h1 { font-size: 64px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
p { max-width: 62ch; }

.lead { font-size: 19px; color: var(--text); margin-top: 18px; max-width: 58ch; line-height: 1.6; }
.section-num { font-size: 14px; color: var(--text-3); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.sub-note { font-size: 14px; color: var(--text-2); margin-top: 16px; }
.sub-note a, .lead a { color: var(--brand-mid); }

sup.fn { font-size: 0.6em; vertical-align: super; line-height: 0; }
sup.fn a { color: var(--text-3); text-decoration: none; }
sup.fn a:hover { color: var(--brand); }

.todo { color: var(--text-2); border-bottom: 1px dotted var(--text-dim); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--side); }

.section { padding: 100px 0; }
.section--bg { background: var(--bg); }
.section--surface { background: var(--surface); }
.section--tint { background: var(--accent-subtle); }

.section-head { max-width: 72ch; }
.section-head .lead { margin-bottom: 0; }

.is-hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); }
.icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--accent { color: var(--accent); }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--brand); font-weight: 600; font-size: 16px;
  padding: 14px 22px; border: 1px solid var(--accent); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--brand); font-weight: 600; font-size: 16px;
  padding: 14px 22px; border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: border-color .18s ease;
}
.btn-secondary:hover { border-color: var(--border-hover); }
.btn-secondary.btn-sm { padding: 9px 14px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 16px; text-decoration: none; }
.link-arrow .arrow { transition: transform .18s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; border: 1px solid transparent; white-space: nowrap; }
.tag-p1 { color: var(--brand); background: var(--p1-bg); border-color: var(--p1-border); }
.tag-p2 { color: #8a5a06; background: var(--p2-bg); border-color: var(--p2-border); }
.tag-p3 { color: #b01f2b; background: var(--p3-bg); border-color: var(--p3-border); }
.tag-removed { color: var(--text-3); background: #F1F5F9; border-color: var(--border); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card.hoverable:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- Motion ----------
   The fade-up initial state only applies when JS is running (html.js),
   so with JavaScript disabled every element renders in its final state. */
.js [data-animate] { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.js [data-animate].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9.6px; text-decoration: none; } /* gap = 30% of the 32px mark */
.brand .mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand .wordmark { color: #0a0a0a; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1; }

.nav-centre { display: flex; align-items: center; gap: 28px; }
.nav-centre a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-centre a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right .login { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-right .login:hover { color: var(--brand); }

.hamburger { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--brand); border-radius: 2px; margin: 4px 0; }

.mobile-menu { position: fixed; inset: 0; background: var(--surface); z-index: 60; display: none; flex-direction: column; padding: 20px var(--side); }
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.mobile-menu-close { background: none; border: none; cursor: pointer; font-size: 30px; color: var(--brand); line-height: 1; padding: 6px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; }
.mobile-menu nav a { font-size: 22px; font-weight: 600; color: var(--brand); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn-primary { margin-top: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 80px 0 100px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero h1 { font-size: 56px; }
.hero-credit { margin-top: 26px; font-size: 14px; color: var(--text-2); max-width: 52ch; line-height: 1.6; }

/* ---------- Live component 1: scored list ---------- */
.product-frame { background: var(--accent-subtle); padding: 32px; border-radius: var(--radius-xl); }
@media (max-width: 480px) { .product-frame { padding: 16px; } }
.product-card video { display: block; width: 100%; height: auto; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.product-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); font-weight: 500; }
.product-topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.product-topbar .count { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }

.scored-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: auto; }
.scored-table th { text-align: left; font-weight: 600; color: var(--text-3); font-size: 10.5px; letter-spacing: 0.02em; text-transform: uppercase; padding: 9px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.scored-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.scored-table tr:last-child td { border-bottom: none; }
.scored-table .c-contact { font-weight: 600; color: var(--text); white-space: nowrap; }
.scored-table .c-company { color: var(--text-2); white-space: nowrap; }
.scored-table .c-number { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scored-table .c-number .num { display: block; }
.scored-table .c-number .numtype { display: block; font-size: 11px; color: var(--text-3); line-height: 1.3; }
.company-cell { display: inline-flex; align-items: center; gap: 8px; }
.company-badge.alt { background: var(--p1-bg); color: var(--brand); box-shadow: inset 0 0 0 1px var(--p1-border); }
.company-badge { width: 20px; height: 20px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scored-row.removed { opacity: 0.6; transition: opacity .3s ease; }
/* Text inside the removed row is darkened so it still passes AA (4.5:1) after the 60% fade. */
.scored-row.removed .cname, .scored-row.removed .numtype { color: var(--text); }
.scored-row.removed .tag-removed { color: #080B12; }
.scored-table .pending, .product-card .pending-count { display: none; }
.js:not(.rm) [data-scored-list]:not(.done) .final-count { display: none; }
.js:not(.rm) [data-scored-list]:not(.done) .pending-count { display: inline; }
.js:not(.rm) .scored-row:not(.resolved) .final { display: none; }
.js:not(.rm) .scored-row:not(.resolved) .pending { display: inline-flex; }
.js:not(.rm) .scored-row:not(.resolved) .score-bar i { width: 0 !important; }
.js:not(.rm) .scored-row.removed:not(.resolved) { opacity: 1; }
.js:not(.rm) .scored-row.removed:not(.resolved) .c-contact { text-decoration: none; }
.scored-row.removed .c-contact, .scored-row.removed .c-number { text-decoration: line-through; }

.checking { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); }
.spinner { width: 13px; height: 13px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

.score-cell { display: inline-flex; align-items: center; gap: 8px; }
.score-num { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 18px; color: var(--text); }
.score-bar { width: 48px; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; flex-shrink: 0; }
.score-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .5s ease; }
.product-foot { display: flex; justify-content: flex-end; padding: 14px 16px; border-top: 1px solid var(--border); }

/* ============================================================
   01 reachability ring
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.ring-card { display: flex; align-items: center; gap: 32px; justify-content: center; }
.ring { --p: 20; width: 200px; height: 200px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--border) 0);
  display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.ring-centre { position: relative; text-align: center; }
.ring-centre .big { font-size: 38px; font-weight: 700; color: var(--brand); line-height: 1; }
.ring-centre .lbl { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.ring-legend { display: grid; gap: 12px; font-size: 14px; color: var(--text-2); max-width: 32ch; }
.ring-legend .key { display: flex; gap: 10px; align-items: flex-start; }
.ring-legend .swatch { width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; flex-shrink: 0; }
.ring-legend .swatch.mint { background: var(--accent); }
.ring-legend .swatch.grey { background: var(--border-hover); }

/* ============================================================
   02 three options
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.opt-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.opt-card.highlight { border-color: var(--accent-border); }
.opt-card .opt-tag { position: absolute; top: 20px; right: 20px; }
.opt-card h3 { margin-top: 4px; }
.opt-card ul { list-style: none; display: grid; gap: 8px; }
.opt-card li { color: var(--text-2); font-size: 15px; padding-left: 18px; position: relative; }
.opt-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--border-hover); }

/* ============================================================
   03 flow
   ============================================================ */
.flow { position: relative; margin-top: 56px; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 64px; align-items: center; position: relative; z-index: 1; }
.flow-col { display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.flow-labels { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 64px; margin-bottom: 16px; }
.flow-labels span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.flow-col > .flow-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flow-pill { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; color: var(--text); }
.flow-node { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 16px; }
.flow-node.brandnode { border-color: var(--accent-border); display: flex; flex-direction: column; gap: 12px; }
.flow-node .node-head { display: flex; align-items: center; gap: 10px; }
.flow-node .node-head .mark { width: 28px; height: 28px; }
.flow-node .node-head b { color: var(--brand); font-size: 15px; }
.status-lines { display: grid; gap: 8px; }
.status-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); opacity: 0.45; transition: opacity .3s ease; }
.status-line.on { opacity: 1; }
.status-line .tick { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.score-card { display: flex; flex-direction: column; gap: 6px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); padding: 12px; transition: border-color .25s ease, box-shadow .25s ease; }
.score-card .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.score-card .rate { font-size: 13px; color: var(--text-2); }
.score-card.flash-p1 { border-color: var(--p1); box-shadow: 0 0 0 3px var(--p1-bg); }
.score-card.flash-p2 { border-color: var(--p2); box-shadow: 0 0 0 3px var(--p2-bg); }
.score-card.flash-p3 { border-color: var(--p3); box-shadow: 0 0 0 3px var(--p3-bg); }
.dial-card { display: flex; flex-direction: column; gap: 10px; }
.dial-card .dial-list { display: flex; flex-wrap: wrap; gap: 6px; }
/* integration marks: one muted grey, brand colour on hover. Shapes come from assets/integrations/*.svg */
.brand-ico { display: inline-block; width: 16px; height: 16px; flex-shrink: 0; background-color: var(--brand-c); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.bi-zoominfo { --src: url("assets/integrations/zoominfo.svg"); --brand-c: #EC1C14; }
.bi-lusha { --src: url("assets/integrations/lusha.svg"); --brand-c: #5C0CFC; }
.bi-cognism { --src: url("assets/integrations/cognism.svg"); --brand-c: #4C44FC; }
.bi-nooks { --src: url("assets/integrations/nooks.svg"); --brand-c: #FC64FC; }
.bi-salesforce { --src: url("assets/integrations/salesforce.svg"); --brand-c: #00A1E0; }
.bi-apollo { --src: url("assets/integrations/apollo.svg"); --brand-c: #ECF414; }
.bi-hubspot { --src: url("assets/integrations/hubspot.svg"); --brand-c: #FF7A59; }
.bi-orum { --src: url("assets/integrations/orum.svg"); --brand-c: #425F66; }
.bi-salesloft { --src: url("assets/integrations/salesloft.svg"); --brand-c: #5DE27E; }

.flow-node.dial-alt { box-shadow: none; padding: 12px 16px; }
.flow-node.dial-alt b { color: var(--text-2); font-size: 13px; font-weight: 600; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--border-hover); stroke-width: 1.5; }
.flow-lines path.p1-route { stroke: #097C51; stroke-width: 2; }
.route-label rect { fill: var(--surface); stroke: #097C51; stroke-width: 1; }
.route-label text { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: #097C51; }
.dial-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.flow-note { font-size: 13px; color: var(--text-2); }
/* travelling chip */
.flow-chip { position: absolute; top: 0; left: 0; z-index: 3; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--brand); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; transition: transform 1.1s cubic-bezier(.4,0,.2,1), opacity .3s ease; pointer-events: none; }

/* figures row */
.figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fig { background: var(--surface); padding: 28px 24px; }
.fig .fig-num { font-size: 36px; color: var(--brand); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.fig .fig-label { font-size: 14px; color: var(--text-2); margin-top: 10px; }

/* ============================================================
   04 before / after
   ============================================================ */
.ba-card { margin-top: 44px; padding: 0; overflow: hidden; }
.ba-slider { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.ba-slider label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.ba-slider label .val { color: var(--brand); font-variant-numeric: tabular-nums; }
.ba-slider input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: var(--border); outline: none; }
.ba-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; }
.ba-slider input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); cursor: pointer; }
.ba-panels { display: grid; grid-template-columns: 1fr 1px 1fr; }
.ba-panel { padding: 24px 28px; display: flex; flex-direction: column; }
.ba-panel h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; text-transform: none; letter-spacing: 0; }
.ba-panel.blind h3 { color: var(--p3-text); }
.ba-panel.first h3 { color: var(--p1-text); }
.ba-panel p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; }
.ba-divider { background: var(--border); }
.ba-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.ba-row:last-child { border-bottom: none; }
.ba-row.held { border-top: 1px solid var(--border); border-bottom: none; margin-top: auto; padding-top: 16px; }
.ba-panel h3 + .ba-row, .ba-row + .ba-row:not(.held) { margin-top: 0; }
.ba-row.held .m { font-weight: 600; color: var(--text); }
.ba-row.held .v { font-size: 32px; font-weight: 700; line-height: 1; }
.ba-panel.first .ba-row.held .v { color: var(--p1-text); }
.ba-row .m { color: var(--text-2); }
.ba-row .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.ba-panel.blind .v { color: var(--p3-text); }
.ba-panel.first .v { color: var(--brand); }
.ba-panel.first .v.mint { color: var(--p1-text); }
.ba-slider .ba-label-2 { margin-top: 22px; }
.ba-fixed { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.ba-sub { font-size: 15px; color: var(--text-2); margin-top: 8px; max-width: 70ch; }
.ba-result { border-top: 1px solid var(--border); padding: 22px 28px 26px; background: var(--surface); }
.ba-punch { font-size: 22px; font-weight: 600; color: var(--brand); max-width: 56ch; line-height: 1.3; margin: 0; }

/* ============================================================
   05 how we score
   ============================================================ */
.cards-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.feat-card { display: flex; flex-direction: column; gap: 12px; }
.feat-card .feat-ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-subtle); display: grid; place-items: center; }
.feat-card .feat-ic .icon { color: var(--brand); }

/* ============================================================
   06 compliance (tint)
   ============================================================ */
.items-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.comp-item { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.comp-item .feat-ic { width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent-subtle); display: grid; place-items: center; flex-shrink: 0; }
.comp-item .ci-body h3 { margin-bottom: 8px; }
.comp-item .ci-body p { color: var(--text-2); font-size: 15px; }

/* ============================================================
   07 built by
   ============================================================ */
.builtby { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: 56px; align-items: center; }
/* ---------- Section 07: the app's Verify screen, live HTML (mirrors the app's own styles) ---------- */
.app { font-size: 13px; color: var(--text); text-align: left; container-type: inline-size; }
.app svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.app-brand { display: inline-flex; align-items: center; gap: 6.6px; font-weight: 600; font-size: 14px; color: #0a0a0a; white-space: nowrap; }
.app-brand .mark { flex: none; width: 22px; height: 22px; stroke: none; }
.app-tabs { display: flex; gap: 2px; }
.app-tabs span { padding: 5px 8px; font-size: 12.5px; border-radius: 999px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.app-tabs .on { background: var(--accent-subtle); color: var(--brand); font-weight: 600; }
.app-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.app-credits { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1.5px solid #f59e0b; border-radius: 999px; background: #fffbeb; color: #b45309; font-weight: 600; font-size: 12px; white-space: nowrap; }
.app-credits svg { width: 13px; height: 13px; }
.app-user { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.app-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.app-brand, .app-credits, .app-avatar { flex: none; }
/* the bar answers to the card's own width, so it never clips */
@container (max-width: 560px) { .app-name { display: none; } }
@container (max-width: 500px) { .app-tabs span:not(.on) { display: none; } .app-bar { gap: 8px; padding: 9px 10px; } }
@container (max-width: 360px) {
  .app-bar { gap: 6px; padding: 8px; }
  .app-brand { font-size: 13px; gap: 5px; } .app-brand .mark { width: 20px; height: 20px; }
  .app-tabs span { padding: 4px 8px; }
  .app-credits { font-size: 11px; padding: 2px 7px; } .app-credits svg { display: none; }
  .app-avatar { width: 22px; height: 22px; }
}
@container (max-width: 300px) { .app-bar { flex-wrap: wrap; row-gap: 6px; } }
.app-body { padding: 16px 14px 14px; background: var(--bg); }
.app-title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0; }
.app-sub { color: var(--text-2); font-size: 12.5px; margin: 2px 0 12px; }
.app-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.app-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; color: var(--text-3); }
.app-stat-v { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.app-stat-v.green { color: #097C51; }
.app-bar-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--text-2); }
.app-bar-row .track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.app-bar-row .track i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.app-bar-row .pct { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.app-upload { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border: 1.5px dashed var(--border-hover); border-radius: var(--radius); background: var(--surface); }
.app-upload > svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.app-upload b { display: block; font-size: 13px; color: var(--text); }
.app-upload span { display: block; font-size: 12px; color: var(--text-2); }
.app-lists-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 8px; }
.app-lists-head b { font-size: 14px; }
.app-filters { display: flex; gap: 4px; }
.app-filters span { padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; color: var(--text-2); font-size: 12px; }
.app-filters .on { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--brand); font-weight: 600; }
.app-run { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; margin-top: 6px; }
.app-run-name b { display: block; font-size: 13px; }
.app-run-name span { font-size: 11.5px; color: var(--text-2); }
.app-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.app-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; border-radius: 20px; padding: 2px 9px; white-space: nowrap; border: 1px solid transparent; }
.app-badge svg { width: 12px; height: 12px; }
.b-contacts { background: var(--bg); border-color: var(--border); color: var(--text-2); }
.b-phones { background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.25); color: #7c3aed; }
.b-p2 { background: var(--p2-bg); border-color: var(--p2-border); color: #8a5a06; }
.b-p1pct { background: rgba(20,216,144,0.10); border-color: rgba(20,216,144,0.28); color: #097C51; font-weight: 700; }
.b-done { background: #d1fae5; border-color: #a7f3d0; color: #047857; }
.tour-caps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tour-caps li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.tour-caps .icon { width: 18px; height: 18px; margin-top: 1px; }

/* ============================================================
   08 proof (hidden) marquee + quotes
   ============================================================ */
.marquee { overflow: hidden; margin-top: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.logo-slot { height: 32px; width: 120px; background: #E2E8F0; border-radius: 4px; filter: grayscale(1); flex-shrink: 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.quote-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-subtle); color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.quote-card .q { font-size: 20px; color: var(--text); line-height: 1.4; }
.quote-card .who { font-size: 14px; color: var(--text-2); }
.quote-card .who b { color: var(--text); font-weight: 600; display: block; }

/* ============================================================
   09 pilot (tint)
   ============================================================ */
.pilot-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 40px; }
.pilot-summary { display: flex; gap: 32px; justify-content: flex-start; }
.pilot-stat .n { font-size: 36px; font-weight: 700; color: var(--brand); line-height: 1; }
.pilot-stat .l { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.price-line { font-size: 19px; color: var(--brand); font-weight: 600; margin-top: 18px; }

/* ============================================================
   10 FAQ
   ============================================================ */
.faq { display: grid; gap: 14px; margin-top: 44px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 18px; font-weight: 600; color: var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .caret { transition: transform .2s ease; color: var(--text-2); }
.faq details[open] summary .caret { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; max-width: 76ch; }

/* ---------- steps (pilot) ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 40px; display: grid; gap: 22px; max-width: 60ch; }
.steps li { position: relative; padding-left: 52px; font-size: 17px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--p1-text); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

.embed-box { margin-top: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.embed-box iframe { width: 100%; min-height: 700px; border: none; display: block; }
.meetings-iframe-container { min-height: 700px; }
.embed-fallback { display: none; padding: 24px; text-align: center; font-weight: 600; }
.embed-fallback a { color: var(--brand); }
.embed-fallback--show, .hs-failed .embed-fallback, .embed-fallback.is-shown { display: block; }
.embed-placeholder { min-height: 700px; display: grid; place-items: center; color: var(--text-2); font-size: 14px; text-align: center; padding: 24px; }
/* booking card shown until the HubSpot calendar is asked for */
.book-card { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 28px; text-align: center; }
.book-card h3 { font-size: 24px; }
.book-card-line { max-width: 44ch; color: var(--text-2); font-size: 16px; }
.book-card .btn-primary { margin-top: 8px; font-family: inherit; }
.book-card .btn-primary:focus-visible, .meetings-iframe-container:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.meetings-iframe-container:focus:not(:focus-visible) { outline: none; }
.book-card-note { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.book-card-note a { color: var(--brand-mid); }
.book-card-noscript { margin: 0; }
html:not(.js) [data-book-open] { display: none; }
/* the email line sits inside the card; below the box only once the calendar shows */
.embed-box:not(.is-calendar) + .book-email { display: none; }
/* cookies already accepted: the calendar loads straight away, so hold its space */
html.pd-granted .book-card { visibility: hidden; min-height: 700px; }
@media (max-width: 768px) { .book-card { min-height: 360px; padding: 32px 20px; } .book-card h3 { font-size: 21px; } }

.maths { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; margin-top: 20px; }
.maths p { font-variant-numeric: tabular-nums; color: var(--text); margin: 6px 0; max-width: none; }
.maths .mh { font-weight: 600; color: var(--brand); }

.page-head { padding: 72px 0 8px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 72px var(--side) 72px; }
.legal-label { font-size: 13px; color: var(--p1-text); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.legal-title { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--brand); }
.legal-meta { font-size: 14px; color: var(--text-3); margin-top: 10px; margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 20px; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.legal-section h3 { font-size: 16px; font-weight: 700; color: var(--brand); margin: 18px 0 8px; }
.legal-section p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; max-width: none; }
.legal-section ol, .legal-section ul { padding-left: 22px; margin-bottom: 12px; }
.legal-section li { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 8px; }
.legal-section a { color: var(--brand-mid); text-decoration: underline; }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-section dl { display: grid; gap: 8px; }
.annex-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.annex-row dt { font-weight: 600; color: var(--text); font-size: 15px; }
.annex-row dd { color: var(--text-2); font-size: 15px; }
@media (max-width: 768px) {
  .legal-title { font-size: 34px; }
  .annex-row { grid-template-columns: 1fr; gap: 2px; }
}

/* opt-out form */
.optout-form { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; max-width: 520px; margin-top: 8px; }
.optout-field { display: flex; flex-direction: column; gap: 7px; }
.optout-field label { font-size: 14px; font-weight: 600; color: var(--text); }
.optout-field label span { font-weight: 400; color: var(--text-3); }
.optout-field input { font-family: var(--font); font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border-hover); border-radius: var(--radius); padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.optout-field input::placeholder { color: var(--text-3); }
.optout-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.optout-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.optout-message { font-size: 15px; line-height: 1.7; margin-top: 4px; display: none; }
.optout-message.show { display: block; }
.optout-message.success { color: var(--brand-mid); }
.optout-message.error { color: var(--text-2); }
.optout-message a { color: var(--brand-mid); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8.4px; } /* gap = 30% of the 28px mark */
.footer-brand .mark { width: 28px; height: 28px; }
.footer-brand .wordmark { color: #0a0a0a; font-weight: 600; font-size: 18px; line-height: 1; }
.footer-entity { margin-top: 16px; font-size: 16px; color: var(--brand); font-weight: 500; max-width: 44ch; }
.footer-address { margin-top: 8px; font-size: 14px; color: var(--text-2); max-width: 44ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; align-content: start; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 52px; } h2 { font-size: 34px; }
  .hero-grid, .split, .builtby, .pilot-card { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cards-3, .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  h1 { font-size: 38px; } h2 { font-size: 30px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-centre, .nav-right { display: none; }
  .hero h1 { font-size: 38px; }
  .h1-br { display: none; }
  .hamburger { display: block; }
  .cards-2x2, .items-2 { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .ba-panels { grid-template-columns: 1fr; }
  .ba-divider { display: none; }
  .ba-panel.blind { border-bottom: 1px solid var(--border); }
  .ba-punch { font-size: 19px; }
  .pilot-summary { gap: 24px; }
  /* hero table: drop secondary columns and size the rest to content */
  .scored-table .c-company, .scored-table th.h-company { display: none; }
  .scored-table { font-size: 11px; }
  .scored-table th, .scored-table td { padding: 8px 5px; }
  .scored-table th { font-size: 9.5px; letter-spacing: 0; }
  .scored-table .c-contact { white-space: normal; line-height: 1.3; }
  .score-bar { width: 26px; }
  .score-cell { gap: 6px; }
  .product-topbar { flex-wrap: wrap; row-gap: 2px; }
  .product-topbar .count { margin-left: 0; }
  .product-foot .btn-secondary { width: 100%; justify-content: center; }
  /* flow stacks vertically */
  .flow-grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .flow-lines { display: none; }
  .flow-labels { display: none; }
  /* mobile: the route through Scored to the dialler is the P1 route, drawn in green */
  .flow-grid .flow-col:nth-child(2)::after, .flow-grid .flow-col:nth-child(3)::after { background: #097C51; width: 2px; }
  .flow-grid .flow-col:nth-child(2)::before, .flow-grid .flow-col:nth-child(3)::before { border-color: #097C51; }
  .app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-body { padding: 14px 10px 10px; }
  .tour-caps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow-col > .flow-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
  .flow-col:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -36px; width: 1.5px; height: 26px; background: var(--border-hover); transform: translateX(-50%); }
  .flow-col:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -38px; width: 7px; height: 7px; border-right: 1.5px solid var(--border-hover); border-bottom: 1.5px solid var(--border-hover); transform: translateX(-50%) rotate(45deg); }
  .ba-result { padding: 18px 20px 22px; }
}

@media (max-width: 420px) {
  .figs { grid-template-columns: 1fr; }
  .pilot-summary { flex-wrap: wrap; }
}

/* ============================================================
   Pilot page: the booking block continues the page head on the
   same background instead of opening a new band, so the steps
   run straight into the heading at the site's usual
   heading to content gaps.
   ============================================================ */
.section.page-head--lead { padding-bottom: 0; }
.section.book-section { padding: 56px 0 72px; }
@media (max-width: 768px) {
  .section.book-section { padding: 40px 0 48px; }
}

/* ============================================================
   Footer: Cookie settings sits with the footer links
   ============================================================ */
.footer-link { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 14px; color: var(--text-2); text-align: left; cursor: pointer; }
.footer-link:hover { color: var(--brand); }
.footer-link:focus-visible, .footer-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Cookie consent banner (assets/js/consent.js)
   ============================================================ */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: center; pointer-events: none; }
.consent-inner { pointer-events: auto; width: 100%; max-width: 1120px; display: flex; align-items: center; gap: 24px; padding: 18px 22px; background: #FFFFFF; color: #0F172A; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(15,23,42,0.12), 0 2px 6px rgba(15,23,42,0.06); font-family: var(--font); }
.consent-text { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; color: #0F172A; }
.consent-text a { color: #0B3C2F; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: none; }
.consent-btn { min-width: 112px; padding: 12px 20px; border: 1px solid #0B3C2F; border-radius: var(--radius); background: #0B3C2F; color: #FFFFFF; font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .15s ease; }
.consent-btn:hover { background: #0F4D3C; }
.consent-btn:focus-visible { outline: 3px solid #14D890; outline-offset: 2px; }
html.consent-open body { padding-bottom: calc(var(--consent-h, 0px) + 32px); }
@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; bottom: 12px; }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .consent-text { font-size: 14px; }
  .consent-btn { min-width: 0; width: 100%; }
}
