/* ────────────────────────────────────────────────────────────────────
   SyncHQ Pro — Azure-inspired website (shared design system)
   v0.1, 2026-05-04. Standalone — no preprocessor, no build step.
   ──────────────────────────────────────────────────────────────────── */

:root {
  --c-fg:        #1e1e1e;
  --c-fg-muted:  #555;
  --c-fg-subtle: #6b6b6b;
  --c-bg:        #ffffff;
  --c-bg-soft:   #f5f7fa;
  --c-rule:      #e5e7eb;

  --c-brand:     #0067c0;
  --c-brand-2:   #1486d8;
  --c-brand-ink: #003e80;
  --c-brand-soft:#e7f1fb;

  --c-success:   #1e7e3e;
  --c-warning:   #b45f00;
  --c-danger:    #b00020;

  --grad-1: #fde2c4;
  --grad-2: #f8c0d6;
  --grad-3: #d6c5f0;
  --grad-4: #e3eaff;

  /* Phase 50.12.8 polish — multi-layer shadows for premium feel.
     Each shadow combines a tight close shadow + a softer wide shadow,
     giving cards a believable depth-of-field without looking heavy. */
  --shadow-sm:    0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md:    0 8px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg:    0 30px 60px -20px rgba(15,23,42,.18), 0 12px 24px rgba(15,23,42,.08);
  /* Premium "lifted" shadow for marquee cards (hero CTAs, pricing-featured) */
  --shadow-float: 0 24px 48px -12px rgba(0,62,128,.18), 0 8px 16px -4px rgba(0,62,128,.10), 0 0 0 1px rgba(0,103,192,.04);
  /* Brand-tinted soft shadow — for primary CTAs and brand-coloured cards */
  --shadow-brand: 0 8px 24px -4px rgba(0,103,192,.18), 0 4px 8px -2px rgba(0,103,192,.10);

  --radius-card:   18px;
  --radius-button: 4px;
  --radius-pill:   999px;

  --container-max: 1320px;

  --font-stack: 'Segoe UI Variable Display','Segoe UI', system-ui, -apple-system,
                'Helvetica Neue', Arial, sans-serif;
}

/* ─── Reset + base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-stack);
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Phase 50.12.8 polish — 1.55 line-height adds breathing room for long-form
     content without changing horizontal wrapping. */
  line-height: 1.55;
  /* Tabular numerals make prices, KPIs, and any aligned numbers crisp. */
  font-variant-numeric: tabular-nums;
  /* Smoother text rendering on hi-DPI displays. */
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 120ms ease; }
button { font-family: inherit; }

/* Phase 50.12.8 polish — brand-coloured text selection (was browser default). */
::selection { background: rgba(0,103,192,.18); color: var(--c-brand-ink); }

/* Phase 50.12.8 polish — visible focus ring for keyboard users (WCAG 2.4.7).
   Default outline replaced with brand-coloured ring. mouse-only clicks
   still get the suppressed `:focus:not(:focus-visible)` UX. */
:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ─── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-rule);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
/* Header logo sizing — canonical here so every page renders it at 36px.
   (Previously only defined inline per top-level page, so subpages that
   omitted the inline rule rendered an oversized logo.) */
.logo-mark { height: 36px; width: auto; }

/* ─── Tax-jurisdiction chip row ────────────────────────────────────────────
   Single canonical treatment for "which tax jurisdictions we support". Replaces
   the per-page animated pin-maps that had drifted to 4/8/9. The 5 map to the
   backend TaxSystem enum (India GST · US · UK VAT · EU VAT · GCC VAT), so this
   is impossible to get inconsistent. */
