/* ===========================================================
   Newspilot marketing site — shared design system
   Tokens lifted verbatim from the dashboard handoff.
   =========================================================== */
:root {
  --f: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bg: #FFFFFF;
  --bg2: #FAFAFA;
  --bg3: #F4F4F5;
  --border: #E4E4E7;
  --border-s: #F0F0F1;
  --tx: #09090B;
  --tx2: #52525B;
  --tx3: #A1A1AA;
  --tx4: #D4D4D8;
  --accent: #5B5BD6;
  --accent-dim: #EEF2FF;
  --accent-hover: #4848C0;
  --rising: #2563EB;
  --rising-bg: #EFF6FF;
  --spiking: #D97706;
  --spiking-bg: #FFFBEB;
  --alert: #DC2626;
  --alert-bg: #FEF2F2;
  --ok: #16A34A;
  --ok-bg: #F0FDF4;
  --r: 8px; --r-sm: 6px; --r-lg: 12px; --r-xl: 16px;
  font-family: var(--f);
  font-size: 15px;
  line-height: 1.5;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body { font-feature-settings: 'cv11', 'ss01'; }
button, input, textarea, select, a { font-family: var(--f); }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fade-up .5s ease both; }

/* Wrap */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-s);
  height: 64px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--tx); letter-spacing: -.3px; }
.brand-icon { width: 24px; height: 24px; background: var(--tx); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.brand-icon svg { display: block; }
.nav-mid { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--tx2); padding: 8px 14px; border-radius: var(--r-sm); transition: background .12s, color .12s; cursor: pointer; user-select: none; }
.nav-link:hover { background: var(--bg3); color: var(--tx); }
.nav-link svg.chev { transition: transform .15s; opacity: .6; }
.nav-item:hover .nav-link svg.chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* Mega menu */
.nav-item { position: relative; }
.nav-item > .nav-link { position: relative; }
/* ── Hover bridge: invisible hit area below the nav link that keeps the dropdown open ── */
.nav-item > .nav-link::after {
  content: ''; position: absolute;
  top: 100%; left: -60px; right: -60px; height: 14px;
  pointer-events: auto;
}

