/* ==========================================================================
   Rule Seven — site.css
   Single stylesheet for the whole site. Dark theme, navy + gold.
   Sections: tokens, reset, base, layout, buttons, header/nav, hero,
   wedge, services, pricing, results, compliance, team, faq, cta, footer,
   utilities, motion, responsive.
   ========================================================================== */

/* ---- Fonts ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #0A0E17;
  --bg-2:          #0C1220;
  --surface:       #111A2B;
  --surface-2:     #16223A;
  --surface-3:     #1C2A47;
  --border:        rgba(148, 163, 184, 0.12);
  --border-2:      rgba(148, 163, 184, 0.22);

  /* Text */
  --text:          #E9EEF7;
  --text-muted:    #9DAAC0;
  --text-dim:      #6B7A94;

  /* Brand */
  --primary:       #5C82B8;   /* muted steel blue */
  --primary-600:   #4A6C9B;
  --primary-soft:  rgba(79, 139, 255, 0.14);
  --accent:        #2FBF71;   /* emerald — CTA */
  --accent-600:    #26A15E;
  --accent-soft:   rgba(47, 191, 113, 0.14);
  --accent-ink:    #0E1420;   /* text on gold */
  --success:       #4ED08C;
  --danger:        #F0736F;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow:    0 12px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, 0.75);
  --glow-gold: 0 10px 26px -14px rgba(0, 0, 0, 0.6);
  --glow-blue: 0 10px 40px -10px rgba(79, 139, 255, 0.5);

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Type scale (fluid) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.8vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Typography -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  position: relative;
  background: linear-gradient(180deg, #0C1322 0%, #0A0E17 100%);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: linear-gradient(180deg, #0F1A2E 0%, #0B1220 100%); }
/* Section dividers: when two adjacent sections share the same background,
   add a hairline so they don't blend into one continuous block. */
.section:not(.section--alt):not(.section--dark) + .section:not(.section--alt):not(.section--dark),
.section--alt + .section--alt,
.section--dark + .section--dark {
  border-top: 1px solid var(--border);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; font-size: var(--step-1); color: var(--text-muted); line-height: 1.5; }
.section-head h2 { margin-top: 1rem; }
.text-accent { color: var(--accent); }
.text-blue { color: var(--primary); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  --btn-pad-y: 0.8rem;
  --btn-pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--glow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0,0,0,0.55); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); background: rgba(255,255,255,0.06); }
