/* Maintenance IQ — design system (Sketch direction: ink / white / orange).
   Self-hosted fonts only; no third-party/CDN requests (keeps strict CSP + no-tracking). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600.woff2") format("woff2"); }
/* Indic scripts (self-hosted Noto). unicode-range gates the download so English/European pages never fetch them. */
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-devanagari-400.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-devanagari-700.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-tamil-400.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Sans Tamil"; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-tamil-700.woff2") format("woff2"); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: "Noto Sans Telugu"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-telugu-400.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Telugu"; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-telugu-700.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Gujarati"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-gujarati-400.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: "Noto Sans Gujarati"; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-gujarati-700.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }

:root {
  --ink: #0E0E0E;
  --ink-card: #151515;
  --ink-tile: #1C1C1C;
  --ink-ticker: #0A0A0A;
  --footer: #080808;
  --paper: #FFFFFF;
  --text: #111111;
  --muted: #555555;
  --body2: #333333;
  --mono-muted: #999999;
  --hairline: #E6E6E6;
  --hairline2: #EBEBEB;
  --input-border: #DCDCDC;
  --on-dark: #F4F2ED;
  --muted-dark: rgba(244, 242, 237, 0.66);
  --muted-dark-2: rgba(244, 242, 237, 0.62);
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-dark-soft: rgba(255, 255, 255, 0.07);
  --accent: #E2510A;
  --green: #3E9E6E;
  --green-2: #3E8E6E;
  --gold: #C99A2E;
  --noto: "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Telugu", "Noto Sans Gujarati";
  --font-display: "Archivo", var(--noto), system-ui, sans-serif;
  --font-body: "IBM Plex Sans", var(--noto), system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", var(--noto), ui-monospace, monospace;
  --r-btn: 2px;
  --r-tile: 4px;
  --r-card: 6px;
  --r-pill: 999px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 32px);
  --section: clamp(72px, 9vw, 104px);
  --shadow-dark: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
  --shadow-light: 0 24px 60px -40px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sketch-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h1 { letter-spacing: -0.035em; }
p { margin: 0; }

