:root {
    --night: #080a12;
    --board: #10141f;
    --lift: #181d2c;
    --pearl: #eef1f8;
    --hush: #8b94ab;
    --voice: #7c8cff;
    --heat: #ff6a3d;
    --live: #2ee6b8;
    --line: rgba(238, 241, 248, 0.1);
    --glow: rgba(124, 140, 255, 0.28);
    --bubble-in: var(--lift);
    --bubble-in-ink: var(--pearl);
    --bubble-in-link: #9db0ff;
    --bubble-out: #2a2458;
    --bubble-out-ink: #eef1f8;
    --bubble-out-link: #7ef0d4;
    --bubble-out-meta: rgba(238, 241, 248, 0.62);
    --btn-h: 42px;
    --font: "IBM Plex Sans", system-ui, sans-serif;
    --display: "Schibsted Grotesk", "IBM Plex Sans", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--night);
    color: var(--pearl);
    line-height: 1.55;
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 480px at 12% -10%, rgba(139, 124, 255, 0.18), transparent 60%),
        radial-gradient(700px 420px at 92% 8%, rgba(255, 92, 57, 0.1), transparent 55%);
    z-index: 0;
}
.public-body > *,
.auth-body > *,
.cabinet-body > * { position: relative; z-index: 1; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 0.7rem;
}
p { margin: 0 0 0.8rem; }
.mono, code, pre { font-family: var(--mono); }
a { color: var(--voice); text-decoration: none; }
a:hover { color: var(--heat); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--voice);
    outline-offset: 3px;
}

.voice-bar {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
    padding: 0 4vw;
    background: var(--night);
}
.voice-bar i {
    display: block;
    flex: 1;
    height: 3px;
    border-radius: 99px;
    background: var(--voice);
    opacity: 0.35;
    animation: voice 1.8s ease-in-out infinite;
}
.voice-bar i:nth-child(2) { animation-delay: 0.15s; background: #6f8bff; }
.voice-bar i:nth-child(3) { animation-delay: 0.3s; background: var(--heat); }
.voice-bar i:nth-child(4) { animation-delay: 0.45s; background: var(--live); }
.voice-bar i:nth-child(5) { animation-delay: 0.6s; background: #d46bb3; }
@keyframes voice {
    0%, 100% { height: 3px; opacity: 0.28; }
    50% { height: 12px; opacity: 1; }
}

.site-nav, .site-foot, .desk-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.site-nav, .site-foot {
    padding: 0.85rem 4vw;
}
.site-nav, .desk-top {
    position: sticky;
    top: 0;
    z-index: 8;
    background: rgba(8, 10, 18, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav-links, .nav-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-links { margin-left: auto; gap: 18px; }
.nav-links a { color: var(--pearl); font-weight: 600; }
.mark {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 650;
    color: var(--pearl);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: -0.04em;
    white-space: nowrap;
}
.mark:hover { color: var(--pearl); }
.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 rgba(62, 224, 184, 0.55);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    70% { box-shadow: 0 0 0 8px transparent; }
}

.nav-cta, .btn-amber, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: var(--btn-h);
    min-height: var(--btn-h);
    border: 0;
    cursor: pointer;
    padding: 0 16px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    border-radius: 12px;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-cta, .btn-amber {
    background: var(--heat);
    color: #140806;
}
.nav-cta:hover, .btn-amber:hover {
    color: #140806;
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--pearl);
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--voice); color: var(--pearl); }

.locale-switch { position: relative; }
.locale-switch summary {
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--pearl);
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: var(--btn-h);
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--lift);
    box-sizing: border-box;
}
.locale-switch summary::-webkit-details-marker { display: none; }
.locale-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(238, 240, 247, 0.18);
}
.locale-switch div {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--lift);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.65rem;
    display: grid;
    gap: 0.25rem;
    z-index: 9;
    min-width: 13rem;
    max-height: 18rem;
    overflow: auto;
}
.locale-switch a {
    color: var(--pearl);
    padding: 0.3rem 0.4rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.locale-switch a:hover, .locale-switch a.is-current { background: var(--board); color: var(--voice); }
.auth-locale { position: absolute; top: 1.2rem; right: 4vw; z-index: 2; display: flex; align-items: center; gap: 8px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 3.5rem;
    padding: 5.5vw 4vw 4vw;
    align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); max-width: 11ch; }
