:root{--accent:#2f5bd3;--accent-ink:#ffffff;--accent-soft:#e8eefc;--ink:#15171c;--muted:#596070;--paper:#ffffff;--soft:#f4f6f9;--line:#e2e6ec;--code:#f6f8fa;--code-ink:#1f2430;--font-body:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;color-scheme:light dark}
@media (prefers-color-scheme:dark){:root{--accent:#8aa8ff;--accent-ink:#0d1222;--accent-soft:#1b2440;--ink:#e8eaf0;--muted:#9aa1b2;--paper:#0f1115;--soft:#161a21;--line:#262b35;--code:#151922;--code-ink:#dbe0ea;}}
/* the site's one stylesheet. colors and fonts are variables from brand.ts (theme.ts writes them above this file) */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 76px;
}
body {
    margin: 0;
    font: 16px/1.65 var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
}
code,
kbd,
pre {
    font-family: var(--font-mono);
    font-size: 0.875em;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 8px;
    top: 8px;
    z-index: 100;
    background: var(--paper);
    padding: 8px 12px;
}

/* header and footer */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header-in,
.site-footer-in {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-header-in {
    height: 60px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.brand:hover {
    text-decoration: none;
}
.brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
}
.site-nav {
    display: flex;
    gap: 20px;
}
.site-nav a {
    color: var(--muted);
    font-weight: 500;
}
.site-nav a[aria-current] {
    color: var(--ink);
}
.site-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-nav-quote,
.site-nav-search,
.site-menu {
    display: none;
}
.lang-switch {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 6px;
}
.lang-switch:hover {
    color: var(--ink);
    background: var(--soft);
    text-decoration: none;
}
.button.small {
    padding: 7px 14px;
    font-size: 14px;
}
.search-open {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 6px 8px 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
kbd {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 6px;
    background: var(--paper);
    font-size: 12px;
}
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 64px;
    padding: 36px 0 48px;
    color: var(--muted);
    font-size: 14px;
}
.site-footer-in {
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.site-footer p {
    margin: 8px 0 0;
}
.footer-brand {
    max-width: 320px;
}
.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}
.site-footer .footer-title {
    margin: 0 0 4px;
    color: var(--ink);
    font-weight: 600;
}
.site-footer nav a {
    color: var(--muted);
}

/* docs grid */
.docs {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 220px;
    gap: 48px;
}
.docs-menu {
    display: none;
}
.docs-nav,
.toc {
    position: sticky;
    top: 60px;
    align-self: start;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 28px 0 40px;
    font-size: 14px;
}
.docs-nav ul,
.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.docs-nav a {
    display: block;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--muted);
}
.docs-nav a:hover {
    color: var(--ink);
    background: var(--soft);
    text-decoration: none;
}
.docs-nav a[aria-current] {
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 600;
}
.nav-group {
    margin-top: 14px;
}
.nav-group-title a {
    color: var(--ink);
    font-weight: 600;
}
.nav-group ul {
    margin-left: 10px !important;
    padding-left: 6px !important;
    border-left: 1px solid var(--line);
}
.toc-title {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 13px;
}
.toc a {
    display: block;
    padding: 3px 0 3px 12px;
    border-left: 2px solid var(--line);
    color: var(--muted);
}
.toc .toc-3 a {
    padding-left: 24px;
}
.toc a.active {
    color: var(--accent);
    border-left-color: var(--accent);
}

/* the article */
.doc {
    min-width: 0;
    padding: 28px 0 40px;
    max-width: 760px;
}
.crumb {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--muted);
    display: flex;
    gap: 8px;
}
.crumb a {
    color: var(--muted);
}
.doc h1 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.lead {
    font-size: 19px;
    color: var(--muted);
    margin: 0 0 28px;
}
.doc h2 {
    font-size: 24px;
    letter-spacing: -0.01em;
    margin: 44px 0 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.doc h3 {
    font-size: 18px;
    margin: 30px 0 8px;
}
.doc h2:first-of-type {
    border-top: 0;
}
.anchor {
    margin-left: 8px;
    color: var(--line);
    font-weight: 400;
    opacity: 0;
}
h2:hover .anchor,
h3:hover .anchor,
.anchor:focus {
    opacity: 1;
}
.doc p,
.doc ul,
.doc ol {
    margin: 0 0 16px;
}
.doc li {
    margin: 4px 0;
}
.doc li.task {
    list-style: none;
}
.doc :not(pre) > code {
    background: var(--code);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 1px 5px;
    overflow-wrap: anywhere;
}
pre.code {
    position: relative;
    background: var(--code);
    color: var(--code-ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    overflow-x: auto;
    line-height: 1.55;
    margin: 0 0 20px;
}
pre.code[data-lang]::before {
    content: attr(data-lang);
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 11px;
    color: var(--muted);
}
.copy {
    position: absolute;
    top: 6px;
    right: 44px;
    font: 12px var(--font-body);
    color: var(--muted);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 8px;
    cursor: pointer;
    opacity: 0;
}
pre.code:hover .copy,
.copy:focus {
    opacity: 1;
}
.tok-com {
    color: #6a737d;
    font-style: italic;
}
.tok-str {
    color: #0a7d4f;
}
.tok-kw {
    color: #b0258f;
}
.tok-lit,
.tok-num {
    color: #b25b00;
}
.tok-type {
    color: #2559c6;
}
.tok-fn {
    color: #6c3bbf;
}
.tok-prop {
    color: #2559c6;
}
@media (prefers-color-scheme: dark) {
    .tok-com {
        color: #7d8696;
    }
    .tok-str {
        color: #7fd3a6;
    }
    .tok-kw {
        color: #f08cd5;
    }
    .tok-lit,
    .tok-num {
        color: #f2b46d;
    }
    .tok-type,
    .tok-prop {
        color: #8fb4ff;
    }
    .tok-fn {
        color: #c4a5ff;
    }
}
.table-wrap {
    overflow-x: auto;
    margin: 0 0 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14.5px;
}
th,
td {
    text-align: left;
    vertical-align: top;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
}
th {
    background: var(--soft);
    font-weight: 600;
}
tr:last-child td {
    border-bottom: 0;
}
blockquote {
    margin: 0 0 16px;
    padding: 2px 16px;
    border-left: 3px solid var(--line);
    color: var(--muted);
}
.callout {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--soft);
}
.callout p:last-child {
    margin-bottom: 0;
}
.callout-planned {
    border-color: #d9a441;
    background: color-mix(in srgb, #d9a441 10%, var(--paper));
}
.callout-warning {
    border-color: #d65745;
    background: color-mix(in srgb, #d65745 9%, var(--paper));
}
.callout-tip {
    border-color: var(--accent);
    background: var(--accent-soft);
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 32px 0;
}
.doc-source {
    margin-top: 40px !important;
    font-size: 14px;
}
.pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.pager a {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-weight: 600;
}
.pager a:hover {
    border-color: var(--accent);
    text-decoration: none;
}
.pager a span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}
.pager-next {
    text-align: right;
}

/* search */
.search {
    width: min(680px, calc(100vw - 24px));
    max-height: min(640px, calc(100vh - 80px));
    margin: 72px auto auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.25);
}
.search::backdrop {
    background: rgb(10 12 18 / 0.45);
}
.search-box {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}
.search-box input {
    flex: 1;
    font: inherit;
    font-size: 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}
.search-box button {
    font: 12px var(--font-body);
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}
.search-results {
    list-style: none;
    margin: 0;
    padding: 8px;
    overflow-y: auto;
    max-height: calc(min(640px, 100vh - 80px) - 64px);
}
.search-results li a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink);
}
.search-results li a:hover,
.search-results li[aria-selected='true'] a {
    background: var(--accent-soft);
    text-decoration: none;
}
.search-results b {
    display: block;
}
.search-results small {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
}
.search-results mark {
    background: none;
    color: var(--accent);
    font-weight: 600;
}
.search-empty {
    padding: 16px 12px;
    color: var(--muted);
}