.wrap, .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.s-dark, .dark { background: var(--ink); color: var(--on-dark); }
.s-light { background: var(--paper); color: var(--text); }
.band { background: #FAFAF8; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.hero-grid > *, .split > *, .page-hero .wrap > *, .compare-teaser > * { min-width: 0; }
.mock, .audit-card { max-width: 100%; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.6; }
.s-dark .lead, .dark .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.s-dark .muted, .dark .muted { color: var(--muted-dark); }
.accent { color: var(--accent); }

/* Eyebrow with leading accent rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.eyebrow.no-rule::before { display: none; }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4vw, 50px); line-height: 1.05; }
.section-head p { font-size: 18px; color: var(--muted); max-width: 62ch; }
.s-dark .section-head p, .dark .section-head p { color: var(--muted-dark); }

/* Type helpers */
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.07; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 26px; border: 1px solid transparent; border-radius: var(--r-btn); cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1; transition: filter .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease; }
.btn--primary, .btn-primary { background: var(--accent); color: #fff; }
.btn--primary:hover, .btn-primary:hover { filter: brightness(1.08); }
.btn--ghost, .btn--outline, .btn-outline { border-color: var(--input-border); color: var(--text); background: transparent; }
.btn--ghost:hover, .btn--outline:hover, .btn-outline:hover { border-color: var(--text); }
.s-dark .btn--ghost, .s-dark .btn--outline, .dark .btn--ghost, .dark .btn--outline, .hero .btn--ghost, .page-hero .btn--ghost, .site-header .btn--outline, .btn--reversed { border-color: var(--line-dark); color: var(--on-dark); }
.s-dark .btn--ghost:hover, .s-dark .btn--outline:hover, .dark .btn--ghost:hover, .dark .btn--outline:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .site-header .btn--outline:hover, .btn--reversed:hover { border-color: rgba(255, 255, 255, 0.45); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { filter: brightness(1.5); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn-arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Inline arrow link */
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: inherit; border-bottom: 1px solid var(--accent); padding-bottom: 3px; width: fit-content; transition: gap .2s ease; }
.link-arrow span { color: var(--accent); }
.link-arrow:hover { gap: 14px; }

/* Pills / tags */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); width: fit-content; }
.s-light .pill, .pill--light { border-color: var(--hairline); background: var(--paper); color: var(--muted); }
.tag { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid currentColor; border-radius: var(--r-btn); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.tag--green { color: var(--green); }
.tag--gold { color: var(--gold); }
.tag--accent { color: var(--accent); }
.tag--muted { color: var(--mono-muted); }

/* ── Header / nav ─────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line-dark); background: rgba(14, 14, 14, 0.82); backdrop-filter: blur(14px); color: var(--on-dark); }
.nav { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--on-dark); white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex: 0 0 auto; }
.brand b { color: var(--accent); font-weight: 800; }
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav-item { position: relative; }
.nav-item::after { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 20px; pointer-events: none; }
.nav-item:hover::after, .nav-item:focus-within::after { pointer-events: auto; }
.nav-link, .nav-menu > a { border: 0; background: transparent; color: var(--muted-dark); cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.nav-link:hover, .nav-menu > a:hover { color: var(--on-dark); }
.mega { position: absolute; left: 50%; top: calc(100% + 16px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; width: min(560px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line-dark); border-radius: var(--r-card); background: var(--ink-card); box-shadow: var(--shadow-dark); opacity: 0; pointer-events: none; transform: translate(-50%, 6px); transition: opacity .16s ease, transform .16s ease; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.mega a { display: grid; gap: 4px; padding: 13px; border-radius: var(--r-tile); }
.mega a:hover { background: var(--ink-tile); }
.mega strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--on-dark); }
.mega span { color: var(--muted-dark); font-size: 13px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .nav-signin { color: var(--muted-dark); font-size: 14px; font-weight: 500; }
.nav-actions .nav-signin:hover { color: var(--on-dark); }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--r-btn); background: transparent; color: var(--on-dark); }
.nav-burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-panel { display: none; border-top: 1px solid var(--line-dark); background: var(--ink); color: var(--on-dark); }
.nav-panel-inner { display: grid; gap: 10px; padding-block: 18px 28px; }
.nav-panel a { padding-block: 7px; color: var(--muted-dark); font-weight: 500; }
.nav-panel .btn { color: inherit; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 8vw, 80px) clamp(56px, 8vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 82% 8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); pointer-events: none; }
.hero--grid::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark-soft) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-carousel { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 22px; align-content: start; transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1); }
.slide[aria-hidden="true"] { opacity: 0; transform: translateY(16px); pointer-events: none; }
.slide[aria-hidden="false"] { opacity: 1; transform: translateY(0); }
.hero h1, .hero .hero-h { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; max-width: 16ch; }
.hero .hero-h { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; }
.hero .sub { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted-dark); max-width: 52ch; line-height: 1.55; }
.uline { position: relative; white-space: nowrap; color: var(--accent); }
.uline svg { position: absolute; left: -2px; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; }
.hero-controls { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.dots { display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.32); cursor: pointer; }
.dot.is-active { width: 42px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; position: relative; }
.dot.is-active::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--accent); animation: dotfill 6s linear forwards; }
/* Carousel prev/next live under the product visual, aligned bottom-right;
   progress dots stay under the text column (bottom-left). */
.hero-arrows { display: flex; gap: 8px; justify-self: end; margin-top: 22px; }
.hero-arrow { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--on-dark); cursor: pointer; }
.hero-arrow svg { width: 100%; height: 100%; }
.hero-visuals { display: grid; align-content: start; }
.hvis { grid-area: 1 / 1; transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }
.hvis[aria-hidden="true"] { opacity: 0; transform: scale(0.96); pointer-events: none; }
.hvis[aria-hidden="false"] { opacity: 1; transform: scale(1); }

