/* eMagsInsight marketing site (Reader Intel). Tokens from the eMagazines design system. */
:root {
  --brand-50: #eef9fe; --brand-100: #d9f2fd; --brand-200: #b5e6f9; --brand-300: #88d5f5; --brand-400: #5ec4f0;
  --brand-500: #34b3eb; --brand-600: #1a9fd8; --brand-700: #1288c0; --brand-800: #0f6d9b;
  --navy-100: #d0e6f3; --navy-700: #1a3a5c; --navy-900: #091c2e;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0; --gray-400: #94a3b8; --gray-500: #64748b;
  --gray-600: #475569; --gray-900: #0f1720;
  --text: var(--gray-900); --text-2: var(--gray-600);
  /* Muted text: the design's #94a3b8 is 2.6:1 on white; #64748b meets 4.5:1. */
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --link: var(--brand-600); --link-hover: var(--brand-700);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.05);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--link); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 6px; }
section[id] { scroll-margin-top: 80px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy-900); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Type ─────────────────────────────────────────── */
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-600); }
h1, h2 { margin: 0; font-weight: 800; color: var(--navy-900); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.mono { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.sec { color: var(--text-2); }

/* ── Button ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.btn:hover { text-decoration: none; }
.btn-sm { font-size: 14px; padding: 0.35rem 0.875rem; }
.btn-md { font-size: 16px; padding: 0.6rem 1.25rem; }
.btn-lg { font-size: 18px; padding: 0.85rem 1.75rem; }
.btn-primary { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--brand-500); color: var(--brand-600); }
.btn-secondary:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-dark { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn-dark:hover { background: #0f2843; border-color: #0f2843; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-white { background: #fff; border-color: #fff; color: var(--navy-700); }
.btn-white:hover { background: var(--brand-50); border-color: var(--brand-50); color: var(--navy-900); }
.btn-block { width: 100%; }

/* ── Badge ────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid transparent; padding: 0.2rem 0.6rem;
  font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.b-default { background: var(--gray-50); color: var(--gray-600); border-color: var(--gray-200); }
.b-brand { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-200); }
.b-dark { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.b-outline { background: transparent; color: var(--brand-600); border-color: var(--brand-500); }
.b-success { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.b-warning { background: #fef3c7; color: #b45309; border-color: #fde68a; }

/* ── Nav ──────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
.nav-bar { height: 68px; display: flex; align-items: center; gap: 40px; }
.wordmark { font-family: 'Nunito', var(--font); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; color: var(--brand-500); display: flex; align-items: baseline; }
.wordmark:hover { text-decoration: none; color: var(--brand-500); }
.wordmark span { color: #111; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--navy-900); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger:hover { background: var(--gray-50); }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform 150ms ease, opacity 150ms ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(9,28,46,0.10); padding: 8px 20px 20px; flex-direction: column; display: none; }
.menu.open { display: flex; }
.menu > a { font-size: 17px; font-weight: 600; color: var(--navy-900); padding: 14px 4px; border-bottom: 1px solid var(--border); }
.menu > a:hover { text-decoration: none; color: var(--brand-700); }
.menu-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
}
@media (min-width: 861px) { .menu, .menu.open { display: none; } }

/* ── Hero ─────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); }
.hero-grid { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.hero-copy .eyebrow { font-size: 13px; }
.bullets { display: flex; flex-direction: column; gap: 10px; font-size: 19px; line-height: 1.4; color: var(--text-2); margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; align-items: center; gap: 12px; }
.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); flex: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 13px; color: var(--text-muted); }
.mock { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 460px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.profile { box-shadow: var(--shadow-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.who-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { width: 53px; height: 53px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.name { font-weight: 600; font-size: 15px; }
.role { font-size: 13px; color: var(--text-2); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--gray-50); border-radius: 10px; padding: 12px; min-width: 0; }
.stat .v { font-weight: 800; font-size: 22px; color: var(--navy-700); }
.why { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.why p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.float { position: absolute; right: -12px; bottom: -28px; width: 300px; border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px;
  display: flex; flex-direction: column; gap: 10px; }
.float .hd { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.float .co { font-weight: 600; font-size: 14px; }
.float p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.seg { display: flex; gap: 4px; height: 8px; border-radius: 4px; overflow: hidden; }
.seg i { display: block; }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--text-muted); }
@media (max-width: 860px) {
  .mock { min-height: 0; }
  .float { position: static; width: 100%; }
}

/* ── Logo bar ─────────────────────────────────────── */
.logos { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.logos .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.logos .cap { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); text-align: center; }
.logo-row { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0; padding: 0; list-style: none; }
.logo-row img { display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.6; }

/* ── Section scaffolding ──────────────────────────── */
.head { display: flex; flex-direction: column; gap: 14px; }

/* ── Product tabs ─────────────────────────────────── */
.product .wrap { padding-top: 96px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.product .head { max-width: 640px; }
.tabs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 4px; }
.tab { text-align: left; width: 100%; border: 0; cursor: pointer; border-radius: 14px; padding: 18px 20px; font-family: inherit;
  background: transparent; transition: background-color 150ms ease; display: flex; flex-direction: column; gap: 6px; color: inherit; }
.tab:hover { background: var(--gray-50); }
.tab[aria-selected="true"] { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand-500); }
.tab .t { font-weight: 800; font-size: 18px; color: var(--navy-900); }
.tab .d { display: none; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.tab[aria-selected="true"] .d { display: block; }
.panel-wrap { background: var(--navy-900); border-radius: 20px; padding: clamp(14px, 3vw, 28px); min-height: 420px; min-width: 0;
  display: flex; align-items: center; justify-content: center; }
.panel { width: 100%; background: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.panel[hidden] { display: none; }
.p-profiles { max-width: 440px; }
.p-behavior, .p-signals { max-width: 460px; gap: 14px; }
.p-signals { gap: 16px; }
.p-rollup { max-width: 500px; gap: 14px; }
.p-review { max-width: 480px; gap: 14px; }
.p-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-title { font-weight: 600; font-size: 15px; }
.p-sub { font-size: 12px; color: var(--text-muted); }
.who-lg { display: flex; align-items: center; gap: 12px; }
.who-lg img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center 25%; flex-shrink: 0; }
.who-lg .name { font-size: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 13px; margin: 0; }
.facts div { margin: 0; }
.facts dt { margin: 0; }
.facts dd { margin: 0; font-weight: 500; }
.history { border-top: 1px solid var(--border); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.history .row { display: flex; justify-content: space-between; gap: 12px; }
.src-links { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ad-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; font-size: 13px; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 8px; align-items: center; }
.ad-row .co { font-weight: 500; }
.sig-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--gray-50); }
.sig-row span:last-child { font-size: 13px; color: var(--text-2); }
.list.sig { gap: 10px; }
.roll { display: grid; grid-template-columns: 1.6fr 0.7fr 0.8fr 1fr; gap: 12px; align-items: center; }
.roll-head { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 0 10px; gap: 8px 12px; }
.roll-row { font-size: 13px; padding: 10px; border-radius: 8px; border: 1px solid var(--border); }
.roll-row .c { font-weight: 600; }
.roll-row .ty { font-size: 12px; color: var(--text-muted); }
.roll-row .n { font-weight: 600; color: var(--navy-700); }
@media (max-width: 420px) {
  .roll { grid-template-columns: 1.6fr 0.7fr 1fr; gap: 8px; }
  .roll .dir { display: none; }
}
.rev { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.rev .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rev .nm { font-weight: 600; font-size: 14px; }
.rev p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.rev .lk { font-size: 12px; }

/* ── How it works ─────────────────────────────────── */
.how { background: var(--gray-50); border-top: 1px solid var(--border); }
.how .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 44px; }
.how .head { max-width: 600px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.step .num { font-weight: 800; font-size: 14px; color: var(--brand-600); letter-spacing: 0.08em; }
.step h3 { margin: 0; font-weight: 800; font-size: 20px; color: var(--navy-900); }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* ── Use cases ────────────────────────────────────── */
.uses .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.uses-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: end; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.use { border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease; }
.use:hover { border-color: var(--brand-200); box-shadow: 0 2px 8px rgba(52,179,235,.2); }
.use .team { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-600); }
.use h3 { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--navy-900); }
.use p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* ── Ad report ────────────────────────────────────── */
.adrep { background: var(--brand-50); border-top: 1px solid var(--brand-100); border-bottom: 1px solid var(--brand-100); }
.adrep-grid { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center; }
.report { padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-md); min-width: 0; }
.report .stat { padding: 14px; }
.report .stat .v { font-size: 26px; }
.report .stat .v.blue { color: var(--brand-600); }
.report .stat .s { font-size: 12px; color: var(--text-2); }
.fn { display: flex; flex-direction: column; gap: 6px; }
.fn-row { display: grid; grid-template-columns: minmax(80px, 120px) 1fr 32px; gap: 10px; align-items: center; font-size: 13px; }
.fn-row .l { color: var(--text-2); }
.fn-row .track { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.fn-row .track i { display: block; height: 100%; border-radius: 4px; }
.fn-row .c { text-align: right; font-weight: 600; color: var(--navy-700); }
.adrep-copy { display: flex; flex-direction: column; gap: 20px; }

/* ── Trust ────────────────────────────────────────── */
.trust { background: var(--navy-900); }
.trust-grid { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: start; }
.trust-copy { display: flex; flex-direction: column; gap: 18px; }
.trust .eyebrow { color: var(--brand-300); }
.trust h2 { color: #fff; }
.trust .lead { color: var(--navy-100); }
.levels { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.level { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); align-items: start; }
.level .badge { justify-self: start; }
.level p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--navy-100); }

/* ── CTA ──────────────────────────────────────────── */
.cta { background: #fff; padding: 96px 20px; }
.band { max-width: 1200px; margin: 0 auto; background: linear-gradient(135deg, var(--navy-700) 0%, var(--brand-600) 100%); border-radius: 24px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.band .copy { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.band p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.85); }

/* ── Footer ───────────────────────────────────────── */
.foot { background: var(--gray-900); color: rgba(255,255,255,0.65); }
.foot .wrap { padding-top: 48px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.foot .wordmark { font-size: 22px; }
.foot .wordmark span { color: #fff; }
.foot-brand p { margin: 0; font-size: 13px; line-height: 1.55; }
.foot-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.foot-col h3 { margin: 0; font-size: 13px; color: #fff; font-weight: 600; }
.foot-col a { color: rgba(255,255,255,0.65); }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.6); }
.foot-bottom a { color: var(--brand-300); font-weight: 600; }
