/* Anchor-scroll fix */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
section[id], header[id], div[id] { scroll-margin-top: 80px; }

/* Seventh Sense - main theme CSS (auto-generated from homepage mockup) */

:root {
    --bg: #ffffff;
    --bg-soft: #f7f7f5;
    --bg-dark: #0a0a14;
    --bg-darker: #050510;
    --ink: #0a0a14;
    --ink-2: #2a2a35;
    --muted: #6b6b78;
    --line: #e8e8e3;
    --line-dark: rgba(255,255,255,0.10);
    --brand: {{ theme.brand.primary_color.color }};
    --brand-2: {{ theme.brand.primary_color_2.color }};
    --brand-soft: #efeaff;
    --accent: {{ theme.brand.accent_color.color }};
    --good: #16a34a;
    --bad: #ef4444;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-lg: 0 30px 60px -20px rgba(20,20,40,0.18), 0 12px 28px -10px rgba(91,61,245,0.10);
    --shadow-md: 0 12px 24px -10px rgba(20,20,40,0.10);
    /* Canonical page-title (hero h1) scale. One token for every page hero so the
       most important element renders at a consistent size site-wide. The home
       hero uses a larger display override (.hero h1) for above-the-fold impact. */
    --fs-h1: clamp(36px, 5vw, 60px);
    /* Body type scale. One token per semantic role so the same role (a lede, a
       card body, a micro-label) renders at one size site-wide instead of the prior
       ad-hoc 14/15/16/17/18/19/21px sprawl. ONE lede (19) + ONE card-body (15). */
    --fs-body: 16px;     /* default running text */
    --fs-body-lg: 17px;  /* long-form prose / list copy */
    --fs-lede: 19px;     /* section / hero lede (the one canonical lede size) */
    --fs-small: 13px;    /* fine print, captions */
    --fs-micro: 11px;    /* eyebrow-adjacent micro-labels */
    --fs-card: 15px;     /* the one canonical card-body size */
    /* One uppercase-label tracking token so caps micro-labels match across sections
       (was scattered 0.04–0.10em). */
    --tracking-caps: 0.06em;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; }
  button { font-family: inherit; cursor: pointer; }

  /* Global heading reset: guarantees a sane fallback for any heading that is
     not styled by a known wrapper class (most importantly editor / blog rich
     text). Classed headings override font-size/line-height as before, so this
     does not change any already-styled heading. */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  h4 { font-size: 20px; }
  h5 { font-size: 17px; }
  h6 { font-size: 15px; }

  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  .wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
  /* Long-form prose measure (~70ch). One canonical container for blog / legal /
     glossary body copy so running text stays in the 60–75ch comfortable range instead
     of the ~95–100ch a 820–1100px column produced. Defined once here; pages stop
     redefining .wrap for prose. */
  .wrap-prose { max-width: 720px; margin: 0 auto; padding: 0 24px; }

  .serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-caps);
    text-transform: uppercase; color: var(--brand);
    background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
  }
  .eyebrow.dark { background: rgba(139,109,255,0.12); color: #b9a9ff; }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
  /* hero eyebrow pill — larger than the standard section eyebrow */
  .hero .eyebrow { font-size: 14px; padding: 9px 18px; gap: 9px; letter-spacing: 0.05em; }
  .hero .eyebrow .dot { width: 7px; height: 7px; }

  /* ============ NAV ============ */
  .nav {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    background: rgba(255,255,255,0.78);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
    /* Self-contained width so the header is identical on every page. Do NOT
       reuse the page `.wrap` class on the nav — per-page CSS overrides .wrap's
       max-width (1100/1200/1240), which makes the logo↔nav spacing differ page
       to page. */
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
  }
  .logo {
    display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
    letter-spacing: -0.01em;
  }
  .logo-img { height: 56px; width: auto; display: block; }
  .logo-img.invert { filter: invert(1) brightness(2); }
  .logo-mark {
    width: 28px; height: 28px; border-radius: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, #2c1798 100%);
    display: grid; place-items: center; color: white; font-weight: 800;
    font-size: 14px; font-family: 'Instrument Serif', serif; font-style: italic;
    letter-spacing: -0.05em;
  }
  .nav-links { display: flex; gap: 4px; align-items: center; }
  .nav-links a {
    padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2);
    border-radius: 8px; transition: color .15s, background .15s;
  }
  .nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
  .nav-cta { display: flex; gap: 10px; align-items: center; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
    white-space: nowrap;
  }
  .btn-primary { background: var(--ink); color: #fff; }
  .btn-primary:hover { background: var(--brand); transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn-ghost:hover { background: var(--bg-soft); }
  .btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-outline:hover { border-color: var(--ink); }
  .btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
  .btn-brand { background: var(--brand); color: #fff; }
  .btn-brand:hover { background: #4a30d4; transform: translateY(-1px); }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    background: linear-gradient(180deg, #0a0a14 0%, #15102e 100%);
    color: #fff;
    overflow: hidden;
    padding: 100px 0 80px;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(91,61,245,0.30), transparent 50%),
      radial-gradient(ellipse 40% 40% at 80% 30%, rgba(139,109,255,0.18), transparent 60%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 2; }
  .hero h1 {
    font-size: clamp(38px, 5.4vw, 72px);
    line-height: 1.04; letter-spacing: -0.03em;
    font-weight: 800; margin: 24px 0 20px;
    max-width: 960px;
  }
  .hero h1 em {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    color: var(--brand-2);
  }
  .hero h1 .hero-line { display: block; }
  .hero h1 .hero-line + .hero-line { margin-top: 0.35em; }
  @media (max-width: 480px) {
    .hero h1 { min-height: 4.55em; }
  }
  /* Prevent desktop fallback-font wrapping before the hero display font loads. */
  @media (min-width: 1000px) {
    .hero h1 { max-width: 1040px; }
  }
  .hero p.lede {
    font-size: clamp(17px, 1.5vw, 21px);
    color: rgba(255,255,255,0.78);
    max-width: 720px; margin: 0 0 20px;
    line-height: 1.5;
  }
  .hero p.lede-tagline {
    font-size: clamp(18px, 1.6vw, 22px);
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.01em;
    max-width: 720px;
    margin: 0 0 36px;
    line-height: 1.4;
  }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
  .hero-secondary-cta {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 60px;
    line-height: 1.7;
  }
  .hero-secondary-cta > div { margin-bottom: 4px; }
  .hero-secondary-cta .synthetic-link {
    color: var(--brand-2);
    font-weight: 600;
    border-bottom: 1px dotted rgba(139,109,255,0.4);
    transition: color .15s, border-color .15s;
  }
  .hero-secondary-cta .synthetic-link:hover {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.7);
  }
  .hero-ctas .btn-primary { background: #fff; color: var(--ink); }
  .hero-ctas .btn-primary:hover { background: var(--brand); color: #fff; }
  .hero-ctas .btn-outline { color: #fff; border-color: rgba(255,255,255,0.20); }
  .hero-ctas .btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.45); }

  /* White-on-dark primary button on any dark section (e.g. final-cta), driven by the
     token system instead of per-module inline styles so brand/hover stays consistent
     (L8). Mirrors the hero-ctas treatment: white at rest, flips to brand on hover. */
  section.dark .btn-primary { background: #fff; color: var(--ink); }
  section.dark .btn-primary:hover { background: var(--brand); color: #fff; }
  section.dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.25); }
  section.dark .btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.45); }

  .stat-row {
    display: flex; gap: 56px; flex-wrap: wrap; margin-top: 12px;
    padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.10);
  }
  .stat-row .stat { max-width: 220px; }
  .stat-row .stat .num {
    font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #b9a9ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat-row .stat .label { font-size: 13px; color: rgba(255,255,255,0.60); margin-top: 4px; }

  /* ============ DASHBOARD MOCK ============ */
  .dash-wrap {
    margin-top: 64px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
  }
  .dash {
    background: #0c0c1a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
  }
  .dash-bar {
    display: flex; align-items: center; gap: 8px; padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .dash-bar .traffic { display: flex; gap: 6px; }
  .dash-bar .traffic span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.12); }
  .dash-bar .url {
    flex: 1; text-align: center; font-size: 12px; color: rgba(255,255,255,0.45);
    font-family: 'SF Mono', Menlo, monospace;
  }
  /* Dashboard layout: sidebar + main */
  .dash-body { padding: 0; display: grid; grid-template-columns: 180px 1fr; gap: 0; }
  .dash-sidebar {
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
    min-height: 100%;
  }
  .dash-sidebar .brand {
    padding: 0 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 14px;
  }
  .dash-sidebar .brand-mark {
    width: 30px; height: 30px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--brand-2) 0%, var(--brand) 40%, #2c1798 100%);
    margin-bottom: 8px;
  }
  .dash-sidebar .brand-name {
    font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1.1;
  }
  .dash-sidebar .badge-admin {
    display: inline-block; margin-top: 6px;
    font-size: 9px; font-weight: 700;
    background: rgba(16,185,129,0.18); color: #6ee7b7;
    padding: 2px 6px; border-radius: 3px;
    text-transform: lowercase; letter-spacing: 0.02em;
  }
  .dash-sidebar .dash-grp {
    font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35); text-transform: uppercase;
    padding: 0 18px; margin: 14px 0 6px; line-height: 1.55;
  }
  .dash-sidebar ul:first-of-type + .dash-grp { margin-top: 0; }
  .dash-sidebar ul { list-style: none; margin: 0; padding: 0; }
  .dash-sidebar li {
    padding: 7px 18px; font-size: 12px; color: rgba(255,255,255,0.75);
    display: flex; align-items: center; gap: 9px;
    cursor: pointer; position: relative;
  }
  .dash-sidebar li svg { width: 14px; height: 14px; opacity: 0.85; flex-shrink: 0; }
  .dash-sidebar li:hover { background: rgba(255,255,255,0.03); color: #fff; }
  .dash-sidebar .fire {
    position: absolute; top: 3px; right: 50px;
    width: 14px; height: 14px;
    background: radial-gradient(circle, #fbbf24 0%, #ef4444 70%);
    border-radius: 50%; box-shadow: 0 0 4px rgba(239,68,68,0.6);
  }
  .dash-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
  .dash-row { display: grid; gap: 12px; }
  .dash-row.two { grid-template-columns: 0.85fr 1.3fr; }
  .dash-row.one { grid-template-columns: 1fr; }
  .dash-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 18px;
  }
  .dash-panel .dash-pan-title {
    font-size: 14px; font-weight: 600; color: #fff;
    margin: 0 0 4px; letter-spacing: -0.01em; line-height: 1.55;
  }
  .dash-panel .panel-sub {
    font-size: 12px; color: rgba(255,255,255,0.62); margin-bottom: 6px;
  }
  .dash-panel .panel-desc {
    font-size: 11px; color: rgba(255,255,255,0.40); margin-bottom: 14px;
    line-height: 1.4;
  }
  .dash-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
  .dash-tab {
    font-size: 10px; padding: 4px 10px; border-radius: 99px;
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.08); white-space: nowrap;
  }
  .dash-tab.active {
    background: rgba(91,61,245,0.18); color: #c4b5fd;
    border-color: rgba(91,61,245,0.45);
  }
  .donut-block { display: flex; flex-direction: column; align-items: center; }
  .donut-block .total {
    font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 10px;
  }
  .donut-block .total strong { color: #fff; font-weight: 700; }
  .donut-legend {
    margin-top: 14px; display: flex; flex-direction: column; gap: 5px;
    font-size: 11px; width: 100%;
  }
  .donut-legend .row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }
  .donut-legend .lbl {
    display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.78);
  }
  .donut-legend .lbl i {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  }
  .donut-legend .pct { color: #fff; font-weight: 700; font-size: 11px; }
  .line-legend {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px;
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 10px; color: rgba(255,255,255,0.6);
  }
  .line-legend span { display: inline-flex; align-items: center; gap: 5px; }
  .line-legend i { width: 14px; height: 2px; border-radius: 1px; }

  /* Executive dashboard styles */
  .exec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .exec-head .title { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
  .exec-chrome { display: flex; align-items: center; gap: 10px; }
  .exec-chrome .icon-btn {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: grid; place-items: center;
    color: rgba(255,255,255,0.7);
  }
  .exec-chrome .icon-btn svg { width: 13px; height: 13px; }
  .exec-chrome .user-info { display: flex; align-items: center; gap: 8px; }
  .exec-chrome .user-info .avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border: 2px solid rgba(255,255,255,0.10);
  }
  .exec-chrome .user-info .meta { font-size: 10px; color: rgba(255,255,255,0.55); line-height: 1.2; }
  .exec-chrome .user-info .meta strong { color: #fff; display: block; font-weight: 600; }
  .exec-filters { display: flex; justify-content: space-between; margin-bottom: 12px; }
  .exec-pill {
    font-size: 11px; font-weight: 500;
    padding: 6px 12px; border-radius: 7px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .exec-pill.share { background: rgba(255,255,255,0.08); }
  .exec-alert {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; background: rgba(91,61,245,0.08);
    border: 1px solid rgba(91,61,245,0.20);
    border-radius: 8px; margin-bottom: 14px;
    font-size: 11px;
  }
  .exec-alert .msg { color: rgba(255,255,255,0.80); display: flex; align-items: center; gap: 8px; }
  .exec-alert .dot-alert { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
  .exec-alert .view { color: var(--brand-2); font-weight: 600; }
  .exec-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
  .metric-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 12px;
  }
  .metric-card.active { border-color: rgba(91,61,245,0.40); background: rgba(91,61,245,0.06); }
  .metric-card .m-label { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
  .metric-card .m-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
  .metric-card .m-val { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
  .metric-card .m-badge { font-size: 9px; padding: 1px 6px; border-radius: 99px; font-weight: 600; white-space: nowrap; }
  .metric-card .m-badge.good { background: rgba(34,197,94,0.18); color: #4ade80; }
  .metric-card .m-badge.stable { background: rgba(148,163,184,0.18); color: #cbd5e1; }
  .metric-card .m-badge.decline { background: rgba(239,68,68,0.18); color: #fca5a5; }
  .metric-card .m-trend { font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 6px; }
  .metric-card .m-trend .up { color: #4ade80; font-weight: 600; }
  .metric-card .m-trend .down { color: #fca5a5; font-weight: 600; }
  .metric-card svg.spark { display: block; margin-top: 6px; width: 100%; height: 28px; }
  .audience-reach { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 16px; }
  .audience-reach .audience-reach-title { font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 12px; line-height: 1.55; }
  .reach-row { display: grid; grid-template-columns: 140px 1fr 50px 80px; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 11px; }
  .reach-row:last-child { margin-bottom: 0; }
  .reach-row .name { color: rgba(255,255,255,0.85); font-weight: 500; }
  .reach-row .bar-bg { height: 10px; background: rgba(255,255,255,0.06); border-radius: 5px; overflow: hidden; }
  .reach-row .bar-fill { height: 100%; border-radius: 5px; }
  .reach-row .bar-fill.lvl-1 { background: var(--brand-2); }
  .reach-row .bar-fill.lvl-2 { background: #6366f1; }
  .reach-row .bar-fill.lvl-3 { background: #818cf8; }
  .reach-row .bar-fill.lvl-4 { background: #a78bfa; }
  .reach-row .pct { color: #fff; font-weight: 700; font-size: 11px; text-align: right; }
  .reach-row .grade { font-size: 9px; padding: 2px 7px; border-radius: 99px; font-weight: 600; text-align: center; }
  .reach-row .grade.excellent { background: rgba(34,197,94,0.18); color: #4ade80; }
  .reach-row .grade.good { background: rgba(132,204,22,0.18); color: #a3e635; }
  .reach-row .grade.needs { background: rgba(251,191,36,0.18); color: #fcd34d; }
  .reach-row .grade.poor { background: rgba(239,68,68,0.18); color: #fca5a5; }

  /* ============ LOGO STRIP ============ */
  .logos-wrap {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
  }
  .logos-eyebrow {
    text-align: center; font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: 600;
    margin-bottom: 24px;
  }
  .logos {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
  }
  .logo-mark-faux {
    /* These read as company names (meaningful content), not decoration, so they must
       pass AA. Was var(--muted) @0.65 ≈2.63:1; --ink-2 @0.85 ≈11.9:1. */
    color: var(--ink-2); font-weight: 700; font-size: 16px;
    letter-spacing: -0.01em; opacity: 0.85;
    transition: opacity .15s;
  }
  .logo-mark-faux:hover { opacity: 1; }
  /* Instrument Serif is a >=28px display accent only; at 22px the italic serif is
     noticeably less legible than the surrounding Inter (L2). Use Inter italic instead. */
  .logo-mark-faux.serif { font-family: 'Inter', sans-serif; font-style: italic; font-size: 22px; }

  /* ============ SECTIONS ============ */
  section { padding: 110px 0; }
  section.tight { padding: 72px 0; }
  section.dark { background: var(--bg-dark); color: #fff; }
  section.soft { background: var(--bg-soft); }

  .section-head { max-width: 760px; margin-bottom: 64px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 {
    font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.025em;
    font-weight: 800; margin: 16px 0 18px;
  }
  .section-head h2 em { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; color: var(--brand); }
  section.dark .section-head h2 em { color: var(--brand-2); }
  .section-head p {
    font-size: var(--fs-lede); color: var(--muted); line-height: 1.55;
  }
  section.dark .section-head p { color: rgba(255,255,255,0.68); }

  /* ============ PROBLEM ============ */
  .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .problem-text h2 {
    font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.2; margin: 0 0 18px;
  }
  .problem-text h2 .strike { text-decoration: line-through; color: var(--muted); }
  .problem-text p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; }
  .problem-quote {
    border-left: 3px solid var(--brand);
    padding: 14px 0 14px 22px;
    margin: 24px 0 0;
  }
  /* Pull-quote at near-body scale: Inter italic reads better here than Instrument
     Serif, which is reserved for >=28px display accents (L2). */
  .problem-quote .q { font-size: 19px; font-style: italic; color: var(--ink); line-height: 1.5; font-family: 'Inter', sans-serif; }
  .problem-quote .by { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; }

  /* Attention conversion funnel - aligned to site design language */
  .attn-funnel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
  }
  .attn-funnel .af-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
  }
  .attn-funnel .af-head .title {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
  }
  .attn-funnel .af-head .info-icon {
    width: 16px; height: 16px; border-radius: 50%;
    border: 1.5px solid var(--line); color: var(--muted);
    display: grid; place-items: center; font-size: 10px;
    font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 600;
  }
  .attn-funnel .rate {
    display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px;
  }
  .attn-funnel .rate-label {
    font-size: 14px; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .attn-funnel .rate-value {
    font-size: 36px; font-weight: 800; color: var(--ink);
    letter-spacing: -0.025em; line-height: 1;
  }
  .attn-funnel .trend-line {
    display: flex; align-items: center; gap: 8px; margin-bottom: 28px;
    font-size: 12px;
  }
  .attn-funnel .trend-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: #e8f6ed; color: #0f6b32;
    padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600;
  }
  .attn-funnel .trend-meta { color: var(--muted); font-weight: 500; }
  .attn-funnel .rows { margin-top: 4px; }
  .attn-funnel .row { margin-bottom: 18px; }
  .attn-funnel .row:last-child { margin-bottom: 0; }
  .attn-funnel .row-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--ink-2); margin-bottom: 8px;
    font-weight: 600;
  }
  .attn-funnel .row-label .num {
    color: var(--muted); font-weight: 500; margin-left: 4px;
  }
  .attn-funnel .drop-badge {
    background: rgba(239,68,68,0.10); color: #b91c1c;
    padding: 2px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .attn-funnel .bar-bg {
    height: 12px; background: var(--bg-soft); border-radius: 8px;
    overflow: hidden;
  }
  .attn-funnel .bar-fill {
    height: 100%; border-radius: 8px;
    transition: width 0.4s ease;
  }
  .attn-funnel .bar-fill.light { background: var(--brand-2); }
  .attn-funnel .bar-fill.dark  { background: var(--brand); }

  /* ============ FIVE PILLARS ============ */
  .pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pillar {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 32px;
    transition: transform .2s, box-shadow .2s;
    position: relative; overflow: hidden;
  }
  .pillar.beta {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, var(--brand-soft) 100%);
    border-color: rgba(91,61,245,0.30);
  }
  .pillar.beta .beta-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start;
  }
  .pillar.beta .beta-grid ul { padding: 0; margin: 0; }
  .pillar-tag {
    display: inline-block;
    background: var(--brand); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 18px;
  }
  @media (max-width: 768px) {
    .pillar.beta .beta-grid { grid-template-columns: 1fr; gap: 24px; }
  }
  .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91,61,245,0.30); }
  .pillar-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center; margin-bottom: 22px;
  }
  .pillar-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--brand);
    margin-bottom: 8px;
  }
  .pillar h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; line-height: 1.55; }
  .pillar p { font-size: var(--fs-card); color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
  .pillar ul { list-style: none; padding: 0; margin: 0; }
  .pillar li {
    font-size: 14px; color: var(--ink-2); padding: 6px 0; padding-left: 20px;
    position: relative;
  }
  .pillar li::before {
    content: ''; position: absolute; left: 0; top: 12px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand);
  }

  /* ============ FEATURE BLOCKS ============ */
  .feature-block {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
    padding: 80px 0; border-top: 1px solid var(--line);
  }
  .feature-block.flip { grid-template-columns: 1.1fr 1fr; }
  .feature-block.flip .feature-text { order: 2; }
  .feature-text h3 {
    font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em;
    font-weight: 800; margin: 18px 0 18px;
  }
  .feature-text h3 em { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; color: var(--brand); }
  .feature-text > p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 0 0 24px; }
  .inline-beta {
    background: var(--brand); color: #fff;
    padding: 2px 7px; border-radius: 4px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-left: 8px; vertical-align: middle;
  }
  .feature-text .checks { list-style: none; padding: 0; margin: 0; }
  .feature-text .checks li {
    padding: 8px 0; padding-left: 28px; position: relative;
    font-size: var(--fs-card); color: var(--ink-2);
  }
  .feature-text .checks li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 16px; height: 8px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg) translateY(-4px);
  }

  /* ============ AI PROFILE CARD ============ */
  .profile-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 28px;
    box-shadow: var(--shadow-md);
  }
  .profile-head {
    display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
  }
  .avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, #2c1798 100%);
    color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  }
  .profile-info .name { font-size: 17px; font-weight: 700; }
  .profile-info .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
  .profile-section { margin-bottom: 20px; }
  .profile-section .ps-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted); font-weight: 600; margin-bottom: 8px;
  }
  .badges { display: flex; gap: 6px; flex-wrap: wrap; }
  .badge {
    font-size: 12px; padding: 5px 10px; border-radius: 6px;
    background: var(--bg-soft); border: 1px solid var(--line);
    font-weight: 500;
  }
  .badge.brand { background: var(--brand-soft); color: var(--brand); border-color: rgba(91,61,245,0.20); font-weight: 600; }
  .meter {
    height: 8px; background: var(--bg-soft); border-radius: 4px; overflow: hidden;
  }
  .meter-fill {
    height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2));
  }
  .meter-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
  .meter-row .ml { font-size: 13px; color: var(--ink-2); }
  .meter-row .mv { font-size: 13px; font-weight: 700; }

  .heatmap { display: grid; grid-template-columns: 60px repeat(24, 1fr); gap: 2px; margin-top: 8px; }
  .heatmap .hm-day { font-size: 10px; color: var(--muted); display: flex; align-items: center; padding-right: 6px; }
  .heatmap .hm-cell { aspect-ratio: 1; border-radius: 2px; background: var(--bg-soft); }
  .heatmap .hm-cell[data-h="0"] { background: var(--bg-soft); }
  .heatmap .hm-cell[data-h="1"] { background: #efeaff; }
  .heatmap .hm-cell[data-h="2"] { background: #d4c2ff; }
  .heatmap .hm-cell[data-h="3"] { background: #b39bff; }
  .heatmap .hm-cell[data-h="4"] { background: var(--brand); }

  /* Profile KPI strip + peak times table + rates row */
  .profile-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 8px; margin-bottom: 22px;
  }
  .pk {
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 8px; padding: 10px 12px;
  }
  .pk-val {
    font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  }
  .pk-lbl {
    font-size: 10px; color: var(--muted); margin-top: 4px; line-height: 1.35;
    text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
  }
  .pk-accent { background: var(--brand-soft); border-color: rgba(91,61,245,0.20); }
  .pk-accent .pk-val { color: var(--brand); }
  .pk-accent .pk-lbl { color: var(--ink-2); }

  .profile-split {
    display: grid; grid-template-columns: 1fr 1.15fr;
    gap: 18px; margin-bottom: 20px;
    align-items: start;
  }
  .peak-times { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
  .pt-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 10px; border-radius: 6px;
    background: var(--bg-soft);
    font-size: 13px;
  }
  .pt-row.peak {
    background: var(--brand-soft); color: var(--brand); font-weight: 700;
  }
  .pt-day {
    color: var(--muted); font-weight: 600; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .pt-row.peak .pt-day { color: var(--brand); }
  .pt-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
  .pt-time.muted { color: var(--muted); font-weight: 500; }
  .pt-peak-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

  .profile-spark { display: block; margin-top: 6px; width: 100%; height: 90px; }
  .profile-spark-axis {
    display: flex; justify-content: space-between;
    font-size: 10px; color: var(--muted); margin-top: 4px;
    text-transform: uppercase; letter-spacing: 0.04em;
  }
  .spark-legend {
    display: flex; gap: 12px; font-size: 10px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
    margin-top: 6px;
  }

  .profile-map-wrap { margin-top: 14px; }
  .profile-map {
    display: block; width: 100%; height: 110px;
    background: #faf9fc; border-radius: 6px; padding: 6px;
  }
  .profile-map .continent { fill: #e1dee8; }
  .profile-map .loc-ring  { fill: rgba(91,61,245,0.20); }
  .profile-map .loc-dot   { fill: var(--brand); }
  .profile-map-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--muted); margin-top: 6px;
  }
  .profile-map-label .pin {
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
    box-shadow: 0 0 0 3px rgba(91,61,245,0.15);
    flex-shrink: 0;
  }
  .spark-legend span { display: inline-flex; align-items: center; gap: 4px; }
  .spark-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

  .profile-rates {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 8px; padding-top: 18px; border-top: 1px solid var(--line);
  }
  .pr-val { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
  .pr-lbl {
    font-size: 10px; color: var(--muted); margin-top: 2px;
    text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
  }

  @media (max-width: 760px) {
    .profile-kpis { grid-template-columns: repeat(2, 1fr); }
    .profile-split { grid-template-columns: 1fr; }
    .profile-rates { grid-template-columns: repeat(2, 1fr); }
  }

  /* ============ RECYCLING VIZ ============ */
  /* Recycling viz - 3-column audience-flow cards */
  .recycle-viz {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
  }
  .recycle-viz .rv-title {
    font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700; margin-bottom: 18px;
  }
  .recycle-stage { display: flex; align-items: stretch; gap: 16px; margin-bottom: 16px; }
  .recycle-col {
    flex: 1; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 16px; min-width: 0;
  }
  .recycle-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--ink-2); font-weight: 700; margin: 0 0 10px; line-height: 1.55;
  }
  .recycle-col .count {
    font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  }
  .recycle-col .pct { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
  .recycle-col.active { border-color: var(--brand); background: var(--brand-soft); }
  .recycle-col.active .count { color: var(--brand); }
  .recycle-people {
    display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px;
    align-content: flex-start;
    min-height: 158px; /* reserves space for 40 dots so the viz doesn't bounce */
  }
  .person {
    width: 18px; height: 18px;
    background: linear-gradient(135deg, #6d4cff, #4f2fe0);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a4.2 4.2 0 100-8.4 4.2 4.2 0 000 8.4zm0 1.8c-4.2 0-8.4 2.1-8.4 6.3V22h16.8v-1.9c0-4.2-4.2-6.3-8.4-6.3z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12a4.2 4.2 0 100-8.4 4.2 4.2 0 000 8.4zm0 1.8c-4.2 0-8.4 2.1-8.4 6.3V22h16.8v-1.9c0-4.2-4.2-6.3-8.4-6.3z'/></svg>") center/contain no-repeat;
  }
  .person.dim { background: #d8d6e4; }
  .recycle-threshold {
    padding: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
  }
  .recycle-threshold .rt-label {
    font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
  }
  .recycle-threshold .rt-row {
    display: flex; align-items: center; gap: 12px;
  }
  .recycle-threshold input[type=range] {
    flex: 1; height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, var(--brand) 7%, var(--line) 7%);
    -webkit-appearance: none; appearance: none;
    cursor: pointer; outline: none;
  }
  .recycle-threshold input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(91,61,245,0.25);
    transition: transform 0.12s ease;
  }
  .recycle-threshold input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
  .recycle-threshold input[type=range]::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(91,61,245,0.25);
  }
  .recycle-threshold input[type=range]::-moz-range-track {
    height: 6px; border-radius: 3px; background: var(--line);
  }
  .recycle-threshold .rt-value {
    font-size: 18px; font-weight: 800; color: var(--brand);
    min-width: 44px; text-align: right;
  }
  .recycle-threshold .rt-help {
    font-size: 11px; color: var(--muted); margin-top: 6px;
  }
  @media (max-width: 540px) {
    .recycle-stage { flex-direction: column; }
  }

  /* ============ SCAFFOLD BIG STATS ============ */
  .big-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .big-stat {
    text-align: center; padding: 24px; border-right: 1px solid var(--line-dark);
  }
  .big-stat:last-child { border-right: none; }
  .big-stat .num {
    font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #b9a9ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .big-stat .label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 12px; }

  /* ============ COMPARE ============ */
  .compare-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .compare-table th, .compare-table td {
    padding: 18px 20px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .compare-table thead th {
    font-size: 13px; font-weight: 700; color: var(--muted);
    background: var(--bg-soft); text-transform: uppercase; letter-spacing: var(--tracking-caps);
  }
  .compare-table tr:last-child td { border-bottom: none; }
  .compare-table .ours { background: rgba(91,61,245,0.04); font-weight: 600; }
  .compare-table .check { color: var(--brand); font-weight: 700; }
  .compare-table .x { color: var(--muted); }
  .compare-table .fade { color: var(--muted); font-size: 12px; }

  /* ============ TABS (HUBSPOT/MARKETO) ============ */
  .platform-tabs { display: flex; gap: 8px; margin-bottom: 28px; justify-content: center; }
  .platform-tab {
    padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
    font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  }
  .platform-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .platform-tab:hover:not(.active) { border-color: var(--ink); }
  .platform-panel { display: none; }
  .platform-panel.active { display: block; }
  .platform-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-md);
  }
  .platform-grid h3 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.015em; line-height: 1.55; }
  .platform-grid p { color: var(--muted); margin: 0 0 16px; font-size: var(--fs-card); }
  .platform-grid .checks { list-style: none; padding: 0; margin: 0; }
  .platform-grid .checks li {
    padding: 7px 0; padding-left: 26px; position: relative; font-size: 14px;
  }
  .platform-grid .checks li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 14px; height: 7px;
    border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
  }

  /* ============ TESTIMONIALS ============ */
  .quotes-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; transition: border-color .2s, box-shadow .2s;
  }
  .quote-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
  .quote-card .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
  .quote-card .q {
    font-size: 16px; line-height: 1.5; color: var(--ink); margin-bottom: 24px;
    font-weight: 500;
  }
  .quote-card .by { display: flex; align-items: center; gap: 12px; }
  .quote-card .by-mark {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-soft); display: grid; place-items: center;
    font-weight: 700; color: var(--brand); font-size: 14px;
  }
  .quote-card .by-name { font-size: 14px; font-weight: 700; }
  .quote-card .by-title { font-size: 12px; color: var(--muted); }

  .more-reviews-cta {
    text-align: center; margin-top: 48px;
    font-size: 15px; color: var(--muted);
    max-width: 720px; margin-left: auto; margin-right: auto;
    line-height: 1.6;
  }
  .more-reviews-cta a {
    display: inline-block; margin-top: 6px;
    color: var(--brand); font-weight: 700;
    border-bottom: 1px dashed rgba(91,61,245,0.40);
    padding-bottom: 2px;
  }
  .more-reviews-cta a:hover { border-bottom-style: solid; }

  /* ============ PRICING ============ */
  .pricing-toggle {
    display: inline-flex; padding: 4px; background: var(--bg-soft);
    border-radius: 999px; gap: 0; border: 1px solid var(--line);
    margin-bottom: 32px;
  }
  .pricing-toggle button {
    padding: 8px 20px; font-size: 13px; font-weight: 600; border: none;
    background: transparent; color: var(--ink-2); border-radius: 999px;
    cursor: pointer;
  }
  .pricing-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

  .price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
  .price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px; position: relative;
  }
  .price-card.popular {
    border-color: var(--brand); border-width: 2px;
    box-shadow: 0 20px 40px -15px rgba(91,61,245,0.30);
  }
  .price-tag {
    position: absolute; top: -12px; right: 24px;
    background: var(--brand); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  }
  .price-card h3 {
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-caps);
    color: var(--brand); margin: 0 0 6px; line-height: 1.55; }
  .price-card .tagline { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
  .price-amount {
    display: flex; align-items: baseline; gap: 6px;
    margin-bottom: 6px;
  }
  .price-amount .dollar { font-size: 26px; font-weight: 600; color: var(--ink); }
  .price-amount .num {
    font-size: 56px; font-weight: 800; letter-spacing: -0.03em;
    color: var(--ink); line-height: 1;
  }
  .price-amount .per { font-size: 14px; color: var(--muted); }
  .price-card .billing { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
  .price-card .btn { width: 100%; }
  .price-card ul {
    list-style: none; padding: 24px 0 0; margin: 24px 0 0;
    border-top: 1px solid var(--line);
  }
  .price-card li {
    padding: 7px 0; padding-left: 24px; position: relative;
    font-size: 14px; color: var(--ink-2);
  }
  .price-card li::before {
    content: ''; position: absolute; left: 0; top: 13px;
    width: 12px; height: 6px;
    border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
  }
  .price-card li.head {
    font-weight: 700; color: var(--ink); padding-left: 0;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  }
  .price-card li.head::before { display: none; }
  .price-card li.head:first-child { margin-top: 0; padding-top: 0; border-top: none; }

  .slider-card {
    background: var(--bg-soft); border-radius: var(--radius-lg);
    padding: 28px 32px; margin-bottom: 32px;
    display: flex; align-items: center; gap: 32px; justify-content: space-between;
    flex-wrap: wrap;
  }
  .slider-card .lbl { font-weight: 600; color: var(--ink); font-size: 14px; }
  .slider-card .lbl span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 500; }
  .slider-card input[type=range] {
    flex: 1; min-width: 240px; height: 6px;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(90deg, var(--brand) var(--p, 30%), var(--line) var(--p, 30%));
    border-radius: 3px; outline: none;
  }
  .slider-card input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand);
    cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .slider-card input[type=range]::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand);
    cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .slider-card input[type=range]::-moz-range-track {
    height: 6px; border-radius: 3px; background: transparent;
  }
  .slider-card .vol-display {
    font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
    color: var(--brand); min-width: 90px; text-align: right;
  }

  /* ============ INBOX AUDIT CTA ============ */
  .audit-cta {
    background: linear-gradient(135deg, var(--brand) 0%, #2c1798 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
    position: relative; overflow: hidden;
  }
  .audit-cta::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 20% 100%, rgba(255,255,255,0.10) 0%, transparent 50%),
      radial-gradient(circle at 90% 0%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
  }
  .audit-cta > * { position: relative; }
  .audit-cta h3 {
    font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
    font-weight: 800; margin: 0 0 16px;
  }
  .audit-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin: 0 0 24px; }
  .audit-form {
    background: rgba(255,255,255,0.10); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 14px; padding: 24px;
  }
  .audit-form .field { margin-bottom: 14px; }
  .audit-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.85); }
  .audit-form input, .audit-form select {
    width: 100%; padding: 11px 14px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.10); color: #fff;
    font-size: 14px; font-family: inherit;
  }
  .audit-form input::placeholder { color: rgba(255,255,255,0.50); }
  .audit-form button { width: 100%; padding: 13px; background: #fff; color: var(--brand); border: none; border-radius: 8px; font-weight: 700; font-size: 14px; }

  /* ============ FAQ ============ */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }
  .faq-q {
    font-size: 16px; font-weight: 700; cursor: pointer;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px;
  }
  .faq-q::after { content: '+'; color: var(--brand); font-size: 22px; font-weight: 600; line-height: 0.6; }
  .faq-item[open] .faq-q::after { content: '–'; }
  .faq-a { font-size: var(--fs-card); color: var(--muted); line-height: 1.6; margin-top: 12px; }


  /* ============ FOOTER ============ */
  footer {
    background: var(--bg-darker); color: rgba(255,255,255,0.60);
    padding: 80px 0 40px;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
  }
  footer .footer-heading {
    font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-caps);
    color: #fff; margin: 0 0 16px; font-weight: 700; line-height: 1.55;
  }
  footer ul { list-style: none; padding: 0; margin: 0; }
  footer li { padding: 5px 0; font-size: 14px; }
  footer a:hover { color: #fff; }
  .footer-cta-card {
    grid-column: span 1;
  }
  .footer-cta-card .lede { color: rgba(255,255,255,0.70); font-size: 14px; line-height: 1.5; margin: 12px 0 18px; }
  /* Trust badge row (SOC 2 / GDPR / CCPA). Extracted from the per-template inline
     styles so it is defined once. Bumped 11px->12px and 0.55->0.62 for legibility /
     AA on the dark footer (the compliance badges should not be the lowest-contrast
     text on a trust-focused brand). */
  .footer-badges {
    display: flex; gap: 8px; align-items: center;
    font-size: 12px; color: rgba(255,255,255,0.62);
  }
  .footer-badge {
    border: 1px solid rgba(255,255,255,0.20);
    padding: 4px 8px; border-radius: 6px;
  }
  .footer-bottom {
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; gap: 16px;
    font-size: 12px; flex-wrap: wrap;
    color: rgba(255,255,255,0.62);
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 980px) {
    .nav-links { display: none; }
    .pillars { grid-template-columns: 1fr; gap: 16px; }
    .feature-block,
    .feature-block.flip { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
    .feature-block.flip .feature-text { order: 0; }
    .quotes-grid { grid-template-columns: 1fr; }
    .price-cards { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; padding: 24px; }
    .audit-cta { grid-template-columns: 1fr; padding: 36px 24px; }
    .problem-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stat-row { gap: 24px; }
    .big-stats { grid-template-columns: 1fr; }
    .big-stat { border-right: none; border-bottom: 1px solid var(--line-dark); }
    .dash-row.two { grid-template-columns: 1fr; }
    .dash-body { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    section { padding: 64px 0; }
    .heatmap { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 480px) {
    .stat-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px 18px;
      padding-top: 28px;
    }
    .stat-row .stat { max-width: none; }
    .stat-row .stat .num { font-size: 24px; letter-spacing: 0; }
    .stat-row .stat .label { font-size: 12px; line-height: 1.45; }
  }


  /* Nav dropdown — Resources */
  .nav-links .has-submenu { position: relative; }
  .nav-links .submenu-trigger {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer;
  }
  .nav-links .submenu-trigger .caret {
    font-size: 10px; transition: transform 0.15s ease;
    margin-top: 1px; color: var(--muted);
  }
  .nav-links .has-submenu:hover .submenu-trigger .caret,
  .nav-links .has-submenu:focus-within .submenu-trigger .caret,
  .nav-links .has-submenu.open .submenu-trigger .caret {
    transform: rotate(180deg); color: var(--brand);
  }
  .nav-links .submenu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 16px 40px -12px rgba(20,20,40,0.18);
    padding: 8px;
    min-width: 240px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 100;
  }
  .nav-links .submenu::before {
    content: ''; position: absolute; top: -4px; left: 0; right: 0; height: 12px;
  }
  .nav-links .has-submenu:hover .submenu,
  .nav-links .has-submenu:focus-within .submenu,
  .nav-links .has-submenu.open .submenu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
  }
  .nav-links .submenu a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: var(--ink-2);
    transition: background 0.12s ease, color 0.12s ease;
  }
  .nav-links .submenu a:hover { background: var(--brand-soft); color: var(--brand); }
