/* =========================================================================
   Brunevo — dark charcoal-navy theme, luminous teal data accent
   Tokens, layout, components, motion. Single source of styling.
   ========================================================================= */

:root {
  --bg: #0A0F1E;
  --surface: #101A31;
  --surface-2: #16213F;
  --surface-3: #1B2949;
  --border: #243254;
  --border-soft: #1C2846;
  --text: #E9EFFA;
  --muted: #9FADC9;
  --accent: #2AD9C8;
  --accent-hover: #4BE8D8;
  --accent-ink: #062A26;
  --accent-tint: rgba(42, 217, 200, 0.12);
  --accent-line: rgba(42, 217, 200, 0.34);
  --ok: #5CE3B6;
  --bad: #F08E8E;

  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(4, 8, 20, 0.5), 0 2px 8px rgba(4, 8, 20, 0.35);
  --shadow-md: 0 2px 4px rgba(4, 8, 20, 0.45), 0 10px 28px rgba(4, 8, 20, 0.5);
  --shadow-lg: 0 6px 12px rgba(4, 8, 20, 0.5), 0 22px 48px rgba(4, 8, 20, 0.55);

  --container: 1200px;
  --header-h: 72px;
}

/* ---------- base ------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

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

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--text); }
code { font-family: var(--font-mono); font-size: 0.9em; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--accent-ink); }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 26px; height: 26px; }

/* mono data micro-label */
.data-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.data-label--accent { color: var(--accent); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-line);
}
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { background: rgba(10, 15, 30, 0.97); box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { width: 172px; height: 38px; display: block; }
.brand-badge { fill: rgba(42, 217, 200, 0.09); stroke: var(--accent-line); stroke-width: 1.5; }
.brand-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-dot { fill: #9FADC9; }
.brand-dot--end { fill: var(--accent); }
.brand-word { fill: var(--text); font-family: var(--font-sans); font-size: 24px; font-weight: 700; letter-spacing: 0.01em; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--accent); background: var(--accent-tint); }
.nav-caret { transition: transform 0.16s ease; }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 110;
}
.nav-group { position: relative; }
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-menu--wide { min-width: 480px; }
.nav-menu--wide ul { grid-template-columns: 1fr 1fr; }
.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--accent-tint); color: var(--accent); }
.nav-menu a[aria-current="page"] { color: var(--accent); }

.header-cta { flex: none; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger__close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__close { display: block; }

.mobile-menu {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0 20px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__group { border-bottom: 1px solid var(--border-soft); }
.mobile-menu__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 2px;
  cursor: pointer;
}
.mobile-menu__trigger[aria-expanded="true"] { color: var(--accent); }
.mobile-menu__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 6px 6px;
  display: none;
}
.mobile-menu__list.is-open { display: block; }
.mobile-menu__list a {
  display: block;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.93rem;
  border-radius: var(--radius-sm);
}
.mobile-menu__list a:hover { color: var(--accent); background: var(--accent-tint); }
.mobile-menu__cta { margin-top: 16px; }

/* ---------- ticker row (beacon) ---------------------------------------- */

/* batch-mandated ticker sizing: wins over the addon's embedded styles on
   every page (this stylesheet loads site-wide, !important below overrides
   the later-injected beacon <style> block) */
.tv-ticker-wrapper { padding-top: 0px !important; height: 58px !important; }
.ticker-row, .trv-ticker { width: 100%; }

/* ---------- intl-tel-input (beacon form country dropdown) ----------------
   The dropdown list renders on a white surface (.iti__dropdown-content
   background-color:#fff in the beacon's embedded CSS) so #000 text is the
   readable pair; the selected dial code sits inside our dark phone input
   (#0B1326) where #fff passes AA. Verified by code inspection only. */