.juris-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0; }
.juris-row.center { justify-content: center; }
.juris-pill {
  display: inline-flex; align-items: center;
  padding: 6px 13px; border-radius: 999px; white-space: nowrap;
  background: var(--c-brand-soft, #eaf3fc); color: var(--c-brand-ink, #0c1e3a);
  font-size: 13px; font-weight: 600; border: 1px solid rgba(0,103,192,.15);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo {
  width: 28px; height: 28px;
  background:
    linear-gradient(135deg, #f25022 0 50%, #7fba00 50% 100%),
    linear-gradient(135deg, #00a4ef 0 50%, #ffb900 50% 100%);
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 50% 50%;
  background-repeat: no-repeat, no-repeat;
  border-radius: 2px;
}
.brand-text { font-weight: 600; font-size: 15px; color: var(--c-fg); }
.brand-sep { width: 1px; height: 22px; background: var(--c-rule); margin: 0 4px; }
.brand-product { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a, .nav button {
  padding: 8px 14px;
  font-size: 14px; font-weight: 400;
  color: var(--c-fg);
  background: transparent; border: 0; cursor: pointer;
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.nav a:hover, .nav button:hover { background: rgba(0,0,0,.04); }
.nav a.is-active { background: rgba(0,0,0,.05); font-weight: 600; }
.nav .caret { width: 10px; height: 10px; opacity: .55; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 4px;
  color: var(--c-fg);
}
.icon-btn:hover { background: rgba(0,0,0,.04); }
.header-actions a { font-size: 14px; padding: 8px 12px; border-radius: 4px; }
.header-actions a:hover { background: rgba(0,0,0,.04); }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: all 120ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-brand);
  color: #fff;
  border: 1px solid var(--c-brand);
  /* Phase 50.12.8 polish — subtle gradient + soft shadow give the primary
     CTA more visual weight without changing dimensions. */
  background-image: linear-gradient(180deg, var(--c-brand-2) 0%, var(--c-brand) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(0,62,128,.18);
}
.btn-primary:hover {
  background: var(--c-brand-2);
  background-image: linear-gradient(180deg, #2696ea 0%, var(--c-brand-2) 100%);
  border-color: var(--c-brand-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 4px 10px rgba(0,62,128,.22);
}
.btn-primary:active { box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 1px 1px rgba(0,62,128,.10); }
.btn-outline {
  background: #fff;
  color: var(--c-fg);
  border: 1px solid #1e1e1e;
}
.btn-outline:hover {
  background: rgba(0,103,192,.04);
  border-color: var(--c-brand);
  color: var(--c-brand-ink);
}
.btn-ghost {
  background: transparent; color: var(--c-brand); border: 0;
  padding: 10px 12px;
}
.btn-ghost:hover { background: rgba(0,103,192,.08); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ─── Layout primitives ─────────────────────────────────────────── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
/* Phase 50.12.8 density pass — reclaim 48px per .section (24px each end)
   across all 24 pages using `.section`. Still spacious; content unchanged. */
.section {
  padding: 64px 32px;
  /* Phase 50.12.8 colour pass — every section gets a very subtle radial
     brand tint at the top corners. Adds depth + warmth without competing
     with content (opacity ~3%). Position:relative + ::before pattern is
     used so existing inline backgrounds on inner divs still work. */
  position: relative;
  isolation: isolate;
}
.section::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(0,103,192,.035), transparent 70%),
    radial-gradient(ellipse 55% 35% at 100% 100%, rgba(20,134,216,.025), transparent 70%);
}
.section-tight { padding: 40px 32px; position: relative; isolation: isolate; }

/* Phase 50.12.8 colour pass — soft 2-stop gradient on .section-bg.
   Replaces the flat slate (#f5f7fa) with a subtle top-to-bottom lift that
   gives the section visual depth instead of feeling like a pasted panel. */
.section-bg {
  background:
    linear-gradient(180deg, #f5f8fc 0%, #f7f9fb 60%, #f4f7fb 100%);
  border-top: 1px solid rgba(0,103,192,.05);
  border-bottom: 1px solid rgba(0,103,192,.05);
}

/* Phase 50.12.8 colour pass — additional section variants for visual variety.
   Apply selectively to break monotony on long pages. Each uses a low-opacity
   tint so content (text, cards, tables) reads cleanly on top. */
.section-tint-warm {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(253,226,196,.45), transparent 65%),
    linear-gradient(180deg, #fefaf5 0%, #ffffff 100%);
  border-top: 1px solid rgba(180,95,0,.06);
}
.section-tint-emerald {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(167,243,208,.30), transparent 65%),
    linear-gradient(180deg, #f6fcf8 0%, #ffffff 100%);
  border-top: 1px solid rgba(30,126,62,.06);
}
.section-tint-blue {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(214,229,250,.55), transparent 65%),
    linear-gradient(180deg, #f5fafe 0%, #ffffff 100%);
  border-top: 1px solid rgba(0,103,192,.08);
}
.section-tint-violet {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(214,197,240,.30), transparent 65%),
    linear-gradient(180deg, #faf7fe 0%, #ffffff 100%);
  border-top: 1px solid rgba(116,79,168,.06);
}

/* Thin gradient divider between sections — drop into any breakpoint where
   two same-coloured sections meet to add visual separation without a hard rule. */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,103,192,.18) 50%, transparent 100%);
  margin: 0;
}

/* Optional subtle dot pattern overlay — apply to a section for added texture
   in hero adjacencies or stat strips. */
.section-with-pattern {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,103,192,.05) 1px, transparent 0);
  background-size: 24px 24px;
}

/* ════════════════════════════════════════════════════════════════════
   Phase 50.12.8 colour pass v2 — VISUAL LANGUAGE PRIMITIVES
   "Stop looking like a student essay on white paper."
   These are NON-STRUCTURAL utilities — drop classes into existing markup
   to add visual punctuation without moving anything. ════════════════ */

/* ─── Floating decorative blob — drop into any section corner ─── */
.deco-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: .6;
  border-radius: 50%;
}
.deco-blob-blue {
  background: radial-gradient(circle, rgba(0,103,192,.30) 0%, transparent 70%);
  width: 360px; height: 360px;
}
.deco-blob-emerald {
  background: radial-gradient(circle, rgba(30,126,62,.22) 0%, transparent 70%);
  width: 320px; height: 320px;
}
.deco-blob-warm {
  background: radial-gradient(circle, rgba(253,180,100,.28) 0%, transparent 70%);
  width: 340px; height: 340px;
}
.deco-blob-violet {
  background: radial-gradient(circle, rgba(116,79,168,.22) 0%, transparent 70%);
  width: 320px; height: 320px;
}
/* Auto-decorate every .section with a single drifting blob at the right edge,
   visible only inside the section. Pointer-events:none so doesn't block clicks. */
.section::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(0,103,192,.10) 0%, transparent 65%);
  filter: blur(50px);
  border-radius: 50%;
}
.section-tint-warm::after { background: radial-gradient(circle, rgba(253,180,100,.22) 0%, transparent 65%); }
.section-tint-emerald::after { background: radial-gradient(circle, rgba(30,126,62,.18) 0%, transparent 65%); }
.section-tint-violet::after { background: radial-gradient(circle, rgba(116,79,168,.18) 0%, transparent 65%); }

