
@font-face {
    font-family: "Inter Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bricolage Grotesque Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Bricolage Grotesque Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --background: oklch(100% 0 0);
    --foreground: oklch(16% .014 256);
    --card: oklch(100% 0 0);
    --card-foreground: var(--foreground);
    --primary: oklch(55% .19 256);
    --primary-hover: oklch(50% .19 256);
    --primary-foreground: oklch(98.5% 0 0);
    --secondary: oklch(96.7% .006 256);
    --secondary-hover: oklch(93.5% .01 256);
    --muted: oklch(96.7% .006 256);
    --muted-foreground: oklch(50% .02 256);
    --accent: oklch(95.5% .01 256);
    --destructive: oklch(57.7% .215 27);
    --success: oklch(54% .13 155);
    --border: oklch(92% .01 256);
    --input: oklch(90% .01 256);
    --ring: oklch(55% .19 256 / .45);
    --sidebar: oklch(97.2% .01 256);
    --sidebar-accent: oklch(93.5% .01 256);
    --sidebar-foreground: oklch(30% .016 256);
    --sidebar-border: oklch(92% .01 256);

    --radius: .625rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 10px);
    --radius-3xl: calc(var(--radius) + 18px);
    --radius-tile: 38% 38% 38% 12%;

    --shadow-xs: 0 1px 2px 0 oklch(16% .014 256 / .05);
    --shadow-sm: 0 1px 3px 0 oklch(16% .014 256 / .08), 0 1px 2px -1px oklch(16% .014 256 / .08);
    --shadow-lg: 0 24px 48px -16px oklch(30% .06 256 / .18), 0 8px 16px -8px oklch(30% .06 256 / .1);

    --font-sans: "Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Bricolage Grotesque Variable", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --dot-grid: radial-gradient(color-mix(in oklab, var(--foreground) 9%, transparent) 1px, transparent 1px);
    --container: 1200px;
    --gutter: clamp(20px, 4vw, 32px);
    --section: clamp(72px, 9vw, 112px);
    --page-top: clamp(48px, 7vw, 96px);
    --type-display: clamp(40px, 2.8vw + 28px, 68px);
    --type-h1: clamp(34px, 2.4vw + 18px, 52px);
    --type-h2: clamp(28px, 1.6vw + 17px, 40px);
    --type-h3: clamp(20px, .6vw + 14px, 24px);
    --bubble-r: 28px 28px 28px 10px;
    --bubble-r-out: 28px 28px 10px 28px;
}

[data-tone] {
    --tone-bg: oklch(.955 calc(var(--tone-c) * .04) var(--tone-h));
    --tone-fg: oklch(.47 calc(var(--tone-c) * .13) var(--tone-h));
    --tone-border: oklch(.885 calc(var(--tone-c) * .065) var(--tone-h));
    --tone-solid: oklch(.64 calc(var(--tone-c) * .16) var(--tone-h));
}
[data-tone="gray"] { --tone-h: 265; --tone-c: .12; }
[data-tone="blue"] { --tone-h: 256; --tone-c: 1.15; }
[data-tone="green"] { --tone-h: 150; --tone-c: 1; }
[data-tone="teal"] { --tone-h: 190; --tone-c: .9; }
[data-tone="sky"] { --tone-h: 220; --tone-c: .9; }
[data-tone="violet"] { --tone-h: 295; --tone-c: 1; }
[data-tone="pink"] { --tone-h: 350; --tone-c: 1; }
[data-tone="amber"] { --tone-h: 70; --tone-c: 1; }
[data-tone="red"] { --tone-h: 25; --tone-c: 1; }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font: 400 16px/1.6 var(--font-sans);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: color-mix(in oklab, var(--primary) 22%, transparent); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[hidden] { display: none !important; }
main:focus { outline: none; }
@media (min-width: 1024px) {
    main { overflow-x: clip; }
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.nums { font-variant-numeric: tabular-nums; }
.i, .icon { flex: none; }
.i {
    width: 1em; height: 1em;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.display, .h1, .h2, .h3, .h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-optical-sizing: auto;
    text-wrap: balance;
    letter-spacing: -.025em;
}
.display { font-size: var(--type-display); line-height: 1.02; letter-spacing: -.032em; }
.h1 { font-size: var(--type-h1); line-height: 1.06; letter-spacing: -.03em; }
.h2 { font-size: var(--type-h2); line-height: 1.1; letter-spacing: -.028em; }
.h3 { font-size: var(--type-h3); line-height: 1.2; }
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; max-width: 40ch; }
.body { font-size: 16px; line-height: 1.6; color: var(--muted-foreground); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; }
.caption { font-size: 13px; line-height: 1.45; color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); }

