/* ════════════════════════════════════════════════════════════
   Syzygia — public website, v3 design system
   Light by default; dark theme via html[data-theme="dark"]
   (toggled by consent.js, applied before paint by theme-init.js).
   Fonts are self-hosted (fonts/fonts.css) — no third-party requests.
   ════════════════════════════════════════════════════════════ */

:root {
    --bg: #fafbfd;
    --panel: #ffffff;
    --panel-2: #f2f4f8;
    --line: #eceff5;
    --line-2: #dfe3ec;
    --text: #0f172a;          /* headings, strong text */
    --text-2: #3b4356;        /* body */
    --text-3: #5b6577;        /* muted (AA on white and --bg) */
    --deco: #94a3b8;          /* decoration only, never body text */
    --acc: #6366f1;
    --acc-ink: #4338ca;
    --acc-bg: #eef0fe;
    --ok: #047857;
    --ok-bg: #ecfdf5;
    --warn: #92400e;
    --warn-bg: #fffbeb;
    --warn-line: #f59e0b;
    --bad: #b91c1c;
    --grad: linear-gradient(120deg, #7c3aed, #2563eb);
    --shadow-lg: 0 40px 90px rgba(15, 23, 42, .14);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, .08);
    --header-bg: rgba(250, 251, 253, .86);
    --input-bg: #ffffff;
    --sans: 'Geist', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Legacy aliases used by the legal pages' content blocks */
    --bg-raised: var(--panel);
    --surface-2: var(--panel-2);
    --border: var(--line-2);
    --border-hover: #c9cfdb;
    --purple-ink: var(--acc-ink);
    --chip-purple-bg: var(--acc-bg);
    --chip-purple-border: rgba(99, 102, 241, .3);
    --brand-blue: #2563eb;
    --brand-purple: #7c3aed;
    --hover-wash: rgba(15, 23, 42, .04);
    --card-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    --card-shadow-hover: var(--shadow-md);
    --banner-shadow: 0 20px 60px rgba(15, 23, 42, .18);
    --grid-line: rgba(15, 23, 42, .045);
}

html[data-theme="dark"] {
    --bg: #0b0e14;
    --panel: #121722;
    --panel-2: #192132;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .12);
    --text: #eef1f7;
    --text-2: #bcc4d3;
    --text-3: #939db0;
    --deco: #4b5568;
    --acc: #818cf8;
    --acc-ink: #a5b4fc;
    --acc-bg: rgba(129, 140, 248, .14);
    --ok: #6ee7b7;
    --ok-bg: rgba(16, 185, 129, .12);
    --warn: #fcd34d;
    --warn-bg: rgba(245, 158, 11, .12);
    --bad: #fca5a5;
    --shadow-lg: 0 40px 90px rgba(0, 0, 0, .45);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, .35);
    --header-bg: rgba(11, 14, 20, .82);
    --input-bg: rgba(255, 255, 255, .03);
    --border-hover: rgba(255, 255, 255, .22);
    --chip-purple-border: rgba(165, 180, 252, .3);
    --hover-wash: rgba(255, 255, 255, .04);
    --card-shadow: none;
    --banner-shadow: 0 20px 60px rgba(0, 0, 0, .55);
    --grid-line: rgba(255, 255, 255, .03);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text-2);
    font: 15.5px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; color: var(--text); letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap, .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.gradtx, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] .gradtx, html[data-theme="dark"] .grad-text { background: linear-gradient(120deg, #c4b5fd, #93c5fd); -webkit-background-clip: text; background-clip: text; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ─── Buttons & chips ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 99px; padding: 12px 22px; font-weight: 650; font-size: 14.5px; line-height: 1.2;
    white-space: nowrap; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
    border: 1.5px solid transparent; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn.pri, .btn-glow { color: #fff; background: var(--grad); box-shadow: 0 10px 26px rgba(79, 70, 229, .3); }
.btn.gh, .btn-ghost { border-color: var(--line-2); color: var(--text); background: var(--panel); }
.btn.gh:hover, .btn-ghost:hover { border-color: var(--acc); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
.btn.lg, .btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; border-radius: 99px; padding: 4px 12px; line-height: 1.4; }
.chip.acc { color: var(--acc-ink); background: var(--acc-bg); }
.chip.ok { color: var(--ok); background: var(--ok-bg); }
.chip.warn { color: var(--warn); background: var(--warn-bg); }
.chip.line { color: var(--text-2); background: var(--panel); border: 1px solid var(--line-2); }
.eyebrow {
    font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-ink);
    display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .bar { width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.h2, .stitle { font-size: clamp(28px, 4vw, 40px); font-weight: 760; line-height: 1.14; text-wrap: balance; }
.sub { font-size: 17px; color: var(--text-3); max-width: 660px; margin-top: 14px; line-height: 1.65; }
.lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--text-3); max-width: 680px; line-height: 1.65; }
.tbc { font-family: var(--mono); font-size: .85em; color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); border-radius: 4px; padding: 0 4px; }

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; height: 30px; width: auto; }
/* Top bar: just the app icon (owner 2026-10-13); the wordmark stays in the footer and the hero. */
.site-header .brand img.brand-icon { height: 32px; width: 32px; border-radius: 8px; }
/* Brand assets drawn for one background (kit: wordmark-on-light / -on-dark): show the one for the current theme. */
html:not([data-theme="dark"]) .logo-dark, html[data-theme="dark"] .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav .dd > button { font-size: 14px; font-weight: 600; color: var(--text-3); padding: 8px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; }
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--text); background: var(--hover-wash); }
.dd { position: relative; }
.dd > button svg { width: 12px; height: 12px; transition: transform .15s; }
.dd > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-menu {
    position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; background: var(--panel); border: 1px solid var(--line-2);
    border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px; display: none;
}
.dd-menu.wide { min-width: 460px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd.open .dd-menu { display: block; }
.dd.open .dd-menu.wide { display: grid; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 13.5px; color: var(--text-2); font-weight: 550; }
.dd-menu a small { display: block; color: var(--text-3); font-weight: 450; font-size: 12px; margin-top: 1px; }
.dd-menu a:hover { background: var(--panel-2); color: var(--text); }
.dd-menu .dd-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; color: var(--acc-ink); font-weight: 650; }
.hdr-right { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr-link { font-size: 14px; font-weight: 600; color: var(--text-3); padding: 8px 8px; }
.hdr-link:hover { color: var(--text); }
.icon-btn, .theme-toggle {
    width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); display: inline-grid; place-items: center;
    color: var(--text-3); font-size: 11.5px; font-weight: 700; font-family: var(--mono); background: var(--panel);
}
.icon-btn:hover, .theme-toggle:hover { color: var(--text); border-color: var(--border-hover); }
.theme-toggle svg, .icon-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
/* Language menu (i18n.js): globe + current code, a dropdown of codes */
.lang-dd { position: relative; }
.lang-btn {
    height: 34px; padding: 0 10px 0 9px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel);
    display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; font-weight: 700; font-family: var(--mono);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--text); border-color: var(--border-hover); }