.megamenu {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(-4px);
  width: 760px; max-width: calc(100vw - 32px);
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -16px rgba(9,9,11,.18), 0 8px 16px -8px rgba(9,9,11,.06);
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 0;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s;
  z-index: 100;
}
.nav-item:hover .megamenu, .nav-item:focus-within .megamenu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
/* Top edge bridge on the megamenu itself — keeps it open once hover has entered it */
.megamenu::before {
  content: ''; position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.mm-col { padding: 20px 22px; border-right: 1px solid var(--border-s); }
.mm-col:last-child { border-right: none; }
.mm-col.feature { background: var(--bg2); }
.mm-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tx3); margin-bottom: 12px; }
.mm-hero { padding: 4px 0 16px; border-bottom: 1px solid var(--border-s); margin-bottom: 14px; }
.mm-hero-title { font-size: 14px; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.mm-hero-desc { font-size: 12.5px; color: var(--tx3); line-height: 1.5; margin-bottom: 8px; }
.mm-hero-cta { font-size: 12.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.mm-item { display: flex; flex-direction: column; padding: 8px 10px; border-radius: var(--r-sm); transition: background .12s; margin: 0 -10px; }
.mm-item:hover { background: var(--bg3); }
.mm-item-title { font-size: 13.5px; font-weight: 600; color: var(--tx); display: flex; align-items: center; gap: 6px; }
.mm-item-desc { font-size: 12px; color: var(--tx3); margin-top: 2px; line-height: 1.4; }
.mm-soon { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--spiking-bg); color: var(--spiking); padding: 1px 6px; border-radius: 10px; }
.mm-feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; }
.mm-feature-pre { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.mm-feature-title { font-size: 14px; font-weight: 700; color: var(--tx); line-height: 1.3; margin-bottom: 6px; }
.mm-feature-desc { font-size: 12.5px; color: var(--tx2); line-height: 1.5; margin-bottom: 10px; }
.mm-feature-cta { font-size: 12.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

/* Buttons */
.btn-p { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--tx); color: #fff; border: none; border-radius: var(--r); font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .12s; white-space: nowrap; font-family: var(--f); }
.btn-p:hover { opacity: .85; }
.btn-p.lg { padding: 12px 22px; font-size: 14.5px; }
.btn-s { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--bg); color: var(--tx2); border: 1px solid var(--border); border-radius: var(--r); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .12s, color .12s; white-space: nowrap; font-family: var(--f); }
.btn-s:hover { border-color: var(--tx3); color: var(--tx); }
.btn-s.lg { padding: 11px 20px; font-size: 14.5px; }
.btn-a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--accent); color: #fff; border: none; border-radius: var(--r); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .12s; white-space: nowrap; font-family: var(--f); }
.btn-a:hover { background: var(--accent-hover); }
.btn-a.lg { padding: 12px 22px; font-size: 14.5px; }
.btn-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; background: none; border: none; padding: 6px 0; font-family: var(--f); }
.btn-link:hover { color: var(--accent-hover); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.b-rising { background: var(--rising-bg); color: var(--rising); }
.b-spiking { background: var(--spiking-bg); color: var(--spiking); }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-alert { background: var(--alert-bg); color: var(--alert); }
.b-neutral { background: var(--bg3); color: var(--tx2); }
.b-accent { background: var(--accent-dim); color: var(--accent); }

/* Typography */
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.eyebrow.amber { color: var(--spiking); }
.eyebrow.dim { color: var(--tx3); }
h1, h2, h3 { color: var(--tx); }
.section { padding: 88px 32px; }
.section.tight { padding: 64px 32px; }
.section.dark { background: var(--tx); color: #fff; }
.section.grey { background: var(--bg2); border-top: 1px solid var(--border-s); border-bottom: 1px solid var(--border-s); }
.section-title { font-size: 42px; font-weight: 800; letter-spacing: -.7px; line-height: 1.1; text-wrap: balance; }
.section-title.large { font-size: 48px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.section-sub { font-size: 17px; color: var(--tx2); line-height: 1.6; max-width: 620px; margin-top: 16px; text-wrap: pretty; }
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Cards */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--tx4); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.card .ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.2px; line-height: 1.25; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--tx2); line-height: 1.6; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--border-s); padding: 64px 32px 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--border-s); }
.footer-brand p { font-size: 13.5px; color: var(--tx3); margin-top: 14px; max-width: 280px; line-height: 1.6; }
.footer-brand .url { font-size: 12.5px; color: var(--tx2); margin-top: 12px; font-weight: 500; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tx3); transition: color .12s, border-color .12s; }
.footer-social a:hover { color: var(--tx); border-color: var(--tx3); }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--tx); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--tx3); transition: color .12s; }
.footer-col a:hover { color: var(--tx); }
.footer-foot { padding-top: 22px; font-size: 12.5px; color: var(--tx3); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ===========================================================
   SUB-PAGE PATTERNS (richer, more layered visuals)
   =========================================================== */

/* Page hero — large, with layered visual on right */
.ph-hero { padding: 80px 32px 64px; position: relative; overflow: hidden; }
.ph-hero::before {
  content: ''; position: absolute; inset: -100px 0 0 0;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(91,91,214,.06), transparent 70%),
    radial-gradient(40% 40% at 20% 60%, rgba(91,91,214,.04), transparent 70%);
  pointer-events: none;
}
.ph-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; }
.ph-hero-eb { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 18px; }
.ph-hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; color: var(--tx); margin-bottom: 18px; text-wrap: balance; }
.ph-hero h1 .accent-text { color: var(--accent); }
.ph-hero p.lead { font-size: 18px; color: var(--tx2); line-height: 1.55; margin-bottom: 26px; max-width: 540px; text-wrap: pretty; }
.ph-hero-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 28px; max-width: 540px; }
.ph-hero-list li { font-size: 13.5px; color: var(--tx2); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.ph-hero-list li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-dim); flex-shrink: 0; display: grid; place-items: center; position: relative; margin-top: 2px; }
.ph-hero-list li::after { content: ''; position: absolute; }
.ph-hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Hero visual frame — dashboard mock layered with floating cards */
.ph-frame { position: relative; }
.ph-frame .dash {
  border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg);
  overflow: hidden; box-shadow: 0 40px 80px -28px rgba(91,91,214,.20), 0 12px 28px -10px rgba(9,9,11,.10);
  transform: perspective(2000px) rotateY(-3deg) rotateX(2deg);
}
.ph-frame .dash-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border-s); background: var(--bg2); }
.ph-frame .dash-chrome .d { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.ph-frame .dash-chrome .url { margin-left: 6px; font-size: 11.5px; color: var(--tx3); font-feature-settings: 'tnum'; }
.ph-frame .dash-chrome .live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ok); font-weight: 700; }
.ph-frame .dash-chrome .live-tag .dt { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); animation: blink 2s ease-in-out infinite; }
.ph-frame .dash-body { padding: 22px; }
.ph-frame .float-card { position: absolute; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 20px 40px -16px rgba(9,9,11,.18); padding: 14px 16px; }
.ph-frame .float-tl { top: -24px; left: -24px; max-width: 220px; }
.ph-frame .float-br { bottom: -28px; right: -16px; max-width: 240px; }

