/* =========================================================================
   ImpManagers — shared design system
   Deep navy + teal/cyan (from the Import Manager logo), clean light surfaces.
   Headings: Sora · Body: Manrope
   ========================================================================= */

:root {
  /* Brand */
  --navy-900: #0b1220;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  /* Roles */
  --bg: var(--slate-50);
  --surface: var(--white);
  --ink: var(--navy-800);
  --ink-soft: var(--slate-600);
  --ink-faint: var(--slate-500);
  --line: var(--slate-200);
  --accent: var(--cyan-600);
  --accent-hover: var(--cyan-700);
  --grad: linear-gradient(135deg, #0e7490 0%, #0d9488 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, #155e75 0%, #0f766e 100%);

  /* Type scale */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --fs-display: clamp(2.6rem, 5.2vw, 4.25rem);
  --fs-h1: clamp(2.1rem, 4vw, 3rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3: 1.35rem;
  --fs-lead: clamp(1.1rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Spacing / shape */
  --maxw: 1180px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
  --shadow: 0 12px 30px -12px rgba(15,23,42,.18), 0 4px 10px -6px rgba(15,23,42,.10);
  --shadow-lg: 0 40px 80px -24px rgba(11,18,32,.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-faint); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(13,148,136,.7);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(13,148,136,.8); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { color: var(--ink); border-color: var(--slate-400); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b {
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.18rem; color: var(--ink);
  letter-spacing: -.01em;
}
.brand b span { color: var(--cyan-700); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500; font-size: .975rem; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(700px 480px at 8% 100%, rgba(13,148,136,.20), transparent 55%),
    var(--navy-900);
  color: var(--slate-300);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--slate-300); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
  padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 9vw, 116px);
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.28);
  color: var(--cyan-300);
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34,211,238,.2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; color: var(--slate-400); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--cyan-400); }

/* ---------- App window mockup ---------- */
.window {
  background: #0c1526;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #0a1120;
  border-bottom: 1px solid rgba(148,163,184,.12);
}
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.window-bar .title {
  margin-left: 8px; font-family: var(--font-head); font-size: .8rem;
  color: var(--slate-400); font-weight: 500;
}
.window-body { display: grid; grid-template-columns: 168px 1fr; min-height: 360px; }
.win-side { background: #0a1120; border-right: 1px solid rgba(148,163,184,.1); padding: 16px 12px; }
.win-side .logo-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 0 4px; }
.win-side .logo-row img { width: 26px; height: 26px; border-radius: 7px; }
.win-side .logo-row b { font-family: var(--font-head); font-size: .82rem; color: #fff; }
.win-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 9px; margin-bottom: 4px;
  font-size: .8rem; color: var(--slate-400); font-weight: 500;
}
.win-nav-item.active { background: rgba(34,211,238,.12); color: var(--cyan-300); }
.win-nav-item .ic { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .55; flex: none; }
.win-main { padding: 20px; }
.win-main h5 { font-family: var(--font-head); color: #fff; font-size: .98rem; margin: 0 0 16px; font-weight: 600; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi {
  background: #111c30; border: 1px solid rgba(148,163,184,.12);
  border-radius: 10px; padding: 13px;
}
.kpi .k-label { font-size: .68rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.kpi .k-val { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 700; }
.kpi .k-trend { font-size: .68rem; color: var(--teal-500); margin-top: 3px; }
.win-chart {
  background: #111c30; border: 1px solid rgba(148,163,184,.12);
  border-radius: 10px; padding: 16px; height: 150px;
  display: flex; align-items: flex-end; gap: 9px;
}
.win-chart .bar { flex: 1; border-radius: 5px 5px 0 0; background: var(--grad); opacity: .85; }

/* ---------- Logo strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.strip p { margin: 0; font-size: .9rem; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.strip .tags { display: flex; gap: 14px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; color: var(--slate-600); font-weight: 600;
  font-family: var(--font-head);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--slate-50);
}
.tag svg { width: 15px; height: 15px; color: var(--teal-600); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 680px; margin: 0 0 52px; }
.sec-head.text-center { margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { font-size: var(--fs-lead); color: var(--ink-soft); margin: 0; }

/* ---------- Product cards (home) ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.product-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate-300); }
.product-card .badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  color: var(--cyan-700); background: rgba(8,145,178,.08);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.product-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.product-card .p-sub { font-size: .95rem; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; margin-bottom: 16px; }
.product-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.product-card li { display: flex; align-items: flex-start; gap: 11px; font-size: .98rem; color: var(--ink-soft); }
.product-card li svg { width: 19px; height: 19px; color: var(--teal-600); flex: none; margin-top: 2px; }
.product-card .card-foot { display: flex; align-items: center; gap: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .f-ic {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(14,116,144,.12), rgba(34,211,238,.14));
  color: var(--cyan-700);
}
.feature .f-ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { font-size: .96rem; margin: 0; }

/* ---------- Security / trust band (dark) ---------- */
.band {
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(34,211,238,.16), transparent 60%),
    var(--navy-800);
  color: var(--slate-300);
}
.band h2 { color: #fff; }
.band .lead { color: var(--slate-300); }
.trust-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.trust-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; }
.trust-list .t-ic {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.25);
  color: var(--cyan-300);
}
.trust-list .t-ic svg { width: 20px; height: 20px; }
.trust-list h4 { color: #fff; font-size: 1.08rem; margin: 0 0 4px; }
.trust-list p { margin: 0; font-size: .96rem; color: var(--slate-400); }

.spec-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.spec-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(148,163,184,.14); font-size: .95rem; }
.spec-card .row:last-child { border-bottom: 0; }
.spec-card .row span:first-child { color: var(--slate-400); }
.spec-card .row span:last-child { color: #fff; font-family: var(--font-head); font-weight: 600; text-align: right; }

/* ---------- OAuth disclosure callout ---------- */
.oauth-note {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 40px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
}
.oauth-note .g-mark {
  width: 58px; height: 58px; border-radius: 15px; flex: none;
  display: grid; place-items: center; background: var(--slate-50); border: 1px solid var(--line);
}
.oauth-note h3 { font-size: 1.3rem; margin-bottom: 8px; }
.oauth-note .scopes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.scope-chip {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  color: var(--slate-700); background: var(--slate-50); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 8px;
}
.scope-chip b { color: var(--cyan-700); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 12px;
}
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad);
  border-radius: 28px;
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: 0 30px 60px -28px rgba(13,148,136,.6);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: var(--fs-lead); max-width: 580px; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: var(--cyan-700); box-shadow: 0 14px 30px -12px rgba(11,18,32,.5); }
.cta-band .btn-primary:hover { color: var(--cyan-800, #155e75); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand b { color: #fff; }
.footer-brand .brand b span { color: var(--cyan-400); }
.footer-brand p { font-size: .92rem; margin: 18px 0 0; max-width: 280px; color: var(--slate-400); }
.footer-col h5 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-300); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--slate-400); font-size: .94rem; margin-bottom: 11px; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(148,163,184,.16);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-400); }