/* Product mock cards (dark) */
.mock { border: 1px solid var(--line-dark); border-radius: var(--r-card); background: var(--ink-card); box-shadow: var(--shadow-dark); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark-soft); background: var(--ink); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: #34373c; }
.mock-url { font-family: var(--font-mono); font-size: 11px; color: rgba(244, 242, 237, 0.4); margin-left: 4px; }
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--green); }
.mock-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: mqpulse 2s infinite; }
.mock-body { padding: 20px; }
.mock-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--on-dark); margin-bottom: 16px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-kpi { background: var(--ink-tile); border: 1px solid var(--line-dark-soft); border-radius: var(--r-tile); padding: 14px; }
.mock-kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--on-dark); }
.mock-kpi.is-accent b { color: var(--accent); }
.mock-kpi span { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); }
.mock-list { margin-top: 12px; background: var(--ink-tile); border: 1px solid var(--line-dark-soft); border-radius: var(--r-tile); padding: 14px 16px; }
.mock-list-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); margin-bottom: 8px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; color: var(--on-dark); }
.mock-row + .mock-row { border-top: 1px solid var(--line-dark-soft); }
.mock-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark-soft); border: 1px solid var(--line-dark-soft); border-radius: var(--r-tile); overflow: hidden; }
.mock-tile { background: var(--ink-tile); padding: 13px 15px; }
.mock-tile span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 242, 237, 0.42); }
.mock-tile b { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--on-dark); }
.mock-tile b.is-accent { color: var(--accent); }
.mock-tile b.is-green { color: var(--green); font-size: 13px; }
.mock-spark { width: 100%; height: auto; display: block; margin-bottom: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line-dark-soft); }
.mock-head .mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244, 242, 237, 0.45); }
.mock-headline { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--on-dark); margin-bottom: 18px; }
.mock-kv { display: flex; flex-direction: column; gap: 1px; background: var(--line-dark-soft); border: 1px solid var(--line-dark-soft); border-radius: var(--r-tile); overflow: hidden; }
.mock-kv > div { background: var(--ink-tile); display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; }
.mock-kv span { font-size: 13.5px; color: rgba(244, 242, 237, 0.72); }
.mock-kv b { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--on-dark); }
.mock-kv b.is-accent { color: var(--accent); }

/* Marquee ticker */
.ticker { margin-top: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line-dark); background: var(--ink-ticker); padding: 20px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: mqmarq 38s linear infinite; }
.ticker-pill { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted-dark); border: 1px solid var(--line-dark); border-radius: var(--r-pill); padding: 7px 16px; white-space: nowrap; }

/* ── How-it-works steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 2px solid var(--text); padding-top: 22px; }
.s-dark .step { border-top-color: var(--on-dark); }
.step-mark { position: relative; width: 56px; height: 56px; margin-bottom: 20px; }
.step-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-mark span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: inherit; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 12px; }
.step p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.s-dark .step p { color: var(--muted-dark); }

/* ── Split feature rows ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.dash-list { display: grid; gap: 14px; margin: 4px 0 0; }
.dash-list > div, .dash-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 15.5px; color: var(--body2); }
.s-dark .dash-list > div, .s-dark .dash-list li, .dark .dash-list li { color: rgba(244, 242, 237, 0.82); }
.dash-list .d { color: var(--accent); font-family: var(--font-mono); }
.checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--body2); }
.checklist li::before { content: "—"; color: var(--accent); font-family: var(--font-mono); }
.s-dark .checklist li, .dark .checklist li { color: rgba(244, 242, 237, 0.82); }

/* ── Module grid (hairline) ───────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; }
.module-cell { background: var(--paper); padding: 30px; }
.module-cell:hover { background: #FAFAF8; }
.module-mark { position: relative; width: 50px; height: 50px; margin-bottom: 20px; }
.module-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.module-mark span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; color: var(--accent); }
.module-cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 10px; }
.module-cell p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ── Cards (dark pillars + generic) ───────────────────────────────────── */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 32px; background: var(--paper); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.s-dark .card, .dark .card { border-color: var(--line-dark); background: var(--ink-card); }
.s-dark .card:hover, .dark .card:hover { border-color: rgba(255, 255, 255, 0.28); }
.s-dark .card p, .dark .card p { color: var(--muted-dark-2); }
.card-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.card-sketch { width: 56px; height: 56px; margin-bottom: 18px; color: var(--on-dark); }
.s-light .card-sketch { color: var(--text); }

