/* ==========================================================================
   QuantarisAI — Swiss Industrial Print (brutalist profile, archetype 2.1)
   Paper substrate, carbon ink, one press-red accent. Visible grid lines,
   mono telemetry labels, machine-cut corners. design.md rules still hold:
   AA contrast, radius+shadow+hover tokens, container discipline, AA focus.
   ========================================================================== */

/* --- Fonts (local woff2, no CDN) ------------------------------------------ */
@font-face {
  font-family: 'Archivo Black';
  src: url('/assets/fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --paper: #F4F4F0;          /* substrate */
  --paper-2: #EAE8E3;        /* bands, table heads */
  --paper-3: #EFEEE9;        /* zebra */
  --surface: #FBFAF7;        /* cards */
  --ink: #141414;            /* carbon ink text */
  --ink-2: #57544E;          /* muted text (7.0:1 on paper) */
  --line: #C9C6BE;           /* hairline */
  --line-strong: #141414;    /* structural rules */
  --accent: #C8102E;         /* press red (5.3:1 on paper) */
  --accent-hover: #A80D24;
  --accent-tint: #F3DFE2;    /* pale red wash for icon badges */
  --ok: #1F7A33;             /* semantic: tick (comparison table only) */
  --radius: 3px;
  --radius-sm: 2px;
  --shadow-sm: 0 1px 2px rgba(31, 28, 22, 0.07), 0 2px 6px rgba(31, 28, 22, 0.05);
  --shadow-md: 0 1px 2px rgba(31, 28, 22, 0.08), 0 8px 24px rgba(31, 28, 22, 0.09);
  --shadow-lg: 0 2px 4px rgba(31, 28, 22, 0.10), 0 18px 44px rgba(31, 28, 22, 0.13);
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --grid-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 .5H0M.5 0v28' fill='none' stroke='%23141414' stroke-opacity='.055'/%3E%3C/svg%3E");
  --dot-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='1.4' cy='1.4' r='1.1' fill='%23141414' fill-opacity='.07'/%3E%3C/svg%3E");
}

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.08; font-weight: 700; }
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.18rem; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-family: var(--font-mono); font-size: 13px;
}
.skip-link:focus { left: 0; color: var(--paper); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.mono-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.data-figures { font-family: var(--font-mono); }

/* --- Sections ------------------------------------------------------------- */
.section { padding: clamp(44px, 6vw, 78px) 0; border-top: 2px solid var(--line-strong); position: relative; }
.section--tint { background: var(--paper-2); }
.section--grid-tex { background-image: var(--grid-tex); }
.section--dot-tex { background-image: var(--dot-tex); }
.section--flush-top { border-top: 0; }

.section-head { margin-bottom: clamp(22px, 3vw, 36px); }
.section-head .section-index {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  border-top: 3px solid var(--accent); padding-top: 8px; margin-bottom: 14px;
}
.section-head .section-index span:last-child { color: var(--ink-2); font-weight: 400; }
.section-lead { max-width: 62ch; color: var(--ink-2); font-size: 1.02em; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; line-height: 1; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--nav { padding: 12px 18px; }
.btn .icon { width: 16px; height: 16px; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--line-strong);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; color: var(--ink); flex: none; }
.brand__word { font-family: var(--font-display); font-size: 1.16rem; letter-spacing: .01em; text-transform: uppercase; }
.brand__word em { font-style: normal; color: var(--accent); }
.brand--footer { color: var(--paper); }
.brand--footer .brand__mark { color: var(--paper); }
/* the red wordmark segment needs a lighter red on the carbon footer to hold AA */
.brand--footer .brand__word em { color: #F2A6B0; }

.main-nav { margin-left: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 9px 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 18px; height: 18px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-group__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--ink);
  padding: 10px 12px; border-radius: var(--radius-sm);
}
.nav-group__trigger:hover { background: var(--paper-2); }
.nav-group__caret { width: 14px; height: 14px; transition: transform .16s ease; }
.nav-group__trigger[aria-expanded="true"] .nav-group__caret { transform: rotate(180deg); }

.nav-group__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 110;
  min-width: 268px; margin: 0; padding: 8px; list-style: none;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-group.is-open .nav-group__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group:last-child .nav-group__menu { left: auto; right: 0; }
.nav-group__menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.35;
}
.nav-group__menu a:hover, .nav-group__menu a:focus-visible { background: var(--accent-tint); color: var(--ink); }
.nav-group__menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); font-weight: 700; }

/* trimmed plain nav items (special-offer header) */
.nav-group--plain a {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: var(--radius-sm);
}
.nav-group--plain a:hover { background: var(--paper-2); }

/* --- Ticker row (injected by BeaconChartTicker) --------------------------- */
.tv-ticker-wrapper { border-bottom: 1px solid var(--line); background: var(--paper-2); }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
}
.breadcrumbs__list li + li::before { content: '/'; margin-right: 6px; color: var(--accent); }
.breadcrumbs__list a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs__list a:hover { color: var(--accent); }
.breadcrumbs__list [aria-current="page"] { color: var(--ink); }