.iti__country-name,
.iti__dial-code { color: #000 !important; }
.iti__selected-dial-code { color: #fff !important; }

/* ---------- breadcrumbs -------------------------------------------------- */

.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border-soft); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs-sep { transform: rotate(-90deg); opacity: 0.6; }
.breadcrumbs [aria-current] { color: var(--text); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }

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

.section { padding: clamp(56px, 7vw, 92px) 0; position: relative; overflow: hidden; }
.section--surface { background: var(--surface); }
.section--sunken { background: #070C18; }

/* decorative band: gradient base + drawn motif (never gradient-only) */
.section--mesh {
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(42, 217, 200, 0.07), transparent 60%),
    radial-gradient(800px 460px at 88% 90%, rgba(42, 217, 200, 0.05), transparent 55%),
    var(--surface);
}
.section--mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='180' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%232AD9C8' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M20 140 L70 96 L120 118 L170 60 L220 84'/%3E%3Ccircle cx='20' cy='140' r='3'/%3E%3Ccircle cx='70' cy='96' r='3'/%3E%3Ccircle cx='120' cy='118' r='3'/%3E%3Ccircle cx='170' cy='60' r='3'/%3E%3Ccircle cx='220' cy='84' r='3'/%3E%3Cpath d='M20 20 L70 44 L120 26 L170 52 L222 34' stroke-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 180px;
  pointer-events: none;
}
.section--grid {
  background:
    radial-gradient(760px 420px at 85% 12%, rgba(42, 217, 200, 0.06), transparent 58%),
    var(--bg);
}
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 173, 201, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 173, 201, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(720px 480px at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 480px at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }
.section-head .data-label { display: block; margin-bottom: 10px; }

/* ---------- hero: full-bleed AI market environment + glass form panel ---- */

.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(840px, 92vh);
  padding: clamp(56px, 8vw, 108px) 0 clamp(64px, 8vw, 112px);
  background: var(--bg);
}

/* environment layers (behind everything, never interactive) */
.hero-env { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-env__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 84% -12%, rgba(42, 217, 200, 0.15), transparent 62%),
    radial-gradient(920px 720px at -10% 110%, rgba(64, 118, 172, 0.10), transparent 60%);
}
.hero-env__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(159, 173, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 173, 201, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1250px 720px at 72% 18%, #000 22%, transparent 76%);
  -webkit-mask-image: radial-gradient(1250px 720px at 72% 18%, #000 22%, transparent 76%);
}
.hero-env__canvas, .hero-env__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-env__canvas { opacity: 0; transition: opacity 0.5s ease; }
.hero-env__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
  background: radial-gradient(58% 100% at 50% 100%, rgba(42, 217, 200, 0.10), transparent 72%);
}

.hero-stage__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(30px, 4.5vw, 68px);
  align-items: center;
}