.kicker {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: var(--voice);
    margin-bottom: 0.9rem;
}
.lead, .lead-sm { color: var(--hush); max-width: 38rem; font-size: 1.08rem; }
.lead-sm { font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.7rem 0 0.7rem; }
.trial-note { color: var(--heat); font-size: 0.95rem; }
.android-app-line { margin: 0.7rem 0 0; max-width: 36rem; color: var(--hush); font-size: 0.95rem; }
.android-app-line a { color: var(--heat); font-weight: 700; text-underline-offset: 0.18em; }

.channel-rail, .desk {
    background: linear-gradient(180deg, var(--lift), var(--board));
    border: 1px solid var(--line);
    border-radius: 22px;
    min-height: 28rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.rail-head, .desk-chrome {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.05rem;
    border-bottom: 1px solid var(--line);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.74rem;
    color: var(--hush);
}
.desk-live {
    margin-left: auto;
    color: var(--live);
    letter-spacing: 0.12em;
}
.led {
    width: 0.48rem;
    height: 0.48rem;
    background: var(--live);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--live);
}
.voice-trace {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 42px;
    padding: 0.7rem 1rem 0.2rem;
}
.voice-trace i {
    flex: 1;
    border-radius: 99px 99px 4px 4px;
    background: linear-gradient(180deg, var(--voice), transparent);
    opacity: 0.55;
    animation: trace 2.2s ease-in-out infinite;
}
.voice-trace i:nth-child(odd) { animation-delay: 0.2s; }
.voice-trace i:nth-child(3n) { animation-delay: 0.45s; background-image: linear-gradient(180deg, var(--heat), transparent); }
@keyframes trace {
    0%, 100% { height: 18%; }
    50% { height: 92%; }
}
.rail-stream, .desk-feed { padding: 0.85rem 1rem 1.1rem; display: grid; gap: 0.65rem; }