/* ── Solutions ────────────────────────────────────────────────────────── */
.solution-card { display: grid; gap: 0; align-content: start; }
.solution-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.solution-card h3 { margin: 4px 0 10px; }
.solution-card .link-arrow { margin-top: 18px; color: var(--on-dark); }

/* ── Compliance / audit cards ─────────────────────────────────────────── */
.audit-card { border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-light); }
.audit-card .mock-head { border-color: var(--hairline2); }
.audit-card .mock-head .mono { color: var(--mono-muted); }
.audit-card .mock-body { padding: 24px; }
.audit-card .mock-headline { color: var(--text); }
.audit-card .mock-kv { background: var(--hairline2); border-color: var(--hairline2); }
.audit-card .mock-kv > div { background: var(--paper); }
.audit-card .mock-kv span { color: var(--body2); font-size: 14px; }
.audit-card .mock-kv b { color: var(--text); }
.audit-card .mock-kv b.is-accent { color: var(--accent); }

/* ── Compare diffs + mini-stats ───────────────────────────────────────── */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; }
.diff-cell { background: var(--paper); padding: 28px 30px; }
.diff-cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.diff-cell p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ministat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.ministat { border-top: 2px solid var(--accent); padding-top: 16px; }
.ministat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; }
.ministat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.s-dark .ministat span { color: var(--muted-dark); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 880px; margin-inline: auto; }
.faq-list { display: grid; gap: 0; }
details.faq-item { border-bottom: 1px solid var(--line-dark); background: transparent; }
.s-light details.faq-item { border-bottom-color: var(--hairline); }
details.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--accent); font-size: 24px; font-family: var(--font-mono); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { padding: 0 0 24px; max-width: 70ch; font-size: 15.5px; color: var(--muted-dark); line-height: 1.65; }
.s-light details.faq-item p { color: var(--muted); }

/* ── Contact / forms ──────────────────────────────────────────────────── */
.contact-form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--mono-muted); }
.s-dark .contact-form label, .demo-modal .contact-form label { color: rgba(244, 242, 237, 0.6); }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--input-border); border-radius: var(--r-btn); background: var(--paper); color: var(--text); font-family: var(--font-body); }
.s-dark .contact-form input, .s-dark .contact-form textarea, .demo-modal .contact-form input, .demo-modal .contact-form textarea { background: var(--ink-tile); border-color: var(--line-dark); color: var(--on-dark); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 22px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ── Demo modal ───────────────────────────────────────────────────────── */
.demo-modal { width: min(560px, 92vw); max-height: 92vh; margin: auto; padding: 0; overflow: auto; border: 1px solid var(--line-dark); border-radius: var(--r-card); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-dark); }
.demo-modal::backdrop { background: rgba(8, 8, 8, 0.66); }
.demo-modal[open] { animation: demo-pop .22s ease-out; }
@keyframes demo-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.demo-modal-inner { position: relative; display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.demo-modal-inner h2 { font-size: clamp(22px, 3vw, 28px); }
.demo-modal-inner > p { color: var(--muted-dark); max-width: 46ch; }
.demo-modal-close { position: absolute; top: 14px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--on-dark); font-size: 24px; cursor: pointer; }
.demo-modal-close:hover { border-color: var(--accent); color: var(--accent); }

/* ── Page hero (inner pages) with sketch illustration ─────────────────── */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 7vw, 88px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 50% at 85% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.03; max-width: 16ch; }
.page-hero .sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted-dark); max-width: 54ch; line-height: 1.55; }
.page-hero-art { display: grid; place-items: center; }
.page-hero-art svg { width: min(100%, 360px); height: auto; color: var(--on-dark); }

