:root {
    color-scheme:light;
    --ink:#182729;
    --muted:#647175;
    --line:#dee5e2;
    --paper:#f5f7f3;
    --blue:#2b55df;
    --green:#247759;
    --radius:18px;
    font-family:Inter,"Segoe UI",Arial,sans-serif;
    font-synthesis:none;
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
}
a {
    color:inherit;
}
button,input {
    font:inherit;
}
button {
    cursor:pointer;
}
button:disabled {
    opacity:.55;
    cursor:wait;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
    outline:3px solid #7295ff;
    outline-offset:4px;
}
input:focus {
    outline:3px solid #d9e3ff;
    border-color:var(--blue);
}
.site-header {
    height:88px;
    padding:0 max(28px,calc((100vw - 1120px)/2));
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#ffffffb0;
}
.brand {
    display:flex;
    gap:13px;
    align-items:center;
    text-decoration:none;
    font-size:21px;
    letter-spacing:-.6px;
}
.brand strong {
    font-weight:500;
    color:var(--muted);
}
.brand-mark {
    width:38px;
    height:38px;
    border-radius:11px;
    background:var(--ink);
    color:white;
    display:grid;
    place-items:center;
    font-size:30px;
    font-weight:650;
    line-height:1;
    padding-bottom:5px;
}
.header-note {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    color:var(--muted);
}
.small-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--green);
}
main {
    max-width:1120px;
    margin:0 auto;
    padding:66px 0 76px;
}
.eyebrow {
    font-size:10px;
    letter-spacing:1.7px;
    font-weight:700;
    color:var(--muted);
    margin:0 0 18px;
}
.intro h1 {
    font-size:clamp(37px,4.3vw,56px);
    letter-spacing:-2.7px;
    line-height:1.1;
    font-weight:550;
    margin:0 0 22px;
}
.intro h1 span {
    color:#6d7977;
}
.lead {
    max-width:600px;
    font-size:16px;
    color:var(--muted);
    line-height:1.7;
    margin:0;
}
.pairing-grid {
    margin-top:42px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:74px;
    align-items:center;
}
.pairing-card {
    padding:30px 34px 27px;
    background:white;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 8px 26px #233f3010;
}
.card-heading {
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:22px;
}
.card-heading .eyebrow {
    margin:0;
}
.step-icon {
    width:30px;
    height:30px;
    background:#edf1ff;
    color:var(--blue);
    border-radius:8px;
    display:grid;
    place-items:center;
    font-size:23px;
}
.pairing-card h2 {
    font-size:27px;
    letter-spacing:-.9px;
    font-weight:600;
    margin:0 0 12px;
}
.pairing-card>p {
    font-size:13px;
    line-height:1.7;
    color:var(--muted);
    margin:0 0 25px;
}
.pairing-card strong {
    font-weight:600;
    color:#374746;
}
label {
    display:block;
    font-size:12px;
    font-weight:600;
    margin-bottom:9px;
}
#pairing-code {
    width:100%;
    border:1px solid #cdd6d2;
    border-radius:10px;
    font-size:27px;
    letter-spacing:4px;
    padding:17px;
    text-align:center;
    font-family:Consolas,monospace;
    color:var(--ink);
    text-transform:uppercase;
    background:#fcfdfb;
}
#pairing-code::placeholder {
    color:#a6b0ad;
}
.field-help {
    font-size:11px;
    line-height:1.6;
    color:var(--muted);
    margin:10px 0 22px;
}
.primary-button {
    border:0;
    border-radius:9px;
    background:var(--blue);
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding:14px 17px;
    font-size:13px;
    font-weight:600;
    transition:background .15s;
}
.primary-button:hover {
    background:#1c43c4;
}
.primary-button>span+span {
    font-size:20px;
    font-weight:400;
}
.message {
    font-size:12px;
    line-height:1.6;
    margin:12px 0 0;
}
.message:empty {
    display:none;
}
.message.error {
    color:#b53c3c;
}
.message.success {
    color:var(--green);
}
.how-it-works {
    padding-right:32px;
}
.how-it-works>.eyebrow {
    margin-bottom:29px;
}
.how-it-works ol {
    padding:0;
    margin:0;
    list-style:none;
    display:grid;
    gap:26px;
}
.how-it-works li {
    display:flex;
    gap:21px;
}
.step-number {
    font-family:Consolas,monospace;
    color:#8a9891;
    font-size:11px;
    padding-top:4px;
}
.how-it-works h3 {
    font-size:15px;
    font-weight:600;
    margin:0 0 7px;
    letter-spacing:-.2px;
}
.how-it-works li p {
    font-size:13px;
    color:var(--muted);
    line-height:1.6;
    margin:0;
    max-width:320px;
}
.desktop-note {
    border-top:1px solid var(--line);
    margin-top:29px;
    padding-top:21px;
    display:flex;
    align-items:flex-start;
    gap:14px;
    color:var(--muted);
}
.desktop-note>span {
    font-size:25px;
    line-height:1;
}
.desktop-note p {
    font-size:12px;
    line-height:1.7;
    margin:0;
    max-width:330px;
}
.connections-section {
    margin-top:64px;
}
.section-heading {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    margin-bottom:25px;
}
.section-heading .eyebrow {
    margin-bottom:12px;
}
.section-heading h2 {
    font-size:24px;
    letter-spacing:-.7px;
    font-weight:600;
    margin:0;
    display:flex;
    gap:11px;
    align-items:center;
}
.count {
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:20px;
    min-width:25px;
    height:25px;
    font-size:11px;
    font-weight:500;
    color:var(--muted);
    letter-spacing:0;
}
.text-button {
    background:none;
    border:0;
    padding:8px 0;
    color:var(--muted);
    display:flex;
    align-items:center;
    gap:6px;
    font-size:18px;
}
.text-button span {
    font-size:12px;
}
.connections-list {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.connection-card {
    padding:24px;
    background:white;
    border:1px solid var(--line);
    border-radius:15px;
    min-width:0;
}
.connection-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:24px;
}
.connection-title {
    display:flex;
    align-items:center;
    gap:11px;
    min-width:0;
}
.connection-title>div+div {
    min-width:0;
}
.computer-icon {
    width:35px;
    height:35px;
    flex-shrink:0;
    background:#f0f3f0;
    border-radius:9px;
    display:grid;
    place-items:center;
    color:#60716c;
    font-size:22px;
}
.device-name {
    margin:0;
    font-size:14px;
    font-weight:600;
    overflow-wrap:anywhere;
}
.device-note {
    margin:4px 0 0;
    font-size:10px;
    color:var(--muted);
}
.connection-status {
    flex-shrink:0;
    border-radius:20px;
    padding:5px 9px;
    background:#eff3ef;
    color:var(--muted);
    font-size:10px;
}
.connection-status.online {
    background:#e9f6ed;
    color:var(--green);
}
.connection-status::before {
    content:"";
    display:inline-block;
    height:5px;
    width:5px;
    border-radius:50%;
    background:currentColor;
    margin-right:5px;
    vertical-align:1px;
}
.url-label {
    font-size:10px;
    font-weight:500;
    color:var(--muted);
}
.url-row {
    display:flex;
    align-items:stretch;
    gap:7px;
}
.connection-url {
    width:0;
    flex:1;
    min-width:0;
    background:#f8faf7;
    border:1px solid var(--line);
    border-radius:7px;
    padding:10px 9px;
    font-size:11px;
    color:#50605b;
    font-family:Consolas,monospace;
}
.copy-button {
    border:1px solid var(--line);
    background:white;
    border-radius:7px;
    padding:9px 11px;
    font-size:11px;
    color:#374746;
}
.copy-button:hover {
    background:var(--paper);
}
.copy-status {
    font-size:11px;
    color:var(--green);
    margin:8px 0 0;
}
.copy-status:empty {
    display:none;
}
.connection-bottom {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-top:17px;
}
.connection-bottom summary {
    font-size:10px;
    color:var(--muted);
    cursor:pointer;
    padding:4px 0;
}
.api-links {
    display:grid;
    gap:8px;
    padding:10px 0 0;
}
.api-links a {
    font-size:11px;
    color:var(--blue);
    text-decoration:none;
}
.api-links a:hover {
    text-decoration:underline;
}
.disconnect-button {
    border:0;
    background:none;
    padding:4px 0;
    font-size:10px;
    color:#8a665f;
}
.disconnect-button:hover {
    color:#a42a2a;
}
.empty-state {
    text-align:center;
    border:1px dashed #cfd8d2;
    border-radius:var(--radius);
    padding:37px 20px;
    background:#ffffff59;
}
.empty-state[hidden] {
    display:none;
}
.empty-icon {
    color:#a8b9ad;
    font-size:30px;
    margin-bottom:12px;
}
.empty-state h3 {
    font-size:14px;
    font-weight:600;
    margin:0 0 9px;
}
.empty-state p {
    font-size:12px;
    line-height:1.8;
    color:var(--muted);
    margin:0;
}
footer {
    max-width:1120px;
    margin:0 auto;
    padding:22px 0 30px;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    font-size:10px;
    color:#8a9690;
}
dialog {
    border:1px solid var(--line);
    border-radius:16px;
    padding:28px;
    max-width:440px;
    width:calc(100% - 40px);
    color:var(--ink);
}
dialog::backdrop {
    background:#14291c66;
}
dialog h2 {
    margin:0 0 16px;
    font-size:23px;
    font-weight:600;
    letter-spacing:-.6px;
}
dialog p {
    font-size:13px;
    line-height:1.7;
    color:var(--muted);
}
.dialog-actions {
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:24px;
}
.secondary-button,.danger-button {
    border:1px solid var(--line);
    background:white;
    border-radius:8px;
    padding:11px 14px;
    font-size:12px;
}
.danger-button {
    background:#ae3d36;
    color:white;
    border-color:transparent;
}
@media(max-width:1200px) {
    main {
        margin:0 36px;
    }
    footer {
        margin:0 36px;
    }
    .pairing-grid {
        gap:45px;
    }
    .how-it-works {
        padding-right:0;
    }
}
@media(max-width:760px) {
    .site-header {
        height:74px;
        padding:0 24px;
    }
    .header-note {
        display:none;
    }
    main {
        padding-top:42px;
        margin:0 24px;
    }
    .intro h1 {
        letter-spacing:-1.8px;
    }
    .lead {
        font-size:14px;
    }
    .pairing-grid {
        grid-template-columns:1fr;
        gap:34px;
        margin-top:30px;
    }
    .pairing-card {
        padding:26px;
    }
    .how-it-works {
        padding:0 8px;
    }
    .how-it-works ol {
        gap:20px;
    }
    .connections-section {
        margin-top:45px;
    }
    .connections-list {
        grid-template-columns:1fr;
    }
    .section-heading h2 {
        font-size:20px;
    }
    .section-heading .eyebrow {
        font-size:9px;
    }
    .text-button span {
        display:none;
    }
    footer {
        margin:0 24px;
        gap:20px;
        font-size:9px;
    }
    .connection-top {
        gap:7px;
    }
}
[hidden] {
    display:none!important;
}
.account-menu {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    font-size:12px;
    min-width:0;
}
.account-menu>span {
    overflow-wrap:anywhere;
}
.account-menu a,.back-link {
    font-size:12px;
    color:var(--muted);
    text-underline-offset:3px;
}
.sign-in-card,.mcp-card {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:38px;
    background:white;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:30px 34px;
    margin-top:38px;
}
.sign-in-card h2,.mcp-card h2 {
    font-size:24px;
    margin:0 0 12px;
    font-weight:600;
    letter-spacing:-.6px;
}
.sign-in-card p,.mcp-card p,.section-description {
    font-size:13px;
    color:var(--muted);
    line-height:1.7;
    margin:0;
}
.sign-in-card .eyebrow,.mcp-card .eyebrow {
    font-size:10px;
    margin-bottom:14px;
}
.account-actions {
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:flex-end;
}
.account-actions a {
    white-space:nowrap;
    text-decoration:none;
}
.account-actions .primary-button {
    width:auto;
    min-width:160px;
    gap:28px;
}
.mcp-card {
    background:#edf1ff80;
    border-color:#dce3f5;
    margin-top:48px;
}
.mcp-card .connection-url {
    background:white;
}
.installation-list {
    display:grid;
    gap:30px;
}
.installation-heading {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
    font-size:15px;
    font-weight:600;
    margin:0 0 14px;
    overflow-wrap:anywhere;
}
.installation-heading span {
    font-size:11px;
    color:var(--muted);
    font-weight:400;
}
.client-identifier {
    font-size:10px;
    color:var(--muted);
    overflow-wrap:anywhere;
    margin:0;
    font-family:Consolas,monospace;
}
.admin-toolbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:30px;
    font-size:12px;
    color:var(--muted);
}
.admin-section {
    margin-top:42px;
}
.admin-section .section-heading {
    margin-bottom:14px;
}
.section-description {
    max-width:720px;
    margin-bottom:18px;
}
.table-scroll {
    overflow-x:auto;
    border:1px solid var(--line);
    border-radius:12px;
    background:white;
}
table {
    border-collapse:collapse;
    width:100%;
    text-align:left;
    font-size:12px;
}
th,td {
    padding:14px 18px;
    border-bottom:1px solid var(--line);
    overflow-wrap:anywhere;
}
th {
    font-size:10px;
    color:var(--muted);
    font-weight:600;
    background:#fafbf9;
}
tr:last-child td {
    border-bottom:0;
}
td small {
    display:block;
    margin-top:5px;
    color:var(--muted);
    font-size:10px;
}
td .secondary-button {
    font-size:11px;
    padding:8px 12px;
    white-space:nowrap;
}
@media(max-width:760px) {
    .account-menu {
        gap:9px;
        font-size:10px;
    }
    .account-menu>span {
        display:none;
    }
    .sign-in-card,.mcp-card {
        grid-template-columns:1fr;
        padding:26px;
        gap:24px;
        margin-top:30px;
    }
    .account-actions {
        justify-content:flex-start;
        flex-wrap:wrap;
    }
    .installation-heading {
        font-size:14px;
    }
    .table-scroll table {
        min-width:550px;
    }
}