/* --- Page hero (inner pages) ---------------------------------------------- */
.page-hero {
  position: relative; padding: clamp(44px, 6vw, 84px) 0;
  background: var(--paper); border-bottom: 2px solid var(--line-strong);
  background-image: var(--grid-tex);
}
.page-hero::before, .page-hero::after {
  content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none;
}
.page-hero::before { top: 14px; left: 14px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.page-hero::after { bottom: 14px; right: 14px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page-hero__lead { max-width: 60ch; color: var(--ink-2); font-size: 1.03em; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }

/* --- Cards & grids --------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(18px, 2.4vw, 26px);
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink-2); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card--link { display: block; text-decoration: none; color: var(--ink); }
.card--link:hover { color: var(--ink); }
.card--link .card__more { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.card-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--halves { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid--stagger { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--stagger > :nth-child(2) { transform: translateY(14px); }

.icon-badge {
  width: 48px; height: 48px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border-radius: var(--radius);
  color: var(--accent);
}
.icon-badge .icon { width: 24px; height: 24px; }
.card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.card__head h3 { margin: 4px 0 0; }

/* Numbered steps: small accent circle, never an oversized numeral */
.step-list { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.step-list li { margin: 0; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  margin-bottom: 12px;
}

/* --- Tables ---------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap th {
  background: var(--paper-2); text-align: left;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink);
  padding: 13px 16px; border-bottom: 2px solid var(--line-strong);
}
.table-wrap td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.table-wrap tbody tr:nth-child(even) { background: var(--paper-3); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 500; }

.tick-yes, .tick-no { font-weight: 700; font-family: var(--font-mono); }
.tick-yes { color: var(--ok); }
.tick-no { color: var(--accent); }

/* --- Reviews ---------------------------------------------------------------- */
.review-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review { display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__head img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line-strong); flex: none;
}
.review__name { font-weight: 700; margin: 0; }
.review__role { margin: 0; color: var(--ink-2); font-size: 14px; }
.review__data {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .03em;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 0; margin: 0;
}
.review__data dt { color: var(--ink-2); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; padding-top: 2px; }
.review__data dd { margin: 0; font-weight: 500; }
.review blockquote { margin: 0; font-size: 15.5px; }
.review__note { font-size: 12.5px; color: var(--ink-2); font-style: italic; }
.reviews-note { margin-top: 18px; font-size: 13px; color: var(--ink-2); }

/* --- Exchange marks --------------------------------------------------------- */
.exchange-row { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 18px); align-items: center; }
.exchange-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.exchange-chip svg { width: 22px; height: 22px; color: var(--ink); }
.exchange-chip span {
  font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: 0;
}

/* --- Forms (formFactory wrapper) -------------------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: clamp(18px, 2.4vw, 26px);
  position: relative;
}
.form-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.form-block__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; margin: 0 0 6px; }
.form-block__intro { font-size: 14.5px; color: var(--ink-2); margin: 0 0 12px; }
.form-legal { font-size: 12.5px; color: var(--ink-2); margin: 12px 0 0; }

/* restyle the beacon formFactory fields inside our wrapper */
body .form-block form input[type='text'],
body .form-block form input[type='email'],
body .form-block form input[type='tel'] {
  height: 48px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 0 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
body .form-block form input[type='text']:focus,
body .form-block form input[type='email']:focus,
body .form-block form input[type='tel']:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none;
}
body .form-block form input::placeholder { font-size: 13.5px; color: var(--ink-2); font-family: var(--font-body); }
body .form-block form input[type='submit'] {
  height: 50px; border-radius: var(--radius-sm); border: 0;
  font-family: var(--font-mono); font-weight: 600; font-size: 13.5px;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
body .form-block form input[type='submit']:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Calculator section ------------------------------------------------------ */
.calc-section { background: var(--paper-2); background-image: var(--grid-tex); }
.calc-disclaimer { margin-top: 16px; font-size: 13px; color: var(--ink-2); max-width: 70ch; }

/* --- Map embed ---------------------------------------------------------------- */
.map-embed {
  margin: 18px 0; max-width: 860px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface);
}
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; }