/* plain pages: 404 and the placeholder home */
.page {
    max-width: 880px;
    margin: 0 auto;
    padding: 72px 24px 24px;
}
.page h1 {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}
.page .lead {
    font-size: 20px;
}
.button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 9px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
}
.button:hover {
    text-decoration: none;
    filter: brightness(1.08);
}
.button.secondary {
    background: var(--soft);
    color: var(--ink);
    border: 1px solid var(--line);
}
.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .docs {
        grid-template-columns: 230px minmax(0, 1fr);
    }
    .toc {
        display: none;
    }
}
@media (max-width: 760px) {
    .site-header-in {
        gap: 14px;
        padding: 0 16px;
    }
    .search-open kbd {
        display: none;
    }
    .search-open {
        padding: 6px 10px;
    }
    .docs {
        display: block;
        padding: 0 16px;
    }
    .docs-menu {
        display: block;
        width: 100%;
        margin: 12px 0 0;
        padding: 8px 12px;
        text-align: left;
        font: inherit;
        font-size: 14px;
        color: var(--ink);
        background: var(--soft);
        border: 1px solid var(--line);
        border-radius: 8px;
    }
    .docs-nav {
        display: none;
        position: static;
        max-height: none;
        padding: 8px 0 0;
    }
    .docs-nav.open {
        display: block;
    }
    .doc {
        padding-top: 16px;
    }
    .doc h1 {
        font-size: 30px;
    }
    .lead {
        font-size: 17px;
    }
    .page {
        padding-top: 40px;
    }
    .page h1 {
        font-size: 34px;
    }
}