/* foreground copy */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 15, 30, 0.55);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 15px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow .icon { width: 14px; height: 14px; }
.hero-copy h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.45rem);
  line-height: 1.09;
  letter-spacing: -0.022em;
  max-width: 15ch;
  margin-bottom: 0.55em;
}
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-lead, .hero__lead { color: var(--muted); font-size: 1.05rem; line-height: 1.68; max-width: 35em; margin-bottom: 0; }
.hero-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-line), transparent 72%);
  margin: 26px 0 0;
  position: relative;
}
.hero-rule::before {
  content: "";
  position: absolute;
  left: 0; top: -2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 26, 49, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
  font-size: 0.88rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.flag-chip .flag { width: 24px; height: 17px; border-radius: 3px; display: block; overflow: hidden; flex: none; }
.flag-uk {
  background:
    linear-gradient(to bottom, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(to right, transparent 44%, #fff 44%, #fff 56%, transparent 56%),
    #012169;
  position: relative;
}
.flag-uk::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent 46%, #C8102E 46%, #C8102E 54%, transparent 54%),
    linear-gradient(to top right, transparent 46%, #C8102E 46%, #C8102E 54%, transparent 54%);
}
.hero-office, .hero__office { font-size: 0.88rem; color: var(--muted); align-self: center; margin: 0; }

.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 26, 49, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.hero-link:hover { transform: translateY(-2px); border-color: var(--accent-line); color: var(--accent); box-shadow: var(--shadow-md); }
.hero-link .icon { color: var(--accent); }

/* floating glass form panel (solid fallback first, blur as enhancement) */
.hero-panel { position: relative; }
.hero-panel__inner {
  background: rgba(13, 21, 41, 0.93);
  border: 1px solid rgba(42, 217, 200, 0.30);
  border-radius: 20px;
  box-shadow:
    0 34px 80px rgba(3, 7, 18, 0.66),
    0 6px 22px rgba(3, 7, 18, 0.5),
    inset 0 1px 0 rgba(233, 239, 250, 0.06);
  padding: 26px 24px 20px;
  transform: rotate(-0.8deg);
}
@supports (backdrop-filter: blur(1px)) {
  .hero-panel__inner {
    background: rgba(15, 24, 46, 0.60);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }
}
.hero-panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-panel__title { font-size: 1.05rem; margin-bottom: 12px; }
.hero-panel .form-block { background: transparent; border: 0; box-shadow: none; padding: 0; }
.hero-panel__node {
  position: absolute;
  left: -30px; top: 42%;
  width: 30px; height: 1px;
  background: var(--accent-line);
}
.hero-panel__node::before {
  content: "";
  position: absolute;
  left: -3px; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 217, 200, 0.15);
}

/* eyebrow badge reused on /special-offer/ */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__badge .icon { width: 14px; height: 14px; }

/* generic page hero (licenses / contact / careers / products / auth / about) */
.page-hero { position: relative; overflow: hidden; padding: clamp(44px, 5.5vw, 76px) 0; background:
    radial-gradient(900px 480px at 82% 6%, rgba(42, 217, 200, 0.09), transparent 60%),
    var(--surface);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='240' viewBox='0 0 340 240'%3E%3Cg fill='none' stroke='%232AD9C8' stroke-opacity='0.10' stroke-width='1.2'%3E%3Cpath d='M10 200 L70 150 L130 176 L200 96 L266 128 L330 60'/%3E%3Ccircle cx='10' cy='200' r='3.4'/%3E%3Ccircle cx='70' cy='150' r='3.4'/%3E%3Ccircle cx='130' cy='176' r='3.4'/%3E%3Ccircle cx='200' cy='96' r='3.4'/%3E%3Ccircle cx='266' cy='128' r='3.4'/%3E%3Ccircle cx='330' cy='60' r='4.2' fill='%232AD9C8' fill-opacity='0.22'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 340px 240px;
  opacity: 0.9;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: clamp(26px, 4vw, 54px); align-items: center; }
.page-hero h1 { margin-bottom: 0.5em; }
.page-hero p.lead { color: var(--muted); font-size: 1.05rem; max-width: 36em; }

/* ---------- form block (formFactory wrapper) ---------------------------- */

.form-block {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 24px 20px;
}
.form-block__title { font-size: 1.05rem; margin-bottom: 14px; }
.form-block__intro { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.form-legal { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-legal a { text-decoration: underline; }
.form-note { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; }
.form-note .icon { color: var(--accent); }

/* dark-theme overrides for the injected beacon form */
.form-block form.wpcf7-101 input[type="text"],
.form-block form.wpcf7-101 input[type="email"],
.form-block form.wpcf7-101 input[type="tel"],
.form-block form.wpcf7-101 input[type="password"] {
  background: #0B1326;
  border: 1px solid var(--border);
  color: var(--text);
  height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-block form.wpcf7-101 input::placeholder { color: #7688A8; }
.form-block form.wpcf7-101 input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 217, 200, 0.22);
}
.form-block form.wpcf7-101 input[type="submit"] {
  height: 48px;
  border-radius: var(--radius);
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.form-block form.wpcf7-101 input[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
.form-block .iti { color: var(--text); }

/* ---------- exchange marks ---------------------------------------------- */

.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  height: 56px;
  padding: 0 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.logo-chip:hover { transform: translateY(-2px); border-color: var(--accent-line); color: var(--text); }
.logo-chip svg { width: 24px; height: 24px; display: block; }
.logo-chip .logo-name { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; }
.logo-note { text-align: center; color: var(--muted); font-size: 0.84rem; margin: 18px 0 0; }

/* ---------- icon badges & cards ----------------------------------------- */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  flex: none;
}
.icon-badge .icon { width: 24px; height: 24px; }

.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 22px;
  transition: transform 0.17s ease, box-shadow 0.17s ease, border-color 0.17s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.card .icon-badge { margin-bottom: 14px; }
.card h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0; }
.card .card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.86rem; font-weight: 600; }

/* staggered 2-col feature grid (avoids identical rows and ragged 3+1 layouts) */
.card-grid--stagger { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.card-grid--stagger .card:nth-child(even) { transform: translateY(10px); }
.card-grid--stagger .card:nth-child(even):hover { transform: translateY(7px); }

/* ---------- steps -------------------------------------------------------- */

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px 20px;
  transition: transform 0.17s ease, box-shadow 0.17s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.45em; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
thead th {
  background: var(--surface-2);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }
tbody td:first-child { color: var(--text); font-weight: 600; }

.compare-col { text-align: center; }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; }
.mark--ok { background: rgba(92, 227, 182, 0.14); color: var(--ok); }
.mark--no { background: rgba(240, 142, 142, 0.12); color: var(--bad); }
.compare-us { color: var(--accent); font-weight: 700; }
.compare-us .mark--ok { outline: 1px solid var(--accent-line); }

/* ---------- reviews ------------------------------------------------------ */

.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
/* desktop: exactly three review cards per row */
@media (min-width: 1024px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform 0.17s ease, box-shadow 0.17s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review__head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-line);
  flex: none;
}
.review__name { font-weight: 700; font-size: 0.98rem; display: block; }
.review__role { color: var(--muted); font-size: 0.84rem; }
.review__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.review__stats li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  color: var(--muted);
}
.review__stats .up { color: var(--ok); }
.review p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.reviews-note { font-size: 0.8rem; color: var(--muted); margin-top: 18px; }

/* ---------- company block ------------------------------------------------ */

.company-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.company-facts .icon { color: var(--accent); margin-top: 2px; }
.company-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.company-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.company-card:hover { transform: translateY(-2px); border-color: var(--accent-line); color: var(--accent); box-shadow: var(--shadow-md); }
.company-card .icon-badge { width: 42px; height: 42px; border-radius: 11px; }

/* ---------- FAQ ----------------------------------------------------------- */

.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); transition: transform 0.16s ease; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 18px 16px; color: var(--muted); font-size: 0.93rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- content pages ------------------------------------------------- */