/* ---------- Legal / doc pages ---------- */
.doc-hero {
  background:
    radial-gradient(600px 300px at 80% -20%, rgba(34,211,238,.16), transparent 60%),
    var(--navy-900);
  color: var(--slate-300); padding: 64px 0 56px;
}
.doc-hero h1 { color: #fff; font-size: var(--fs-h1); }
.doc-hero p { margin: 0; color: var(--slate-400); }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 100px; }
.doc-toc h5 { font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.doc-toc a { display: block; font-size: .92rem; color: var(--ink-soft); padding: 6px 0; border-left: 2px solid transparent; padding-left: 14px; margin-left: -2px; }
.doc-toc a:hover { color: var(--accent); border-color: var(--accent); }
.doc-body { max-width: 740px; }
.doc-body h2 { font-size: 1.5rem; margin: 44px 0 14px; scroll-margin-top: 100px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.doc-body p, .doc-body li { font-size: 1.02rem; color: var(--ink-soft); }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 0 0 16px; }
.doc-body li { margin-bottom: 8px; }
.doc-body strong { color: var(--ink); }
.callout {
  background: var(--slate-50); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; margin: 22px 0;
}
.callout.accent { border-color: rgba(8,145,178,.3); background: rgba(8,145,178,.05); }
.callout p:last-child { margin-bottom: 0; }
.updated { font-size: .9rem; color: var(--ink-faint); }

/* ---------- Product page specifics ---------- */
.prod-hero {
  background:
    radial-gradient(800px 460px at 82% -10%, rgba(34,211,238,.18), transparent 60%),
    var(--navy-900);
  color: var(--slate-300); overflow: hidden; position: relative;
}
.prod-hero .wrap { position: relative; z-index: 1; }
.prod-hero h1 { color: #fff; }
.prod-hero .lead { color: var(--slate-300); }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(56px,7vw,96px) 0; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.module .m-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(14,116,144,.12), rgba(34,211,238,.14)); color: var(--cyan-700); }
.module .m-ic svg { width: 21px; height: 21px; }
.module h3 { font-size: 1.06rem; margin-bottom: 6px; }
.module p { font-size: .92rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.checklist svg { width: 21px; height: 21px; color: var(--teal-600); flex: none; margin-top: 2px; }

.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--cyan-300); margin-bottom: 22px; }
.back-link:hover { color: #fff; }
.back-link svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .trust-grid, .prod-grid, .split, .doc-layout { grid-template-columns: 1fr; gap: 40px; }
  .doc-toc { position: static; display: none; }
  .products { grid-template-columns: 1fr; }
  .feature-grid, .module-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .oauth-note { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .feature-grid, .module-grid, .steps, .kpi-row { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .window-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
