/* ─────────────────────────────────────────────────────────────────────────────
   Vision ERP — marketing site
   Tokens are a verbatim port of the app's warm-indigo system (src/css/main.css)
   so the SVG product mockups below are literally the app's colours, not a
   lookalike. Light-only, same as the app. No build step: plain CSS.
   ───────────────────────────────────────────────────────────────────────────── */

:root {
    /* brand indigo */
    --indigo: oklch(0.545 0.158 270);
    --indigo-deep: oklch(0.430 0.150 271);
    --indigo-bright: oklch(0.625 0.170 268);
    --indigo-tint: oklch(0.955 0.028 270);
    --indigo-tint2: oklch(0.915 0.045 270);
    --indigo-ring: oklch(0.545 0.158 270 / 0.30);

    /* ink ramp + paper */
    --ink: oklch(0.255 0.012 65);
    --ink-2: oklch(0.430 0.012 70);
    --ink-3: oklch(0.585 0.012 72);
    --ink-faint: oklch(0.700 0.010 74);
    --paper: oklch(0.985 0.004 75);
    --paper-2: oklch(0.970 0.005 75);
    --surface: oklch(0.998 0.002 75);
    --line: oklch(0.912 0.006 75);
    --line-soft: oklch(0.945 0.005 75);

    /* status pairs (pills in the mockups) */
    --open: oklch(0.620 0.135 250);  --open-bg: oklch(0.955 0.030 250);
    --run: oklch(0.700 0.140 80);    --run-bg: oklch(0.960 0.045 85);
    --done: oklch(0.625 0.120 155);  --done-bg: oklch(0.955 0.040 158);
    --cancel: oklch(0.620 0.140 25); --cancel-bg: oklch(0.955 0.035 28);
    --violet: oklch(0.560 0.170 300); --violet-bg: oklch(0.955 0.040 300);
    /* ticket lifecycle + priority, mirroring the app's pill palette */
    --accept: oklch(0.600 0.130 165); --accept-bg: oklch(0.955 0.038 165);
    --commit: oklch(0.560 0.150 265); --commit-bg: oklch(0.955 0.032 265);
    --closed: oklch(0.600 0.010 75);  --closed-bg: oklch(0.945 0.005 75);
    --decline: oklch(0.585 0.150 20); --decline-bg: oklch(0.955 0.035 22);
    --pause: oklch(0.680 0.130 70);   --pause-bg: oklch(0.960 0.042 72);
    --over: oklch(0.585 0.155 25);    --over-bg: oklch(0.955 0.038 27);
    --high: oklch(0.640 0.140 65);    --high-bg: oklch(0.958 0.045 68);
    --urgent: oklch(0.575 0.165 22);
    --normal: oklch(0.600 0.100 250);
    --info: oklch(0.615 0.130 240);   --info-bg: oklch(0.955 0.032 240);

    /* type */
    --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, ui-sans-serif, system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* radius + shadow */
    --r-sm: 7px;
    --r-md: 14px;
    --r-lg: 18px;
    --r-xl: 24px;
    --shadow-sm: 0 1px 2px oklch(0.4 0.02 70 / 0.05), 0 1px 3px oklch(0.4 0.02 70 / 0.06);
    --shadow-card: 0 1px 2px oklch(0.4 0.02 70 / 0.05), 0 2px 8px oklch(0.4 0.02 70 / 0.06);
    --shadow-md: 0 2px 4px oklch(0.4 0.02 70 / 0.05), 0 8px 24px oklch(0.4 0.02 70 / 0.08);
    --shadow-lg: 0 4px 8px oklch(0.4 0.02 70 / 0.06), 0 24px 60px oklch(0.35 0.02 70 / 0.16);

    --nav-h: 64px;
}