.prose { max-width: 820px; }
.prose p, .prose li { color: var(--muted); }
.prose h2, .prose h3 { color: var(--text); }
.prose strong { color: var(--text); }

.doc-section { padding-top: clamp(30px, 4vw, 48px); }
.doc-section h2 { display: flex; align-items: baseline; gap: 12px; }
.doc-section h2 .data-label { font-size: 0.68rem; }

.callout {
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.94rem;
}
.callout strong { color: var(--text); }
.callout--warn { border-left-color: #E8B65A; border-color: rgba(232, 182, 90, 0.4); }

.kv-table td:first-child { width: 38%; }

.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.check-list .icon { color: var(--ok); margin-top: 3px; }

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

/* decorative canvas chart near calculator */
.chart-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
  padding: 16px 16px 10px;
  margin-top: 26px;
}
.chart-frame canvas { width: 100%; height: 220px; display: block; }
.chart-frame__labels { display: flex; justify-content: space-between; padding-top: 8px; }
.chart-frame__labels span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* calculator section */
.calc-wrap { max-width: 980px; margin-inline: auto; }

/* ---------- reveal animation --------------------------------------------- */

.reveal { opacity: 0; transform: translateY(10px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1); }

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

.site-footer { background: #070C18; border-top: 1px solid var(--border-soft); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(140px, 0.8fr)); gap: 30px 24px; }
.brand-logo--footer .brand-word { fill: var(--text); }
.footer-note { color: var(--muted); font-size: 0.86rem; margin: 12px 0 0; display: flex; align-items: center; gap: 8px; }
.footer-note .icon { color: var(--accent); }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.footer-disclaimer p { color: #7688A8; font-size: 0.78rem; line-height: 1.6; margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: #7688A8;
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom__office { display: flex; align-items: center; gap: 7px; }
.footer-bottom__office .icon { color: var(--accent); }

/* ---------- special offer page -------------------------------------------- */

.so-urgency {
  background: linear-gradient(90deg, rgba(42, 217, 200, 0.16), rgba(42, 217, 200, 0.05));
  border-bottom: 1px solid var(--accent-line);
}
.so-urgency__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 10px 0; }
.so-urgency__inner span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.so-urgency__inner .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(42, 217, 200, 0.18); }