.lang-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 112px; margin: 0; padding: 6px; list-style: none;
    background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
    display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: none;
    color: var(--text-2); font: 600 13.5px/1.2 var(--sans, inherit); letter-spacing: .02em; cursor: pointer;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--panel-2); color: var(--text); outline: none; }
.lang-menu button:focus-visible { box-shadow: inset 0 0 0 2px var(--acc); }
.lang-menu button[aria-checked="true"] { background: var(--acc-soft, rgba(99, 102, 241, .1)); color: var(--acc-ink); }
.lang-btn:focus-visible, .m-lang button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.m-lang { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
    .hdr-link.signin, .hdr-right .btn.gh { display: none; }
}
@media (max-width: 960px) {
    .nav { display: none; }
    .site-header .wrap { justify-content: space-between; }
    .menu-btn { display: inline-grid; }
    .hdr-right .btn.pri { display: none; }
    .mobile-nav.open { display: block; border-top: 1px solid var(--line); background: var(--panel); max-height: calc(100vh - 64px); overflow-y: auto; }
    .mobile-nav .wrap { height: auto; display: block; padding-top: 10px; padding-bottom: 20px; }
    .mobile-nav a { display: block; padding: 11px 4px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); }
    .mobile-nav .m-h { font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 16px 0 2px; }
    .mobile-nav .m-sub a { font-weight: 500; color: var(--text-2); padding-left: 12px; }
    .mobile-nav .m-lang { display: block; }
    .m-lang-row { display: flex; gap: 8px; padding: 8px 0 4px; }
    .m-lang-row button {
        flex: 1; padding: 9px 0; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel);
        color: var(--text-2); font: 700 13px/1 var(--mono);
    }
    .m-lang-row button[aria-pressed="true"] { border-color: var(--acc); color: var(--acc-ink); background: var(--acc-soft, rgba(99, 102, 241, .1)); }
    .mobile-nav .m-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
    .mobile-nav .m-ctas a { border: 0; }
}

