/* ===================================================================
   Pulse — AI operations workspace for SMEs
   Marketing site. Visual language follows the product: calm light
   canvas, deep navy stage, one indigo accent, nine department colours.
   =================================================================== */

:root {
  --canvas: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --ink: #0f172a;
  --ink-2: #273149;
  --muted: #5b6478;
  --line: rgba(15, 23, 42, 0.09);
  --line-2: rgba(15, 23, 42, 0.16);

  --navy: #0e1430;
  --navy-2: #151c3d;
  --navy-3: #1f2852;
  --navy-text: #e8ebf7;
  --navy-muted: #a3abc8;
  --navy-line: rgba(255, 255, 255, 0.1);

  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef0ff;
  --accent-ink: #3730a3;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #22d3ee 100%);

  --ok: #13733a;
  --ok-soft: #e4f4ea;
  --warn: #a15c00;
  --warn-soft: #fff3d6;
  --bad: #c0262d;

  /* department colours (from the product) */
  --m-mgt: #6d5bd0;
  --m-sal: #2563eb;
  --m-cus: #0d9488;
  --m-prc: #d97706;
  --m-inv: #059669;
  --m-log: #ea580c;
  --m-fin: #4f46e5;
  --m-hra: #db2777;
  --m-its: #0891b2;

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 24px 60px -28px rgba(15, 23, 42, 0.45), 0 2px 6px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--surface); color: var(--ink); border: 2px solid var(--accent); border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ── Type helpers ── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow--light { color: #a5b4fc; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 20ch; }
.h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 60ch; margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.05em; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .12s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.8), inset 0 1px 0 rgba(255,255,255,.15); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: var(--navy-line); color: var(--navy-text); }
.btn--ghost-light:hover { border-color: var(--navy-text); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ── Nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s, color .3s; color: var(--navy-text); }
.nav.is-scrolled, .nav.menu-open, .nav--light { background: rgba(245, 246, 250, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.nav__inner { height: 70px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand__by { font-size: 0.7rem; opacity: 0.7; font-weight: 500; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.78; transition: opacity .2s; }
.nav__links a:hover, .nav__links a.is-active, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__menu-cta { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid currentColor; background: transparent; color: inherit; position: relative; cursor: pointer; margin-left: auto; opacity: 0.85; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Hero (navy stage) ── */
.hero { position: relative; background: var(--navy); color: var(--navy-text); padding: 138px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; background:
  radial-gradient(ellipse 45% 40% at 78% 30%, rgba(99, 102, 241, 0.35), transparent 70%),
  radial-gradient(ellipse 35% 35% at 15% 10%, rgba(34, 211, 238, 0.12), transparent 70%); }
.hero__lines { position: absolute; inset: 0; z-index: -1; opacity: 0.55; pointer-events: none; }
.hero__lines path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.hero__copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); font-weight: 800; letter-spacing: -0.04em; }
.hero__sub { margin: 24px auto 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--navy-muted); max-width: 640px; }
.hero__sub b { color: var(--navy-text); font-weight: 600; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 0.85rem; color: var(--navy-muted); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.hero__depts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px auto 0; max-width: 820px; }
.dept-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--navy-line); font-size: 0.82rem; color: var(--navy-text); background: rgba(255,255,255,0.03); }
.dept-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* Product stage: real screenshot in a browser frame with coded callouts */
.stage { position: relative; margin: 56px auto 0; max-width: 1080px; padding: 0 0 0; }
.frame { position: relative; border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: 0 -10px 60px -10px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: #e9ebf2; border-bottom: 1px solid var(--line); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9cdd8; }
.frame__url { flex: 1; max-width: 360px; margin: 0 auto; height: 24px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.frame img { width: 100%; }
.frame--rounded { border-radius: 16px; box-shadow: var(--shadow-2); border: 1px solid var(--line); }

.callout { position: absolute; z-index: 2; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-2); border: 1px solid var(--line); padding: 12px 14px; font-size: 0.85rem; line-height: 1.4; max-width: 280px; }
.callout__k { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.callout__k i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 0.7rem; }
.callout--brief { left: -36px; top: 28%; }
.callout--approve { right: -40px; top: 12%; }
.callout--draft { right: -24px; bottom: 16%; }
.ref { font-family: var(--font-mono); font-size: 0.78em; color: var(--accent-ink); background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--accent { background: var(--accent-soft); color: var(--accent-ink); }
.pill--none::before { display: none; }
.callout__actions { display: flex; gap: 6px; margin-top: 10px; }
.callout__actions span { flex: 1; text-align: center; font-weight: 600; font-size: 0.78rem; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); }
.callout__actions span:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Sections ── */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--navy-text); }
.section--navy .lede { color: var(--navy-muted); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center .h2, .section-head.center .lede { margin-left: auto; margin-right: auto; }

/* Problem: scattered tools */
.scatter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); }
.scatter__mess { position: relative; height: 360px; }
.tool { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 0.86rem; color: var(--ink-2); transform: rotate(var(--r, 0deg)); white-space: nowrap; }
.tool b { font-weight: 600; color: var(--ink); }
.tool i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.7rem; color: #fff; background: var(--c); flex: none; }
.scatter__arrow { width: 64px; color: var(--accent); }
.scatter__one { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-2); }
.one__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.one__head b { font-family: var(--font-display); font-size: 1.05rem; }
.one__rows { display: grid; gap: 8px; }
.one__row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; background: var(--canvas); font-size: 0.86rem; }
.one__row i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.one__row span:last-child { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.pains { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { border-top: 2px solid var(--ink); padding-top: 16px; }
.pain h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.pain p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* Chain demo */
.chain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.steps { display: grid; gap: 6px; counter-reset: s; }
.step { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 14px; cursor: pointer; color: inherit; font: inherit; transition: background-color .2s, border-color .2s; }
.step::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; border: 1.5px solid var(--line-2); color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.step b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; }
.step span { color: var(--muted); font-size: 0.92rem; }
.step:hover { background: var(--surface); }
.step[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); }
.step[aria-selected="true"]::before { background: var(--c, var(--accent)); border-color: var(--c, var(--accent)); color: #fff; }
.chain__note { margin-top: 18px; color: var(--muted); font-size: 0.85rem; padding-left: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; min-height: 440px; display: flex; flex-direction: column; }
.panel[hidden] { display: none; }
.panel__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.panel__bar i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); font-style: normal; font-size: 0.75rem; font-weight: 700; }
.panel__bar .pill { margin-left: auto; }
.panel__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 12px; animation: panel-in .45s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__foot { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wa { background: #efe7dc; border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.wa__msg { max-width: 86%; background: #fff; border-radius: 12px 12px 12px 4px; padding: 9px 12px; font-size: 0.92rem; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.wa__msg time { display: block; text-align: right; font-size: 0.7rem; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.wa__who { font-size: 0.75rem; font-weight: 600; color: #0d9488; }
.arrow-note { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--ink-2); padding: 10px 12px; background: var(--accent-soft); border-radius: 10px; }
.arrow-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.qt { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.qt th { text-align: left; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.qt td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.qt td.num, .qt th.num { text-align: right; font-variant-numeric: tabular-nums; }
.qt tfoot td { font-weight: 700; border-bottom: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.88rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.mini__k { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.mini__k i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mini b { font-family: var(--font-display); font-size: 1.15rem; }
.mini span { font-size: 0.85rem; color: var(--muted); }
.brief { display: grid; gap: 8px; }
.brief li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.9rem; padding: 10px 12px; border-radius: 10px; background: var(--canvas); }
.tag { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; padding: 2px 6px; border-radius: 5px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }

/* Control: autonomy ladder */
.control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ladder { display: grid; gap: 10px; }
.rung { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.rung__l { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: #a5b4fc; }
.rung b { display: block; color: var(--navy-text); font-size: 1rem; }
.rung span { color: var(--navy-muted); font-size: 0.88rem; }
.rung em { font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--navy-text); white-space: nowrap; }
.rung--top { background: linear-gradient(135deg, rgba(99,102,241,.25), rgba(139,92,246,.18)); border-color: rgba(165,180,252,.35); }
.never { margin-top: 26px; border-top: 1px solid var(--navy-line); padding-top: 22px; }
.never h3 { font-size: 1.05rem; color: var(--navy-text); margin-bottom: 12px; }
.never ul { display: grid; gap: 10px; }
.never li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--navy-muted); font-size: 0.95rem; }
.never li svg { width: 20px; height: 20px; color: #fca5a5; margin-top: 2px; }
.never li b { color: var(--navy-text); font-weight: 600; }
.shot-tilt { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.cap { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.section--navy .cap { color: var(--navy-muted); }

/* Departments grid */
.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dept { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.dept::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.dept__top { display: flex; align-items: center; gap: 12px; }
.dept__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); flex: none; }
.dept__ic svg { width: 20px; height: 20px; }
.dept h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
.dept p { color: var(--muted); font-size: 0.93rem; }
.dept__ai { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 0.84rem; color: var(--ink-2); }
.dept__ai b { color: var(--c); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .dept:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
}

/* Screens gallery */
.gallery__tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.gtab { font: 600 0.92rem var(--font-body); padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.gtab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gpanel { max-width: 1060px; margin: 0 auto; }
.gpanel[hidden] { display: none; }
.gpanel__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; margin-top: 18px; align-items: start; }
.gpanel__cap h3 { font-size: 1.15rem; }
.gpanel__cap p { color: var(--muted); margin-top: 4px; font-size: 0.95rem; max-width: 70ch; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan--scale { background: var(--navy); color: var(--navy-text); border-color: var(--navy); }
.plan h3 { font-size: 1.4rem; }
.plan p { color: var(--muted); font-size: 0.95rem; }
.plan--scale p { color: var(--navy-muted); }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; }
.plan li i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.plan__plus { font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.plan--scale .plan__plus { color: #a5b4fc; }
.plans__note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Facts / who */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 500; }
.honest { border-radius: var(--r-lg); background: var(--warn-soft); border: 1px solid rgba(161, 92, 0, 0.2); padding: 22px; }
.honest h3 { font-size: 1.1rem; color: #6b3d00; }
.honest ul { margin-top: 12px; display: grid; gap: 8px; }
.honest li { position: relative; padding-left: 18px; color: #5a3600; font-size: 0.93rem; }
.honest li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--warn); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 300; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--accent); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 72ch; }
.faq details p + p { margin-top: -10px; }

/* CTA */
.cta { background: var(--navy); color: var(--navy-text); padding: clamp(84px, 10vw, 130px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 50% 120%, rgba(99, 102, 241, 0.45), transparent 70%); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta h2 { color: var(--navy-text); }
.cta__steps { margin-top: 28px; display: grid; gap: 12px; }
.cta__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--navy-muted); }
.cta__steps li > span:first-child { font-family: var(--font-mono); color: #a5b4fc; }
.cta__steps li b { color: var(--navy-text); font-weight: 600; }
.cta__card { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; }
.cta__mail { text-align: center; color: var(--navy-muted); text-decoration: none; padding: 6px; }
.cta__mail:hover { color: var(--navy-text); }
.cta__by { color: var(--navy-muted); font-size: 0.88rem; border-top: 1px solid var(--navy-line); padding-top: 14px; }
.cta__by b { color: var(--navy-text); }

.avx-hours { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.875rem; line-height: 1.4; opacity: .85; }
.avx-hours__dot { width: 8px; height: 8px; border-radius: 50%; background: #22a861; flex: none; box-shadow: 0 0 0 3px rgba(34,168,97,.2); }

/* Footer */
.footer { background: var(--navy); color: var(--navy-muted); padding: 10px 0 34px; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 40px; border-top: 1px solid var(--navy-line); padding-top: 44px; }
.footer .brand { color: var(--navy-text); }
.footer__desc { margin-top: 12px; font-size: 0.92rem; max-width: 34ch; }
.footer__nap { font-style: normal; font-size: 0.92rem; line-height: 1.7; }
.footer__nap b, .footer__nap a { color: var(--navy-text); }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a { text-decoration: none; font-size: 0.92rem; }
.footer__links a:hover { color: var(--navy-text); }
.avx-network { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.avx-network__h { margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.avx-network ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 24px; }
.avx-network a { display: block; font-weight: 600; text-decoration: none; color: var(--navy-text); line-height: 1.35; }
.avx-network a:hover { text-decoration: underline; }
.avx-network a span { display: block; font-size: .82rem; font-weight: 400; color: var(--navy-muted); }
.footer__base { margin-top: 32px; display: grid; gap: 6px; font-size: 0.75rem; line-height: 1.6; }
.footer__base a { color: var(--navy-text); }

/* Mobile sticky CTA */
.mobile-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; min-height: 54px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 16px 30px -12px rgba(15,23,42,.6); transform: translateY(160%); transition: transform .35s var(--ease); }
.mobile-cta svg { width: 18px; height: 18px; }
.mobile-cta.is-visible { transform: none; }

/* Sub pages */
.page-hero { background: var(--navy); color: var(--navy-text); padding: 140px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 40% 60% at 85% 20%, rgba(99, 102, 241, 0.35), transparent 70%); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch; }
.page-hero p { color: var(--navy-muted); font-size: 1.15rem; margin-top: 18px; max-width: 60ch; }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--navy-muted); margin-bottom: 22px; }
.crumbs a { color: var(--navy-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--navy-line); text-decoration: none; font-size: 0.88rem; color: var(--navy-text); }
.jump a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.jump a:hover { border-color: var(--navy-text); }

.mod { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.mod:last-child { border-bottom: 0; }
.mod--flip .mod__copy { order: 2; }
.mod__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.82rem; color: var(--c); text-transform: uppercase; letter-spacing: .08em; }
.mod__label i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mod h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 10px; max-width: 18ch; }
.mod__def { color: var(--ink-2); font-size: 1.05rem; margin-top: 14px; }
.mod ul.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--c, var(--accent)); border-bottom: 2px solid var(--c, var(--accent)); transform: rotate(-45deg); }
.rule { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 0.9rem; color: var(--ink-2); }
.rule svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.mod__plan { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

.prose { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.prose ol { padding-left: 22px; list-style: decimal; margin-bottom: 12px; }
.prose ol li::marker { color: var(--accent-ink); font-weight: 600; }
.prose li em { display: block; margin-top: 4px; font-style: normal; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.prose .answer { background: var(--accent-soft); border-radius: 14px; padding: 18px 20px; margin: 18px 0 24px; }
.prose .answer p { color: var(--ink); margin: 0; }
.prose a { color: var(--accent-ink); }
.table-scroll { overflow-x: auto; }
.prose-fig { margin: 8px 0 28px; }
.prose-fig img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(14,20,48,.12); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .callout--brief { left: 12px; }
  .callout--approve { right: 12px; }
  .callout--draft { right: 12px; }
}
@media (max-width: 920px) {
  .nav__links { position: fixed; inset: 70px 0 auto; flex-direction: column; gap: 0; margin: 0; background: rgba(245, 246, 250, 0.98); color: var(--ink); padding: 6px var(--gutter) 22px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 0; font-size: 1.05rem; opacity: 1; border-bottom: 1px solid var(--line); }
  .nav__links .nav__menu-cta { display: block; border: 0; margin-top: 12px; text-align: center; background: var(--accent); color: #fff; border-radius: 999px; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .scatter { grid-template-columns: 1fr; }
  .scatter__arrow { transform: rotate(90deg); margin: 0 auto; }
  .scatter__mess { height: 300px; }
  .chain, .control, .facts, .cta__inner, .mod { grid-template-columns: 1fr; }
  .mod--flip .mod__copy { order: 0; }
  .depts, .plans { grid-template-columns: 1fr 1fr; }
  .pains { grid-template-columns: 1fr; gap: 0; }
  .pain { padding: 16px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 100px; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 4px; }
  .step::before { grid-row: auto; }
  .step span { display: none; }
  .step b { font-size: 0.78rem; line-height: 1.2; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding-top: 112px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__depts { display: none; }
  .stage { margin-top: 40px; }
  .callout { position: relative; inset: auto; max-width: none; margin: 10px 0 0; }
  .callout--approve, .callout--draft { display: none; }
  .stage__callouts { padding: 0 var(--gutter) 20px; }
  .frame { border-radius: 12px 12px 0 0; }
  .depts, .plans { grid-template-columns: 1fr; }
  .split2 { grid-template-columns: 1fr; }
  .scatter__mess { height: 250px; }
  .tool { font-size: 0.78rem; padding: 8px 10px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .gpanel__cap { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 44px 1fr; }
  .rung em { grid-column: 2; justify-self: start; }
  .panel { min-height: 0; }
  .qt { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.section-head.center .h2 { max-width: 24ch; }
.avx-legal__bm{margin-top:56px;padding-top:28px;border-top:1px solid rgba(127,127,127,.3)}
.avx-legal h3,.avx-legal__bm h3{font-size:1.05rem;line-height:1.35;margin:24px 0 6px}
.avx-legal .avx-hours{margin-top:12px}
@media (max-width: 640px) { .status { display: block; text-align: center; } .status__dot { display: inline-block; vertical-align: middle; margin-right: 6px; } }
@media (max-width: 380px) { .step b { font-size: 0.7rem; } .step::before { width: 28px; height: 28px; font-size: 0.8rem; } .steps { gap: 2px; } }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 30px auto 0; color: var(--navy-muted); font-size: 0.92rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: #a5b4fc; flex: none; }
.hero__facts b { color: var(--navy-text); font-weight: 600; }
@media (max-width: 640px) { .hero__facts { flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; } }
.hero h1 .grad-text { display: block; }
.hero__copy { max-width: 900px; }
.hero__facts { gap: 10px 22px; font-size: 0.88rem; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); } }

/* Ask about your business */
.ask { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ask__qs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ask__q { font: 600 0.98rem var(--font-body); min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .12s var(--ease); }
.ask__q:active { transform: scale(0.97); }
.ask__q[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ask__also { margin-top: 16px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ask__also span { background: var(--surface-2); color: var(--ink-2); padding: 4px 10px; border-radius: 999px; font-size: 0.85rem; }
.ask__rules { margin-top: 22px; display: grid; gap: 8px; }
.ask__rules li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 0.93rem; }
.ask__rules li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ask__shots { justify-self: center; width: 100%; max-width: 460px; }
.ask__panel { margin: 0; animation: panel-in .4s var(--ease) both; }
.ask__panel[hidden] { display: none; }
@media (max-width: 920px) { .ask { grid-template-columns: 1fr; } }