.btn {
    --h: 40px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: var(--h); padding: 0 16px;
    border: 1px solid transparent; border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap;
    cursor: pointer; user-select: none; touch-action: manipulation;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .i { font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { --h: 32px; padding: 0 12px; font-size: 13px; }
.btn--lg { --h: 48px; padding: 0 22px; font-size: 15px; border-radius: var(--radius-lg); }
.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-xs), inset 0 1px 0 oklch(100% 0 0 / .14); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: var(--background); border-color: var(--input); color: var(--foreground); box-shadow: var(--shadow-xs); }
.btn--outline:hover { background: var(--accent); }
.btn--secondary { background: var(--secondary); color: var(--foreground); }
.btn--secondary:hover { background: var(--secondary-hover); }
.btn--ghost { background: transparent; color: var(--foreground); }
.btn--ghost:hover { background: var(--accent); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: oklch(96% .02 256); }
.btn--glass { background: transparent; border-color: oklch(100% 0 0 / .5); color: #fff; }
.btn--glass:hover { background: oklch(100% 0 0 / .12); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 500; text-underline-offset: 3px; }
.link:hover { color: var(--primary-hover); text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.input {
    height: 40px; width: 100%; padding: 0 12px;
    background: var(--background); border: 1px solid var(--input); border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs); font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--muted-foreground); }
.input:focus { outline: none; }
.signup { display: flex; gap: 8px; max-width: 440px; }
.signup .input, .signup .btn { height: 48px; }
.signup .input { border-radius: var(--radius-lg); }
.field { display: grid; gap: 6px; align-content: start; }

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    height: 24px; padding: 0 9px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--muted); color: var(--foreground);
    font-size: 12.5px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.badge .i { font-size: 13px; }
.badge[data-tone] { background: var(--tone-bg); color: var(--tone-fg); border-color: var(--tone-border); }
.badge--pill { border-radius: 999px; height: 28px; padding: 0 12px; font-size: 13px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tone-solid, var(--success)); flex: none; }

.tile {
    --s: 40px;
    display: inline-grid; place-items: center; flex: none;
    width: var(--s); height: var(--s);
    border-radius: var(--radius-tile);
    background: var(--tone-bg, var(--muted)); color: var(--tone-fg, var(--foreground));
    box-shadow: inset 0 0 0 1px var(--tone-border, var(--border));
    font-size: calc(var(--s) * .45);
}
.tile--sm { --s: 28px; }
.tile--lg { --s: 56px; }
.tile--solid { background: var(--tone-solid); color: #fff; box-shadow: none; }

.avatar {
    --s: 32px;
    position: relative;
    display: inline-grid; place-items: center; flex: none;
    width: var(--s); height: var(--s); border-radius: 50%;
    background: var(--tone-bg, var(--muted)); color: var(--tone-fg, var(--foreground));
    font-size: calc(var(--s) * .38); font-weight: 600; letter-spacing: -.01em;
}
.avatar--xs { --s: 20px; font-size: 10px; }
.avatar--sm { --s: 24px; }
.avatar--lg { --s: 40px; }
.avatar--xl { --s: 48px; font-size: 14px; }
.avatar > .i { font-size: calc(var(--s) * .55); }
.avatar[data-online]::after {
    content: ""; position: absolute; right: -1px; bottom: -1px;
    width: 30%; height: 30%; border-radius: 50%;
    background: var(--success); box-shadow: 0 0 0 2px var(--card);
}

.card {
    background: var(--card); color: var(--card-foreground);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

.thread { display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }
.bubble {
    padding: 9px 13px; border-radius: 16px 16px 16px 8px;
    background: var(--muted); color: var(--foreground);
    font-size: 14px; line-height: 1.45; text-wrap: pretty;
}
.msg--out .bubble { border-radius: 16px 16px 8px 16px; background: var(--primary); color: var(--primary-foreground); }
.msg-meta { padding-inline: 4px; font-size: 11.5px; color: var(--muted-foreground); }
.typing { display: inline-flex; gap: 3px; padding: 12px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-foreground); opacity: .5; animation: typing 1.2s infinite; }
.msg--out .typing span { background: var(--primary-foreground); }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: .9; transform: translateY(-2px); } }