/* ── Big numeric stat row (ROI / impact) ── */
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.metric-cell { padding: 32px 28px; background: var(--bg); border-right: 1px solid var(--border-s); position: relative; overflow: hidden; }
.metric-cell:last-child { border-right: none; }
.metric-cell::before {
  content: ''; position: absolute; top: -20px; right: -20px; width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(91,91,214,.08) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
}
.metric-val { font-size: 52px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; color: var(--tx); font-feature-settings: 'tnum'; position: relative; }
.metric-val .unit { font-size: 22px; color: var(--accent); margin-left: 2px; }
.metric-lbl { font-size: 13px; color: var(--tx2); margin-top: 14px; line-height: 1.5; position: relative; }
.metric-source { font-size: 11px; color: var(--tx3); margin-top: 16px; font-style: italic; }

/* ── Pillar grid with icon + framed visual ── */
.pillar-deep { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.pillar-deep-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: all .15s; }
.pillar-deep-card:hover { border-color: var(--tx4); box-shadow: 0 4px 16px -2px rgba(9,9,11,.06); transform: translateY(-2px); }
.pillar-deep-card .ic { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar-deep-card h4 { font-size: 16px; font-weight: 700; color: var(--tx); letter-spacing: -.2px; margin-bottom: 8px; line-height: 1.25; }
.pillar-deep-card p { font-size: 13.5px; color: var(--tx2); line-height: 1.6; }

/* ── Multi-tab interactive deep-dive ── */
.deep-tabs { display: flex; gap: 4px; margin-top: 48px; margin-bottom: 0; padding: 6px; background: var(--bg2); border: 1px solid var(--border); border-radius: 999px; max-width: max-content; }
.deep-tab { padding: 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--tx3); border-radius: 999px; cursor: pointer; border: 0; background: transparent; font-family: var(--f); transition: all .15s; white-space: nowrap; }
.deep-tab:hover { color: var(--tx); }
.deep-tab.active { background: var(--tx); color: #fff; }
.deep-panel { padding: 40px 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.deep-panel[hidden] { display: none; }
.deep-panel h3 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; color: var(--tx); margin-bottom: 14px; text-wrap: balance; }
.deep-panel > div > p { font-size: 15.5px; color: var(--tx2); line-height: 1.65; margin-bottom: 20px; }

/* ── Maturity journey diagram (4 progressive stages) ── */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.journey-step { background: var(--bg); border: 1px solid var(--border); padding: 24px 22px; position: relative; transition: all .15s; }
.journey-step:first-child { border-top-left-radius: var(--r-lg); border-bottom-left-radius: var(--r-lg); }
.journey-step:last-child { border-top-right-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.journey-step + .journey-step { border-left: 0; }
.journey-step::after {
  content: ''; position: absolute; top: 50%; right: -10px; transform: translateY(-50%);
  width: 20px; height: 20px; background: var(--bg); border-top: 1px solid var(--border); border-right: 1px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.journey-step:last-child::after { display: none; }
.journey-step.active { background: var(--accent-dim); border-color: var(--accent); }
.journey-step.active::after { background: var(--accent-dim); border-color: var(--accent); }
.journey-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .14em; margin-bottom: 10px; }
.journey-step h4 { font-size: 17px; font-weight: 700; color: var(--tx); letter-spacing: -.2px; line-height: 1.2; margin-bottom: 8px; }
.journey-step p { font-size: 13px; color: var(--tx2); line-height: 1.55; }

/* ── Outcome cards (6 business outcomes) ── */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.outcome { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: all .15s; }
.outcome:hover { border-color: var(--tx4); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.outcome-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.outcome h4 { font-size: 17px; font-weight: 700; color: var(--tx); letter-spacing: -.2px; line-height: 1.25; }
.outcome p { font-size: 13.5px; color: var(--tx2); line-height: 1.6; }
.outcome .roi-num { font-size: 24px; font-weight: 800; color: var(--accent); font-feature-settings: 'tnum'; letter-spacing: -.5px; line-height: 1; margin-top: 4px; }

/* ── Challenge / solution pairs ── */
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px 0; border-top: 1px solid var(--border-s); align-items: center; }
.cs-pair:first-child { border-top: 0; padding-top: 14px; }
.cs-pair .chal { padding: 22px 26px; background: var(--bg2); border: 1px solid var(--border-s); border-radius: var(--r-lg); }
.cs-pair .sol { padding: 22px 26px; background: rgba(91,91,214,.025); border: 1px solid rgba(91,91,214,.2); border-radius: var(--r-lg); }
.cs-pair .lbl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--tx3); margin-bottom: 10px; }
.cs-pair .sol .lbl { color: var(--accent); }
.cs-pair h4 { font-size: 17px; font-weight: 700; color: var(--tx); letter-spacing: -.2px; line-height: 1.25; margin-bottom: 6px; }
.cs-pair p { font-size: 13.5px; color: var(--tx2); line-height: 1.6; }
.cs-arrow { display: none; }