.slip, .line {
    background: rgba(238, 240, 247, 0.04);
    color: var(--pearl);
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    animation: slip-in 0.6s ease both;
}
.slip::before { display: none; }
.slip-ch, .line-ch {
    display: inline-flex;
    align-items: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--night);
    background: var(--voice);
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    margin-right: 0.4rem;
}
.slip-telegram .slip-ch, .line-telegram .line-ch { background: #6f8bff; }
.slip-whatsapp .slip-ch, .line-whatsapp .line-ch { background: var(--live); color: #06241b; }
.slip-instagram .slip-ch, .line-instagram .line-ch { background: #d46bb3; }
.slip-email .slip-ch, .line-email .line-ch { background: var(--heat); }
.slip-widget .slip-ch, .line-widget .line-ch { background: var(--pearl); }
.slip strong, .line strong { display: inline; font-size: 0.92rem; }
.slip p, .line p { margin: 0.35rem 0 0; color: var(--hush); font-size: 0.94rem; }
@keyframes slip-in {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.slip:nth-child(2), .line:nth-child(2) { animation-delay: 0.12s; }
.slip:nth-child(3), .line:nth-child(3) { animation-delay: 0.24s; }
.slip:nth-child(4), .line:nth-child(4) { animation-delay: 0.36s; }
.slip:nth-child(5), .line:nth-child(5) { animation-delay: 0.48s; }

.how, .channel-grid, .features, .pricing, .faq, .final-cta {
    padding: 5rem 4vw;
}
.how { background: rgba(18, 22, 37, 0.62); }
.how-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    list-style: none;
    background: var(--lift);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}
.how-rail li {
    padding: 1.5rem 1.4rem 1.6rem;
    border-right: 1px solid var(--line);
}
.how-rail li:last-child { border-right: 0; }
.how-rail b {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--voice);
    margin-bottom: 0.7rem;
}
.how-rail span {
    font-family: var(--display);
    font-size: 1.35rem;
    display: block;
    margin-bottom: 0.45rem;
    letter-spacing: -0.03em;
}
.how-rail p { color: var(--hush); margin: 0; }
.patchbay {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: var(--lift);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}
.patchbay .ch-card {
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    margin: 0;
}
.patchbay .ch-card:last-child { border-right: 0; }
.patchbay .ch-card strong {
    display: block;
    margin: 0 0 0.35rem;
    color: var(--hush);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.cards-5, .feat-grid, .plan-row {
    display: grid;
    gap: 1rem;
}
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.feat-grid article { display: flex; flex-direction: column; min-height: 100%; }
.plan-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}
.ch-card, .feat-grid article, .plan-card, .connect-card, .panel {
    background: var(--lift);
    border: 1px solid var(--line);
    padding: 1.25rem 1.3rem;
    border-radius: 18px;
}
.ch-card h3, .feat-grid h3, .plan-card h3 { font-size: 1.15rem; }
.ch-card p, .feat-grid p, .plan-blurb { color: var(--hush); margin: 0; }
.ch-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 0 4px rgba(139, 124, 255, 0.12);
}
.ch-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #0a0d16;
}
.ch-icon svg { width: 1.25rem; height: 1.25rem; display: block; }
.ch-email { background: var(--heat); }
.ch-telegram { background: #6f8bff; }
.ch-whatsapp { background: var(--live); }
.ch-instagram { background: #d46bb3; }
.ch-widget { background: var(--pearl); }

.bill-toggle {
    display: inline-flex;
    gap: 0;
    margin: 1rem 0 0.45rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--board);
}
.bill-toggle button {
    background: transparent;
    color: var(--pearl);
    border: 0;
    padding: 0.48rem 1rem;
    font: inherit;
    cursor: pointer;
    border-radius: 999px;
}
.bill-toggle button.is-on { background: var(--heat); color: #140806; }
.plan-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2.4rem 1.25rem 1.25rem;
    min-height: 100%;
    height: 100%;
}
.plan-badge {
    position: absolute;
    top: 0.75rem;
    left: 1.15rem;
    margin: 0;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #140806;
    background: var(--heat);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-weight: 700;
    line-height: 1.2;
    width: max-content;
    max-width: calc(100% - 2.3rem);
}
.plan-card:not(.is-featured):not(.is-current) .plan-badge { visibility: hidden; }
.plan-card.is-featured {
    border-color: rgba(255, 106, 61, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.22), 0 18px 40px rgba(0, 0, 0, 0.22);
}
.plan-card.is-current:not(.is-featured) {
    border-color: rgba(46, 230, 184, 0.45);
}
.plan-card h3 { margin-bottom: 0.4rem; }
.plan-blurb { min-height: 2.7em; }
.plan-price {
    font-family: var(--display);
    font-size: 2.5rem;
    letter-spacing: -0.04em;
    margin: 0.45rem 0 0.85rem;
}
.plan-price small { display: block; font-size: 0.85rem; color: var(--hush); font-family: "IBM Plex Sans", sans-serif; letter-spacing: 0; }
.plan-card ul {
    padding-left: 1.1rem;
    color: var(--hush);
    margin: 0 0 1.2rem;
    flex: 1 1 auto;
    display: grid;
    gap: 0.28rem;
    align-content: start;
}
.plan-card .btn-amber,
.plan-card .btn-ghost { width: 100%; }
.plan-card > .btn-amber { margin-top: auto; }
.plan-cta-stack {
    margin-top: auto;
    display: grid;
    gap: 0.5rem;
}
.plan-cta-stack .hint { margin: 0; }
.yearly-note, .hint { color: var(--hush); font-size: 0.92rem; }
.page-sub { color: var(--hush); margin: 0 0 1.2rem; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--hush); margin: 0.6rem 0 0; }
.final-cta {
    text-align: center;
    background:
        radial-gradient(520px 220px at 50% 0%, var(--glow), transparent 70%),
        var(--board);
}
.final-cta p { color: var(--hush); }
.site-foot {
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    color: var(--hush);
    font-size: 0.92rem;
}
.foot-links { display: flex; gap: 1rem; }
.site-foot a { color: inherit; }
.powered { margin: 0; color: var(--hush); font-size: 0.82rem; }
.powered a { color: inherit; }
.powered a:hover { color: var(--pearl); }
.desk-powered { padding: 1.2rem 1.9rem 1.6rem; }
.auth-powered { text-align: center; padding: 1.2rem 0 2rem; }
.legal-page { max-width: 46rem; padding-top: 2.4rem; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.2rem 0 1.2rem; }
.legal-page h2 { font-size: 1.15rem; margin: 1.8rem 0 0.55rem; }
.legal-page p { color: var(--hush); margin: 0 0 0.75rem; }

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 5.5rem 1.2rem 2rem;
}
.auth-card {
    width: min(28rem, 100%);
    background: var(--lift);
    padding: 2rem 1.8rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.auth-card h1 { font-size: 1.8rem; }
.auth-mark { position: absolute; top: 1.2rem; left: 4vw; z-index: 2; }
.stack-form { display: grid; gap: 0.85rem; }
.stack-form label { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--hush); }
.stack-form input, .stack-form textarea, .stack-form select {
    background: var(--night);
    border: 1px solid var(--line);
    color: var(--pearl);
    padding: 0.7rem 0.75rem;
    font: inherit;
    border-radius: 12px;
}
.stack-form textarea { min-height: 7rem; resize: vertical; }
.inline { display: flex !important; align-items: center; gap: 0.45rem; }
.field-err { color: #ff8a78; }
.auth-switch { margin-top: 1.1rem; color: var(--hush); }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0;
    color: var(--hush);
    font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.talk-google { min-height: 2.6rem; width: 100%; }
.talk-google-form { display: none; }

.cabinet-body {
    display: grid;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "top top"
        "nav main";
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}
.desk-top {
    grid-area: top;
    padding: 0.7rem 1.2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cabinet-body > .desk-top { z-index: 8; }
.desk-top .nav-tools { margin-inline-start: auto; }
.desk-top-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    min-width: 0;
}
.desk-top-links a {
    color: var(--pearl);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
}
.desk-top-links a:hover { color: var(--pearl); background: var(--lift); }
.desk-top-links a.is-on {
    background: var(--lift);
    box-shadow: inset 0 -2px 0 var(--heat);
}
.desk-nav {
    grid-area: nav;
    background: #0c101a;
    border-right: 1px solid var(--line);
    padding: 1.2rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    min-height: 0;
    overflow: auto;
}
.desk-nav nav { display: grid; gap: 0.25rem; }
.desk-nav nav a, .desk-nav button {
    color: var(--pearl);
    background: none;
    border: 0;
    text-align: left;
    font: inherit;
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    border-radius: 12px;
}
.desk-nav nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}
.desk-nav nav a.is-on { background: var(--lift); color: var(--pearl); box-shadow: inset 3px 0 0 var(--heat); }
.nav-count,
.desk-picker em,
.desk-switch__hops em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: var(--heat);
    color: #140806;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}