/* ── Related / answer / feature-rows (inner-page sections) ────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { display: grid; gap: 8px; align-content: start; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); transition: border-color .16s ease, transform .16s ease; }
.s-dark .related-card { border-color: var(--line-dark); background: var(--ink-card); }
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.related-card strong { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.related-card > span:not(.related-go) { color: var(--muted); font-size: 14.5px; }
.s-dark .related-card > span:not(.related-go) { color: var(--muted-dark); }
.related-go { color: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.answer-item { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 2px solid var(--text); }
.s-dark .answer-item { border-top-color: var(--accent); }
.answer-num { color: var(--accent); font-family: var(--font-mono); font-size: 14px; }
.answer-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.answer-item p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.s-dark .answer-item p { color: var(--muted-dark); }
.feature-rows { display: grid; }
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--hairline); }
.s-dark .feature-row { border-top-color: var(--line-dark); }
.feature-row:last-child { border-bottom: 1px solid var(--hairline); }
.s-dark .feature-row:last-child { border-bottom-color: var(--line-dark); }
.feature-row-num { color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); }
.feature-row p { font-size: 18px; line-height: 1.5; color: var(--body2); }
.s-dark .feature-row p { color: rgba(244, 242, 237, 0.82); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-card { display: grid; gap: 16px; align-content: start; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }

/* ── Compare teaser ───────────────────────────────────────────────────── */
.compare-teaser { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.teaser-list { display: grid; margin: 0; padding: 0; list-style: none; }
.teaser-list li { display: grid; grid-template-columns: 34% 1fr; gap: 18px; padding-block: 16px; border-top: 1px solid var(--hairline); }
.teaser-list li:last-child { border-bottom: 1px solid var(--hairline); }
.teaser-feature { font-family: var(--font-display); font-weight: 700; }
.teaser-us { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ── Article + glossary + compare table ───────────────────────────────── */
.article-grid { display: grid; grid-template-columns: 0.66fr 1.34fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.article-body { display: grid; gap: 40px; }
.article-body section { display: grid; gap: 14px; }
.article-body h2 { font-size: clamp(24px, 3vw, 34px); }
.article-body p { color: var(--body2); line-height: 1.7; }
.takeaways { padding: 26px 28px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: #FAFAF8; }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.glossary-term { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); scroll-margin-top: 90px; }
.glossary-term h2 { font-size: 22px; margin-bottom: 6px; }
.glossary-term .mono { font-family: var(--font-mono); font-size: 13px; color: var(--mono-muted); }
.glossary-term p { color: var(--muted); margin-top: 10px; }
.glossary-formula { margin-top: 12px; padding: 12px; border: 1px dashed var(--input-border); border-radius: var(--r-tile); font-family: var(--font-mono); font-size: 13px; color: var(--text); background: #FAFAF8; }
.glossary-formula .small-label { display: block; color: var(--mono-muted); margin-bottom: 4px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-card); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--paper); }
.compare-table th, .compare-table td { text-align: left; padding: clamp(14px, 2vw, 20px); border-bottom: 1px solid var(--hairline); vertical-align: top; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.compare-table thead th { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 16px; }
.compare-table tbody th { font-family: var(--font-display); font-weight: 600; color: var(--text); width: 22%; }
.compare-table .is-us { background: rgba(226, 81, 10, 0.06); color: var(--text); }
.compare-table thead th.is-us { color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--footer); color: var(--muted-dark); padding-block: clamp(56px, 7vw, 80px) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 242, 237, 0.5); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark-soft); font-size: 13px; }

/* ── Scroll reveal ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Keyframes ────────────────────────────────────────────────────────── */
@keyframes mqpulse { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes mqmarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dotfill { from { width: 0; } to { width: 100%; } }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid, .split, .split.reverse, .compare-teaser, .page-hero .wrap { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visuals { margin-top: 8px; }
  .page-hero-art { display: none; }
}
@media (max-width: 920px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-panel.is-open { display: block; }
  .steps, .module-grid, .cards-3, .cards-4, .diff-grid, .ministat-row, .answer-grid, .related-grid { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ministat-row { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
}
/* Tablet: keep dense grids two-up instead of collapsing straight to one column */
@media (min-width: 621px) and (max-width: 920px) {
  .module-grid, .diff-grid, .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .form-grid, .mock-kpis, .ministat-row, .footer-grid, .glossary-grid { grid-template-columns: 1fr; }
  .cluster .btn { width: 100%; }
  .teaser-list li { grid-template-columns: 1fr; gap: 4px; }
  .feature-row { grid-template-columns: 44px 1fr; gap: 14px; }
  .hero-arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .dot.is-active::after { width: 100%; animation: none; }
  .ticker-track { animation: none; }
}

/* ── Feature pages ────────────────────────────────────────────────────── */
.feature-art { display: grid; place-items: center; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-dark); border-radius: var(--r-card); background: var(--ink-card); }
.feature-art svg { width: clamp(120px, 16vw, 156px); height: auto; color: var(--on-dark); }
.module-cell { position: relative; }
.module-go { display: block; margin-top: 10px; color: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 500; opacity: 0; transform: translateX(-4px); transition: opacity .16s ease, transform .16s ease; }
.module-cell:hover .module-go { opacity: 1; transform: translateX(0); }
.feature-card { align-content: start; transition: border-color .16s ease, transform .16s ease; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-card .feature-card-glyph { width: 44px; height: 44px; color: var(--text); margin-bottom: 4px; }
.feature-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }

/* Features mega menu (compact, grouped by category) */
.mega--features { width: min(520px, calc(100vw - 32px)); padding: var(--s3); }
.mega--features .mega-col { display: grid; gap: 1px; align-content: start; padding: 0; }
.mega-head { padding: 8px 12px 5px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 242, 237, 0.5); }
.mega--features a { display: block; padding: 7px 12px; border-radius: var(--r-tile); font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--muted-dark); }
.mega--features a:hover { background: var(--ink-tile); color: var(--on-dark); }
.mega-all { margin-top: 6px; color: var(--accent) !important; font-family: var(--font-mono) !important; font-size: 12px !important; }

/* ── Feature-animation hero embeds (self-hosted iframes) ──────────────── */
.page-hero-anim { min-width: 0; }
.feature-anim { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line-dark); border-radius: var(--r-card); background: var(--ink); overflow: hidden; }
@media (max-width: 1080px) {
  /* page-hero-art is hidden on mobile, but keep the animation visible (stacked, full-width) */
  .page-hero .wrap > .page-hero-anim { display: block; margin-top: 8px; }
}

/* Features index: centered hero + full-width 60s reel */
.page-hero .wrap--center { display: block; text-align: center; }
.stack--center { justify-items: center; max-width: 720px; margin-inline: auto; }
.stack--center .sub { margin-inline: auto; }
.reel-frame { width: 100%; max-width: 940px; margin: clamp(28px, 4vw, 44px) auto 0; }

/* ── Language switcher ────────────────────────────────────────────────── */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; }
.lang-globe { width: 16px; height: 16px; flex: 0 0 auto; }
.mega--lang { left: auto; right: 0; width: 200px; grid-template-columns: 1fr; padding: 8px; transform: translate(0, 6px); }
.lang-switch:hover .mega--lang, .lang-switch:focus-within .mega--lang { transform: translate(0, 0); }
.mega--lang a { display: block; padding: 8px 12px; border-radius: var(--r-tile); font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--muted-dark); }
.mega--lang a:hover { background: var(--ink-tile); color: var(--on-dark); }
.mega--lang a[aria-current="page"] { color: var(--accent); }
.nav-panel-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.nav-panel-langs .mega-head { width: 100%; padding: 0; }
.nav-panel-langs a { padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); font-size: 13px; color: var(--muted-dark); }
.nav-panel-langs a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