.dotgrid { background-image: var(--dot-grid); background-size: 18px 18px; }

.frame {
    display: flex; overflow: hidden;
    background: var(--sidebar); color: var(--foreground);
    border: 1px solid var(--border); border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}
.frame__side { display: flex; flex-direction: column; flex: none; width: 240px; contain: size; color: var(--sidebar-foreground); }
.frame__main {
    display: flex; flex: 1; min-width: 0;
    margin: 8px 8px 8px 0; overflow: hidden;
    background: var(--background);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.pane-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.015em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; }
.kv dt { color: var(--muted-foreground); }
.kv dd { margin: 0; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }

.launcher {
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 24px;
    box-shadow: 0 10px 24px -6px oklch(55% .19 256 / .55);
}

.tabs { display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; background: var(--muted); border-radius: var(--radius-lg); scrollbar-width: none; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--muted-foreground); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tabs button[aria-pressed="true"],
.tabs [role="tab"][aria-selected="true"] { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-xs), 0 0 0 1px var(--border); }
.tabs .badge { height: 20px; padding: 0 6px; font-size: 11.5px; }

.switch { position: relative; flex: none; width: 36px; height: 20px; border-radius: 999px; background: var(--primary); }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); }

.pv-wait { visibility: hidden; }
.pv-in { animation: pv-in var(--pv-dur, .5s) var(--pv-ease, cubic-bezier(.2, .7, .2, 1)) both; }
@keyframes pv-in {
    from { opacity: 0; transform: translateY(var(--pv-rise, 6px)); }
}

.phead { padding-block: var(--page-top) clamp(40px, 5vw, 64px); }
.phead .crumbs { display: flex; align-items: center; min-height: 28px; }
.phead__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.phead .h1 { max-width: 20ch; }
.phead .lead { max-width: 46ch; }
.phead--center .phead__inner { align-items: center; text-align: center; }
.phead__note { display: inline-flex; align-items: center; gap: 6px; }
.phead__note .i { font-size: 15px; color: var(--primary); }
.phead--aside .phead__inner { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 40px clamp(40px, 5vw, 72px); align-items: center; }
.phead__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.phead__aside { min-width: 0; }
.shead { display: grid; gap: 18px; justify-items: start; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.shead .h2 { max-width: 22ch; }
.shead .lead { max-width: 34em; }
.shead--center { justify-items: center; margin-inline: auto; text-align: center; }
.shead--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; max-width: none; }
.shead--split .lead { max-width: 44ch; }

.ask { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(32px, 4vw, 48px); }
.ask .msg { max-width: none; }
.ask .h2 { max-width: 18ch; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted-foreground); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--input); }
.crumbs a:hover { color: var(--foreground); }
.crumbs [aria-current] { color: var(--foreground); font-weight: 500; }