.desk-switch {
    display: grid;
    gap: 0.35rem;
    padding: 0.15rem 0.2rem 0.2rem;
}
.desk-switch__label {
    margin: 0;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hush);
}
.desk-switch__row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.desk-picker {
    position: relative;
    flex: 1;
    min-width: 0;
}
.desk-picker > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    width: 100%;
    margin: 0;
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--lift);
    color: var(--pearl);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.desk-picker > summary::-webkit-details-marker { display: none; }
.desk-picker > summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.desk-picker__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    display: grid;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--board);
    box-shadow: 0 16px 32px rgba(8, 10, 18, 0.28);
}
.desk-picker__list form { margin: 0; }
.desk-picker__list button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    font-weight: 600;
}
.desk-picker__list button:hover,
.desk-picker__list button.is-on { background: var(--lift); }
.desk-switch__hops {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.desk-switch__hops form { margin: 0; }
.desk-switch__hops button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.45rem 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 106, 61, 0.35);
    background: rgba(255, 106, 61, 0.1);
    color: var(--pearl);
    font-size: 0.72rem;
    font-weight: 700;
}
.desk-switch__add {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--lift);
    color: var(--pearl);
    font: inherit;
    font-size: 1.15rem;
    line-height: 1;
    text-align: center;
}
.desk-switch__add:hover,
.desk-switch__add[aria-expanded="true"] {
    border-color: var(--voice);
    color: var(--pearl);
}
.desk-switch__new {
    display: grid;
    gap: 0.35rem;
}
.desk-switch__new[hidden] { display: none !important; }
.desk-switch__new input {
    margin: 0;
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--lift);
    color: var(--pearl);
    font: inherit;
}
.desk-switch__new button {
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    border: 0;
    background: var(--heat);
    color: #140806;
    font: inherit;
    font-weight: 700;
    text-align: center;
}
.desk-switch__who {
    margin: 0;
    font-size: 0.78rem;
    color: var(--hush);
}
.know-page { max-width: 46rem; }
.know-stack { display: grid; gap: 1rem; }
.know-card { display: grid; gap: 0.35rem; }
.know-card h2 { font-size: 1.2rem; margin: 0 0 0.15rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.4rem 0 0.8rem; }
.desk-nav-foot { margin-top: auto; display: grid; gap: 0.7rem; }
.desk-nav-foot .powered { font-size: 0.75rem; }
.desk-main { grid-area: main; min-width: 0; min-height: 0; background: var(--night); overflow: auto; }
.desk-main:has(.inbox-shell) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.desk-main:has(.inbox-shell) > .flash { flex: 0 0 auto; }
.page-pad { padding: 1.6rem 1.9rem 3rem; max-width: 92rem; }
.page-pad > h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.flash { margin: 0; padding: 0.7rem 1.2rem; }
.flash.ok { background: rgba(46, 230, 184, 0.12); }
.flash.err { background: rgba(255, 106, 61, 0.14); }