/* only the current section opens its pages in the sidebar; a table's first column keeps its code on one line */
.nav-group:not(.open) ul {
    display: none;
}
td:first-child code {
    white-space: nowrap;
    overflow-wrap: normal;
}

/* the header on a narrow screen: the links fold into a menu under it */
@media (max-width: 1100px) {
    .site-header-in {
        position: relative;
    }
    .site-menu {
        display: block;
        font: inherit;
        font-size: 14px;
        padding: 6px 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--paper);
        color: var(--ink);
        cursor: pointer;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 16px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgb(0 0 0 / 0.08);
    }
    .site-nav.open {
        display: flex;
    }
    .site-nav a {
        padding: 10px 8px;
        border-radius: 8px;
    }
    .site-nav a:hover {
        background: var(--soft);
        text-decoration: none;
    }
}
@media (max-width: 760px) {
    .header-quote,
    .search-open {
        display: none;
    }
    .site-nav-search {
        display: block;
        margin-top: 8px;
        padding: 10px 8px;
        text-align: left;
        font: inherit;
        color: var(--ink);
        background: var(--soft);
        border: 1px solid var(--line);
        border-radius: 8px;
        cursor: pointer;
    }
    .site-nav-quote {
        display: block;
        margin-top: 8px;
        text-align: center;
        background: var(--accent);
        color: var(--accent-ink) !important;
        font-weight: 600;
    }
}

/* the product pages */
.product .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.product h1 {
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    max-width: 900px;
}
.product h2 {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.product h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 6px;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero {
    padding: 72px 0 32px;
}
.page-head {
    padding: 64px 0 8px;
}
.hero-lead {
    font-size: 20px;
    color: var(--muted);
    max-width: 760px;
    margin: 0 0 28px;
}
.hero .actions,
.closing .actions {
    align-items: center;
    gap: 20px;
}
.product .button {
    padding: 12px 22px;
    font-size: 16px;
}
.link-quiet {
    font-weight: 600;
}
.band {
    padding: 56px 0;
}
.band.soft {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 760px;
    margin: 0 0 28px;
}
.band p,
.band li {
    max-width: 760px;
}
.capture {
    margin: 40px 0 0;
}
.band .capture {
    margin-top: 8px;
}
.capture-frame {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--paper);
    box-shadow:
        0 1px 2px rgb(0 0 0 / 0.04),
        0 24px 48px -12px rgb(16 24 40 / 0.18);
}
.capture-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.capture figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}
.capture-phone {
    max-width: 300px;
}
.capture-phone .capture-frame {
    border-radius: 24px;
}
.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.cards.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}
.card p {
    margin: 0 0 12px;
    color: var(--muted);
}
.card-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 14px;
}
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}
.step {
    display: flex;
    gap: 14px;
}
.step p {
    margin: 0;
    color: var(--muted);
}
.step-n {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
}
.bullets {
    margin: 0 0 16px;
    padding-left: 20px;
}
.bullets li {
    margin: 6px 0;
}
.not-yet {
    margin: 24px 0 0;
    padding: 16px 20px;
    border: 1px solid #d9a441;
    border-radius: 12px;
    background: color-mix(in srgb, #d9a441 10%, var(--paper));
    max-width: 820px;
}
.not-yet-title {
    margin: 0 0 6px;
    font-weight: 600;
}
.not-yet .bullets {
    margin: 0;
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.product .table-wrap {
    max-width: 880px;
}
.closing {
    padding: 72px 0 24px;
    text-align: center;
}
.closing p {
    font-size: 18px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 24px;
}
.closing .actions {
    justify-content: center;
}
@media (max-width: 900px) {
    .cards.cols-3,
    .cards.cols-2,
    .split {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .product .wrap {
        padding: 0 16px;
    }
    .product h1 {
        font-size: 36px;
    }
    .product h2 {
        font-size: 26px;
    }
    .hero {
        padding: 36px 0 16px;
    }
    .page-head {
        padding: 36px 0 0;
    }
    .hero-lead {
        font-size: 17px;
    }
    .band {
        padding: 40px 0;
    }
    .capture {
        margin-top: 28px;
    }
}
.said {
    margin: 0 0 24px;
    max-width: 760px;
}
.said blockquote {
    margin: 0;
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
    background: var(--paper);
    border-radius: 0 10px 10px 0;
    color: var(--ink);
    font-size: 18px;
}
.said figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
}
.product pre.code {
    max-width: 880px;
}
@media (max-width: 760px) {
    .capture-narrow {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .capture-narrow .capture-frame {
        border-radius: 24px;
    }
}