.btn-ghost { color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-lg { --btn-pad-y: 1.05rem; --btn-pad-x: 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header — floating capsule nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: clamp(0.7rem, 2vw, 1.25rem);
  padding-inline: clamp(0.8rem, 4vw, 2.5rem);
  transition: padding 0.3s var(--ease);
}
.nav-capsule {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0.7rem 0 1.2rem;
  border-radius: var(--r-pill);
  background: rgba(14, 20, 33, 0.72);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled { padding-top: 0.55rem; }
.site-header.scrolled .nav-capsule {
  background: rgba(11, 16, 27, 0.92);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand:focus-visible { outline-offset: 6px; }

/* primary nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-link, .nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-pill);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover, .nav-toggle-btn:hover,
.nav-link:focus-visible, .nav-toggle-btn:focus-visible { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-toggle-btn .chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }

/* dropdowns */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  padding: 0.6rem;
  background: rgba(16, 23, 38, 0.98);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown::before { /* hover bridge */
  content: ""; position: absolute; top: -0.8rem; left: 0; right: 0; height: 0.8rem;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .chev,
.has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-xs);
  transition: background 0.16s var(--ease);
}
.dropdown-item:hover, .dropdown-item:focus-visible { background: rgba(255,255,255,0.05); outline: none; }
.dropdown-item .di-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.dropdown-item:hover .di-ico { background: var(--accent-soft); color: var(--accent); }
.dropdown-item .di-ico svg { width: 18px; height: 18px; }
.dropdown-item b { display: block; font-family: 'Sora',sans-serif; font-size: 0.92rem; color: var(--text); font-weight: 600; }
.dropdown-item span { font-size: 0.8rem; color: var(--text-dim); line-height: 1.4; }
.dropdown-grid { display: grid; }
.dropdown--wide { min-width: 560px; }
.dropdown--wide .dropdown-grid { grid-template-columns: 1fr 1fr; }

/* nav right cluster */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Sora',sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  transition: all 0.18s var(--ease);
}
.lang-toggle:hover { color: var(--text); border-color: var(--accent); }
.lang-toggle svg { width: 15px; height: 15px; }
.nav-cta { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

/* 2-line "Call now" CTA (navbar capsule + hamburger panel) */
.nav-call {
  flex-direction: row; align-items: center; gap: 0.5rem;
  height: 42px; padding: 0 1.15rem; border-radius: var(--r-pill);
  color: #fff;
  background: linear-gradient(180deg, #2CB569 0%, #1C9350 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 16px -9px rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-call .nav-call-ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.95; transition: transform 0.2s var(--ease); }
.nav-call .nav-call-num { font-family: 'Sora', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em; }
.nav-call:hover { background: linear-gradient(180deg, #27A961 0%, #16824A 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -10px rgba(0, 0, 0, 0.6); }
.nav-call:hover .nav-call-ico { transform: translateX(-2px); }

/* Mobile-only full-width sticky call bar */
.mobile-call-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1rem; padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #2CB569 0%, #1C9350 100%);
  color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 -12px 32px -12px rgba(0, 0, 0, 0.6);
}
.mobile-call-cta svg { width: 20px; height: 20px; }
.mobile-call-cta:active { background: linear-gradient(180deg, #27A961 0%, #16824A 100%); }

/* hamburger */
.hamburger {
  display: none;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  place-items: center;
  flex-shrink: 0;
  color: var(--text);
}
.hamburger svg { width: 20px; height: 20px; display: block; grid-area: 1 / 1; }
.hamburger .ic-close { display: none; }
.nav-open .hamburger .ic-menu { display: none; }
.nav-open .hamburger .ic-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 191, 113, 0.07) 0%, transparent 44%),
    linear-gradient(180deg, #0D1730 0%, #0A0E1A 58%, #090C14 100%);
}
.hero::before, .hero::after { display: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.02);
}
.pill svg { width: 14px; height: 14px; color: var(--success); }
.hero h1 { margin-bottom: 1.35rem; }
.hero h1 .hl { color: var(--accent); position: relative; white-space: nowrap; }
.hero-sub { font-size: var(--step-1); max-width: 40ch; margin-bottom: 2rem; color: var(--text-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* hero visual — real photo with a floating transparent-report card */
.hero-visual { position: relative; }
.hero-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,23,0.15) 0%, rgba(10,14,23,0.5) 55%, rgba(10,14,23,0.92) 100%);
}
.hero-visual .report-card { position: relative; z-index: 3; width: 92%; margin: -84px auto 0; }
.report-card {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}
.report-card .rc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.report-card .rc-head b { font-family: 'Sora',sans-serif; font-size: 0.95rem; }
.rc-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--success); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.rc-live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: pulse 2s infinite; }
.rc-metric { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.2rem; }
.rc-metric .big { font-family: 'JetBrains Mono', monospace; font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.rc-metric .tag { font-size: 0.75rem; color: var(--success); font-weight: 600; background: rgba(78,208,140,0.12); padding: 0.2rem 0.5rem; border-radius: var(--r-pill); }
.rc-label { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1.2rem; }
.rc-bars { display: grid; gap: 0.7rem; }
.rc-bar-row { display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 0.7rem; font-size: 0.78rem; }
.rc-bar-row span:first-child { color: var(--text-muted); }
.rc-track { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); overflow: hidden; }
.rc-fill { height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.rc-bar-row .mono { color: var(--text); font-size: 0.78rem; }
.rc-foot { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-dim); display: flex; justify-content: space-between; gap: 0.5rem; }
.hero-float {
  position: absolute; z-index: 2;
  background: rgba(16, 23, 38, 0.9);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-float .hf-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.hero-float .hf-ico svg { width: 18px; height: 18px; }
.hero-float b { font-family:'Sora',sans-serif; font-size: 0.9rem; display: block; }
.hero-float span { font-size: 0.72rem; color: var(--text-dim); }
.hero-float--tl { top: -22px; left: -26px; animation: float-bob 4s ease-in-out infinite; }
.hero-float--br { top: -22px; right: -26px; animation: float-bob 5s ease-in-out infinite; animation-delay: -1.6s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float--tl, .hero-float--br { animation: none; }
}

@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

/* trust strip */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.trust-strip .ts-inner { max-width: var(--container); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; padding: 1.15rem clamp(1.1rem, 4vw, 2.5rem); }
.trust-strip .ts-label { flex-shrink: 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
/* Running-text marquee of all 51 jurisdictions */
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; gap: 0; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--text-muted); white-space: nowrap; padding: 0 1.4rem; }
.marquee-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.55; margin-right: 1.4rem; }
.marquee-item { transition: color 0.18s var(--ease); }
.marquee-item:hover { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ==========================================================================
   Wedge / positioning
   ========================================================================== */
.wedge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.wedge-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.wedge-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: rgba(47,191,113,0.16);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.wedge-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.wedge-card:hover::after { opacity: 1; }
.wedge-num { font-family:'Sora',sans-serif; font-weight: 800; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; }
.wedge-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin: 1rem 0 1.2rem; }
.wedge-ico svg { width: 26px; height: 26px; }
.wedge-card h3 { margin-bottom: 0.6rem; }
.wedge-card p { font-size: 0.95rem; line-height: 1.6; }
.wedge-card .vs { margin-top: 1rem; font-size: 0.82rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.45rem; }
.wedge-card .vs svg { width: 15px; height: 15px; color: var(--danger); flex-shrink: 0; }