/* ─── Animated gradient text — wrap key phrases in .grad-text ─── */
.grad-text {
  background: linear-gradient(135deg, var(--c-brand) 0%, #1486d8 40%, #7e3dd3 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: grad-text-pan 8s ease-in-out infinite;
}
@keyframes grad-text-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Stat callout — turn "we have 13,000 tests" into a hero number ─── */
.kpi-callout {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff 0%, var(--c-brand-soft) 100%);
  border: 1px solid rgba(0,103,192,.18);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.kpi-callout .kpi-num {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--c-brand-ink), var(--c-brand-2));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  line-height: 1;
}
.kpi-callout .kpi-label {
  font-size: 12px; font-weight: 600;
  color: var(--c-fg-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

/* ─── Numbered step indicator — big circle with gradient ─── */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand-ink), var(--c-brand-2));
  color: #fff;
  font-size: 17px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px -2px rgba(0,103,192,.30);
  flex-shrink: 0;
}

/* ─── Icon-anchored heading — h3 with circular icon prefix ─── */
.icon-h3 {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 0 0 12px;
}
.icon-h3 .h3-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,103,192,.10), rgba(20,134,216,.06));
  color: var(--c-brand-ink);
}
.icon-h3 .h3-icon-emerald { background: linear-gradient(135deg, rgba(30,126,62,.10), rgba(30,126,62,.04)); color: #065f46; }
.icon-h3 .h3-icon-warm    { background: linear-gradient(135deg, rgba(180,95,0,.10), rgba(253,180,100,.10)); color: #92400e; }
.icon-h3 .h3-icon-violet  { background: linear-gradient(135deg, rgba(116,79,168,.10), rgba(140,98,201,.06)); color: #6b21a8; }
.icon-h3 h3 { margin: 6px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.005em; }

/* ─── Pull-quote — for testimonials / key claims ─── */
.pullquote {
  position: relative;
  padding: 22px 24px 22px 60px;
  background: linear-gradient(180deg, #fafbfc, #ffffff);
  border-radius: 14px;
  border: 1px solid var(--c-rule);
  border-left: 4px solid var(--c-brand);
  font-size: 17px; font-style: italic; color: var(--c-fg);
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}
.pullquote::before {
  content: '"';
  position: absolute;
  top: 4px; left: 18px;
  font-size: 64px; font-style: normal;
  color: var(--c-brand);
  opacity: .25;
  line-height: 1; font-family: Georgia, serif;
}
.pullquote-attrib {
  display: block;
  margin-top: 10px;
  font-style: normal; font-size: 13px;
  color: var(--c-fg-muted);
}

/* ─── Subtle body background grid (whole site) ─── */
body {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,103,192,.025) 1px, transparent 0);
  background-size: 32px 32px;
  background-attachment: fixed;
}

/* ─── Section divider — angled SVG-style gradient between sections ─── */
.section-divider-fancy {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--c-brand) 25%,
    #7e3dd3 50%,
    var(--c-brand) 75%,
    transparent 100%);
  background-size: 200% 100%;
  animation: divider-shimmer 6s ease-in-out infinite;
  opacity: .35;
}
@keyframes divider-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Premium ribbon label — for "NEW", "POPULAR", "AI" badges ─── */
.ribbon {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-brand), #7e3dd3);
  color: #fff;
  box-shadow: 0 4px 8px -2px rgba(0,103,192,.35);
}
.ribbon-emerald { background: linear-gradient(135deg, #1e7e3e, #34a853); }
.ribbon-warm    { background: linear-gradient(135deg, #b45f00, #f59e0b); }
.ribbon-violet  { background: linear-gradient(135deg, #6b21a8, #a855f7); }

/* ─── Glass-morphism card — for hero callouts and feature blocks ─── */
.glass-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 8px 32px -8px rgba(0,62,128,.12), 0 0 0 1px rgba(0,103,192,.04);
}

/* ─── Section heading with icon prefix — visual anchor for sections ─── */
.section-head-with-icon {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin-bottom: 22px;
}
.section-head-with-icon .sh-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-brand), #1486d8);
  color: #fff;
  box-shadow: 0 12px 24px -6px rgba(0,103,192,.40);
}

/* ─── Number list visualised — large numerals with content ─── */
.num-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: num-list;
}
.num-list li {
  counter-increment: num-list;
  position: relative;
  padding-left: 56px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-fg);
}
.num-list li::before {
  content: counter(num-list);
  position: absolute;
  left: 0; top: -2px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand-soft), #cfe2f7);
  color: var(--c-brand-ink);
  font-weight: 700; font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* ─── Honeycomb / dotted pattern overlay — drop on any section ─── */
.bg-dots {
  position: relative;
}
.bg-dots::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,103,192,.10) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, #000 0%, transparent 100%);
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-brand);
  margin-bottom: 12px;
  /* Phase 50.12.8 polish — slight underline accent for visual rhythm. */
  display: inline-block;
}
.h-section {
  font-size: clamp(28px, 3.5vw, 44px);
  /* Phase 50.12.8 polish — tighter tracking on large display type +
     leading that breathes around descenders. */
  line-height: 1.12; letter-spacing: -.02em;
  font-weight: 600; margin: 0 0 18px;
  /* Modern text-balance lets the browser wrap headings symmetrically
     (gracefully ignored by Safari < 17). */
  text-wrap: balance;
}
.lede {
  font-size: 17px; color: var(--c-fg-muted);
  max-width: 640px; margin: 0 0 32px;
  /* Slightly looser leading for the larger lede paragraph. */
  line-height: 1.6;
  /* Same balanced wrapping as headings. */
  text-wrap: pretty;
}