/* ─── Sections & layout ─── */
section, .band { padding: 88px 0; }
.band.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.tight { padding: 56px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head .h2 { margin-top: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 17px; font-weight: 700; }
.card p { font-size: 14px; color: var(--text-3); margin-top: 8px; line-height: 1.6; }
a.card { display: block; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .more { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 650; color: var(--acc-ink); }
.tico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.t-vio { background: #f1edfd; color: #6d28d9; } .t-blu { background: #e7f0fe; color: #1d4ed8; } .t-grn { background: #e5f7ef; color: #047857; }
.t-org { background: #fdeee1; color: #c2410c; } .t-pnk { background: #fdecf2; color: #be185d; } .t-tea { background: #e2f6f5; color: #0f766e; }
html[data-theme="dark"] .t-vio, html[data-theme="dark"] .t-blu, html[data-theme="dark"] .t-grn,
html[data-theme="dark"] .t-org, html[data-theme="dark"] .t-pnk, html[data-theme="dark"] .t-tea { background: var(--panel-2); }
html[data-theme="dark"] .t-vio { color: #c4b5fd; } html[data-theme="dark"] .t-blu { color: #93c5fd; } html[data-theme="dark"] .t-grn { color: #6ee7b7; }
html[data-theme="dark"] .t-org { color: #fdba74; } html[data-theme="dark"] .t-pnk { color: #f9a8d4; } html[data-theme="dark"] .t-tea { color: #5eead4; }
.card .tico + h3 { margin-top: 14px; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.checks.no li::before { background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center/11px no-repeat; }
.steps { counter-reset: st; list-style: none; padding: 0; margin-bottom: 0; display: grid; gap: 12px; margin-top: 14px; }
.steps li { counter-increment: st; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.steps li::before { content: counter(st); flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--acc-bg); color: var(--acc-ink); font-weight: 750; font-size: 12.5px; display: grid; place-items: center; margin-top: 1px; }

/* ─── Reveal on scroll (site.js adds .in) ─── */
.js .rev { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .rev { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Page hero (inner pages) ─── */
.page-hero { padding: 72px 0 48px; position: relative; overflow: hidden; }
.page-hero::before, .meet::before {
    content: ''; position: absolute; top: -320px; left: 50%; transform: translateX(-50%); width: 1100px; height: 640px;
    background: radial-gradient(closest-side, rgba(124, 58, 237, .12), transparent 70%); pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 820; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; margin-top: 14px; max-width: 900px; }
.page-hero .lead { margin-top: 18px; }
.page-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .ctas { justify-content: center; }
.crumbs { font-size: 13px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ─── Home hero ─── */
.meet { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.meet .wrap { position: relative; }
.meet h1 { font-size: clamp(42px, 8vw, 76px); font-weight: 850; letter-spacing: -.05em; line-height: 1; text-wrap: balance; margin-top: 18px; }
/* "Meet Syzygia": the wordmark replaces the word. Its dot tops sit on the cap height and its baseline on the text
   baseline (Geist caps = .71em; wordmark viewBox 993.5 tall, dot tops 759 above the baseline, so height
   .71 × 993.5 / 759 em and the 224.5-unit descender + padding below the baseline). The word stays in the heading as
   .sr-only text. */
.h-wm { white-space: nowrap; }
.h-wm img { display: inline; height: .929em; width: auto; vertical-align: -.21em; margin-left: .031em; }
.meet .sub2 { font-size: clamp(16.5px, 2.2vw, 19.5px); color: var(--text-3); max-width: 620px; margin: 20px auto 0; line-height: 1.6; }
.meet .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.meet .fine { font-size: 12.5px; color: var(--text-3); margin-top: 14px; }
.appwrap { max-width: 1080px; margin: 46px auto 0; position: relative; text-align: left; }
.appwrap::before { content: ''; position: absolute; inset: -40px -20px; background: radial-gradient(closest-side, rgba(124, 58, 237, .12), transparent 72%); pointer-events: none; }
.frame { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.frame .bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--line-2); }
.frame .bar i:nth-child(1) { background: #ff5f57; } .frame .bar i:nth-child(2) { background: #febc2e; } .frame .bar i:nth-child(3) { background: #28c840; }
.frame .bar .url { margin: 0 auto; background: var(--panel-2); border-radius: 99px; padding: 3px 18px; font-size: 11.5px; color: var(--text-3); }
.demo-note { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 14px; }

/* Chat demo */
.chatbody { height: 520px; display: flex; min-height: 0; }
.cmain { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chd { height: 56px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chd img { width: 34px; height: 34px; border-radius: 50%; }
.chd b { color: var(--text); font-size: 14px; display: block; line-height: 1.2; }
.chd small { font-size: 11.5px; color: var(--text-3); }
.chd .chip { margin-left: auto; }
.cstream { flex: 1; overflow: hidden; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.cmsg { max-width: 76%; animation: cin .45s ease both; }
@keyframes cin { from { opacity: 0; transform: translateY(8px); } }
.cmsg .who { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--text-3); font-weight: 650; margin-bottom: 4px; }
.cmsg .who img { width: 18px; height: 18px; border-radius: 50%; }
.cmsg .bb { background: var(--panel-2); border-radius: 16px 16px 16px 5px; padding: 10px 15px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.cmsg .bb b { color: var(--text); }
.cmsg.me { align-self: flex-end; }
.cmsg.me .bb { background: var(--text); color: var(--bg); border-radius: 16px 16px 5px 16px; }
.cappr { align-self: flex-start; width: min(420px, 88%); background: var(--panel); border: 1.5px solid var(--warn-line); border-radius: 15px; padding: 12px 15px; box-shadow: 0 10px 30px rgba(245, 158, 11, .14); animation: cin .45s ease both; }
.cappr .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--warn); text-transform: uppercase; }
.cappr .txt { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.55; }
.cappr .acts { display: flex; gap: 8px; margin-top: 10px; }
.cappr .acts .btn { padding: 6px 15px; font-size: 12px; }
.cappr.done { border-color: var(--ok); box-shadow: none; }
.cappr.done .txt { color: var(--ok); font-weight: 650; }
.cdlg { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--panel-2); border-radius: 99px; padding: 5px 14px; font-size: 11.5px; color: var(--text-3); font-weight: 600; animation: cin .45s ease both; }
.orb { width: 14px; height: 14px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #b5f5e6, #14b8a6 62%, #0f766e); box-shadow: 0 0 10px rgba(20, 184, 166, .5); animation: orbb 1.5s infinite; }
@keyframes orbb { 50% { transform: scale(1.16); } }
.cdlg .syz-loader { font-size: 12px; }
.cchips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 22px 12px; }
.cchips button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-3); transition: border-color .15s, color .15s; }
.cchips button:hover { border-color: var(--acc); color: var(--text); }
.ccomp { flex: none; padding: 12px 22px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.ccomp .box { flex: 1; background: var(--panel-2); border-radius: 99px; padding: 10px 17px; font-size: 13px; color: var(--text-3); }
.ccomp .mode { font-size: 11.5px; font-weight: 700; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 11px; }

@keyframes pul { 50% { opacity: .35; } }

/* Live office: the Hub's 3D Office (office.js loads office3d/office3d.js). The labels over the scene
   are the Hub's (components/knowledge/OfficeView.module.css: roomTag, nameTag, bubble3d). */
@font-face { font-family: 'Material Symbols Outlined'; font-style: normal; font-weight: 400; font-display: block;
    src: url('/fonts/material-symbols-office.woff2') format('woff2'); }   /* the 32 icons the Office uses (Apache-2.0) */
.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none;
    white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-smoothing: antialiased; font-feature-settings: 'liga'; }
.ofc { display: grid; grid-template-columns: minmax(0, 1fr); }
.ofc-map { position: relative; height: 520px; overflow: hidden; background: linear-gradient(#dfe6f6, #eef2fb); }
html[data-theme="dark"] .ofc-map { background: linear-gradient(#0d1430, #060a17); }
.ofc-scene, .ofc3-host, .ofc3-ov { position: absolute; inset: 0; }
.ofc-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ofc-still-dark, html[data-theme="dark"] .ofc-still-light { display: none; }
html[data-theme="dark"] .ofc-still-dark { display: block; }
.ofc.is-3d .ofc-still { display: none; }
.ofc3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ofc:not(.is-3d) .ofc3-host { display: none; }
.ofc3-ov { pointer-events: none; overflow: hidden; }
.ofc3-ov > div { position: absolute; left: 0; top: 0; will-change: transform; }
.ofc3-room { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; translate: -50% -100%; padding: 3px 9px 3px 6px; border-radius: 999px;
    font-size: 11.5px; font-weight: 650; letter-spacing: .01em; color: #e0e7ff; background: linear-gradient(135deg, rgba(79, 70, 229, .42), rgba(59, 130, 246, .30));
    border: 1px solid rgba(165, 180, 252, .45); box-shadow: 0 0 14px rgba(99, 102, 241, .35), inset 0 0 8px rgba(165, 180, 252, .18); text-shadow: 0 0 6px rgba(129, 140, 248, .8); }
.ofc3-room .ms { font-size: 15px; color: #a5f3fc; }
.ofc3-room .count { margin-left: 2px; padding: 0 6px; border-radius: 999px; background: rgba(15, 23, 42, .55); font-size: 10.5px; color: #c7d2fe; }
html:not([data-theme="dark"]) .ofc3-room { color: #312e81; background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(224, 231, 255, .8)); border-color: rgba(99, 102, 241, .45);
    text-shadow: none; box-shadow: 0 2px 10px rgba(79, 70, 229, .18); }
html:not([data-theme="dark"]) .ofc3-room .ms { color: #4f46e5; }
html:not([data-theme="dark"]) .ofc3-room .count { background: rgba(79, 70, 229, .12); color: #3730a3; }
.ofc3-agent { display: flex; flex-direction: column; align-items: center; gap: 3px; translate: -50% -100%; }
.ofc3-name { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 1px 7px 1px 5px; border-radius: 999px; font-size: 10.5px; font-weight: 650;
    color: #eef2ff; background: rgba(10, 14, 32, .72); border: 1px solid color-mix(in srgb, var(--st) 70%, transparent);
    box-shadow: 0 0 10px color-mix(in srgb, var(--st) 45%, transparent); transition: opacity 150ms; }
.ofc3-name .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--st); box-shadow: 0 0 6px var(--st); }
html:not([data-theme="dark"]) .ofc3-name { color: #1e1b4b; background: rgba(255, 255, 255, .9); }
.ofc3-ov[data-names="0"] .ofc3-name { opacity: 0; }
.ofc3-bub { display: inline-flex; align-items: center; gap: 4px; max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 8px; border-radius: 10px;
    font-size: 11px; font-weight: 600; color: #0f172a; background: rgba(255, 255, 255, .95); border: 1px solid color-mix(in srgb, var(--k) 60%, transparent);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .25), 0 0 10px color-mix(in srgb, var(--k) 35%, transparent); animation: ofc3pop 160ms ease-out; }
.ofc3-bub[hidden] { display: none; }
.ofc3-bub .ms { font-size: 13px; color: var(--k); }
@keyframes ofc3pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* The approval card (the real button: it skips ahead) */
.ofc-appr { position: absolute; right: 16px; bottom: 14px; width: 300px; background: var(--panel); border: 1.5px solid var(--warn-line); border-radius: 14px; padding: 11px 14px;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .4s, visibility .4s, border-color .3s; }
.ofc-appr.on { opacity: 1; visibility: visible; transform: none; }
.ofc-appr .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--warn); text-transform: uppercase; }
.ofc-appr .txt { font-size: 12.5px; color: var(--text-2); margin-top: 5px; line-height: 1.45; }
.ofc-appr .txt b { color: var(--text); }
.ofc-appr .btn { margin-top: 9px; padding: 6px 14px; font-size: 12px; transition: transform .15s, box-shadow .15s; }
.ofc-appr.press .btn { transform: scale(.94); box-shadow: 0 0 0 4px rgba(99, 102, 241, .3); }
.ofc-appr .done { display: none; font-size: 12.5px; color: var(--ok); font-weight: 650; line-height: 1.45; }
.ofc-appr.ok { border-color: var(--ok); }
.ofc-appr.ok .ask { display: none; }
.ofc-appr.ok .done { display: block; }
/* Activity panel ("Working now"), beside the floor on wide screens, under it otherwise */
.ofc-panel { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ofc-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--text); }
.ofc-pause { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); cursor: pointer; }
.ofc:not(.is-3d) .ofc-pause { visibility: hidden; }
.ofc-pause:hover { border-color: var(--acc); color: var(--acc-ink); }
.ofc-pause .ms { font-size: 18px; }
.ofc-req { display: none; background: var(--panel-2); border-radius: 12px; padding: 9px 11px; font-size: 12.5px; color: var(--text-2); line-height: 1.45; opacity: .35; transition: opacity .4s; }
.ofc-req.on { opacity: 1; }
.ofc-req .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.ofc-now { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ofc-now b { min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--acc-bg); color: var(--acc-ink); text-align: center; letter-spacing: 0; }
.ofc-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ofc-row { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 11px; border: 1px solid var(--line); min-width: 0; transition: background .3s, border-color .3s; }
.ofc-row img { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px var(--st); }
.ofc-row .tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ofc-row b { font-size: 13px; line-height: 1.3; color: var(--text); overflow-wrap: anywhere; }
.ofc-row .s { display: flex; align-items: flex-start; gap: 5px; font-size: 12px; line-height: 1.35; color: var(--text-3); }
.ofc-row .s .ms { font-size: 15px; flex: none; color: var(--st); }
.ofc-row .s .d { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--deco); flex: none; }
.ofc-row:not(.st-idle) .s { color: var(--text-2); }
.ofc-row.st-approval { background: var(--warn-bg); border-color: var(--warn-line); }
.ofc-row.st-done .s { color: var(--ok); }
@media (min-width: 1040px) {
    .ofc { grid-template-columns: minmax(0, 1fr) 288px; }
    .ofc-panel { border-top: 0; border-left: 1px solid var(--line); }
    .ofc-req { display: block; }
    .ofc-rows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ofc-panel { padding: 12px; gap: 8px; }
    .ofc-row { gap: 7px; padding: 6px 7px; }
    .ofc-row img { width: 24px; height: 24px; }
    .ofc-row b { font-size: 12px; }
    .ofc-row .s { font-size: 11px; }
    .ofc-row .s .ms { font-size: 13px; }
    .ofc-map { height: 440px; }
    .ofc-appr { left: 10px; right: 10px; bottom: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .ofc-appr, .ofc-req { transition: none; }
}

/* ─── Agents ─── */
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.agent { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.agent .top { display: flex; gap: 12px; align-items: center; }
.agent img { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; background: var(--panel-2); }
.agent b { color: var(--text); font-size: 15.5px; display: block; line-height: 1.25; }
.agent .role { font-size: 13px; color: var(--text-3); }
.agent p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.agent .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.agent .cost { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.avstack { display: flex; }
.avstack img { width: 38px; height: 38px; border: 2.5px solid var(--panel); border-radius: 50%; }
.avstack > * + * { margin-left: -11px; }

/* ─── Integrations ─── */

/* ─── Pricing ─── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.price.featured { border: 2px solid var(--acc); box-shadow: 0 22px 54px rgba(99, 102, 241, .14); }
.price .nm { color: var(--text); font-size: 15.5px; font-weight: 750; }
.price .amt { font-size: 38px; font-weight: 820; color: var(--text); letter-spacing: -.03em; line-height: 1.1; }
.price .amt small { font-size: 14px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.price .for { font-size: 13.5px; color: var(--text-3); }
.price ul { list-style: none; margin: 14px 0 20px; display: grid; gap: 9px; font-size: 14px; }
.price li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line-2); padding-bottom: 8px; }
.price li span:last-child { color: var(--text); font-weight: 650; text-align: right; }
.price .btn { margin-top: auto; }
.tier-table, .cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td, .cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tier-table thead th, .cmp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; background: var(--panel-2); }
.tier-table td.num { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); -webkit-overflow-scrolling: touch; }
.tbl table { min-width: 640px; }
.tbl tr:last-child td { border-bottom: 0; }
.cmp-table th[scope="row"] { color: var(--text); font-weight: 650; width: 22%; }
.cmp-table td { color: var(--text-2); width: 39%; }
.cmp-table thead th:nth-child(2) { color: var(--acc-ink); }
.note { font-size: 13px; color: var(--text-3); margin-top: 14px; line-height: 1.6; }
.callout { background: var(--acc-bg); border: 1px solid var(--chip-purple-border); border-radius: 16px; padding: 18px 20px; font-size: 14.5px; color: var(--text-2); }
.callout b { color: var(--text); }
.calc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calc > div { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.calc .v { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.calc .l { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* ─── Credit examples ("Real examples from our agents") — home + pricing ───
   Same content as the product's CreditExamples component. Markup:
   <div class="cx-grid"><article class="cx-card">
     <div class="cx-hd"><img class="cx-av"><span class="cx-who"><b>Role</b> · Tier</span><span class="cx-amt"><img src="/assets/sc.svg">~65 SYC</span></div>
     <div class="cx-task"><span class="cx-title">Task</span><span class="cx-tag">Chat</span><span class="cx-apps"><img>…</span></div>
     <div class="cx-prev" aria-hidden="true">…mock…</div>
   </article>…</div><p class="cx-note">…</p>
   No dollar equivalence next to SYC (owner, 2026-10-11). */
.cx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; align-items: start; }
.cx-card { display: flex; flex-direction: column; gap: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.cx-hd { display: flex; align-items: center; gap: 10px; }
.cx-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--panel); }
.cx-who { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-3); line-height: 1.3; }
.cx-who b { color: var(--text); font-weight: 700; }
.cx-amt { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(99, 102, 241, .12); color: var(--acc-ink); font-size: 13px; font-weight: 750; white-space: nowrap; }
.cx-amt img { width: 15px; height: 15px; }
.cx-task { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.cx-tag { padding: 2px 9px; border-radius: 999px; background: rgba(100, 116, 139, .14); color: var(--text-3); font-size: 11.5px; font-weight: 650; }
.cx-apps { margin-left: auto; display: inline-flex; gap: 5px; }
.cx-apps img, .cx-apps .cx-mail { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: #fff; padding: 3px; object-fit: contain; }
.cx-apps .cx-mail { display: inline-grid; place-items: center; background: rgba(14, 165, 233, .12); border-color: transparent; color: #0284c7; }
.cx-mail svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-prev { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.cx-q { align-self: flex-end; max-width: 92%; padding: 7px 11px; border-radius: 12px; background: rgba(99, 102, 241, .12); color: var(--text-2); }
.cx-strong { color: var(--text); font-weight: 750; }
.cx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.cx-row b { color: var(--text); }
.cx-row > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-chip { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: rgba(100, 116, 139, .14); color: var(--text-3); }
.cx-chip.amber { background: rgba(245, 158, 11, .14); color: var(--warn); }
.cx-chip.indigo { background: rgba(99, 102, 241, .12); color: var(--acc-ink); }
.cx-ok { display: inline-flex; align-items: center; gap: 6px; }
.cx-ok svg, .cx-sent svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cx-ok svg { color: var(--ok); }
.cx-sent { display: inline-flex; align-items: center; gap: 6px; }
.eb-sc { display: inline-flex; align-items: center; gap: 7px; }
.pt-from { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pt-from p { font-size: 15px; color: var(--text-2); }
.cx-note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); text-align: center; }
html[data-theme="dark"] .cx-chip.amber { color: #fcd34d; }
html[data-theme="dark"] .cx-apps img { background: #f8fafc; }
@media (max-width: 900px) { .cx-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ─── FAQ ─── */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 650; color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--text-3); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; font-size: 14.5px; color: var(--text-2); line-height: 1.65; }
.faq details a, .prose a, .card p a, .note a, .callout a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ─── CTA band ─── */
.cta-band { text-align: center; padding: 96px 0; }
.cta-band .h2 { max-width: 760px; margin: 0 auto; }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.cta-band .sub { margin-left: auto; margin-right: auto; }

/* ─── Prose (about, compare narrative) ─── */
.prose { max-width: 760px; }
.prose p { margin-bottom: 16px; font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 6px; }
.src { font-size: 13px; color: var(--text-3); }
.src li { margin-bottom: 6px; word-break: break-word; }
.src a { color: var(--acc-ink); text-decoration: underline; }

/* ─── Forms (demo, privacy request, beta) ─── */
.form-card { border: 1px solid var(--line-2); border-radius: 18px; padding: 30px; background: var(--panel); box-shadow: var(--shadow-md); position: relative; }
.form-card h2, .form-card h3 { font-size: 19px; margin-bottom: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 13px; font-weight: 650; color: var(--text); margin-bottom: 6px; }
.fg label .opt-l { color: var(--text-3); font-weight: 500; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 11px 14px; background: var(--input-bg); border: 1.5px solid var(--line-2); border-radius: 10px;
    color: var(--text); font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s;
}
.fg textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); opacity: .8; }
.fg select {
    -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E7480' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.fg select option { background: var(--panel); color: var(--text); }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(99, 102, 241, .18); }
.form-card .btn-glow, .form-card .btn.pri { width: 100%; margin-top: 6px; }
.form-notice { margin-top: 10px; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.form-notice a, .beta-fine a { color: var(--acc-ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 20px; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--bad); }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.foot-h { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.foot-col a, .foot-btn { color: var(--text-3); font-size: 13.5px; text-align: left; padding: 0; }
.foot-col a:hover, .foot-btn:hover { color: var(--text); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot-bottom a:hover { color: var(--text); text-decoration: underline; }

/* ─── Cookie banner (built by consent.js) ─── */
.cookie-banner {
    position: fixed; bottom: 20px; left: 20px; right: 20px; margin: 0 auto; max-width: 680px; z-index: 1000;
    display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 24px;
    background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--banner-shadow);
    animation: cookieUp .45s cubic-bezier(.16, 1, .3, 1);
}
@keyframes cookieUp { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner[hidden] { display: none; }
.cookie-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cookie-text p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.cookie-text a { color: var(--acc-ink); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 13.5px; }
.cookie-actions .btn[hidden] { display: none; }
/* Reject and Accept share one style so neither is visually favoured. */
.cookie-actions .btn-glow { color: var(--text); background: var(--panel-2); box-shadow: none; border-color: var(--line-2); }
.cookie-prefs { margin-top: 12px; display: grid; gap: 8px; }
.cookie-prefs[hidden] { display: none; }
.cookie-pref { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.cookie-pref input { margin-top: 3px; accent-color: var(--acc); }
.cookie-pref b { color: var(--text); font-weight: 650; }
.cookie-pref small { display: block; font-size: 12.5px; color: var(--text-3); }

/* ─── Legal pages (privacy / terms / cookies / dpa / security …) ─── */
.legal { padding: 64px 0 90px; position: relative; }
.legal .container { max-width: 820px; }
.legal-wide .container { max-width: 1040px; }
.legal-head { margin-bottom: 40px; }
.legal-head .stitle { margin: 10px 0; }
.legal-meta { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); letter-spacing: .02em; }
.legal-body { font-size: 15.5px; color: var(--text-2); line-height: 1.75; }
.legal-body section { padding: 0; }
.legal-body p { margin-bottom: 18px; }
.legal-body strong { color: var(--text); font-weight: 650; }
.legal-body a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--text); }
.legal-body h2 { font-size: 21px; font-weight: 700; color: var(--text); margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.legal-body h3 { font-size: 16.5px; font-weight: 700; color: var(--text); margin: 26px 0 10px; }
.legal-body ul { list-style: none; padding: 0; margin: 0 0 18px; }
.legal-body ul li { padding: 5px 0 5px 20px; position: relative; }
.legal-body ul li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.legal-body ol { margin: 0 0 18px 20px; }
.legal-callout { background: var(--acc-bg); border: 1px solid var(--chip-purple-border); border-radius: 16px; padding: 24px 24px 12px; margin: 28px 0; }
.legal-callout h3 { margin-top: 0; }
.mono-inline { font-family: var(--mono); font-size: .85em; color: var(--acc-ink); background: var(--acc-bg); border: 1px solid var(--chip-purple-border); border-radius: 5px; padding: 1px 6px; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; min-width: 640px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.legal-table th { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--panel-2); }
.legal-table td strong { color: var(--text); }
.dsr-card { margin: 8px 0 36px; }
.dsr-card textarea { width: 100%; padding: 12px 14px; background: var(--input-bg); border: 1.5px solid var(--line-2); border-radius: 10px; color: var(--text); font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical; }
.dsr-card textarea:focus { outline: none; border-color: var(--acc); }
.dsr-confirm { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 4px 0 16px; cursor: pointer; }
.dsr-confirm input { margin-top: 4px; accent-color: var(--acc); }
.dsr-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.dsr-status { margin-top: 12px; font-size: 14px; min-height: 20px; }
.dsr-status.is-ok { color: var(--ok); }
.dsr-status.is-err { color: var(--bad); }
.dsr-template { font-family: var(--mono); font-size: 13px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; white-space: pre-wrap; color: var(--text-2); }

/* ─── Beta screening page ─── */
.beta { padding: 64px 0 90px; position: relative; }
.beta .container { max-width: 780px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-ink); background: var(--acc-bg); border-radius: 99px; padding: 5px 14px 5px 10px; margin-bottom: 18px; }
.hero-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: pul 1.4s infinite; }
.beta-head { margin-bottom: 40px; }
.beta-head .stitle { margin-bottom: 12px; }
.beta-lede { font-size: 16.5px; color: var(--text-2); line-height: 1.7; max-width: 640px; margin-bottom: 8px; }
.beta-fine { font-size: 13px; color: var(--text-3); }
.beta-label { font-size: 12px; font-weight: 750; color: var(--text-3); text-transform: uppercase; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; margin: 40px 0 14px; }
.beta-label::before { content: ''; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.beta-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 12px; }
.bq { font-size: 15.5px; font-weight: 650; margin-bottom: 4px; color: var(--text); }
.bq .qn { font-family: var(--mono); font-size: 12px; color: var(--acc-ink); font-weight: 600; margin-right: 8px; }
.opts { display: grid; gap: 8px; margin-top: 12px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 14px; cursor: pointer; font-size: 14.5px; color: var(--text-2); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--border-hover); background: var(--hover-wash); }
.opt input { accent-color: var(--acc); width: 16px; height: 16px; flex-shrink: 0; }
.opt.sel { border-color: var(--acc); background: var(--acc-bg); color: var(--text); }
.beta .cta-full { display: flex; width: 100%; margin-top: 26px; padding: 15px; font-size: 16px; }
.beta-err { color: var(--bad); font-size: 14px; margin-top: 12px; display: none; }
#beta-result { display: none; margin-top: 32px; }
.result-card { background: var(--panel); border: 1px solid var(--chip-purple-border); color: var(--text); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-md); }
.r-label { font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.r-cohort { font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 8px; }
.r-score { font-family: var(--mono); font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.r-desc { font-size: 15.5px; color: var(--text-2); max-width: 560px; line-height: 1.65; }
.r-next { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.r-status { margin-top: 18px; font-size: 14px; min-height: 20px; }

/* ─── Channel tabs (home hero demo) ─── */
.chtabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.chtabs button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-3); border-radius: 99px; padding: 8px 16px; font-size: 13.5px; font-weight: 650; transition: border-color .15s, color .15s, background .15s; }
.chtabs button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chtabs button:hover { color: var(--text); border-color: var(--border-hover); }
.chtabs button[aria-selected="true"] { color: var(--acc-ink); background: var(--acc-bg); border-color: var(--chip-purple-border); }
.chpane[hidden] { display: none; }
.cmain .chd img { width: 34px; height: 34px; }

/* WhatsApp demo */
.wa { height: 520px; display: flex; flex-direction: column; background: #efeae2; color: #111b21; }
html[data-theme="dark"] .wa { background: #0b141a; color: #e9edef; }
.wa-hd { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #008069; color: #fff; }
html[data-theme="dark"] .wa-hd { background: #202c33; }
.wa-hd img { width: 36px; height: 36px; border-radius: 50%; }
.wa-hd b { display: block; font-size: 14px; line-height: 1.2; }
.wa-hd small { font-size: 11.5px; opacity: .85; }
.wa-hd .ic { flex: none; margin-left: auto; display: flex; gap: 16px; opacity: .9; }
.wa-hd .ic svg { flex: none; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-body { flex: 1; overflow: hidden; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.wa-day { align-self: center; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.85); color: #54656f; border-radius: 8px; padding: 4px 10px; margin-bottom: 6px; }
html[data-theme="dark"] .wa-day { background: #182229; color: #8696a0; }
.wa-msg { max-width: 78%; padding: 7px 9px 6px 10px; border-radius: 9px; font-size: 13.5px; line-height: 1.5; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; animation: cin .4s ease both; }
.wa-msg b { font-weight: 650; }
.wa-msg.in { align-self: flex-start; border-top-left-radius: 2px; }
.wa-msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
html[data-theme="dark"] .wa-msg { background: #202c33; }
html[data-theme="dark"] .wa-msg.out { background: #005c4b; }
.wa-msg .t { display: flex; justify-content: flex-end; gap: 4px; align-items: center; font-size: 10.5px; color: #667781; margin-top: 2px; }
html[data-theme="dark"] .wa-msg .t { color: #8696a0; }
.wa-msg .t svg { width: 14px; height: 14px; stroke: #53bdeb; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wa-msg.appr { border-left: 3px solid #f59e0b; }
.wa-msg .acts { display: flex; gap: 6px; margin-top: 8px; }
.wa-msg .acts .btn { padding: 5px 12px; font-size: 12px; }
.wa-typing { align-self: flex-start; background: #fff; border-radius: 9px; padding: 8px 12px; display: inline-flex; gap: 4px; animation: cin .3s ease both; }
html[data-theme="dark"] .wa-typing { background: #202c33; }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: pul 1s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .2s; } .wa-typing i:nth-child(3) { animation-delay: .4s; }
.wa-foot { flex: none; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; background: #f0f2f5; }
html[data-theme="dark"] .wa-foot { background: #202c33; }
.wa-foot .cchips { padding: 0; }
.wa-foot .cchips button { background: #fff; border-color: #d1d7db; color: #111b21; }
html[data-theme="dark"] .wa-foot .cchips button { background: #2a3942; border-color: #2a3942; color: #e9edef; }
.wa-comp { display: flex; align-items: center; gap: 8px; }
.wa-comp .box { flex: 1; background: #fff; border-radius: 99px; padding: 9px 16px; font-size: 13px; color: #667781; }
html[data-theme="dark"] .wa-comp .box { background: #2a3942; color: #8696a0; }
.wa-comp .send { width: 36px; height: 36px; border-radius: 50%; background: #008069; display: grid; place-items: center; color: #fff; flex: none; }
.wa-comp .send svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }

/* Email demo */
.em { height: 520px; display: grid; grid-template-columns: 300px 1fr; background: var(--panel); }
.em-list { border-right: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.em-list .hd { padding: 12px 16px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.em-list .hd .chip { padding: 1px 8px; }
.em-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; animation: cin .45s ease both; cursor: pointer; }
.em-row:hover { background: var(--hover-wash); }
.em-row[aria-selected="true"] { background: var(--acc-bg); }
.em-row img, .em-row .ico { width: 36px; height: 36px; border-radius: 50%; grid-row: span 2; align-self: start; }
.em-row .ico { display: grid; place-items: center; background: var(--panel-2); color: var(--text-3); }
.em-row .ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.em-row .fr { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; }
.em-row .sj { grid-column: 2 / span 2; font-size: 12.5px; color: var(--text-2); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-row .sj small { color: var(--text-3); }
.em-row .tm { font-size: 11px; color: var(--text-3); white-space: nowrap; }
.em-row.unread .fr::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-right: 6px; vertical-align: 1px; }
.em-read { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.em-read .top { padding: 16px 22px 12px; border-bottom: 1px solid var(--line); }
.em-read .top h4 { font-size: 16px; font-weight: 720; }
.em-read .meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.em-read .meta img { width: 28px; height: 28px; border-radius: 50%; }
.em-read .meta b { color: var(--text); }
.em-body { padding: 16px 22px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); overflow: hidden; flex: 1; }
.em-body ul { list-style: none; display: grid; gap: 7px; margin: 10px 0 14px; }
.em-body li { display: flex; gap: 8px; align-items: baseline; }
.em-body li .k { flex: none; min-width: 84px; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.em-body li b { color: var(--text); }
.em-body .att { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 12px; font-size: 12.5px; color: var(--text-2); margin-top: 8px; }
.em-body .att svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.em-acts { padding: 12px 22px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.em-acts .btn { padding: 7px 15px; font-size: 12.5px; }
.em-acts .sent { font-size: 12.5px; color: var(--ok); font-weight: 650; animation: cin .4s ease both; }
.em-empty { flex: 1; display: grid; place-items: center; color: var(--text-3); font-size: 13.5px; }

/* ─── Connector logos ─── */
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.conn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: border-color .15s, transform .15s; }
.conn:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.conn img { width: 32px; height: 32px; object-fit: contain; }
.conn span { font-size: 12px; font-weight: 600; color: var(--text-2); line-height: 1.25; }
.app { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; display: inline-grid; place-items: center; flex: none; }
.app img { width: 22px; height: 22px; object-fit: contain; }
.app.sm { width: 30px; height: 30px; border-radius: 9px; } .app.sm img { width: 17px; height: 17px; }
.app.lg { width: 56px; height: 56px; border-radius: 16px; } .app.lg img { width: 32px; height: 32px; }
.app svg { width: 20px; height: 20px; stroke: var(--text-2); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .app { background: #f3f4f8; border-color: transparent; }
.apps { display: flex; gap: 8px; }

/* ─── Action cards (solutions) + mock panels ─── */
.acards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acard { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 0; display: flex; flex-direction: column; overflow: hidden; }
.acard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.acard h3 { font-size: 18px; font-weight: 720; }
.acard > p { font-size: 14px; color: var(--text-3); margin-top: 8px; line-height: 1.6; }
.acard .mockwrap { margin: 18px -22px 0; padding: 18px 18px 0; background: var(--panel-2); flex: 1; }
.mock { background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); overflow: hidden; font-size: 12.5px; color: var(--text-2); }
.mock.full { border-radius: 14px; border-bottom: 1px solid var(--line-2); }
.mock-hd { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--text); font-size: 13px; }
.mock-hd img { width: 18px; height: 18px; object-fit: contain; }
.mock-hd .chip { margin-left: auto; padding: 2px 9px; font-size: 11px; }
.mk-chat { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mk-chat .q { align-self: flex-start; background: var(--panel-2); border-radius: 12px 12px 12px 4px; padding: 8px 12px; max-width: 86%; }
.mk-chat .a { align-self: flex-end; background: var(--ok-bg); color: var(--text); border-radius: 12px 12px 4px 12px; padding: 8px 12px; max-width: 90%; }
.mk-list { display: flex; flex-direction: column; }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mk-row:last-child { border-bottom: 0; }
.mk-row .av { width: 26px; height: 26px; border-radius: 50%; background: var(--panel-2); color: var(--text-3); font-size: 10px; font-weight: 750; display: grid; place-items: center; flex: none; }
.mk-row .nm { color: var(--text); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-row .v { font-weight: 700; color: var(--text); font-family: var(--mono); font-size: 12px; }
.mk-row .chip { padding: 2px 9px; font-size: 11px; }
.mk-draft { padding: 12px 14px; }
.mk-draft .to { color: var(--text-3); } .mk-draft .to b { color: var(--text); font-weight: 600; }
.mk-draft h5 { font-size: 14px; font-weight: 720; color: var(--text); margin: 6px 0 10px; }
.mk-draft .ln { height: 7px; border-radius: 4px; background: var(--line-2); margin-bottom: 7px; }
.mk-draft .ln.w2 { width: 86%; } .mk-draft .ln.w3 { width: 62%; }
.mk-draft .acts { display: flex; gap: 6px; margin-top: 12px; }
.mk-draft .acts .btn { padding: 5px 13px; font-size: 12px; }
.mk-cal { padding: 10px 12px; display: grid; gap: 6px; }
.mk-cal .slot { display: flex; gap: 10px; align-items: center; border-left: 3px solid var(--acc); background: var(--acc-bg); border-radius: 6px; padding: 6px 10px; color: var(--text); }
.mk-cal .slot small { color: var(--text-3); font-family: var(--mono); font-size: 11px; }
.mk-appr { padding: 12px 14px; }
.mk-appr .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: var(--warn); text-transform: uppercase; }
.mk-appr .txt { margin-top: 5px; color: var(--text-2); }
.mk-appr .acts { display: flex; gap: 6px; margin-top: 10px; }
.mk-appr .acts .btn { padding: 5px 13px; font-size: 12px; }
.chk { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 10px; font-weight: 800; }

/* ─── Pricing calculator ─── */
.pcalc { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); }
.pcalc-in { padding: 34px 36px; display: grid; gap: 28px; align-content: start; }
.pcalc-q { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pcalc-q h3 { font-size: 19px; font-weight: 720; }
.pcalc-q small { font-size: 13px; color: var(--text-3); }
.stepper { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--panel); color: var(--text); font-size: 20px; display: grid; place-items: center; transition: border-color .15s; }
.stepper button:hover { border-color: var(--acc); }
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper output { font-size: 36px; font-weight: 820; color: var(--text); min-width: 56px; text-align: center; letter-spacing: -.03em; }
.stepper .u { color: var(--text-3); font-size: 15px; }
.pcalc-help { font-size: 13.5px; color: var(--text-3); margin-top: 10px; line-height: 1.6; }
.pcalc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; margin-top: 14px; }
.pcalc input[type="range"] { width: 100%; accent-color: var(--acc); height: 32px; }
.pcalc input[type="number"] { width: 130px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--input-bg); color: var(--text); font: inherit; font-size: 16px; font-weight: 700; }
.pcalc input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(99, 102, 241, .18); }
.pcalc-row .u { color: var(--text-3); font-size: 14px; white-space: nowrap; }
.pcalc-note { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.pcalc-note a { color: var(--acc-ink); font-weight: 650; }
.pcalc-out { background: linear-gradient(160deg, #1e1b4b, #312e81 60%, #1e3a8a); color: #e0e7ff; padding: 34px 36px; display: flex; flex-direction: column; }
html[data-theme="dark"] .pcalc-out { background: linear-gradient(160deg, #171a2e, #262a52 60%, #1b2c5a); }
.pcalc-out .eb { font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: #a5b4fc; }
.pcalc-out h3 { color: #fff; font-size: 34px; font-weight: 820; letter-spacing: -.03em; margin-top: 10px; }
.pcalc-out .why { font-size: 14px; color: #c7d2fe; margin-top: 8px; line-height: 1.6; }
.pcalc-out hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); margin: 20px 0; }
.pcalc-out dl { display: grid; gap: 10px; margin: 0; }
.pcalc-out dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.pcalc-out dt { color: #c7d2fe; } .pcalc-out dd { margin: 0; color: #fff; font-weight: 700; font-family: var(--mono); font-size: 13.5px; }
.pcalc-out .tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcalc-out .tot span { font-size: 15px; color: #c7d2fe; }
.pcalc-out .tot b { font-size: 40px; color: #fff; letter-spacing: -.03em; font-weight: 820; }
.pcalc-out .per { text-align: right; font-size: 13px; color: #a5b4fc; }
.pcalc-out .btn { margin-top: 18px; background: #fff; color: #1e1b4b; box-shadow: none; }
.pcalc-out .fine { font-size: 12.5px; color: #a5b4fc; text-align: center; margin-top: 10px; line-height: 1.5; }
.credex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.credex .acard-top h3 { font-size: 18px; }
.credex .chip.amt { font-size: 12.5px; padding: 4px 11px; white-space: nowrap; }

/* ─── Compare pages ─── */

.ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ic svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ic.ok { background: var(--ok); color: #fff; }
.ic.no { background: var(--panel-2); color: var(--text-3); border: 1px solid var(--line-2); }
.ic.mid { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); }
.m-lin { background: #7c3aed; } .m-vik { background: #2563eb; } .m-ocl { background: #dc2626; } .m-grk { background: #111827; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); margin-top: 12px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .ic { width: 18px; height: 18px; } .legend .ic svg { width: 10px; height: 10px; }

/* ─── Enterprise ─── */

.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 22px 26px; margin-top: 28px; }
.cta-inline b { color: var(--text); font-size: 17px; }
.cta-inline p { font-size: 14px; color: var(--text-3); margin-top: 4px; }
.pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px auto 0; max-width: 880px; text-align: left; }
.pts div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-3); }
.pts div b { display: block; color: var(--text); font-size: 15px; }

/* ─── Responsive ─── */
@media (max-width: 1000px) {
    .grid4, .calc { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: repeat(3, 1fr); }
    .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .grid3, .split, .price-grid, .acards, .credex, .pcalc, .pts { grid-template-columns: 1fr; }
    .pcalc-in, .pcalc-out { padding: 26px 22px; }
    .em { grid-template-columns: 1fr; }
    .em-list { display: none; }
    .split { gap: 28px; }
    section, .band { padding: 64px 0; }
    .chatbody { height: 500px; }
}
@media (max-width: 640px) {
    .wrap, .container { padding: 0 16px; }
    .frow { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 22px 18px; }
    .chd { padding: 0 12px; } .chd .chip { display: none; }
    .cstream { padding: 14px 12px; } .cmsg { max-width: 92%; } .cchips { padding: 0 12px 10px; } .ccomp { padding: 10px 12px 12px; }
    .wa { height: 500px; } .em { height: 500px; } .wa-body { padding: 12px; } .wa-msg { max-width: 90%; }
    .pcalc-row { grid-template-columns: 1fr; } .pcalc input[type="number"] { width: 100%; }
    .ccomp .mode { display: none; }
    .grid4, .calc { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .cookie-banner { bottom: 12px; left: 12px; right: 12px; padding: 18px; }
    .cookie-actions .btn { flex: 1; }
    .meet { padding-top: 48px; }
    .page-hero { padding: 48px 0 32px; }
}
@media (max-width: 380px) {
    .grid4, .calc { grid-template-columns: 1fr; }
}
/* Grid children may hold wide tables: let them shrink so the table scrolls instead of the page. */
.grid3 > *, .grid4 > *, .split > *, .price-grid > * { min-width: 0; }