/* ── base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--indigo-tint2); }

:focus-visible {
    outline: 3px solid var(--indigo-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 32px);
}

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

.band { padding-block: clamp(64px, 9vw, 120px); }
.band--surface { background: var(--surface); border-block: 1px solid var(--line-soft); }
.band--tint { background: var(--indigo-tint); }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ── type scale ───────────────────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--indigo-deep);
    margin-bottom: 14px;
}

.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .lede { margin-top: 16px; }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: translate .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn--primary {
    background: linear-gradient(180deg, var(--indigo-bright), var(--indigo));
    color: #fff;
    box-shadow: var(--shadow-sm), inset 0 1px 0 oklch(1 0 0 / .22);
}
.btn--primary:hover { translate: 0 -1px; box-shadow: var(--shadow-md), inset 0 1px 0 oklch(1 0 0 / .22); }
.btn--primary:active { translate: 0 0; }
.btn--ghost { color: var(--ink-2); border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--indigo); color: var(--indigo-deep); translate: 0 -1px; }
.btn--sm { padding: 8px 16px; font-size: 14px; border-radius: var(--r-sm); }

/* ── nav ──────────────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-h);
    display: flex; align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}
.nav.scrolled {
    background: color-mix(in oklch, var(--surface) 85%, transparent);
    backdrop-filter: blur(12px) saturate(1.2);
    border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; width: 100%; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 15px; color: var(--ink-2); font-weight: 600; transition: color .15s; }
.nav__links a:hover { color: var(--indigo-deep); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.brand__mark {
    width: 28px; height: 28px; border-radius: var(--r-sm);
    background: linear-gradient(140deg, var(--indigo-bright), var(--indigo));
    display: grid; place-items: center; flex: none;
    box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 16px; height: 16px; }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(60rem 32rem at 78% 8%, color-mix(in oklch, var(--indigo-tint) 75%, transparent), transparent 70%),
        radial-gradient(44rem 28rem at 8% 42%, color-mix(in oklch, var(--indigo-tint) 55%, transparent), transparent 72%);
}
.hero__constellation {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 88%);
    mask-image: linear-gradient(to bottom, #000 35%, transparent 88%);
    opacity: .5;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
    display: grid; gap: clamp(36px, 5vw, 56px);
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero__sub { max-width: 33rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof {
    display: flex; align-items: center; gap: 9px;
    margin-top: 26px; font-size: 14px; color: var(--ink-3);
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--done); flex: none;
    box-shadow: 0 0 0 0 color-mix(in oklch, var(--done) 60%, transparent);
    animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in oklch, var(--done) 55%, transparent); }
    70%  { box-shadow: 0 0 0 9px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── frame (shared browser-chrome card for every mockup) ──────────────────── */
.frame {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.frame__bar {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line-soft);
}
.frame__dots { display: flex; gap: 5px; }
.frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.frame__url {
    font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint);
    background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: 999px; padding: 2px 12px; margin-inline: auto;
}
.frame__body { display: flex; min-height: 0; }

/* real screenshot inside a frame */
.frame__shot { width: 100%; height: auto; display: block; background: var(--paper); }
.shotcap { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; text-align: center; }
.shotcap b { color: var(--ink-3); font-weight: 600; }

/* mockup: app sidebar */
.mk__side {
    width: 92px; flex: none; padding: 12px 8px;
    background: var(--surface); border-right: 1px solid var(--line-soft);
    display: flex; flex-direction: column; gap: 5px;
}
.mk__side-item {
    display: flex; align-items: center; gap: 7px;
    padding: 6px 7px; border-radius: var(--r-sm);
    font-size: 9.5px; font-weight: 600; color: var(--ink-3);
}
.mk__side-item i { width: 12px; height: 12px; border-radius: 3px; background: var(--line); flex: none; }
.mk__side-item.on { background: var(--indigo-tint); color: var(--indigo-deep); }
.mk__side-item.on i { background: var(--indigo); }