/* ── Pull quote (case study video block) ── */
.case-block { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; }
.case-block .visual { background: linear-gradient(135deg, #5B5BD6, #4848C0); aspect-ratio: 16/10; position: relative; min-height: 260px; }
.case-block .visual::after {
  content: ''; position: absolute; inset: 0; background: rgba(9,9,11,.3);
}
.case-block .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; cursor: pointer; transition: transform .15s, background .15s;
}
.case-block .play:hover { transform: translate(-50%,-50%) scale(1.06); }
.case-block .play svg { color: var(--tx); width: 22px; height: 22px; margin-left: 3px; }
.case-block .logo-overlay { position: absolute; bottom: 16px; left: 18px; z-index: 2; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -.1px; }
.case-block .copy { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.case-block .eyebrow { margin-bottom: 14px; }
.case-block .quote { font-size: 22px; font-weight: 600; color: var(--tx); line-height: 1.35; letter-spacing: -.3px; text-wrap: balance; margin-bottom: 22px; }
.case-block .quote::before { content: '"'; color: var(--accent); font-size: 36px; font-weight: 800; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.case-block .attr { font-size: 13px; color: var(--tx2); }
.case-block .attr strong { color: var(--tx); font-weight: 700; }
.case-block .case-cta { margin-top: 20px; }

/* ── Comparison table (legacy vs us) ── */
.cmp-table { margin-top: 48px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.cmp-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cmp-row-2 + .cmp-row-2 { border-top: 1px solid var(--border-s); }
.cmp-cell-2 { padding: 22px 26px; }
.cmp-cell-2 + .cmp-cell-2 { border-left: 1px solid var(--border-s); }
.cmp-cell-2.them { background: var(--bg2); color: var(--tx3); }
.cmp-cell-2.us { background: rgba(91,91,214,.025); color: var(--tx); }
.cmp-row-2.head { background: var(--bg2); }
.cmp-row-2.head .cmp-cell-2 { padding: 18px 26px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tx3); }
.cmp-row-2.head .cmp-cell-2.us { color: var(--accent); background: rgba(91,91,214,.04); }
.cmp-cell-2 strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.cmp-cell-2.them strong { color: var(--tx2); }
.cmp-cell-2 p { font-size: 13px; line-height: 1.55; }

/* ── Cross-sell row (Find the right fit) ── */
.x-sell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.x-sell a { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; transition: all .15s; display: flex; flex-direction: column; gap: 10px; }
.x-sell a:hover { border-color: var(--tx4); box-shadow: 0 4px 16px -2px rgba(9,9,11,.06); transform: translateY(-2px); }
.x-sell .x-eb { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.x-sell h4 { font-size: 18px; font-weight: 700; color: var(--tx); letter-spacing: -.2px; line-height: 1.2; }
.x-sell p { font-size: 13.5px; color: var(--tx2); line-height: 1.6; }
.x-sell .more { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: auto; padding-top: 8px; }

/* ── FAQ list (richer) ── */
.faq-list-deep { margin-top: 48px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-list-deep details { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; transition: border-color .12s; }
.faq-list-deep details[open] { border-color: var(--tx4); }
.faq-list-deep summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 20px 24px; font-size: 15.5px; font-weight: 700; color: var(--tx); list-style: none; }
.faq-list-deep summary::-webkit-details-marker { display: none; }
.faq-list-deep summary .plus { color: var(--tx3); font-size: 20px; transition: transform .2s; line-height: 1; flex-shrink: 0; }
.faq-list-deep details[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq-list-deep .a { font-size: 14px; color: var(--tx2); line-height: 1.7; padding: 0 24px 22px; }

/* ── Final dark CTA (sub-page version) ── */
.sub-final-cta { background: var(--tx); color: #fff; padding: 96px 32px; text-align: center; position: relative; overflow: hidden; }
.sub-final-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,91,214,.18), transparent 70%);
  pointer-events: none;
}
.sub-final-cta-inner { position: relative; max-width: 800px; margin: 0 auto; }
.sub-final-cta h2 { font-size: 52px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; color: #fff; margin-bottom: 18px; text-wrap: balance; }
.sub-final-cta p { font-size: 17px; color: var(--tx3); margin-bottom: 32px; line-height: 1.6; }
.sub-final-cta-ctas { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.sub-final-cta-trust { margin-top: 22px; font-size: 12.5px; color: var(--tx3); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sub-final-cta-trust .sep { color: rgba(255,255,255,.2); }

/* ── Logo strip ── */
.logo-band { padding: 48px 32px; background: var(--bg2); border-top: 1px solid var(--border-s); border-bottom: 1px solid var(--border-s); }
.logo-band-lbl { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--tx3); margin-bottom: 24px; }
.logo-band-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; max-width: 1180px; margin: 0 auto; }
.logo-band-row .logo { text-align: center; font-size: 15.5px; font-weight: 700; color: var(--tx3); letter-spacing: -.2px; transition: color .12s; }
.logo-band-row .logo:hover { color: var(--tx2); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE (mobile-first patches)
   ═══════════════════════════════════════════════════════════ */

/* Tablet · 1140px — hide hero floating cards (they overlap content) and flatten perspective */
@media (max-width: 1140px) {
  .ph-frame .dash { transform: none; }
  .ph-frame .float-tl,
  .ph-frame .float-br { display: none; }
  /* 4-col grids → 2 */
  .pillar-deep,
  .outcomes,
  .pillar-grid,
  .role-grid,
  .feat-grid,
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric-cell { border-right: 1px solid var(--border-s); }
  .metric-cell:nth-child(2n) { border-right: 0; }
  .metric-cell:nth-child(1), .metric-cell:nth-child(2) { border-bottom: 1px solid var(--border-s); }
}

/* Tablet · 1020px — collapse nav, stack heroes */
@media (max-width: 1020px) {
  .nav-mid { display: none; }
  .megamenu { display: none !important; }
  .section { padding: 64px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 32px; }
  .section-title.large { font-size: 36px; }

  /* 2-col splits → 1 col */
  .ph-hero-grid,
  .deep-panel,
  .case-block,
  .cs-pair,
  .journey,
  .ai-section,
  .feature-row,
  .org-grid,
  .sol-cta-inner,
  .hero-inner,
  .problem-grid,
  .dark-grid { grid-template-columns: 1fr !important; }

  .ph-hero h1 { font-size: 38px; letter-spacing: -.9px; }
  .case-block .visual { min-height: 200px; }
  .journey-step::after { display: none; }
  .journey-step + .journey-step { border-left: 1px solid var(--border); border-top: 0; }
  .journey-step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .journey-step:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .ph-frame { margin-top: 32px; }
  .logo-band-row { grid-template-columns: repeat(3, 1fr); }
  .sub-final-cta h2 { font-size: 36px; }
  .final-cta h2 { font-size: 36px; }

  /* Pricing matrix horizontal scroll */
  .matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .matrix { min-width: 880px; }

  /* Stats bar single column */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-left: 0; padding-left: 0; }

  /* Plan cards stack */
  .plans-grid, .pricing-grid { grid-template-columns: 1fr; }
  .plan-ent { grid-template-columns: 1fr; gap: 14px; text-align: left; }

  /* 3-col splits → 1 */
  .pillar-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .x-sell { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }

  /* Use-case tabs scroll instead of wrap */
  .uc-tabs, .cap-tabs, .deep-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .uc-tabs::-webkit-scrollbar, .cap-tabs::-webkit-scrollbar, .deep-tabs::-webkit-scrollbar { display: none; }
  .uc-tab, .cap-tab, .deep-tab { flex-shrink: 0; }

  /* Comparison row 2-col → stacked */
  .cmp-row-2 { grid-template-columns: 1fr; }
  .cmp-cell-2 + .cmp-cell-2 { border-left: 0; border-top: 1px solid var(--border-s); }

  /* Hero preview grid */
  .preview-grid { grid-template-columns: 1fr; }
  .p-sb, .p-aside { display: none; }

  /* Tablet: still 2 cols for outcome and pillar cards */
  .outcomes,
  .pillar-deep,
  .role-grid,
  .feat-grid,
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}

/* Small tablet / large phone · 768px */
@media (max-width: 768px) {
  .ph-hero h1 { font-size: 34px; letter-spacing: -.7px; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .section-title.large { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-block .copy { padding: 24px 22px; }
  .case-block .quote { font-size: 18px; }

  /* Two-col grids on tablet/phone → 1 col */
  .outcomes,
  .pillar-deep,
  .role-grid,
  .feat-grid,
  .pillar-grid,
  .lang-grid,
  .metric-row,
  .stats-bar { grid-template-columns: 1fr; }

  .metric-cell { border-right: 0; border-bottom: 1px solid var(--border-s); }
  .metric-cell:last-child { border-bottom: 0; }

  .ph-hero, .hero-product, .pr-hero, .sol-hero { padding: 56px 24px 36px; }
}

/* Phone · 600px */
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav-inner { padding: 0 4px; }
  .brand { font-size: 13px; }
  .brand-icon { width: 22px; height: 22px; }
  .nav-cta .btn-a, .nav-cta .btn-p { padding: 8px 12px; font-size: 12.5px; }
  .nav-cta .nav-link { display: none; }

  .ph-hero h1 { font-size: 28px; letter-spacing: -.5px; }
  .hero h1 { font-size: 30px; letter-spacing: -.6px; }
  .section-title, .section-title.large { font-size: 24px; letter-spacing: -.4px; }
  .sub-final-cta h2, .final-cta h2 { font-size: 28px; letter-spacing: -.5px; }
  .pr-hero h1, .hero-product h1 { font-size: 32px; letter-spacing: -.6px; }

  .section { padding: 48px 20px; }
  .ph-hero { padding: 48px 20px 32px; }

  .price-card, .plan { padding: 24px 22px; }
  .plan-price .amt { font-size: 36px; }
  .price-amt .num { font-size: 36px; }

  .hero-cta, .ph-hero-cta, .sub-final-cta-ctas { flex-direction: column; align-items: stretch; }
  .hero-cta a, .ph-hero-cta a, .sub-final-cta-ctas a { width: 100%; justify-content: center; }

  .hero-meta, .pr-final-cta-trust, .sub-final-cta-trust, .sol-cta-trust { flex-direction: column; gap: 6px; }
  .hero-meta .sep, .pr-final-cta-trust .sep, .sub-final-cta-trust .sep, .sol-cta-trust .sep { display: none; }

  .matrix-row { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
  .matrix-cell { padding: 10px 8px; font-size: 11.5px; min-height: 44px; }
  .matrix-row.head .matrix-cell { padding: 12px 8px; font-size: 11px; }

  .logo-band-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .stat-val { font-size: 36px; }
  .stats-val { font-size: 28px; }
  .metric-val { font-size: 38px; }
  .metric-val .unit { font-size: 18px; }

  /* Bento-style cards lose padding */
  .pillar-deep-card, .feat-card, .role-card, .outcome, .price-card, .plan { padding: 22px; }
  .pillar-title, .pillar-deep-card h4 { font-size: 17px; }

  /* Live strip wraps */
  .live-strip { height: auto; padding: 8px 16px; flex-wrap: wrap; gap: 8px; justify-content: flex-start; font-size: 11px; }
  .live-strip .sep:nth-child(n+5) { display: none; }
}

/* Very small · 380px */
@media (max-width: 380px) {
  .ph-hero h1, .hero h1 { font-size: 26px; }
  .nav-cta .btn-a { padding: 7px 10px; font-size: 12px; }
  .brand span { display: none; } /* keep just the icon */
}