/* --- FAQ (native details) ------------------------------------------------------ */
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 18px; top: 12px;
  font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--accent);
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); }
.faq-list .faq-answer { padding: 14px 18px 16px; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #DEDCD5; border-top: 4px solid var(--accent); margin-top: 0; }
.site-footer a { color: #DEDCD5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center;
  padding: 34px 0 22px; border-bottom: 1px solid rgba(222, 220, 213, .22);
}
.footer-support { margin: 0; font-size: 14.5px; line-height: 1.7; }
.footer-support .mono-label { color: #A9A69E; }
.footer-cols {
  display: grid; gap: 26px; padding: 30px 0;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col__title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #A9A69E; margin: 0 0 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14.5px; }
.footer-disclaimer { border-top: 1px solid rgba(222, 220, 213, .22); padding: 22px 0 30px; font-size: 12.5px; line-height: 1.65; color: #B9B6AE; }
.footer-disclaimer__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A9A69E; margin: 0 0 8px; }
.footer-copy { margin: 12px 0 0; }

/* --- Hero (home) ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--line-strong);
  background: var(--paper); background-image: var(--grid-tex);
  padding: clamp(40px, 5.5vw, 78px) 0 clamp(44px, 6vw, 84px);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); padding: 6px 12px; border-radius: var(--radius-sm);
}
.hero__eyebrow .pulse-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.hero__title { max-width: 15ch; }
.hero__lead { max-width: 58ch; color: var(--ink-2); font-size: 1.05em; margin-bottom: 22px; }
.hero__offices {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  margin: 0 0 18px; font-size: 14.5px;
}
.hero__offices img { width: 30px; height: 20px; object-fit: cover; border: 1px solid var(--line); display: block; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__trust-link {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); text-decoration: none;
  padding: 11px 16px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.hero__trust-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--accent-tint); color: var(--ink); }
.hero__trust-link .icon { width: 20px; height: 20px; color: var(--accent); }
.hero__manager-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.hero__manager-note .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

/* --- Comparison table ------------------------------------------------------------ */
.compare-table th:first-child, .compare-table td:first-child { min-width: 220px; }
.compare-table .col-us { background: var(--accent-tint); }
.compare-table thead .col-us { color: var(--accent); }

/* --- Special offer ---------------------------------------------------------------- */
.urgency-strip { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--accent); }
.urgency-strip__inner {
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: center;
  padding: 9px 0; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.urgency-strip__inner span { display: inline-flex; gap: 8px; align-items: center; }
.urgency-strip__inner .u-mark { color: var(--accent); font-weight: 600; }

.so-hero { background-image: var(--grid-tex); }
.so-hero__badge {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.so-countdown { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 18px; }
.count-seg {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding: 8px 8px 6px; background: var(--ink); color: var(--paper);
  border-radius: var(--radius-sm); position: relative;
}
.count-seg b { font-family: var(--font-mono); font-size: 27px; font-weight: 600; letter-spacing: .04em; line-height: 1; font-variant-numeric: tabular-nums; }
.count-seg i { font-style: normal; font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #A9A69E; margin-top: 4px; }
.count-sep { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--accent); }

.cta-band { background: var(--ink); border-top: 4px solid var(--accent); color: var(--paper); }
.cta-band__inner { padding: clamp(38px, 5vw, 62px) 0; display: grid; gap: 20px; justify-items: center; text-align: center; }
.cta-band h2 { color: var(--paper); }

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.so-modal.is-open { display: block; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(20, 20, 20, .58); }
.so-modal__card {
  position: relative; z-index: 1; max-width: 480px; margin: 8vh auto 0; width: calc(100% - 32px);
  background: var(--paper); border: 2px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.so-modal__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
}
.so-modal__close:hover { background: var(--ink); color: var(--paper); }
.so-modal__title { font-size: 1.7rem; }
.so-illustration { margin: 4px 0 14px; }

/* --- 404 ------------------------------------------------------------------ */
.error-page { text-align: center; padding: clamp(60px, 9vw, 120px) 0; }
.error-page__code {
  font-family: var(--font-display); font-size: clamp(5rem, 16vw, 11rem); line-height: .9;
  color: var(--accent); letter-spacing: -0.04em; margin: 0;
}

/* --- Article / prose -------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; }

/* --- Reveal ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --- Responsive ---------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero__inner, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__canvas { opacity: .55; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--line-strong);
    box-shadow: var(--shadow-md); padding: 8px clamp(16px, 4vw, 40px) 18px;
    max-height: 70vh; overflow-y: auto;
  }
  .nav-list.is-open { display: flex; }
  .nav-group__trigger { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; padding: 13px 2px; }
  .nav-group__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; min-width: 0; padding: 2px 0 6px 10px; display: none;
  }
  .nav-group.is-open .nav-group__menu { display: block; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .main-nav { margin-left: 0; }
  .btn--nav { margin-left: auto; }
  .card-grid--stagger > :nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .so-modal__card { margin-top: 4vh; }
  .count-seg { min-width: 56px; }
  .count-seg b { font-size: 23px; }
  .hero__offices { font-size: 13.5px; }
}

/* Shared ticker, phone country selector, and homepage review layout. */
.tv-ticker-wrapper { padding-top: 0px !important; height: 58px !important; }
.iti__selected-country, .iti__selected-dial-code { color: rgb(24, 33, 47) !important; }
.review-photo, .review__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
@media (min-width: 1024px) {
  .reviews-grid, .reviews, .review-grid, .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.hero__title .accent { color: var(--accent); }

@media (min-width: 1024px) {
  main > .hero .hero__title { font-size: clamp(2rem, 3.1vw, 2.8rem); }
  main > .hero .hero__lead { font-size: 1rem; }
}