/* stats */
.stats { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: rgba(255,255,255,0.015);
}
.stat .num { font-family:'JetBrains Mono',monospace; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--text); letter-spacing: -0.02em; }
.stat .num .u { color: var(--accent); }
.stat .lbl { margin-top: 0.4rem; font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.service-card:hover .sc-ico { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow-gold); }
.service-card:hover .sc-arrow { transform: translate(3px,-3px); color: var(--accent); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.sc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); transition: all 0.22s var(--ease); }
.sc-ico svg { width: 24px; height: 24px; }
.sc-arrow { width: 20px; height: 20px; color: var(--text-dim); transition: transform 0.22s var(--ease), color 0.22s var(--ease); }
.service-card h3 { font-size: 1.1rem; margin-top: 0.4rem; }
.service-card p { font-size: 0.9rem; line-height: 1.55; }
.service-card .sc-price { margin-top: auto; padding-top: 0.9rem; font-size: 0.82rem; color: var(--text-dim); }
.service-card .sc-price b { font-family:'JetBrains Mono',monospace; color: var(--accent); font-weight: 700; }
.stretch-link { position: absolute; inset: 0; }
.service-card { position: relative; }

/* ==========================================================================
   Pricing teaser
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: var(--accent); background: rgba(47,191,113,0.05); box-shadow: var(--glow-gold); }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family:'Sora',sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); padding: 0.3rem 0.9rem; border-radius: var(--r-pill); white-space: nowrap;
}
.price-card h3 { font-size: 1.15rem; }
.price-card .pc-desc { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.3rem; min-height: 2.4em; }
.price-amount { display: flex; align-items: baseline; gap: 0.3rem; margin: 1.2rem 0 0.3rem; }
.price-amount .cur { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.price-amount .val { font-family:'JetBrains Mono',monospace; font-weight: 700; font-size: 2.6rem; color: var(--text); letter-spacing: -0.02em; }
.price-amount .per { font-size: 0.85rem; color: var(--text-dim); }
.price-note { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.3rem; }
.price-features { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.price-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.price-features svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 1px; }
.price-card .btn { margin-top: auto; }
.pricing-foot { margin-top: 2rem; text-align: center; font-size: 0.95rem; color: var(--text-muted); }
.pricing-foot a { color: var(--accent); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.pricing-foot a:hover { border-color: var(--accent); }

/* ==========================================================================
   Results / proof
   ========================================================================== */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.result-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.7rem;
  display: flex; flex-direction: column;
}
.result-card .rc-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1.2rem; }
.result-card .rc-meta .chip { font-family:'Sora',sans-serif; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border-2); padding: 0.25rem 0.7rem; border-radius: var(--r-pill); font-size: 0.72rem; }
.result-big { font-family:'JetBrains Mono',monospace; font-weight: 700; font-size: clamp(2.2rem,5vw,3rem); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.result-big .cur { color: var(--text); font-size: 0.55em; }
.result-label { font-size: 0.9rem; color: var(--text); font-weight: 600; margin-top: 0.5rem; }
.result-sub { font-size: 0.86rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.55; }
.result-metric-row { display: flex; gap: 1.4rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.result-metric-row div span { display: block; font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.result-metric-row div b { font-family:'JetBrains Mono',monospace; font-size: 1.1rem; color: var(--text); }
.disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-top: 1.2rem; font-style: italic; display: flex; gap: 0.4rem; align-items: flex-start; }
.disclaimer svg { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }
.results-note { margin-top: 1.8rem; text-align: center; font-size: 0.85rem; color: var(--text-dim); }

/* ==========================================================================
   Compliance
   ========================================================================== */
.compliance {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,4rem); align-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.compliance::before { display: none; }
.compliance-content { position: relative; z-index: 1; }
.compliance h2 { margin: 1rem 0; }
.compliance p { margin-bottom: 1.6rem; font-size: var(--step-1); line-height: 1.5; }
.compliance-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.4rem; margin-bottom: 1.8rem; }
.compliance-list li { display: flex; gap: 0.55rem; align-items: center; font-size: 0.9rem; color: var(--text-muted); }
.compliance-list svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.compliance-visual { position: relative; z-index: 1; }
.compliance-visual img { border-radius: var(--r-lg); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.compliance-badge {
  position: absolute; left: -16px; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  background: rgba(14, 20, 33, 0.92);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.compliance-badge .cb-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.compliance-badge .cb-ico svg { width: 20px; height: 20px; }
.compliance-badge b { font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; display: block; color: var(--text); }
.compliance-badge span span { font-size: 0.75rem; color: var(--text-dim); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-banner {
  position: relative;
  margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
}
.team-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 32%; }
.team-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,23,0.20), rgba(10,14,23,0.55));
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.team-card:hover { transform: translateY(-5px); border-color: var(--border-2); }
.team-card .photo-wrap { aspect-ratio: 8 / 9; overflow: hidden; background: var(--surface-2); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.team-card:hover img { transform: scale(1.04); }
.team-body { padding: 1.1rem 1.2rem 1.4rem; }
.team-body b { font-family:'Sora',sans-serif; font-size: 1.02rem; display: block; }
.team-role { font-size: 0.82rem; color: var(--accent); margin-top: 0.15rem; }
.team-cred { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.6rem; line-height: 1.5; }
.team-links { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.team-links a { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--text-muted); transition: all 0.18s var(--ease); }
.team-links a:hover { color: var(--accent); border-color: var(--accent); }
.team-links svg { width: 16px; height: 16px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.faq-item {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
}
.faq-item h3 { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.05rem; margin-bottom: 0.7rem; }
.faq-item h3 .q { color: var(--accent); font-family:'JetBrains Mono',monospace; font-weight: 700; flex-shrink: 0; }
.faq-item p { font-size: 0.92rem; line-height: 1.6; }
.faq-item p .mono { color: var(--text); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { position: relative; text-align: center; overflow: hidden; }
.cta-box {
  position: relative;
  background:
    linear-gradient(150deg, rgba(13, 19, 32, 0.90), rgba(10, 14, 23, 0.94)),
    url('/assets/photos/cta-handshake.webp') center 30% / cover no-repeat;
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}
/* Two large partial-circle decorations, clipped to the card corners */
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  aspect-ratio: 1; border-radius: 50%;
}
.cta-box::before {          /* bottom-left, soft blue disc */
  width: clamp(230px, 33vw, 310px); left: -80px; bottom: -20px;
  background: radial-gradient(circle, rgba(48, 100, 184, 0.10) 0%, rgba(48, 100, 184, 0.12) 60%, rgba(48, 100, 184, 0) 80%);
}
.cta-box::after {           /* top-right, soft green disc */
  width: clamp(250px, 35vw, 310px); right: -70px; top: -20px;
  background: radial-gradient(circle, rgba(33, 134, 105, 0.15) 0%, rgba(33, 134, 105, 0.12) 60%, rgba(33, 134, 105, 0) 80%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { max-width: 18ch; margin-inline: auto; }
.cta-box p { margin: 1.1rem auto 2rem; max-width: 46ch; font-size: var(--step-1); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta-fine { margin-top: 1.4rem; font-size: 0.82rem; color: var(--text-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: linear-gradient(100deg, #0A0F18 0%, #0B1D19 48%, #0E3325 100%); padding-block: clamp(4rem, 6vw, 5.5rem) clamp(1.8rem, 3vw, 2.4rem); }
.site-footer > .container { position: relative; z-index: 1; }
/* Ghosted company-name watermark across the bottom of the footer */
.site-footer::after {
  content: "RULE SEVEN";
  position: absolute; right: calc(max(0px, (100% - var(--container)) / 2) + clamp(1.1rem, 4vw, 2.5rem)); bottom: 0.8rem; left: auto; transform: none;
  z-index: 0; pointer-events: none; user-select: none;
  font-family: 'Sora', sans-serif; font-weight: 800; line-height: 0.9;
  font-size: clamp(1.9rem, 6vw, 5.5rem); letter-spacing: 0.03em; white-space: nowrap;
  color: #fff; opacity: 0.05;
}

.footer-main { display: grid; grid-template-columns: 1.2fr 2.8fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; padding-bottom: clamp(1.75rem, 3.5vw, 2.25rem); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; line-height: 1.65; color: var(--text-muted); }
.footer-contact { margin-top: 1.4rem; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.footer-contact a { display: inline-flex; gap: 0.6rem; align-items: center; color: rgba(233, 238, 247, 0.92); font-weight: 500; transition: color 0.18s var(--ease); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); opacity: 0.85; flex-shrink: 0; }
.footer-cta { margin-top: 1.6rem; height: 46px; padding: 0 1.5rem; font-size: 0.9rem; display: inline-flex; align-items: center; border-radius: var(--r-pill); color: #fff; background: linear-gradient(180deg, #2CB569 0%, #1C9350 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px -9px rgba(0, 0, 0, 0.5); }
.footer-cta:hover { background: linear-gradient(180deg, #27A961 0%, #16824A 100%); transform: translateY(-1px); }

.footer-links { display: grid; grid-template-columns: 1.35fr 1.35fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(233, 238, 247, 0.95); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.72rem; }
.footer-col ul.cols2 { display: block; columns: 2; column-gap: 1.8rem; }
.footer-col ul.cols2 li { break-inside: avoid; margin-bottom: 0.72rem; }
.footer-col a { font-size: 0.875rem; line-height: 1.5; color: rgba(233, 238, 247, 0.7); transition: color 0.18s var(--ease); }
.footer-col a:hover { color: var(--accent); }

/* States — collapsible bar, compact grid */
.footer-states { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--r); transition: background 0.2s var(--ease); }
.footer-states[open] { background: rgba(255, 255, 255, 0.05); }
.footer-states > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-family: 'Sora', sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); border-radius: var(--r); transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.footer-states > summary::-webkit-details-marker { display: none; }
.footer-states > summary:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.footer-states > summary svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.footer-states[open] > summary svg { transform: rotate(180deg); color: var(--accent); }
.states-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.3rem 1.2rem; padding: 0.2rem 1.4rem 1.3rem; }
.states-list a { font-size: 0.82rem; color: rgba(233, 238, 247, 0.7); padding: 0.14rem 0; transition: color 0.18s var(--ease); }
.states-list a:hover { color: var(--accent); }

.footer-legal { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); padding-top: clamp(1.5rem, 2.5vw, 1.9rem); border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.footer-disclaimers { font-size: 0.78rem; color: var(--text-dim); max-width: 60ch; line-height: 1.65; }
.footer-disclaimers strong { color: var(--text-muted); }
.footer-copy { display: flex; flex-direction: column; gap: 0.35rem; text-align: right; font-size: 0.8rem; color: var(--text-dim); flex-shrink: 0; }
.footer-copy .mono { color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); transition: color 0.18s var(--ease); }
.footer-copy a:hover { color: var(--accent); }
.footer-copy .sep { opacity: 0.4; margin: 0 0.15rem; }
@media (max-width: 720px) { .footer-copy { text-align: left; } }

/* ==========================================================================
   Motion — scroll reveal
   ========================================================================== */
/* Hiding is gated on `.js` so the page is fully visible without JavaScript. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rc-live::before { animation: none; }
  * { animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .compliance { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }

  /* --- nav collapses to hamburger at tablet --- */
  .hamburger { display: grid; }
  /* backdrop-filter creates a containing block for position:fixed children,
     which would trap the full-screen nav panel inside the capsule. Drop it on
     mobile and keep the brand + hamburger stacked above the open panel. */
  .nav-capsule { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 16, 27, 0.94); }
  .site-header.scrolled .nav-capsule { background: rgba(9, 13, 22, 0.97); }
  .brand, .hamburger { position: relative; z-index: 95; }
  .hamburger { margin-left: 0.5rem; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: calc(var(--nav-h) + 3.5rem) clamp(1.2rem, 5vw, 2.5rem) 2.5rem;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 90;
  }
  .nav-open .nav { transform: translateX(0); }
  .nav-link, .nav-toggle-btn {
    width: 100%; justify-content: space-between;
    font-size: 1.1rem; padding: 1rem 0.5rem;
    border-radius: var(--r-xs);
    border-bottom: 1px solid var(--border);
  }
  .has-dropdown { width: 100%; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; width: 100%; box-shadow: none; border: none; background: none;
    padding: 0 0 0.5rem; backdrop-filter: none;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease);
  }
  .dropdown > * { overflow: hidden; }
  .dropdown--wide .dropdown-grid { grid-template-columns: 1fr; }
  /* Reset the desktop open-state transform (translateX(-50%)) which would push
     the accordion off-screen; match its specificity so this wins in-cascade. */
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { grid-template-rows: 0fr; transform: none; }
  .has-dropdown.open > .dropdown { grid-template-rows: 1fr; transform: none; }
  .has-dropdown:hover .chev { transform: none; }
  .has-dropdown.open .chev { transform: rotate(180deg); }
  /* Tablet: keep the call CTA in the capsule (lang toggle moves to the panel) */
  .nav-actions { display: flex; margin-left: auto; }
  .nav-actions .lang-toggle { display: none; }
  .nav .panel-actions { display: flex; }
}

@media (min-width: 1025px) {
  .nav .panel-actions { display: none; }
}

@media (max-width: 720px) {
  .wedge-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .results-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-list { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 1.8rem; }
  .trust-strip .ts-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .hero-float { display: none; }
  .hero-visual .report-card { margin-top: -56px; width: 96%; }
  .footer-legal { flex-direction: column; }
  /* Mobile: capsule CTA gives way to the fixed bottom call bar */
  .nav-actions { display: none; }
  .hamburger { margin-left: auto; }
  .mobile-call-cta { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
  .brand img { height: 30px; }
  .hero-cta .btn { width: 100%; }
}

/* nav panel actions (mobile only, inside .nav) */
.panel-actions { display: none; flex-direction: column; gap: 0.8rem; margin-top: 1.8rem; }
.panel-actions .btn, .panel-actions .lang-toggle { width: 100%; justify-content: center; }

/* ==========================================================================
   Subpage components (Pricing, Service, State, Practice, Compare)
   Dark theme, reuses the tokens above. Content rules from the growth kit:
   answer-block first, real tables, blockquote rule citations, ~68ch prose.
   ========================================================================== */

/* Page header (compact hero for interior pages) */
.page-head {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  background-position: center top;
}
.page-head::before, .page-head::after { display: none; }
/* fade the grid texture out so it stays subtle */
.page-head { -webkit-mask-image: none; }
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { margin: 0.9rem 0 0; max-width: 24ch; font-size: var(--step-3); }
.page-head .lead { margin-top: 1rem; }
.page-head .answer-block { box-shadow: -3px 0 0 0 var(--accent); border-left: none; padding-left: 1.3rem; background: transparent; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Trust-chip note row (interior hero, mirrors the home hero) */
.page-note { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.page-note .pill svg { color: var(--success); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-muted); transition: color 0.18s var(--ease); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current] { color: var(--text); }

/* Answer block (B1) — the highest-value element; no image sibling above it */
.answer-block {
  max-width: 64ch;
  margin-top: 1.4rem;
  padding: 1.1rem 0 1.1rem 1.2rem;
  border-left: 3px solid var(--accent);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text);
}
.answer-block b, .answer-block strong { color: var(--accent); font-weight: 600; }

/* Prose — long-form body capped near 68 characters per line */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: clamp(2.2rem, 4vw, 3rem); }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.75; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.prose a:hover { border-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.prose ul li { list-style: none; position: relative; padding-left: 1.1rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose--wide { max-width: 100%; }

/* Real data / price tables — reproduced near-verbatim in AI answers */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--border); border-radius: var(--r); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 520px; }
table.data-table caption { text-align: left; font-size: 0.8rem; color: var(--text-dim); padding: 0 0 0.6rem; }
table.data-table th, table.data-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data-table thead th { font-family: 'Sora', sans-serif; font-weight: 600; color: var(--text); background: linear-gradient(180deg, var(--surface-2), var(--surface)); font-size: 0.85rem; letter-spacing: 0.02em; }
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
table.data-table .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--accent); white-space: nowrap; }
table.data-table th[scope="row"] { color: var(--text); font-weight: 600; }
table.data-table .yes { color: var(--success); } table.data-table .no { color: var(--text-dim); }
.table-featured { box-shadow: var(--glow-gold); border-color: var(--accent); }

/* Rule quote (state pages) — verbatim in a blockquote with a citation line */
.rule-quote {
  margin: 1.6rem 0; padding: 1.3rem 1.5rem;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-2); border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
}
.rule-quote p { color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.rule-quote cite { display: block; margin-top: 0.8rem; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-style: normal; color: var(--text-dim); }

/* Callout (compliance angle, notes) */
.callout {
  margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-radius: var(--r-sm);
  background: var(--accent-soft); border: 1px solid rgba(47,191,113,0.28);
}
.callout b { color: var(--accent); }
.callout p { color: var(--text-muted); }
.callout--ok { background: rgba(78,208,140,0.10); border-color: rgba(78,208,140,0.28); }
.callout--ok b { color: var(--success); }

/* Conversion line — one late, in-body pointer to /pricing/, phrased as a question */
.conversion-line {
  margin: 2rem 0; padding: 1.1rem 1.4rem; border-radius: var(--r);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-2);
  font-size: 1.02rem; color: var(--text);
}
.conversion-line a { color: var(--accent); font-weight: 600; }

/* Last-reviewed date */
.last-reviewed { margin-top: 2.5rem; font-size: 0.8rem; color: var(--text-dim); }
.last-reviewed time { color: var(--text-muted); }

/* Interior CTA row */
.page-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

@media (max-width: 720px) {
  .page-head h1 { max-width: 100%; }
  .answer-block { font-size: 1.05rem; }
}

/* ---- Subpage refinements: breadcrumbs, table caption, FAQ, trust ---------- */
.page-head .breadcrumbs { margin-bottom: 1.3rem; }

/* External table caption (sits above the bordered box, doesn't scroll) */
.table-note { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; margin: 0 0 0.6rem; max-width: 70ch; }
table.data-table caption { display: none; } /* superseded by .table-note */

/* Redesigned FAQ — full-width split: aside rail + accordion */
.faq-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq-aside h2 { font-size: var(--step-2); margin-top: 1rem; }
.faq-aside p { margin-top: 0.9rem; color: var(--text-muted); }
.faq-cta-card {
  margin-top: 1.4rem; border: 1px solid var(--border-2); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow);
}
.faq-cta-card .fcc-media { position: relative; }
.faq-cta-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; }
.faq-cta-card .fcc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,23,0.15), rgba(10,14,23,0.7)); }
.faq-cta-body { padding: 1.3rem 1.4rem 1.5rem; }
.faq-cta-body b { font-family: 'Sora', sans-serif; font-size: 1.08rem; color: var(--text); display: block; }
.faq-cta-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0.5rem 0 1.1rem; }