.mk__main { flex: 1; padding: 14px; background: var(--paper); min-width: 0; }
.mk__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mk__title { font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; }
.mk__live {
    font-family: var(--mono); font-size: 9px; font-weight: 500;
    color: var(--done); background: var(--done-bg);
    padding: 2px 8px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 5px;
}
.mk__live::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--done);
    animation: blink 2s steps(1) infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }

.mk__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk__card {
    background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: var(--r-sm); padding: 9px;
}
.mk__dept { font-size: 10px; font-weight: 700; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.mk__dept span { font-family: var(--mono); font-size: 8.5px; color: var(--ink-faint); font-weight: 500; }
.mk__job { font-family: var(--mono); font-size: 8.5px; color: var(--ink-3); margin-bottom: 6px; }
.mk__bar { height: 4px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.mk__bar i { display: block; height: 100%; border-radius: 999px; background: var(--indigo); }

.pill {
    display: inline-block; font-family: var(--mono); font-size: 8.5px; font-weight: 500;
    padding: 1.5px 7px; border-radius: 999px; letter-spacing: .02em;
}
.pill--run { color: var(--run); background: var(--run-bg); }
.pill--done { color: var(--done); background: var(--done-bg); }
.pill--open { color: var(--open); background: var(--open-bg); }
.pill--cancel { color: var(--cancel); background: var(--cancel-bg); }
.pill--beta { color: var(--violet); background: var(--violet-bg); font-size: 10px; padding: 2px 8px; }
.pill--pulse { animation: pillpulse 2.4s ease-in-out infinite; }
@keyframes pillpulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ── interactive tour ─────────────────────────────────────────────────────── */
.tour__tabs {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.tour__tab {
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, translate .18s;
}
.tour__tab:hover { border-color: var(--indigo); color: var(--indigo-deep); translate: 0 -1px; }
.tour__tab[aria-selected="true"] {
    background: var(--indigo); border-color: var(--indigo); color: #fff;
    box-shadow: var(--shadow-sm);
}
.tour__panel { display: none; }
.tour__panel.on { display: block; }

/* real-screenshot showcase (full-width, so the screens read clearly) */
.shot-panel { display: none; }
.shot-panel.on { display: block; }
.shot-panel .frame { max-width: 100%; }
.shot-panel .frame__shot { width: 100%; height: auto; }
.tour__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.tour__copy h3 { margin-bottom: 12px; }
.tour__copy p { color: var(--ink-2); }
.tour__hint {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    font-family: var(--mono); font-size: 11.5px; color: var(--indigo-deep);
    background: var(--indigo-tint); border-radius: 999px; padding: 6px 13px;
}

/* demo surface */
.demo { padding: 16px; background: var(--paper); min-height: 328px; }
.demo__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.demo__title { font-size: 12.5px; font-weight: 800; }
.demo__row {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: var(--r-sm); padding: 9px 11px; margin-bottom: 7px;
    transition: border-color .2s, translate .2s, opacity .3s;
}
.demo__row:last-child { margin-bottom: 0; }
.demo__row--new { animation: rowin .45s cubic-bezier(.25,.1,.25,1); }
@keyframes rowin { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.demo__code { font-family: var(--mono); font-size: 10.5px; color: var(--indigo-deep); font-weight: 500; }
.demo__what { font-size: 12px; font-weight: 600; flex: 1; min-width: 0; }
.demo__meta { font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); }

.demo__btn {
    border: 1px solid var(--line); background: var(--surface);
    border-radius: var(--r-sm); padding: 7px 13px;
    font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer;
    transition: all .16s;
}
.demo__btn:hover:not(:disabled) { border-color: var(--indigo); color: var(--indigo-deep); translate: 0 -1px; }
.demo__btn:disabled { opacity: .45; cursor: not-allowed; }
.demo__btn--primary { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.demo__btn--primary:hover:not(:disabled) { background: var(--indigo-deep); border-color: var(--indigo-deep); color: #fff; }
.demo__btn--ok { background: var(--done-bg); border-color: color-mix(in oklch, var(--done) 40%, transparent); color: var(--done); }
.demo__btn--no { background: var(--cancel-bg); border-color: color-mix(in oklch, var(--cancel) 40%, transparent); color: var(--cancel); }
.demo__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.demo__note { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; min-height: 17px; }
.demo__note b { color: var(--ink); }
.demo__empty { text-align: center; padding: 34px 12px; color: var(--ink-faint); font-size: 12.5px; }

/* gantt */
.gantt__row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; margin-bottom: 8px; }
.gantt__label { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.gantt__track { position: relative; height: 20px; background: var(--line-soft); border-radius: 5px; overflow: hidden; }
.gantt__bar {
    position: absolute; top: 3px; bottom: 3px; border-radius: 4px;
    background: var(--indigo); display: flex; align-items: center; padding-inline: 6px;
    font-family: var(--mono); font-size: 8px; color: #fff; white-space: nowrap; overflow: hidden;
}
.gantt__bar--done { background: var(--done); }
.gantt__bar--run { background: var(--run); }
.gantt__bar--late { background: var(--cancel); }
.gantt__today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cancel); opacity: .55; }

/* ── generic cards ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
    transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow-md);
    border-color: color-mix(in oklch, var(--indigo) 25%, var(--line));
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

.glyph {
    width: 40px; height: 40px; border-radius: var(--r-sm);
    background: var(--indigo-tint); display: grid; place-items: center;
    margin-bottom: 16px;
}
.glyph svg { width: 20px; height: 20px; stroke: var(--indigo-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* compact module cards */
.mod {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mod:hover { translate: 0 -3px; box-shadow: var(--shadow-card); border-color: color-mix(in oklch, var(--indigo) 25%, var(--line)); }
.mod__t { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mod__d { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ── pipeline (HTML nodes so it reflows on mobile) ────────────────────────── */
.pipe { display: flex; align-items: stretch; gap: 0; margin-top: 8px; }
.pipe__node {
    flex: 1; min-width: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 16px 14px; text-align: center;
    position: relative;
    transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pipe__node:hover { translate: 0 -3px; box-shadow: var(--shadow-card); border-color: color-mix(in oklch, var(--indigo) 30%, var(--line)); }
.pipe__stage { font-size: 13px; font-weight: 700; }
.pipe__n { font-family: var(--mono); font-size: 21px; font-weight: 600; color: var(--indigo-deep); margin-top: 4px; font-variant-numeric: tabular-nums; }
.pipe__link { flex: 0 0 34px; display: grid; place-items: center; position: relative; }
.pipe__link::before {
    content: ""; position: absolute; inset-inline: -1px; top: 50%;
    height: 2px; background: var(--line);
}
.pipe__link i {
    width: 7px; height: 7px; border-radius: 50%; background: var(--indigo);
    position: relative; z-index: 1;
    box-shadow: 0 0 0 3px var(--paper);
    animation: travel 3s ease-in-out infinite;
}
.pipe__link:nth-of-type(2) i { animation-delay: .3s; }
.pipe__link:nth-of-type(4) i { animation-delay: .6s; }
.pipe__link:nth-of-type(6) i { animation-delay: .9s; }
.pipe__link:nth-of-type(8) i { animation-delay: 1.2s; }
@keyframes travel {
    0%, 100% { translate: -12px 0; opacity: .25; }
    50%      { translate: 12px 0; opacity: 1; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
    font-size: 13.5px; color: var(--ink-2);
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 7px 15px;
}
.chip b { color: var(--indigo-deep); font-weight: 700; }

/* ── feature rows ─────────────────────────────────────────────────────────── */
.row {
    display: grid; gap: clamp(32px, 5vw, 60px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    margin-bottom: clamp(56px, 7vw, 88px);
}
.row:last-child { margin-bottom: 0; }
.row--flip .row__text { order: 2; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 14px; }
.row p { color: var(--ink-2); }

/* ── stats ────────────────────────────────────────────────────────────────── */
.stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px; margin-top: 44px;
    border-top: 1px solid var(--line); padding-top: 32px;
}
.stat__n { font-family: var(--mono); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600; color: var(--indigo-deep); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat__l { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }

/* ── proof panel ──────────────────────────────────────────────────────────── */
.proof { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 60px); align-items: center; }
.proof__panel { background: var(--indigo-tint); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 40px); }
.proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.proof__n { font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; color: var(--indigo-deep); font-variant-numeric: tabular-nums; }
.proof__l { font-size: 12.5px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-top: 4px; }

/* ── contact ──────────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.channel {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: var(--r-md);
    background: var(--surface); border: 1px solid var(--line);
    transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease;
    margin-bottom: 12px;
}
.channel:hover { translate: 0 -2px; box-shadow: var(--shadow-card); border-color: color-mix(in oklch, var(--indigo) 30%, var(--line)); }
.channel__i { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--indigo-tint); display: grid; place-items: center; flex: none; }
.channel__i svg { width: 18px; height: 18px; stroke: var(--indigo-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel__t { font-weight: 700; font-size: 14.5px; }
.channel__d { font-size: 13px; color: var(--ink-3); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-card); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field label span { color: var(--cancel); }
.field input, .field textarea {
    width: 100%; padding: 11px 13px;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper); font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--indigo);
    box-shadow: 0 0 0 3px var(--indigo-ring);
}
.field textarea { resize: vertical; min-height: 88px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }
.form__note a { color: var(--indigo-deep); text-decoration: underline; text-underline-offset: 2px; }

.note {
    margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm);
    font-size: 14px; display: none;
}
.note--err { background: var(--cancel-bg); color: var(--cancel); }
.note--err a { font-weight: 700; text-decoration: underline; }
.note.show { display: block; }

.success { text-align: center; padding: 30px 10px; }
.success__i { width: 52px; height: 52px; border-radius: 50%; background: var(--done-bg); display: grid; place-items: center; margin: 0 auto 16px; }
.success__i svg { width: 26px; height: 26px; stroke: var(--done); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── footer ───────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding-block: 44px; background: var(--surface); }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--ink-3); }
.footer__links a:hover { color: var(--indigo-deep); }
.footer__base { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }

/* ── reveal (JS-gated so no-JS never hides anything) ──────────────────────── */
html.js .reveal {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .6s ease, translate .6s cubic-bezier(.25,.1,.25,1);
    transition-delay: var(--d, 0ms);
}
html.js .reveal.in-view { opacity: 1; translate: 0 0; }

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .hero__grid, .row, .proof, .contact { grid-template-columns: minmax(0, 1fr); }
    .row--flip .row__text { order: 0; }
    .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nav__links { display: none; }
}
@media (max-width: 760px) {
    .pipe { flex-direction: column; }
    .pipe__link { flex: 0 0 26px; }
    .pipe__link::before { inset-inline: auto; left: 50%; top: -1px; bottom: -1px; height: auto; width: 2px; }
    .pipe__link i { animation-name: travel-v; }
    @keyframes travel-v {
        0%, 100% { translate: 0 -9px; opacity: .25; }
        50%      { translate: 0 9px; opacity: 1; }
    }
    .grid--2, .grid--4, .stats, .form__row, .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .grid--2, .grid--4, .grid--5, .form__row { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .mk__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk__side { width: 54px; }
    .mk__side-item span { display: none; }
    .card { padding: 20px; }
}

/* ── motion off ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    html.js .reveal { opacity: 1; translate: none; }
}

/* Tick list — used by the free-trial section. Custom marker rather than list-style
   so the tick keeps the accent colour while the text stays readable ink. */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.95rem; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 15px; height: 8px; border-left: 2.5px solid var(--done);
  border-bottom: 2.5px solid var(--done); transform: rotate(-45deg);
}