/* ─── Hero (gradient with diagonal spotlight) ───────────────────── */
.hero {
  /* overflow:hidden removed — index.html sets its own hero rules with
     content that can grow taller than min-height on short viewports.
     With overflow:hidden, the pill tag at top + "no card" text at bottom
     were being clipped on laptop-class viewports. Keeping overflow
     visible lets content extend naturally; the diagonal gradient still
     paints inside the hero box because the box has its own background. */
  position: relative;
  padding: 72px 32px 96px;
  background:
    radial-gradient(circle at 100% 50%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(110deg, var(--grad-1) 0%, var(--grad-2) 30%, var(--grad-3) 60%, var(--grad-4) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, transparent 25%, rgba(255,255,255,.45) 27%, rgba(255,255,255,.45) 28%, transparent 30%, transparent 100%),
    linear-gradient(112deg, transparent 0%, transparent 50%, rgba(255,255,255,.35) 52%, rgba(255,255,255,.35) 53%, transparent 56%, transparent 100%);
}
.hero-inner { position: relative; max-width: var(--container-max); margin: 0 auto; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05; letter-spacing: -.02em;
  font-weight: 600; color: #1a1a1a;
}
.hero p.lede { color: #2a2a2a; max-width: 640px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px; align-items: stretch;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; } }
.hero-grid > * { min-width: 0; }

/* ─── .page-hero — canonical subpage hero (premium compact pattern) ──
   Use on EVERY non-homepage top-level page. Target height ~260-320px.
   Pattern: pill-tag → h1 → lede → CTA row, centered, generous breathing
   room, soft tinted background, 1px luminous top accent, soft border-
   bottom for section separation.

   Replaces the legacy convention where some subpages did `<section class="hero">`
   and inherited the full-bleed flagship hero (h1 64px, 168px vertical
   padding) intended for index.html only. */
.page-hero {
  position: relative;
  padding: clamp(56px, 7vh, 80px) 32px clamp(40px, 5vh, 56px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 103, 192, .06), transparent 70%),
    linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 103, 192, .06);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 103, 192, .22) 50%, transparent 100%);
  pointer-events: none;
}
.page-hero .page-hero-inner,
.page-hero .hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: block;
}
.page-hero .pill-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  background: var(--c-brand-soft);
  color: var(--c-brand-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(0, 103, 192, .12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--c-fg);
  text-wrap: balance;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--c-brand-ink);
}
.page-hero p.lede {
  font-size: 16px;
  color: var(--c-fg-muted);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.55;
  text-wrap: pretty;
}
.page-hero .hero-ctas,
.page-hero .flex-wrap-3 {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Cards ───────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-card);
  padding: 28px;
  /* Phase 50.12.8 polish — add subtle lift on hover (1px translate doesn't
     affect surrounding layout flow). Smoother transition curve. */
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,103,192,.20);
  transform: translateY(-1px);
}