.band { background: var(--sidebar); border-block: 1px solid var(--border); }
.stage {
    display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; min-width: 0;
    min-height: var(--stage-h, 0px); padding: clamp(20px, 3vw, 40px); overflow: hidden;
    background-color: var(--sidebar); background-image: var(--dot-grid); background-size: 18px 18px;
    border-radius: var(--bubble-r);
    box-shadow: inset 0 0 0 1px var(--border);
}
.stage--out { border-radius: var(--bubble-r-out); }
.stage[data-tone] { background-color: var(--tone-bg); box-shadow: inset 0 0 0 1px var(--tone-border); }
.vis { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; min-width: 0; }
.vis:has(.vis-launcher) { width: min(100%, 400px); padding-bottom: 72px; }
.vis .vis-launcher { right: 0; bottom: 0; }

.cloud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cloud a {
    display: flex; align-items: center; gap: 12px;
    height: 100%; min-height: 60px; padding: 10px 16px 10px 10px;
    border-radius: 20px 20px 20px 8px; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--border), var(--shadow-xs);
    font-size: 15px; font-weight: 500; line-height: 1.3; text-wrap: balance;
    transition: background-color .15s, box-shadow .15s, color .15s;
}
.cloud .tile { transition: background-color .15s, box-shadow .15s, color .15s; }
.cloud a > .i { margin-left: auto; font-size: 16px; color: var(--muted-foreground); transition: color .15s, transform .15s; }
.cloud a:hover { background: var(--tone-bg); color: var(--tone-fg); box-shadow: inset 0 0 0 1px var(--tone-border); }
.cloud a:hover .tile { background: var(--tone-solid); color: #fff; box-shadow: none; }
.cloud a:hover > .i { color: inherit; transform: translateX(2px); }

.checks { display: grid; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { flex: none; margin-top: 3px; font-size: 18px; color: var(--primary); }

.quote { display: grid; gap: 10px; justify-items: start; }
.quote__bubble { padding: 16px 18px; border-radius: 20px 20px 20px 8px; background: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.quote__by { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted-foreground); }
.quote__by b { font-weight: 600; color: var(--foreground); }
.band .quote__bubble { background: var(--background); box-shadow: inset 0 0 0 1px var(--border); }
.quote mark {
    padding: 0 .12em; border-radius: 4px; color: inherit;
    background: color-mix(in oklab, var(--primary) 16%, transparent);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps > li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--border); }
.steps > li::before {
    counter-increment: step; content: counter(step);
    display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px;
    border-radius: var(--radius-tile); background: color-mix(in oklab, var(--primary) 10%, var(--background));
    color: var(--primary); font: 600 14px/1 var(--font-display); font-variant-numeric: tabular-nums;
}

.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 20px 0; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 500; letter-spacing: -.01em;
    transition: color .15s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--primary); }
.faq__q .i { font-size: 18px; color: var(--muted-foreground); transition: transform .2s; }
.faq__item[open] .faq__q .i { transform: rotate(45deg); }
.faq__a { padding: 0 48px 22px 0; font-size: 16px; }

.prose { max-width: 68ch; font-size: 17px; line-height: 1.75; color: color-mix(in oklab, var(--foreground) 84%, var(--background)); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose :where(h1, h2, h3, h4) { font-family: var(--font-display); font-weight: 600; color: var(--foreground); text-wrap: balance; scroll-margin-top: 96px; }
.prose :where(h1, h2) { margin-top: 2em; font-size: var(--type-h3); line-height: 1.25; letter-spacing: -.02em; }
.prose :where(h3, h4) { margin-top: 1.6em; font-size: 18px; line-height: 1.35; letter-spacing: -.015em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--muted-foreground); }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose :where(strong, b) { font-weight: 600; color: var(--foreground); }
.prose blockquote { padding: 14px 18px; border-radius: 16px 16px 16px 8px; background: var(--muted); color: var(--foreground); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-xl); }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted-foreground); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--foreground); }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--muted); font: .9em/1.5 var(--font-mono); }
.prose pre { padding: 16px 18px; overflow-x: auto; border-radius: var(--radius-lg); background: var(--sidebar); box-shadow: inset 0 0 0 1px var(--border); font: 14px/1.7 var(--font-mono); }
.prose pre code { padding: 0; background: none; }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius-xl); }
.prose hr { border: 0; border-top: 1px solid var(--border); }