.so-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0; background:
    radial-gradient(860px 460px at 80% 0%, rgba(42, 217, 200, 0.12), transparent 60%),
    var(--bg);
}
.so-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='210' viewBox='0 0 300 210'%3E%3Cg fill='none' stroke='%232AD9C8' stroke-opacity='0.12' stroke-width='1.2'%3E%3Cpath d='M8 160 L60 118 L104 140 L156 78 L204 104 L258 44'/%3E%3Ccircle cx='8' cy='160' r='3'/%3E%3Ccircle cx='60' cy='118' r='3'/%3E%3Ccircle cx='104' cy='140' r='3'/%3E%3Ccircle cx='156' cy='78' r='3'/%3E%3Ccircle cx='204' cy='104' r='3'/%3E%3Ccircle cx='258' cy='44' r='3.8' fill='%232AD9C8' fill-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 210px;
  pointer-events: none;
}
.so-hero .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); }
.so-countdown { display: inline-flex; gap: 8px; margin: 20px 0 8px; }
.so-countdown__box {
  min-width: 64px;
  padding: 10px 8px;
  background: var(--surface-2);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.so-countdown__label { display: block; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.so-cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(42, 217, 200, 0.14), transparent 65%),
    var(--surface-2);
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  text-align: center;
  padding: clamp(40px, 5vw, 60px) 0;
}
.so-cta-band h2 { margin-bottom: 0.4em; }
.so-cta-band p { color: var(--muted); max-width: 40em; margin-inline: auto; }

.so-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(4, 8, 20, 0.78); backdrop-filter: blur(3px); }
.so-modal__card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 24px;
  text-align: center;
  animation: so-pop 0.22s cubic-bezier(0.2, 0.6, 0.2, 1);
}
@keyframes so-pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.so-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.so-modal__close:hover { color: var(--text); border-color: var(--accent-line); }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card p { color: var(--muted); font-size: 0.93rem; }
.so-modal__art { margin: 0 auto 14px; }

body.so-modal-open { overflow: hidden; }

/* ---------- utilities ------------------------------------------------------ */

#registration-form, [id="registration-form"] { scroll-margin-top: calc(var(--header-h) + 24px); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 8px; }

/* ---------- responsive ----------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-menu--wide { min-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; }
  .hero-stage__inner, .page-hero__inner, .so-hero .page-hero__inner { grid-template-columns: 1fr; }
  /* mobile hero: static environment only (canvas off), panel loses tilt/blur */
  .hero-env__canvas { display: none; }
  .hero-panel__inner { transform: none; background: rgba(13, 21, 41, 0.95); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-panel__node { display: none; }
  .hero-copy h1 { max-width: none; }
  .company-grid { grid-template-columns: 1fr; }
  /* mobile hero order: heading first, then the form, then the rest of the copy */
  .hero-stage__inner { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy__intro { order: 1; }
  .hero-stage__inner .hero-panel { order: 2; }
  .hero-lead { order: 3; }
  .hero-rule { order: 4; }
  .hero-trust { order: 5; }
  .hero-links { order: 6; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu--wide { min-width: 0; }
  .so-countdown__box { min-width: 56px; font-size: 1.2rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo-chip { min-width: 0; flex: 1 1 40%; }
}

/* ---------- reduced motion -------------------------------------------------- */

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