.icon-tile {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.glass-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

/* ─── Grid utilities ─────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ─── Trust strip ────────────────────────────────────────────────── */
.trust { padding: 56px 32px 24px; text-align: center; max-width: var(--container-max); margin: 0 auto; }
.trust-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-fg-subtle);
  margin-bottom: 22px;
}
.trust-row { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; align-items: center; }
.trust-logo { font-weight: 600; font-size: 17px; letter-spacing: -.01em; color: var(--c-fg-muted); opacity: .7; }

/* ─── CTA strip ──────────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--c-brand-ink), var(--c-brand));
  color: #fff;
  padding: 64px 32px;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -.015em; font-weight: 600;
}
.cta-strip p { margin: 0 auto 24px; max-width: 600px; opacity: .9; font-size: 17px; }
.cta-strip .btn-primary { background: #fff; color: var(--c-brand-ink); border-color: #fff; }
.cta-strip .btn-primary:hover { background: rgba(255,255,255,.9); }
.cta-strip .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-strip .btn-outline:hover { background: rgba(255,255,255,.1); }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  background: #f5f7fa;
  border-top: 1px solid var(--c-rule);
  padding: 48px 32px 32px;
  font-size: 13px; color: var(--c-fg-subtle);
}
.footer-inner { max-width: var(--container-max); margin: 0 auto; }
.footer-cols {
  display: grid; grid-template-columns: 2fr repeat(4, 1fr);
  gap: 36px; margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 13px; color: var(--c-fg); margin: 0 0 12px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--c-fg); }
.footer-tagline { color: var(--c-fg-muted); margin: 12px 0 16px; font-size: 14px; max-width: 360px; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid var(--c-rule);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

/* ─── Pricing ─────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--c-rule);
  border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column;
  position: relative;
  height: 100%; /* equal-height cards in the price grid */
}
.price-list { flex: 1; }
.price-card .btn { margin-top: auto; }
.price-card.is-featured {
  border: 2px solid var(--c-brand);
  box-shadow: var(--shadow-md);
}
.price-card-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--c-brand); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.price-name { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.price-tag { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 4px; }
.price-num { font-size: 42px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.price-unit { color: var(--c-fg-subtle); font-size: 14px; }
.price-meta { color: var(--c-fg-subtle); font-size: 13px; min-height: 36px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 22px; font-size: 14px; }
.price-list li { padding: 7px 0 7px 26px; position: relative; line-height: 1.4; }
.price-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--c-brand);
  border-bottom: 2px solid var(--c-brand);
  transform: rotate(-45deg);
}