.toc { display: grid; font-size: 14px; }
.toc__title { margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 1px solid var(--border); color: var(--muted-foreground); line-height: 1.4; }
.toc a:hover { color: var(--foreground); }
.toc a[aria-current="true"] { color: var(--foreground); border-left-color: var(--primary); }

.field > label, .field__label { font-size: 13.5px; font-weight: 500; }
.field__error { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--destructive); }
.field:has([aria-invalid="true"]) .field__error { display: flex; }
.input[aria-invalid="true"] { border-color: var(--destructive); }
textarea.input { height: auto; min-height: 136px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { flex: none; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--primary); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--tone-border); border-radius: var(--radius-lg); background: var(--tone-bg); color: var(--tone-fg); font-size: 14px; }
.alert .i { font-size: 18px; margin-top: 1px; }

.tabset__panel.is-entering { animation: ui-fade .2s ease both; }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pager ol { display: flex; flex-wrap: wrap; gap: 4px; }
.pager :where(a, span) { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; }
.pager a:hover { background: var(--accent); }
.pager [aria-current="page"] { background: var(--primary); color: var(--primary-foreground); }
.pager :where(.pager__prev, .pager__next) { border: 1px solid var(--input); box-shadow: var(--shadow-xs); }

.closing { padding-block: var(--section) calc(var(--section) + 22px); }
.section:not(.band):has(+ .closing) { padding-bottom: 0; }
.closing__bubble {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end;
    padding: clamp(36px, 6vw, 80px);
    background: var(--primary); color: var(--primary-foreground);
    border-radius: 48px 48px 48px 14px;
    box-shadow: 0 32px 64px -28px oklch(55% .19 256 / .4);
}
.closing__bubble:has(> .closing__aside) { grid-template-columns: minmax(0, 1fr) 300px; }
.closing__bubble::after {
    content: ""; position: absolute; left: 0; bottom: -22px; width: 44px; height: 30px;
    background: var(--primary); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.closing__bubble :focus-visible { outline-color: #fff; }
.closing__copy { display: grid; gap: 24px; justify-items: start; }
.closing .display { max-width: 14ch; font-size: var(--type-h1); line-height: 1.06; letter-spacing: -.03em; }
.closing--long .display { max-width: 20ch; font-size: var(--type-h2); }
.closing__lead { max-width: 40ch; font-size: 18px; line-height: 1.55; }

.doc-head { padding-bottom: 40px; }
.doc-head .h1 { max-width: 22ch; font-size: var(--type-h2); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 48px var(--section); border-top: 1px solid var(--border); }
.doc--legal { grid-template-columns: 200px minmax(0, 1fr) 220px; }
.doc__docs, .doc__aside { position: sticky; top: calc(var(--mh-height) + 32px); }
.doc__docs { display: grid; gap: 2px; }
.doc__docs .caption { margin-bottom: 8px; }
.doc__docs a { padding: 8px 12px; border-radius: 14px 14px 14px 5px; color: var(--muted-foreground); font-size: 14px; line-height: 1.4; transition: background-color .15s, color .15s; }
.doc__docs a:hover, .doc__docs a[aria-current="page"] { background: var(--accent); color: var(--foreground); }
.doc__docs a[aria-current="page"] { font-weight: 500; }
.doc__body { font-size: 16px; }

.nf { padding-block: var(--page-top) var(--section); }
.nf__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.nf__inner .h1 { max-width: 20ch; }
.nf__stage { width: 100%; max-width: 640px; text-align: left; }
.nf__thread { width: 100%; max-width: 480px; }
.nf__thread .bubble { font-size: 15px; }
.nf__thread .msg:not(.msg--out) .bubble { background: var(--background); box-shadow: inset 0 0 0 1px var(--border); }
.nf__links { flex-wrap: wrap; gap: 8px; max-width: none; padding-left: 32px; }
.nf__links .badge { background: var(--background); transition: border-color .15s, color .15s; }
.nf__links .badge:hover { border-color: var(--primary); color: var(--primary); }

.ui-landing .mh-bar {
    background: var(--sidebar);
    box-shadow: inset 0 -1px 0 var(--border);
    font-size: 13.5px;
}
.ui-landing .mh-bar__link { color: var(--primary); font-weight: 500; text-decoration-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.ui-landing .mh-bar__close:hover { background: var(--accent); }
.ui-landing .mh {
    background: color-mix(in oklab, var(--background) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 var(--border);
}
.ui-landing .mh__inner { width: min(100% - 2 * var(--gutter), var(--container)); gap: 20px; margin-inline: auto; padding-inline: 0; }
.ui-landing .mh__logo { padding-inline: 0; }
.ui-landing .mh-nav__link,
.ui-landing .mh__link { min-height: 34px; padding: 0 11px; font-size: 14px; font-weight: 500; color: var(--muted-foreground); transition: color .15s, background-color .15s; }
.ui-landing .mh-nav__item--dropdown .mh-nav__link { padding-right: 2px; }
.ui-landing .mh-nav__link:hover,
.ui-landing .mh__link:hover,
.ui-landing .mh-nav__item--dropdown:hover .mh-nav__link,
.ui-landing .mh-nav__item--dropdown:focus-within .mh-nav__link { color: var(--foreground); }
.ui-landing .mh-nav__toggle { height: 34px; }
.ui-landing .mh__lang { font-size: 12px; font-weight: 600; }
.ui-landing .mh__cta,
.ui-landing .mh-panel__cta {
    min-height: 36px; padding: 0 14px;
    border-radius: var(--radius-md);
    background: var(--primary);
    box-shadow: var(--shadow-xs), inset 0 1px 0 oklch(100% 0 0 / .14);
    font-size: 14px; font-weight: 500;
}
.ui-landing .mh__cta:hover,
.ui-landing .mh-panel__cta:hover { background: var(--primary-hover); }
.ui-landing .mh-panel__cta { min-height: 48px; font-size: 15px; }
.ui-landing .mh-mega { box-shadow: var(--shadow-lg); }
.ui-landing .mh-mega__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding: 32px 0 40px; }
.ui-landing .mh-mega__title,
.ui-landing .mh-panel__link { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
.ui-landing .mh-mega__desc { font-size: 14px; line-height: 1.55; color: var(--muted-foreground); }
.ui-landing .mh-mega__more { color: var(--primary); font-weight: 500; text-decoration-color: transparent; }
.ui-landing .mh-mega__more:hover { text-decoration-color: currentColor; }
.ui-landing .mh-mega__label { font-size: 14.5px; font-weight: 500; }
.ui-landing .mh-mega__hint { font-size: 13px; color: var(--muted-foreground); }

.ui-landing .ft { padding-block: 56px 40px; border-top: 1px solid var(--border); background: var(--background); font-size: 14px; }
.ui-landing .ft__inner { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ui-landing .ft__top { display: grid; gap: 40px; }
.ui-landing .ft__groups { display: grid; }
.ui-landing .ft-group__title,
.ui-landing .ft-news__title { font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.ui-landing .ft-group__title { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; list-style: none; cursor: pointer; }
.ui-landing .ft-group__title::-webkit-details-marker { display: none; }
.ui-landing .ft-group__title .icon { color: var(--muted-foreground); transition: transform .2s; }
.ui-landing .ft-group[open] .ft-group__title .icon { transform: rotate(180deg); }
.ui-landing .ft-group__list { display: grid; gap: 10px; padding-bottom: 16px; }
.ui-landing .ft-group__list a,
.ui-landing .ft__legal a,
.ui-landing .ft__lang,
.ui-landing .ft__copy a { color: var(--muted-foreground); transition: color .15s; }
.ui-landing .ft-group__list a:hover,
.ui-landing .ft__legal a:hover,
.ui-landing .ft__lang:hover,
.ui-landing .ft__copy a:hover { color: var(--foreground); }
.ui-landing .ft-news { display: grid; align-content: start; gap: 12px; max-width: 420px; }
.ui-landing .inline-form { display: flex; gap: 8px; }
.ui-landing .inline-form__input {
    flex: 1; min-width: 0; height: 40px; padding: 0 12px;
    background: var(--background); border: 1px solid var(--input); border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs); font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.ui-landing .inline-form__input::placeholder { color: var(--muted-foreground); }
.ui-landing .inline-form__input:focus { outline: none; }
.ui-landing .inline-form__input[aria-invalid="true"] { border-color: var(--destructive); }
.ui-landing .form-msg { min-height: 1.45em; font-size: 13px; line-height: 1.45; color: var(--muted-foreground); }
.ui-landing .form-msg--error { color: var(--destructive); }
.ui-landing .form-msg--success { color: var(--success); }
.ui-landing .ft__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--muted-foreground);
}
.ui-landing .ft__start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ui-landing .ft__legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.ui-landing .ft__meta { display: flex; align-items: center; gap: 16px; }
.ui-landing .ft__social { display: flex; }
.ui-landing .ft__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.ui-landing .ft__social a:hover { background: var(--accent); color: var(--foreground); }
@media (max-width: 767px) {
    .ui-landing .ft { padding-top: 24px; }
    .ui-landing .ft-group { border-bottom: 1px solid var(--border); }
}
@media (min-width: 768px) {
    .ui-landing .ft__groups { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
    .ui-landing .ft-group__title { padding-block: 0 14px; pointer-events: none; }
    .ui-landing .ft-group__title .icon { display: none; }
    .ui-landing .ft-group__list { padding-bottom: 0; }
}
@media (min-width: 1024px) {
    .ui-landing .ft__top { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 48px; }
}

.ui-landing .cc_container { gap: 16px; padding: 12px var(--gutter); background: var(--foreground); font-family: var(--font-sans); font-size: 14px; }
.ui-landing .cc_container .cc_message { font-size: 14px; }
.ui-landing .cc_container .cc_btn,
.ui-landing .cc_container .cc_btn:visited {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
    background-color: var(--background); color: var(--foreground);
    border-color: var(--background); border-radius: var(--radius-md);
    font-size: 14px; font-weight: 500;
}
.ui-landing .cc_container .cc_btn:hover,
.ui-landing .cc_container .cc_btn:active { background-color: var(--secondary-hover); color: var(--foreground); }
.ui-landing .cc_container a { color: inherit; }
.is-panel-open .cc_banner-wrapper { display: none; }

@media (max-width: 1080px) {
    .doc--legal { grid-template-columns: minmax(0, 1fr) 200px; gap: 32px 40px; }
    .doc--legal .doc__docs { grid-column: 1 / -1; position: static; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .doc__docs .caption { display: none; }
    .doc__docs a { flex: none; border: 1px solid var(--border); white-space: nowrap; }
}
@media (max-width: 960px) {
    .closing__bubble:has(> .closing__aside) { grid-template-columns: minmax(0, 1fr); }
    .phead--aside .phead__inner { grid-template-columns: minmax(0, 1fr); }
    .nf__links { padding-left: 0; }
    .doc--legal { grid-template-columns: minmax(0, 1fr); }
    .doc__aside { display: none; }
    .cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .faq__a { padding-right: 0; }
    .cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .signup { flex-direction: column; }
    .cloud { gap: 8px; }
    .cloud a { min-height: 52px; padding: 8px 10px 8px 8px; gap: 10px; font-size: 14px; }
    .cloud .tile { --s: 32px; }
    .cloud a > .i { display: none; }
    .closing__bubble { padding: 32px 22px; border-radius: 32px 32px 32px 10px; }
    .closing .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 359px) {
    .vis { zoom: .88; }
    .cloud { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
    .pv-wait { visibility: visible; }
}
