/* Digipo landing page */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/geist-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --paper: #ffffff;
    --paper-2: #f7f6fb;
    --paper-3: #efedf7;
    --ink: #16133a;
    --ink-2: #47436a;
    --ink-3: #6b6789;
    --line: #e6e3f0;
    --line-2: #d8d4e7;
    --violet: #6a4ef2;
    --violet-ink: #5236db;
    --violet-50: #f2efff;
    --violet-100: #e4ddff;
    --green: #0b7653;
    --green-50: #e3f6ee;
    --amber: #8f5208;
    --amber-50: #fdf1dc;
    --blue: #2563c9;
    --blue-50: #e5eefc;
    --red: #c23a2f;
    --red-50: #fdecea;
    --surface: #ffffff;
    --panel: #16133a;
    --header-bg: rgba(255, 255, 255, .86);
    --qr: #16133a;
    --shadow-0: 0 1px 1px rgba(22, 19, 58, .04);
    color-scheme: light;

    --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --r-sm: 8px;
    --r-lg: 16px;
    --shadow-1: 0 1px 2px rgba(22, 19, 58, .06), 0 2px 6px rgba(22, 19, 58, .04);
    --shadow-2: 0 2px 4px rgba(22, 19, 58, .04), 0 12px 32px -8px rgba(22, 19, 58, .14), 0 32px 64px -24px rgba(22, 19, 58, .18);
    --shadow-3: 0 4px 8px rgba(22, 19, 58, .06), 0 20px 48px -12px rgba(22, 19, 58, .28);

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 10vw, 128px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"] {
    --paper: #100e24;
    --paper-2: #151330;
    --paper-3: #23203f;
    --surface: #1a1838;
    --panel: #1f1c47;
    --ink: #efedff;
    --ink-2: #bdb9dc;
    --ink-3: #928eb6;
    --line: #2a2749;
    --line-2: #3a365f;
    --violet-ink: #b0a1ff;
    --violet-50: rgba(124, 99, 255, .16);
    --violet-100: rgba(124, 99, 255, .32);
    --green: #4fd4a0;
    --green-50: rgba(79, 212, 160, .13);
    --amber: #f2bb5c;
    --amber-50: rgba(242, 187, 92, .13);
    --blue: #8db4ff;
    --blue-50: rgba(141, 180, 255, .14);
    --red: #ff8a7e;
    --red-50: rgba(255, 138, 126, .13);
    --header-bg: rgba(16, 14, 36, .82);
    --qr: #16133a;
    --shadow-0: 0 1px 1px rgba(0, 0, 0, .3);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .2);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, .25), 0 12px 32px -8px rgba(0, 0, 0, .5), 0 32px 64px -24px rgba(0, 0, 0, .6);
    --shadow-3: 0 4px 8px rgba(0, 0, 0, .3), 0 20px 48px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #100e24;
        --paper-2: #151330;
        --paper-3: #23203f;
        --surface: #1a1838;
        --panel: #1f1c47;
        --ink: #efedff;
        --ink-2: #bdb9dc;
        --ink-3: #928eb6;
        --line: #2a2749;
        --line-2: #3a365f;
        --violet-ink: #b0a1ff;
        --violet-50: rgba(124, 99, 255, .16);
        --violet-100: rgba(124, 99, 255, .32);
        --green: #4fd4a0;
        --green-50: rgba(79, 212, 160, .13);
        --amber: #f2bb5c;
        --amber-50: rgba(242, 187, 92, .13);
        --blue: #8db4ff;
        --blue-50: rgba(141, 180, 255, .14);
        --red: #ff8a7e;
        --red-50: rgba(255, 138, 126, .13);
        --header-bg: rgba(16, 14, 36, .82);
        --qr: #16133a;
        --shadow-0: 0 1px 1px rgba(0, 0, 0, .3);
        --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .2);
        --shadow-2: 0 2px 4px rgba(0, 0, 0, .25), 0 12px 32px -8px rgba(0, 0, 0, .5), 0 32px 64px -24px rgba(0, 0, 0, .6);
        --shadow-3: 0 4px 8px rgba(0, 0, 0, .3), 0 20px 48px -12px rgba(0, 0, 0, .7);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01";
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--violet-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
::selection { background: var(--violet-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--line-2) var(--paper); }
.mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
.id { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 28px; height: 28px; stroke-width: 1.4; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--panel); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: var(--r-sm);
    font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--violet); color: #fff;
    box-shadow: 0 1px 1px rgba(22, 19, 58, .2), inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 16px -6px rgba(106, 78, 242, .7);
}
.btn-primary:hover { background: var(--violet-ink); text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-ghost:hover { border-color: var(--ink-3); text-decoration: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav-mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.link-quiet { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.link-quiet:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.02; letter-spacing: -.04em; font-weight: 600;
}
.lead { margin-top: 24px; font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.assurances { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: 15px; }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances .ic { width: 18px; height: 18px; color: var(--green); stroke-width: 2.2; }
.demo-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); text-align: right; }

.hero-stage { position: relative; padding: 24px 0 72px; }
.calc-sum .calc-hint:not([hidden]) + .btn { margin-top: 20px; }

/* App window (shared by all mockups) */
.app {
    background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
    box-shadow: var(--shadow-2); overflow: hidden; color: var(--ink);
    container-type: inline-size;
}
.app .ic { width: 1.15em; height: 1.15em; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-url { font-size: 12px; color: var(--ink-3); font-family: var(--mono); background: var(--surface); border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }

.app-hero { width: calc(100% + max(80px, (100vw - var(--wrap)) / 2)); font-size: 13px; border-right: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.app-body { display: grid; grid-template-columns: 172px 1fr; min-height: 600px; }
.app-side { background: var(--paper-2); border-right: 1px solid var(--line); padding: 14px 10px; }
.app-org { display: flex; gap: 10px; align-items: center; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 14px; }
.app-org img { width: 16px; height: auto; }
.app-org b { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; }
.app-org small { color: var(--ink-3); font-size: 11px; }
.app-menu { list-style: none; margin: 0; padding: 0; }
.app-menu li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 6px; color: var(--ink-2); font-size: 12.5px; }
.app-menu li.on { background: var(--surface); color: var(--violet-ink); font-weight: 600; box-shadow: var(--shadow-1); }
.app-main { padding: 18px 18px 22px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.app-title { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.app-head small { color: var(--ink-3); font-size: 11.5px; }
.app-head-actions { display: flex; gap: 8px; }
.app-search { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 11.5px; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; white-space: nowrap; }
.app-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--violet); color: #fff; font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.col { background: var(--paper-2); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.col-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); padding: 2px 4px 4px; }
.col-h em { font-style: normal; color: var(--ink-3); font-weight: 500; margin-left: auto; }
.pip { width: 7px; height: 7px; border-radius: 50%; }
.pip-new { background: var(--blue); }
.pip-quote { background: #d68a12; }
.pip-job { background: var(--violet); }
.pip-inv { background: var(--green); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; box-shadow: var(--shadow-0); }
.tile b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.tile small { display: block; color: var(--ink-3); font-size: 10.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-f { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; margin-top: 9px; font-size: 10.5px; }
.tile-f .mono { font-weight: 500; }
.tile-ghost { border-style: dashed; background: transparent; min-height: 64px; box-shadow: none; }
.tile-live { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-50); }
.who { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--violet-100); color: var(--violet-ink); font-size: 9px; font-weight: 600; flex: none; }
.who.w2 { background: var(--green-50); color: var(--green); }
.who.w3 { background: var(--amber-50); color: var(--amber); }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 500; padding: 2px 7px; border-radius: 999px; background: var(--paper-3); color: var(--ink-2); white-space: nowrap; }
.chip-green { background: var(--green-50); color: var(--green); }
.chip-amber { background: var(--amber-50); color: var(--amber); }
.chip-violet { background: var(--violet-50); color: var(--violet-ink); }
.chip-blue { background: var(--blue-50); color: var(--blue); }

/* Hero record card */
.record {
    position: absolute; right: 3%; bottom: 0; width: 300px; z-index: 3;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
    box-shadow: var(--shadow-3); padding: 16px 18px 18px; font-size: 13px;
}
.record-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.record-kind {
    display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
    padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue);
    transition: background-color .5s var(--ease), color .5s var(--ease);
}
.record[data-stage="1"] .record-kind { background: var(--amber-50); color: var(--amber); }
.record[data-stage="2"] .record-kind { background: var(--violet-50); color: var(--violet-ink); }
.record[data-stage="3"] .record-kind { background: var(--green-50); color: var(--green); }
.record-no { font-size: 12px; color: var(--ink-3); }
.record-title { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.record-sub { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.record-rail { list-style: none; padding: 0; margin: 14px 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.record-rail li { font-size: 10px; color: var(--ink-3); padding-top: 8px; position: relative; transition: color .4s; }
.record-rail li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .5s var(--ease); }
.record[data-stage="0"] .record-rail li:nth-child(-n+1)::before,
.record[data-stage="1"] .record-rail li:nth-child(-n+2)::before,
.record[data-stage="2"] .record-rail li:nth-child(-n+3)::before,
.record[data-stage="3"] .record-rail li::before { background: var(--violet); }
.record[data-stage="0"] .record-rail li:nth-child(1),
.record[data-stage="1"] .record-rail li:nth-child(2),
.record[data-stage="2"] .record-rail li:nth-child(3),
.record[data-stage="3"] .record-rail li:nth-child(4) { color: var(--ink); font-weight: 600; }
.record-lines { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 5px; font-size: 12px; color: var(--ink-2); }
.record-lines div { display: flex; justify-content: space-between; gap: 10px; }
.record-total { color: var(--ink); font-weight: 600; border-top: 1px dashed var(--line-2); padding-top: 6px; margin-top: 2px; }
.record-status { margin-top: 12px; font-size: 12px; color: var(--ink-2); background: var(--paper-2); border-radius: 8px; padding: 8px 10px; min-height: 34px; }
.record-status.flash { animation: flash .7s var(--ease); }
@keyframes flash { from { background: var(--violet-50); } to { background: var(--paper-2); } }
.record-replay { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--violet-ink); font-size: 12px; font-weight: 500; cursor: pointer; }
.record-replay .ic { width: 15px; height: 15px; }

.toast {
    position: absolute; left: -7%; bottom: 120px; z-index: 3; display: flex; gap: 10px; align-items: center;
    background: var(--panel); color: #fff; border-radius: 12px; padding: 12px 16px 12px 12px;
    box-shadow: var(--shadow-3); font-size: 13px; max-width: 290px;
    opacity: 0; transform: translateY(8px) scale(.98); filter: blur(4px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; filter: none; }
.toast b { display: block; font-weight: 600; }
.toast small { color: #c9c5e8; font-size: 12px; }
.toast-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--violet); flex: none; }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; gap: 14px; padding: 28px 24px; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact .ic { color: var(--violet); margin-top: 3px; }
.fact p { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.fact b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }

/* Sections */
.section { padding: var(--section) 0; }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 40em; }

/* Workflow tabs */
.flow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.flow-steps { display: flex; flex-direction: column; gap: 6px; position: relative; }
.flow-step {
    display: flex; gap: 16px; text-align: left; background: none; border: 1px solid transparent; border-radius: 12px;
    padding: 18px 18px; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s, box-shadow .25s;
}
.flow-step:hover { background: var(--paper-2); }
.flow-step[aria-selected="true"] { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.flow-n {
    flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line-2);
    transition: background-color .25s, color .25s, border-color .25s;
}
.flow-step[aria-selected="true"] .flow-n { background: var(--violet); border-color: var(--violet); color: #fff; }
.flow-t b { display: block; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.flow-t { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows .4s var(--ease); }
.flow-step[aria-selected="true"] .flow-t { grid-template-rows: auto 1fr; }
.flow-t span { display: block; min-height: 0; overflow: hidden; color: var(--ink-3); font-size: 15px; line-height: 1.5; opacity: 0; transition: opacity .3s; }
.flow-t span::before { content: ""; display: block; height: 4px; }
.flow-step[aria-selected="true"] .flow-t span { opacity: 1; }
.flow-panes { position: sticky; top: 96px; }
.app-pane { font-size: 14px; }
.app-pane:not([hidden]) { animation: pane-in .45s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.pane-body { padding: clamp(18px, 3cqw, 28px); }
.pane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 16px; }
.pane-head b { font-weight: 600; letter-spacing: -.01em; }
.pane-head .id { color: var(--ink-3); font-weight: 400; font-size: 14px; margin-left: 4px; }

.form-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-mock label { display: grid; gap: 4px; }
.form-mock .wide { grid-column: 1 / -1; }
.form-mock small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.in { display: flex; align-items: center; gap: 8px; min-height: 38px; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 11px; font-size: 13.5px; background: var(--surface); }
.in-area { min-height: 72px; align-items: flex-start; line-height: 1.5; }
.pane-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--green); }
.pane-foot .app-btn { font-size: 13px; padding: 8px 14px; }

.paper { border: 1px solid var(--line); border-radius: 10px; padding: clamp(14px, 2.6cqw, 22px); background: linear-gradient(var(--paper), var(--paper-2)); }
.paper-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.paper-top small { display: block; font-size: 11.5px; color: var(--ink-3); }
.paper-top b { font-size: 14px; font-weight: 600; }
.lines { width: 100%; border-collapse: collapse; font-size: 13px; }
.lines th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--ink-3); padding: 6px 0; border-bottom: 1px solid var(--line); }
.lines td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.lines th:not(:first-child), .lines td:not(:first-child) { text-align: right; padding-left: 12px; white-space: nowrap; }
.lines tfoot td { border: 0; padding-top: 10px; }
.lines tfoot .sum td { color: var(--ink); font-weight: 600; font-size: 14.5px; padding-top: 4px; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.signature svg { width: 120px; height: 30px; fill: none; stroke: var(--violet-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signature small { font-size: 12px; color: var(--green); font-weight: 500; }
.app-pane:not([hidden]) .signature path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.job { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 1px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.timeline li.done::after { background: var(--violet); border-color: var(--violet); }
.timeline li.now::after { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.timeline b { display: block; font-size: 13.5px; font-weight: 600; }
.timeline small { font-size: 12px; color: var(--ink-3); }
.job-side { display: grid; gap: 12px; align-content: start; }
.job-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.job-box small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-bottom: 6px; }
.job-box p { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; color: var(--ink-2); }
.job-box .ic { color: var(--ink-3); }
.sms { background: var(--violet-50); color: var(--ink) !important; border-radius: 10px 10px 10px 2px; padding: 8px 10px !important; line-height: 1.45; }

.invoice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inv-sum { grid-column: 1 / -1; border-radius: 12px; padding: 20px; background: var(--panel); color: #fff; }
.inv-sum small { color: #bdb8e3; font-size: 12px; }
.inv-sum b { display: block; font-size: clamp(26px, 6cqw, 40px); font-weight: 600; letter-spacing: -.03em; margin: 2px 0 4px; }
.inv-sum span { font-size: 12.5px; color: #d6d3ef; }
.inv-sync, .inv-from { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.inv-sync small, .inv-from small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
.sync-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 6px 0; color: var(--ink-3); }
.sync-row.on { color: var(--ink); font-weight: 600; }
.sync-row + .sync-row { border-top: 1px solid var(--line); }
.inv-from p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* Deep dives */
.dive { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dive + .dive { margin-top: clamp(64px, 9vw, 112px); }
.dive-flip .dive-copy { order: 2; }
.dive-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.dive-copy > p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.ticks .ic { width: 18px; height: 18px; color: var(--violet); stroke-width: 2.2; margin-top: 3px; }

.app-dive { font-size: 14px; padding: clamp(18px, 3cqw, 28px); }
.cust-id { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-100); color: var(--violet-ink); font-weight: 600; }
.cust-id b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cust-id small { color: var(--ink-3); font-size: 13px; }
.cust-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; border: 1px solid var(--line); border-radius: 10px; }
.cust-kpis div { padding: 12px 14px; }
.cust-kpis div + div { border-left: 1px solid var(--line); }
.cust-kpis small { display: block; font-size: 12px; color: var(--ink-3); }
.cust-kpis b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.cust-hist { list-style: none; margin: 0; padding: 0; }
.cust-hist li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cust-hist .id { color: var(--ink-3); font-size: 13px; }

.org-co { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.org-co .ic { color: var(--violet); }
.org-co b { font-weight: 600; }
.org-co small { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }
.org-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.org-br { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.org-br > b { display: block; font-size: 14px; font-weight: 600; }
.org-br > small { color: var(--violet-ink); font-size: 11.5px; }
.org-br ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.org-br li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.org-br em { font-style: normal; margin-left: auto; color: var(--ink-3); font-size: 11.5px; }
.org-log { background: var(--paper-2); border-radius: 10px; padding: 12px 14px; }
.org-log small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-bottom: 4px; }
.org-log p { font-size: 12.5px; color: var(--ink-2); padding: 3px 0; }
.org-log .id { color: var(--ink-3); margin-right: 10px; }

.stats-head b { display: block; font-size: 16px; font-weight: 600; }
.stats-head small { color: var(--ink-3); font-size: 13px; }
.bars { width: 100%; height: auto; margin: 18px 0 10px; overflow: visible; }
.bars .grid path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.bars .bar rect { fill: var(--violet-100); }
.bars .bar rect.now { fill: var(--violet); }
.bars .lbl text { font-family: var(--font); font-size: 10px; font-variant-numeric: tabular-nums; fill: var(--ink-3); text-anchor: middle; }
.stats-foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.stats-foot b { color: var(--ink); font-size: 17px; }
.stats-foot .pos { color: var(--green); font-weight: 500; }

/* Audiences */
.aud { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.aud-col { padding: clamp(28px, 4vw, 48px); }
.aud-col .ic-lg { color: var(--violet); }
.aud-col h3 { margin-top: 18px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; }
.aud-col > p { margin-top: 12px; color: var(--ink-2); }
.aud-auto { background: var(--panel); color: #fff; }
.aud-auto .ic-lg { color: #a996ff; }
.aud-auto > p, .aud-auto .ticks li { color: #d3d0ec; }
.aud-auto .ticks .ic { color: #a996ff; }
.vin { margin-top: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .04); }
.vin small { display: block; font-size: 12px; color: #a9a4cf; }
.vin-no { display: block; font-size: clamp(15px, 1.8vw, 19px); margin: 4px 0; color: #fff; letter-spacing: .04em; overflow-wrap: anywhere; }
.vin-no b { color: #c5b8ff; font-weight: 500; }
.vin-res { font-size: 13.5px; color: #d3d0ec; }

/* Modules */
.mods { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: stretch; }
.mod-core { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-1); }
.mod-core-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mod-core-head img { width: 28px; height: auto; }
.mod-core-head h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.mod-core-head p { color: var(--ink-3); font-size: 15px; }
.mod-price { display: block; margin-left: auto; text-align: right; }
.mod-price b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.mod-price small { color: var(--ink-3); font-size: 13px; }
.mod-feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.mod-feats li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.mod-feats .ic { color: var(--violet); }
.mod-ext-label { margin: 32px 0 12px; font-size: 14px; font-weight: 500; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.mod-ext-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mod-exts { display: grid; gap: 8px; position: relative; }
.mod-ext { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.mod-ext > .ic { color: var(--violet); }
.mod-ext b { display: block; font-weight: 600; }
.mod-ext small { color: var(--ink-3); font-size: 13.5px; line-height: 1.4; display: block; }
.mod-ext .mono { font-size: 15px; font-weight: 600; color: var(--ink); }
.mod-core-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.mod-core-foot span { font-size: 13.5px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.mod-side { display: grid; gap: 20px; grid-template-rows: 1fr auto; }
.mod-stock { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.mod-stock .ic-lg { color: var(--violet); }
.mod-stock h3 { margin-top: 14px; font-size: 1.4rem; letter-spacing: -.025em; }
.mod-stock > p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.mod-stock .ticks { margin-bottom: 24px; }
.mod-stock .mod-price, .mod-full .mod-price { margin: auto 0 0; text-align: left; }
.mod-full { display: flex; flex-direction: column; background: var(--violet); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); box-shadow: 0 20px 40px -20px rgba(106, 78, 242, .7); }
.mod-full h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.mod-full p { margin: 6px 0 18px; color: #f6f3ff; font-size: 15px; }
.mod-full .mod-price small { color: #f0ecff; }

.mod-side { grid-template-rows: 1fr; }
.mod-full .ticks { margin: 0 0 24px; }
.mod-full .ticks li { color: #fff; }
.mod-full .ticks .ic { color: #fff; }
.mod-full .mod-price { margin-top: auto; }
.mod-full .mod-price b { font-size: 2rem; }
.btn-light { margin-top: 20px; background: #fff; color: #5236db; box-shadow: 0 6px 16px -8px rgba(22, 19, 58, .5); }
.btn-light:hover { background: #f2efff; text-decoration: none; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.calc-form { padding: clamp(20px, 3.5vw, 40px); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
legend { font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover { border-color: var(--line-2); background: var(--paper-2); }
.opt input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: var(--surface); transition: background-color .15s, border-color .15s; }
.opt-box .ic { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .25s var(--ease); }
input:checked + .opt-box { background: var(--violet); border-color: var(--violet); }
input:checked + .opt-box .ic { opacity: 1; transform: none; }
input:focus-visible + .opt-box { outline: 2px solid var(--violet); outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--violet); background: var(--violet-50); }
.opt-t b { display: block; font-weight: 600; font-size: 16px; }
.opt-t small { color: var(--ink-3); font-size: 13.5px; }
.opt-p { font-size: 15px; color: var(--ink-2); }
.opt-ext { margin-left: 28px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 500; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: 0; cursor: pointer; color: var(--ink-2); }
.stepper button:hover { background: var(--paper-2); color: var(--ink); }
.stepper button:disabled { color: var(--line-2); cursor: not-allowed; }
.stepper output { min-width: 48px; text-align: center; font-size: 17px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); line-height: 44px; }
.seg { display: inline-flex; background: var(--paper-3); border-radius: 10px; padding: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 14px; border-radius: 7px; font-size: 14.5px; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 1px; }

.calc-sum { background: var(--panel); color: #fff; padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; }
.calc-sum-l { color: #bdb8e3; font-size: 14px; }
.calc-save { margin-top: 14px; font-size: 1.15rem; color: #fff; }
.calc-save b { color: #c5b8ff; font-weight: 600; }
.calc-lines s, .opt-p s, .mod-price s, .mod-free s { color: var(--ink-3); text-decoration-thickness: 1px; }
.calc-lines s { color: #9d98c4; margin-right: 6px; }
.calc-sms { color: #fff; }
.mod-free { font-weight: 600; color: var(--green); white-space: nowrap; }
.mod-free s { font-weight: 400; margin-left: 6px; }
.mod-full .mod-price s { color: #f0ecff; }
.pricelist-note { margin: -8px 0 16px; color: var(--ink-2); font-size: 15px; }
.pricelist .now { color: var(--green); font-weight: 600; }
.pricelist td.num.mono { color: var(--ink-2); }
.promo { background: var(--panel); color: #e6e4f6; font-size: 14.5px; }
.promo-inner { display: flex; justify-content: center; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.promo b { color: #fff; font-weight: 600; }
.promo a { color: #c5b8ff; font-weight: 500; }
.promo a:hover { color: #fff; }
.calc-total { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.calc-total b { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.calc-total span { font-size: 1.4rem; color: #d6d3ef; }
.calc-vat { color: #bdb8e3; font-size: 14px; margin-top: 8px; }
.calc-hint { margin-top: 18px; background: rgba(106, 78, 242, .22); border: 1px solid rgba(169, 150, 255, .35); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #ebe8ff; }
.calc-hint button { background: none; border: 0; padding: 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.calc-lines { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 16px; color: #d6d3ef; }
.calc-lines li span:last-child { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-inc { list-style: none; padding: 22px 0 0; margin: auto 0 0; min-height: 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 14.5px; color: #d6d3ef; }
.calc-inc li { display: flex; gap: 10px; align-items: flex-start; }
.calc-inc .ic { width: 18px; height: 18px; color: #a996ff; stroke-width: 2.2; margin-top: 2px; }
.calc-sum .btn { margin-top: 28px; }

.pricelist { margin-top: clamp(48px, 6vw, 72px); }
.pricelist h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 16px; }
.pricelist table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pricelist th, .pricelist td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricelist thead th { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.pricelist tbody th { font-weight: 600; white-space: nowrap; }
.pricelist td { color: var(--ink-2); }
.pricelist .num { text-align: right; white-space: nowrap; padding-right: 0; padding-left: 16px; }
.pricelist td.num { color: var(--ink); }
.row-full th, .row-full td { background: var(--violet-50); }
.row-full th { padding-left: 12px; border-radius: 8px 0 0 8px; }
.row-full td:last-child { padding-right: 12px; border-radius: 0 8px 8px 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before {
    content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 14px; color: var(--violet-ink);
    position: relative; z-index: 1; margin-bottom: 20px;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 1px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.steps span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-ink); }
.faq summary .ic { color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 62ch; }
.faq details[open] p { animation: pane-in .35s var(--ease); }

/* Contact */
.contact { background: var(--panel); color: #fff; padding: var(--section) 0; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; }
.contact h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.035em; line-height: 1.08; }
.contact-copy > p { margin-top: 18px; color: #d3d0ec; font-size: 1.1rem; max-width: 34em; }
.contact-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; color: #e6e4f6; }
.contact-points li { display: flex; gap: 12px; align-items: center; }
.contact-points .ic { color: #a996ff; }
.contact-points a { color: #fff; }
.contact ::selection { background: var(--violet); color: #fff; }
.contact :focus-visible { outline-color: #a996ff; }

.cform { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field > label:not(.check) { font-size: 14px; font-weight: 500; }
.opt-l { color: var(--ink-3); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
    border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 13px; min-height: 46px;
    transition: border-color .2s, box-shadow .2s; caret-color: var(--violet);
}
.field textarea { resize: vertical; min-height: 92px; }
.field ::placeholder { color: #8a87a3; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select .ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; position: relative; }
.check .opt-box { margin-top: 1px; }
.err { display: none; color: var(--red); font-size: 13.5px; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid .opt-box { border-color: var(--red); }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-msg { font-size: 14.5px; padding: 10px 14px; border-radius: var(--r-sm); flex-basis: 100%; }
.form-msg.ok { background: var(--green-50); color: var(--green); }
.form-msg.bad { background: var(--red-50); color: var(--red); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.call { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); display: grid; gap: 14px; align-content: start; }
.call small { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.call-no { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.call-no:hover { color: var(--violet-ink); }
.call p { color: var(--ink-2); max-width: 40ch; }
.call .btn { margin-top: 8px; }
.call-alt { font-size: 14.5px; }

/* Footer */
.footer { background: var(--paper); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.1fr; gap: 32px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 14px; color: var(--ink-3); font-size: 15px; max-width: 28ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col b { font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--violet-ink); text-decoration: underline; }
.muted { color: var(--ink-3); line-height: 1.6; }
.footer-bottom { margin-top: 48px; color: var(--ink-3); }
.footer-bottom small { display: block; padding-top: 24px; border-top: 1px solid var(--line); }


/* Theme-dependent artwork */
:root[data-theme="dark"] .brand img, :root[data-theme="dark"] .footer-brand img,
:root[data-theme="dark"] .app-org img, :root[data-theme="dark"] .mod-core-head img { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand img, :root:not([data-theme="light"]) .footer-brand img,
    :root:not([data-theme="light"]) .app-org img, :root:not([data-theme="light"]) .mod-core-head img { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
}
.toast, .promo, .aud-auto, .calc-sum, .inv-sum { border: 1px solid transparent; }
:root[data-theme="dark"] .toast, :root[data-theme="dark"] .aud-auto, :root[data-theme="dark"] .calc-sum { border-color: var(--line-2); }

/* Theme toggle */
.theme-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-toggle .ic { grid-area: 1 / 1; transition: transform .45s var(--ease), opacity .3s; }
.theme-toggle .ic-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .ic-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-toggle .ic-sun { opacity: 1; transform: none; }
    :root:not([data-theme]) .theme-toggle .ic-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
}
body, .site-header, .section-tint, .app, .tile, .facts, .footer { transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }

/* Page loader */
.loader { display: none; }
.is-loading .loader, .loader.is-leaving {
    display: grid; place-items: center; align-content: center; gap: 28px; position: fixed; inset: 0; z-index: 200; background: var(--paper);
}
.is-loading body { overflow: hidden; }
.loader-mark { width: 64px; height: auto; overflow: visible; }
.loader-mark .lm-a, .loader-mark .lm-b { fill: var(--violet); }
.loader-mark .lm-c, .loader-mark .lm-d { fill: var(--ink); }
.lm-a { animation: lm-a .8s var(--ease) both; }
.lm-b { animation: lm-b .8s .08s var(--ease) both; }
.lm-c { transform-box: fill-box; transform-origin: center; animation: lm-sq .6s .38s var(--ease) both; }
.lm-d { transform-box: fill-box; transform-origin: center; animation: lm-sq .6s .48s var(--ease) both; }
@keyframes lm-a { from { transform: translate(-90px, -70px); opacity: 0; } }
@keyframes lm-b { from { transform: translate(90px, 70px); opacity: 0; } }
@keyframes lm-sq { from { transform: scale(0) rotate(-45deg); opacity: 0; } }
.loader-bar { width: 120px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--violet); transform-origin: left; animation: lm-bar 1.1s .2s var(--ease) both; }
@keyframes lm-bar { from { transform: scaleX(0); } }
.loader.is-leaving { animation: lm-out .6s var(--ease) forwards; pointer-events: none; }
.loader.is-leaving .loader-mark { animation: lm-mark-out .6s var(--ease) forwards; }
@keyframes lm-out { to { opacity: 0; visibility: hidden; } }
@keyframes lm-mark-out { to { transform: scale(1.35); filter: blur(6px); } }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tool { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.tool-sign, .tool-qr { grid-column: span 3; }
.tool-reg, .tool-copy-rec, .tool-bell { grid-column: span 2; }
.tool-mail { grid-column: span 6; flex-direction: row; align-items: stretch; }
.tool-copy { padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 0; }
.tool-mail .tool-copy { flex: 0 0 38%; padding-bottom: 32px; align-self: center; }
.tool-copy .ic-lg { color: var(--violet); }
.tool-copy h3 { margin-top: 14px; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; }
.tool-copy p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.tool-vis { position: relative; margin-top: auto; padding: 28px clamp(22px, 3vw, 32px) 0; display: flex; justify-content: center; align-items: flex-end; gap: 18px; min-height: 220px; background: linear-gradient(to bottom, transparent, var(--paper-2) 40%); }
.tool-mail .tool-vis { flex: 1; margin: 0; padding: 32px; align-items: center; background: var(--paper-2); }
.tool-reg .tool-vis, .tool-copy-rec .tool-vis, .tool-bell .tool-vis { padding-bottom: 24px; align-items: center; }
.tool-vis .ic { width: 16px; height: 16px; }

.phone { width: 200px; border-radius: 28px 28px 0 0; border: 1px solid var(--line-2); border-bottom: 0; background: var(--surface); padding: 10px 10px 0; box-shadow: var(--shadow-2); position: relative; }
.phone-notch { width: 64px; height: 6px; border-radius: 6px; background: var(--paper-3); margin: 2px auto 10px; }
.phone-screen { padding: 4px 8px 16px; display: grid; gap: 8px; }
.ph-k { font-size: 11px; color: var(--ink-3); }
.ph-t { font-size: 14px; font-weight: 600; margin-top: -6px; }
.ph-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ph-row b { color: var(--ink); }
.sigpad { border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px; background: var(--paper-2); }
.sigpad svg { width: 100%; height: 46px; fill: none; stroke: var(--violet-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sigpad small { display: block; font-size: 10px; color: var(--ink-3); border-top: 1px solid var(--line-2); padding-top: 4px; margin-top: 2px; }
.ph-btn { display: block; text-align: center; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--violet); border-radius: 8px; padding: 9px; }
.stamp { position: absolute; right: clamp(16px, 8%, 56px); top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; box-shadow: var(--shadow-2); transform: rotate(-4deg); }
.tool-sign:hover .sigpad path { animation: draw 1.2s var(--ease); stroke-dasharray: 320; }

.qr-card { align-self: center; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; width: 168px; box-shadow: var(--shadow-2); display: grid; gap: 4px; text-align: center; }
.qr { width: 100%; height: auto; border-radius: 6px; }
.qr rect { fill: var(--qr); }
.qr .qr-bg { fill: #fff; }
.qr-card small { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.qr-card b { font-size: 12.5px; font-weight: 600; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shots svg, .shot-add { width: 100%; aspect-ratio: 1; border-radius: 8px; display: block; }
.sh-sky { fill: #9fc3e6; } .sh-glass { fill: #dbe9f5; stroke: #5f7d99; stroke-width: 1.5; } .sh-crack { fill: none; stroke: #2f4255; stroke-width: 1.3; stroke-linecap: round; }
.sh-dark { fill: #3b3f48; } .sh-tyre { fill: #1d1f24; } .sh-rim { fill: #9aa3ad; }
.sh-plate-bg { fill: #c9ccd3; } .sh-plate { fill: #fff; stroke: #2b3a8f; stroke-width: 1.5; } .sh-plate-t { stroke: #1d1f24; stroke-width: 3; }
.shot-add { display: grid; place-items: center; border: 1.5px dashed var(--line-2); color: var(--ink-3); }

.lookup { width: 100%; max-width: 320px; display: grid; gap: 6px; }
.lk-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; }
.lk-in small { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.lk-ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.lk-ok .ic { width: 12px; height: 12px; stroke-width: 3; }
.lk-out { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-2); padding: 2px 12px 8px; }
.lk-out span:first-child { color: var(--ink); font-weight: 600; }

.menu-mock { width: 100%; max-width: 300px; display: grid; gap: 8px; }
.mm-rec { display: flex; gap: 10px; align-items: baseline; font-size: 13px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 12px; }
.mm-rec .id { color: var(--ink-3); font-size: 11.5px; }
.menu-mock ul { list-style: none; margin: 0 0 0 28px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-2); font-size: 12.5px; }
.menu-mock li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); }
.menu-mock li.on { background: var(--violet-50); color: var(--violet-ink); font-weight: 600; }
.mm-done { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 500; padding-left: 4px; }

.notif { list-style: none; margin: 0; padding: 6px; width: 100%; max-width: 320px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-2); }
.notif li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 8px; border-radius: 8px; position: relative; }
.notif li + li { border-top: 1px solid var(--line); }
.notif li.new::after { content: ""; position: absolute; right: 10px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.n-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.n-green { background: var(--green-50); color: var(--green); } .n-blue { background: var(--blue-50); color: var(--blue); } .n-violet { background: var(--violet-50); color: var(--violet-ink); }
.notif b { display: block; font-size: 12.5px; font-weight: 600; padding-right: 14px; }
.notif small { font-size: 11px; color: var(--ink-3); }

.tpl { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-2); overflow: hidden; font-size: 13.5px; }
.tpl-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.tpl-bar b { font-weight: 600; }
.tpl-f { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tpl-f small { font-size: 12px; color: var(--ink-3); padding-top: 2px; }
.tpl-body span { line-height: 1.6; color: var(--ink-2); }
.var { font-style: normal; font-size: 12px; font-weight: 500; color: var(--violet-ink); background: var(--violet-50); border: 1px solid var(--violet-100); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.tpl-cta { padding: 14px 16px; }
.tpl-cta .app-btn { font-size: 12.5px; padding: 8px 14px; }

/* Roles matrix */
.perm { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 12.5px; }
.perm caption { text-align: left; font-size: 11.5px; color: var(--ink-3); font-weight: 500; padding-bottom: 6px; }
.perm th, .perm td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.perm thead th { font-weight: 500; font-size: 11px; color: var(--ink-3); }
.perm tbody th { text-align: left; font-weight: 600; }
.perm td.y { color: var(--violet-ink); }
.perm td.y .ic { width: 15px; height: 15px; margin: 0 auto; stroke-width: 2.4; }
.perm td:not(.y)::before { content: ""; display: block; width: 8px; height: 1px; margin: 0 auto; background: var(--line-2); }

@media (max-width: 980px) {
    .tool-sign, .tool-qr { grid-column: span 6; }
    .tool-reg, .tool-copy-rec, .tool-bell { grid-column: span 3; }
    .tool-bell { grid-column: span 6; }
    .tool-mail { flex-direction: column; }
    .tool-mail .tool-copy { flex: none; }
}
@media (max-width: 720px) {
    .tools { grid-template-columns: 1fr; }
    .tool-sign, .tool-qr, .tool-reg, .tool-copy-rec, .tool-bell, .tool-mail { grid-column: auto; }
    .tool-qr .tool-vis { gap: 10px; }
    .qr-card { width: 132px; }
    .phone { width: 172px; }
    .stamp { right: 12px; }
    .tpl-f { grid-template-columns: 1fr; gap: 2px; }
    .theme-toggle { width: 38px; height: 38px; }
}


/* Google Calendar tool */
.tool-gcal { grid-column: span 6; flex-direction: row-reverse; align-items: stretch; }
.tool-gcal .tool-copy { flex: 0 0 38%; padding-bottom: 32px; align-self: center; }
.tool-gcal .tool-vis { flex: 1; margin: 0; padding: 32px; align-items: center; background: var(--paper-2); }
.tool-note { font-size: 14px !important; color: var(--ink-3) !important; }
.cal { width: 100%; max-width: 620px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-2); overflow: hidden; font-size: 12px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); flex-wrap: wrap; }
.cal-head b { font-size: 13.5px; font-weight: 600; }
.cal-sync { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 500; }
.cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 170px; }
.cal-day { padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.cal-day + .cal-day { border-left: 1px solid var(--line); }
.cal-day small { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.ev { display: block; border-radius: 6px; padding: 6px 7px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.ev em { display: block; font-style: normal; font-weight: 400; font-size: 10.5px; margin-top: 2px; opacity: .85; }
.ev-d { background: var(--violet-50); color: var(--violet-ink); box-shadow: inset 2px 0 0 var(--violet); }
.ev-g { background: var(--paper-3); color: var(--ink-2); box-shadow: inset 2px 0 0 var(--ink-3); }
.cal-legend { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11.5px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; box-shadow: none; }
.cal-legend i.ev-d { background: var(--violet); }
.cal-legend i.ev-g { background: var(--ink-3); }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.legal-toc b { font-weight: 600; margin-bottom: 8px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; padding: 5px 10px; border-radius: 6px; margin-left: -10px; }
.legal-toc a:hover { color: var(--ink); background: var(--paper-2); }
.legal-alt { margin-top: 16px; color: var(--ink-3); font-size: 13.5px; }
.legal-alt a { padding: 0; margin: 0; color: var(--violet-ink); text-decoration: underline; }
.legal-body { max-width: 72ch; min-width: 0; }
.legal-body h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; line-height: 1.1; }
.legal-body h2 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.25; margin: 2.4em 0 .7em; scroll-margin-top: 96px; }
.legal-body h3 { font-size: 1.1rem; letter-spacing: -.01em; margin: 1.8em 0 .5em; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal-body p + p { margin-top: .8em; }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: .8em 0; display: grid; gap: .5em; }
.legal-alpha { list-style: lower-alpha; }
.legal-body code { font-family: var(--mono); font-size: .86em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; overflow-wrap: anywhere; }
.legal-meta { color: var(--ink-3) !important; font-size: 14.5px !important; margin-top: 12px; }
.legal-table { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line-2); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.legal-table-sm table { min-width: 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; }
.legal-table tr:last-child > * { border-bottom: 0; }
.legal-table thead th { background: var(--paper-2); color: var(--ink-3); font-weight: 500; font-size: 13px; }
.legal-table tbody th { color: var(--ink); font-weight: 600; }
.legal-table tbody th small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-top: 4px; }
.legal-table td + td, .legal-table th + td { border-left: 1px solid var(--line); }
.legal-table tbody th[rowspan] { border-bottom: 1px solid var(--line); }
.legal-google { margin-top: 2.4em; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line-2); scroll-margin-top: 96px; }
.legal-google h2 { margin-top: 0; }
.legal-en { background: var(--surface); }
.legal-limited { margin-top: 1.2em !important; padding: 14px 16px; border-radius: 10px; background: var(--violet-50); color: var(--ink) !important; }
.legal-annex { margin-top: 3em; padding-top: 1em; border-top: 1px solid var(--line-2); }
@media (max-width: 980px) {
    .legal-grid { grid-template-columns: minmax(0, 1fr); }
    .legal-toc { position: static; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; }
    .tool-gcal { flex-direction: column; }
    .tool-gcal .tool-copy { flex: none; }
}
@media (max-width: 720px) {
    .tool-gcal { grid-column: auto; }
    .cal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cal-day:nth-child(n+4) { display: none; }
}

/* Responsive */
@media (max-width: 1100px) {
    .app-hero { width: 100%; border-right: 1px solid var(--line-2); border-radius: var(--r-lg); }
    .record { right: 0; }
    .toast { left: -8px; }
}
@media (max-width: 980px) {
    .nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.is-open {
        display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; box-shadow: var(--shadow-2);
    }
    .nav.is-open a { padding: 12px 8px; font-size: 17px; }
    .nav.is-open .nav-mobile-only { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-stage { padding-top: 8px; }
    .demo-note { text-align: left; }
    .facts-row { grid-template-columns: 1fr 1fr; }
    .fact { padding: 22px 20px 22px 0; }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .fact + .fact:nth-child(even) { padding-left: 20px; }
    .flow { grid-template-columns: 1fr; }
    .flow-panes { position: static; }
    .dive, .dive-flip { grid-template-columns: 1fr; }
    .dive-flip .dive-copy { order: 0; }
    .mods { grid-template-columns: 1fr; }
    .mod-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .calc { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
    .steps li:nth-child(2)::after { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-head { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .link-quiet { display: none; }
    .app-body { grid-template-columns: 1fr; min-height: 0; }
    .app-side { display: none; }
    .app-search { display: none; }
    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .board .col:nth-child(n+3) { display: none; }
    .hero-stage { padding-bottom: 0; }
    .record { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
    .toast { left: auto; right: 8px; bottom: auto; top: -14px; max-width: 260px; }
    .aud { grid-template-columns: 1fr; }
    .mod-side { grid-template-columns: 1fr; }
    .mod-feats { grid-template-columns: 1fr; }
    .mod-price { margin-left: 0; text-align: left; width: 100%; }
    .opt-ext { margin-left: 16px; }
    .job, .invoice, .org-branches { grid-template-columns: 1fr; }
    .form-mock { grid-template-columns: 1fr; }
    .pricelist thead th:nth-child(2), .pricelist td:nth-child(2) { display: none; }
    .pricelist th, .pricelist td { font-size: 14.5px; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .steps li { padding: 0 0 0 56px; }
    .steps li::before { position: absolute; left: 0; top: -4px; margin: 0; }
    .steps li::after { left: 18px; top: 36px; bottom: -28px; right: auto; width: 1px; height: auto; display: block; }
    .steps li:nth-child(2)::after { display: block; }
    .steps li:last-child::after { display: none; }
    .cform { grid-template-columns: 1fr; }
    .cust-kpis { grid-template-columns: 1fr 1fr; }
    .cust-kpis div:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
    .facts-row { grid-template-columns: 1fr; }
    .fact, .fact + .fact:nth-child(even) { padding: 18px 0; border-left: 0; }
    .fact + .fact { border-top: 1px solid var(--line); }
    .hero-cta .btn { flex: 1 1 100%; }
    .btn-sm { padding: 0 12px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
.mod-core .mod-price b, .mod-stock .mod-price b { color: var(--green); }