/* ─── Tables ─────────────────────────────────────────────────────── */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--c-rule);
}
.compare-table thead th {
  background: var(--c-bg-soft);
  font-weight: 600; font-size: 13px;
  color: var(--c-fg-subtle); text-transform: uppercase; letter-spacing: .04em;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .check { color: var(--c-brand); font-weight: 700; }
.compare-table .dash { color: #cbd5e1; }

/* ─── Forms ──────────────────────────────────────────────────────── */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--c-fg); }
.form-row input, .form-row textarea, .form-row select {
  font-family: inherit; font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--c-rule);
  border-radius: 4px;
  background: #fff;
  color: var(--c-fg);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(0,103,192,.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* ─── Page-link quick-nav (only on links page) ──────────────────── */
.quick-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .quick-nav-grid { grid-template-columns: 1fr; } }
.quick-nav-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius-card);
  transition: all 120ms;
}
.quick-nav-card:hover { border-color: var(--c-brand); box-shadow: var(--shadow-sm); }
.quick-nav-card .icon-tile { margin: 0; }
.quick-nav-card h3 { font-size: 16px; margin: 0 0 4px; }
.quick-nav-card p { margin: 0; font-size: 13px; color: var(--c-fg-subtle); line-height: 1.5; }

/* ─── Spacing utilities ──────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-8 { margin-top: 64px; }
.text-center { text-align: center; }
.flex-wrap-3 { display: flex; gap: 12px; flex-wrap: wrap; }