.faq-accordion { display: grid; gap: 0.8rem; }
details.faq-q { border: 1px solid var(--border); border-radius: var(--r); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color 0.2s var(--ease); }
details.faq-q[open] { border-color: var(--border-2); }
details.faq-q > summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem;
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--text);
}
details.faq-q > summary::-webkit-details-marker { display: none; }
details.faq-q > summary .q { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 700; flex-shrink: 0; }
details.faq-q > summary::after {
  content: ""; width: 9px; height: 9px; margin-left: auto; margin-top: 0.35rem; flex-shrink: 0;
  border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
details.faq-q[open] > summary::after { transform: rotate(-135deg); border-color: var(--accent); }
details.faq-q .faq-a { padding: 0 1.3rem 1.2rem 3rem; }
details.faq-q .faq-a p { color: var(--text-muted); line-height: 1.7; }
details.faq-q .faq-a .mono { color: var(--text); }

/* Named-people trust row (avatars) */
.trust-people { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; margin: 1.3rem 0 0; }
.trust-person { display: flex; align-items: center; gap: 0.75rem; }
.trust-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-2); }
.trust-person b { font-family: 'Sora', sans-serif; font-size: 0.95rem; color: var(--text); display: block; }
.trust-person span { font-size: 0.8rem; color: var(--text-dim); }