.inbox-shell { display: grid; flex: 1; min-height: 0; height: 100%; }
.inbox-shell.is-idle { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.inbox-shell.is-open { grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) minmax(260px, 320px); }
.inbox-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.7rem;
}
.inbox-filter a {
    color: var(--hush);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
}
.inbox-filter a.is-on {
    color: var(--pearl);
    border-color: var(--heat);
    background: rgba(255, 106, 61, 0.12);
}
.thread-details-toggle { display: none; margin-left: auto; }
.contact-geo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--hush);
    font-size: 0.75rem;
    margin: 0 0 0.45rem;
    min-width: 0;
}
.contact-geo img { flex: 0 0 auto; }
.page-link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-list { border-right: 1px solid var(--line); min-height: 0; overflow: auto; background: var(--board); }
.thread-list-top, .thread-head { padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--line); }
.thread-list-top h1 { margin: 0; font-size: 1.45rem; }
.thread-list-top .kicker { margin-bottom: 0.35rem; }
.thread-empty { padding: 1rem 1.15rem; }
.thread-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    color: var(--pearl);
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.thread-row.is-on, .thread-row:hover { background: var(--lift); color: var(--pearl); }
.thread-copy { min-width: 0; }
.thread-copy strong, .thread-copy small { display: block; }
.thread-copy small {
    margin-top: 0.2rem;
    color: var(--hush);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thread-meta {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
}
.thread-row time, .thread-row em { font-size: 0.72rem; color: var(--hush); }
.thread-row em {
    background: var(--heat);
    color: #140806;
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
    font-style: normal;
    font-weight: 700;
}
.thread-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.thread-status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-left: auto; }
.status-chip {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--pearl);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    cursor: pointer;
}
.status-chip.is-now { cursor: default; opacity: 0.75; }
.status-chip.status-pending { border-color: rgba(250, 204, 21, 0.45); color: #facc15; }
.status-chip.status-resolved, .status-chip.status-closed { border-color: rgba(46, 230, 184, 0.4); color: #2ee6b8; }
.status-chip.status-open, .status-chip.status-ai { border-color: rgba(125, 211, 252, 0.4); color: #7dd3fc; }
.status-chip.status-needs, .status-chip.status-you { border-color: rgba(251, 146, 60, 0.55); color: #fdba74; }
button.status-chip:hover { background: var(--lift); }
.thread-row.is-pending { opacity: 0.88; }
.pill-pending { color: #facc15; border-color: rgba(250, 204, 21, 0.4); }
.thread-head .mono { display: block; color: var(--hush); font-size: 0.75rem; }
.thread-pane { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.thread-head { flex: 0 0 auto; }
.thread-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 1.1rem; display: grid; gap: 0.65rem; align-content: start; }
.bubble {
    position: relative;
    max-width: 70%;
    padding: 0.75rem 0.95rem;
    background: var(--bubble-in);
    color: var(--bubble-in-ink);
    border-radius: 16px 16px 16px 6px;
    border: 1px solid var(--line);
}
.bubble.out {
    justify-self: end;
    background: var(--bubble-out);
    color: var(--bubble-out-ink);
    border-color: transparent;
    border-radius: 16px 16px 6px 16px;
    box-shadow: inset 3px 0 0 var(--voice);
}
.bubble p { margin: 0; word-break: break-word; color: inherit; }
.bubble a { color: var(--bubble-in-link); text-decoration: underline; text-underline-offset: 2px; }
.bubble.out a { color: var(--bubble-out-link); }
.bubble time {
    display: block;
    font-size: 0.72rem;
    color: var(--hush);
    margin-top: 0.3rem;
}
.bubble.out time { color: var(--bubble-out-meta); }
.composer {
    flex: 0 0 auto;
    display: grid;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem 0.8rem;
    border-top: 1px solid var(--line);
    background: var(--board);
}
.composer-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: end;
    padding: 0.35rem 0.35rem 0.35rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--lift);
    box-shadow: inset 3px 0 0 var(--heat);
}
.composer-dock:focus-within {
    border-color: rgba(124, 140, 255, 0.45);
}
.composer-dock textarea {
    width: 100%;
    min-height: 2.55rem;
    max-height: 8.5rem;
    resize: none;
    border: 0;
    background: transparent;
    color: var(--pearl);
    padding: 0.5rem 0.1rem;
    margin: 0;
    font: inherit;
    line-height: 1.4;
}
.composer-dock textarea::placeholder { color: var(--hush); }
.composer-send {
    height: 2.5rem;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 12px;
    background: var(--heat);
    color: #140806;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.composer-send:hover { filter: brightness(1.06); }
.composer-hint {
    margin: 0;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: var(--hush);
}
.composer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ai-draft {
    margin: 0 0 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(251, 146, 60, 0.45);
    border-radius: 12px;
}
.ai-draft textarea { width: 100%; }
.assign-form select {
    background: transparent;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
}
.bot-toggle { margin-right: auto; }
.bot-toggle .inline { margin: 0; color: var(--pearl); }
.contact-pane {
    border-left: 1px solid var(--line);
    padding: 0.7rem 0.75rem 0.65rem;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}
.contact-head .kicker { margin: 0; }
.contact-pane h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.presence {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--hush);
}
.presence::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #64748b;
}
.presence-live { color: #2ee6b8; }
.presence-live::before { background: #2ee6b8; box-shadow: 0 0 0 3px rgba(46, 230, 184, 0.18); }
.presence-offline { color: #facc15; }
.presence-offline::before { background: #facc15; }
.presence-left { color: #fb7185; }
.presence-left::before { background: #fb7185; }
.composer-gone {
    margin: 0;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: rgba(251, 113, 133, 0.12);
    color: #fecdd3;
    font-size: 0.78rem;
    line-height: 1.35;
}
.composer.is-locked .composer-dock { opacity: 0.45; pointer-events: none; }
.dossier {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.55rem;
    min-height: 0;
    overflow: auto;
}
.dossier > div { min-width: 0; }
.dossier .span-2 { grid-column: 1 / -1; }
.dossier dt {
    color: var(--hush);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}
.dossier dd {
    margin: 0.08rem 0 0;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dossier .mono { font-size: 0.72rem; }
.inbox-filter {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.inbox-filter a {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hush);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.inbox-filter a.is-on {
    color: #140806;
    background: var(--heat);
    border-color: var(--heat);
}
.thread-head { justify-content: flex-start; }
.thread-details-toggle { margin-left: auto; display: none; }
.triage-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.5rem;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    flex: 0 0 auto;
}
.triage-form label { margin: 0; font-size: 0.68rem; color: var(--hush); }
.triage-form select {
    width: 100%;
    background: var(--night);
    border: 1px solid var(--line);
    color: var(--pearl);
    padding: 0.32rem 0.45rem;
    border-radius: 8px;
    font: inherit;
    font-size: 0.8rem;
}
.triage-form .btn-amber {
    grid-column: 1 / -1;
    padding: 0.4rem 0.6rem;
    font-size: 0.78rem;
}
.thread-meta .pill {
    font-size: 0.65rem;
    color: var(--hush);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
}
.thread-meta .pill.handling-ai { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.4); }
.thread-meta .pill.handling-needs,
.thread-meta .pill.handling-you { color: #fdba74; border-color: rgba(251, 146, 60, 0.45); }
.thread-meta .pill.handling-closed { color: #2ee6b8; border-color: rgba(46, 230, 184, 0.4); }
.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
}
.contact-row:hover { color: var(--pearl); }
.contact-row .mono, .contact-row span { display: block; color: var(--hush); font-size: 0.82rem; }
.know-install__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.contact-show { max-width: 40rem; }
.contact-pane dt { color: var(--hush); font-size: 0.8rem; margin-top: 0.7rem; }
.thread-empty-pane, .empty-desk.is-full {
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    gap: 0.4rem;
    color: var(--hush);
    min-height: 0;
    height: 100%;
    padding: 2rem 1.4rem;
}
.thread-empty-pane h2, .empty-desk.is-full h2 {
    color: var(--pearl);
    margin: 0.4rem 0 0;
}
.thread-empty-pane .voice-trace, .empty-desk.is-full .voice-trace {
    width: min(280px, 70vw);
    height: 48px;
}
.empty-desk { padding: 2rem 1.1rem; }
.connect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.connected-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.snippet {
    width: 100%;
    min-height: 4rem;
    background: var(--night);
    color: var(--pearl);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
}
.mt { margin-top: 2.5rem; }
.docs pre {
    overflow: auto;
    background: var(--night);
    padding: 1rem;
    font-size: 0.82rem;
    border-radius: 12px;
    border: 1px solid var(--line);
}

@media (max-width: 1180px) {
    .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .hero, .how-rail, .patchbay, .cards-5, .feat-grid, .inbox-shell.is-idle, .inbox-shell.is-open, .cabinet-body {
        grid-template-columns: 1fr;
    }
    .how-rail li, .patchbay .ch-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .site-nav { flex-wrap: wrap; }
    .site-nav .nav-links,
    .site-nav .nav-tools { margin-left: 0; width: 100%; flex-wrap: wrap; }
    .cabinet-body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "top"
            "nav"
            "main";
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }
    .desk-nav { overflow: visible; }
    .desk-main:has(.inbox-shell) {
        height: auto;
        overflow: visible;
    }
    .inbox-shell { height: auto; }
    .thread-list { max-height: 38dvh; }
    .thread-pane {
        min-height: 68dvh;
        max-height: 82dvh;
    }
    .contact-pane { display: none; }
    .contact-pane.is-open { display: flex; border-left: 0; border-top: 1px solid var(--line); max-height: 42dvh; }
    .thread-details-toggle { display: inline-flex; }
    .know-install__grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: none; }
    .how, .channel-grid, .features, .pricing, .faq, .final-cta { padding: 3.4rem 5vw; }
    .desk-top-links { width: 100%; }
}
@media (max-width: 640px) {
    .plan-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slip, .line, .live-dot, .voice-bar i, .voice-trace i { animation: none; }
}

[data-theme="light"] {
    --night: #eef0f7;
    --board: #ffffff;
    --lift: #f4f5fb;
    --pearl: #121625;
    --hush: #5c6680;
    --line: rgba(18, 22, 37, 0.1);
    --glow: rgba(139, 124, 255, 0.16);
    --theme-chip: #ffffff;
    --theme-menu: #ffffff;
    --theme-on: rgba(139, 124, 255, 0.1);
    --bubble-in: #ffffff;
    --bubble-in-ink: #121625;
    --bubble-in-link: #4338ca;
    --bubble-out: #ece8ff;
    --bubble-out-ink: #16122a;
    --bubble-out-link: #4c3fd9;
    --bubble-out-meta: #6b6490;
}
[data-theme="light"] body::before {
    background:
        radial-gradient(900px 480px at 12% -10%, rgba(139, 124, 255, 0.1), transparent 60%),
        radial-gradient(700px 420px at 92% 8%, rgba(255, 92, 57, 0.06), transparent 55%);
}
[data-theme="light"] .locale-switch summary,
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
    background: #fff;
    color: var(--pearl);
    border-color: var(--line);
}
[data-theme="light"] .site-nav,
[data-theme="light"] .desk-top { background: rgba(238, 240, 247, 0.86); }
[data-theme="light"] .desk-nav, [data-theme="light"] .thread-list { background: #f7f8fc; }
[data-theme="light"] .composer-dock {
    background: #fff;
    box-shadow: inset 3px 0 0 var(--heat);
}
[data-theme="light"] .composer-dock textarea { color: #121625; }
[data-theme="light"] .desk-nav nav a.is-on { box-shadow: inset 3px 0 0 var(--heat); }
.ticket-row, .row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ticket-row { padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
form label { display: grid; gap: 6px; margin: 12px 0; }

.seo-blog {
    width: min(820px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 80px;
}
.seo-kicker {
    margin: 0 0 10px;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--signal, #7dd3fc);
}
.seo-kicker a { color: inherit; }
.seo-blog h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.seo-lead, .seo-body p, .seo-body li {
    color: var(--mute, #9aa4bd);
    line-height: 1.65;
}
.seo-cards { display: grid; gap: 14px; margin-top: 28px; }
.seo-card {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: rgba(255,255,255,0.03);
}
.seo-card strong { font-size: 1.15rem; }
.seo-card em { color: var(--signal, #7dd3fc); font-style: normal; font-size: 0.88rem; }
.seo-body { display: grid; gap: 14px; margin-top: 22px; }
.seo-body h2 { margin: 12px 0 0; font-size: 1.35rem; }
.seo-body ul { margin: 0; padding-left: 1.2rem; }
.seo-cta { margin: 32px 0 0; }
.seo-more { display: grid; gap: 8px; margin-top: 40px; }
.seo-more a { color: inherit; }