@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---- "Why we publish" redesign — full-width text + proof, billing cards --- */
.why-split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.why-proof { display: grid; gap: 1rem; }
.proof-stat { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem 1.6rem; }
.proof-stat .num { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.proof-stat .num span { color: var(--text-dim); font-size: 0.5em; }
.proof-stat .lbl { margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.billing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1.5rem; }
.billing-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--r); padding: 1.4rem; }
.billing-card b { font-family: 'Sora', sans-serif; color: var(--text); display: block; margin-bottom: 0.4rem; }
.billing-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.callout--wide { max-width: none; margin-top: clamp(1.8rem, 3vw, 2.4rem); }
.mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }

@media (max-width: 820px) {
  .why-split { grid-template-columns: 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
}

.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }

/* ---- Service / content page bits ----------------------------------------- */
ol.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; }
ol.steps li { list-style: none; position: relative; padding-left: 3.2rem; color: var(--text-muted); line-height: 1.65; }
ol.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.95rem;
}
ol.steps li b { color: var(--text); font-family: 'Sora', sans-serif; display: block; margin-bottom: 0.2rem; }

.faq-accordion--2col { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .faq-accordion--2col { grid-template-columns: 1fr; } }

.metric-hero { display: flex; align-items: baseline; gap: 0.6rem; }
.metric-hero .big { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.metric-hero .big .cur { color: var(--text); font-size: 0.55em; }

/* ---- State picker grid (ad-rules hub) ------------------------------------ */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.7rem; }
.state-card {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.state-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.state-card .sc-label { display: inline-flex; align-items: center; gap: 0.55rem; font-family: 'Sora', sans-serif; font-weight: 500; font-size: 0.92rem; color: var(--text-muted); transition: color 0.2s var(--ease); }
.state-card:hover .sc-label { color: var(--text); }
.state-card .sc-pin { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.state-card .sc-arrow { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.state-card:hover .sc-arrow { color: var(--accent); transform: translateX(3px); }
@media (max-width: 480px) { .state-grid { grid-template-columns: 1fr 1fr; } }

/* ---- "Keep exploring" card grid (state pages) ---------------------------- */
.explore { margin-top: clamp(2rem, 4vw, 3rem); }
.explore-head { font-family: 'Sora', sans-serif; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.8rem; }
.explore-card {
  display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.explore-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.explore-card .ec-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.explore-card .ec-ico svg { width: 20px; height: 20px; }
.explore-card .ec-txt { display: flex; flex-direction: column; min-width: 0; }
.explore-card .ec-txt b { font-family: 'Sora', sans-serif; font-size: 0.95rem; color: var(--text); line-height: 1.25; }
.explore-card .ec-txt span { font-size: 0.78rem; color: var(--text-dim); }
.explore-card .ec-arrow { width: 16px; height: 16px; color: var(--text-dim); margin-left: auto; flex-shrink: 0; transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.explore-card:hover .ec-arrow { color: var(--accent); transform: translateX(3px); }
@media (max-width: 480px) { .explore-grid { grid-template-columns: 1fr; } }

/* Offset fragment-anchor targets from the fixed nav */
:target { scroll-margin-top: 100px; }
