@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/golos-latin.woff2") format("woff2");
  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 {
  --ink: #172443; --navy: #172443; --muted: #566171;
  --paper: #fffef9; --soft: #f3f2eb; --line: #dcded6;
  --yellow: #ffdc39; --green: #b6e3bf;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none;
  scroll-behavior: smooth; scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
* { scrollbar-width: thin; scrollbar-color: #8a93a2 var(--soft); }
button, input { font: inherit; color: inherit; }
button, a, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #3e67bd; outline-offset: 4px;
}
[hidden] { display: none !important; }
.wrap { max-width: 1240px; padding-inline: 48px; margin-inline: auto; }
.skip { position: absolute; top: -90px; padding: 16px; background: white; z-index: 10; }
.skip:focus { top: 8px; }
.header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 28px; font-weight: 750; letter-spacing: -.035em; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 32px; height: 32px; margin-right: 5px; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.brand-divider { color: #737b83; font-weight: 400; margin-inline: 2px; }
.brand-mcp { font-weight: 500; }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 50px; padding: 15px 21px; border: 0; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s ease-out; }
.button:hover { text-decoration: none; }
.button.small { min-height: 44px; padding: 12px 17px; font-size: 12px; }
.yellow { background: var(--yellow); color: var(--ink); }
.yellow:hover { background: #f0ca18; }
.navy { background: var(--navy); color: white; }
.navy:hover { background: #2c4169; }
.hero { padding-top: 52px; padding-bottom: 100px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
h1 { font-size: clamp(58px, 6.3vw, 84px); line-height: 1.04; letter-spacing: -.04em; font-weight: 750; margin: 23px 0 28px; }
.highlight { position: relative; display: inline-block; isolation: isolate; }
.highlight::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .1em; background: var(--yellow); z-index: -1; }
.lead { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 440px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.text-link { display: inline-block; padding-block: 8px; font-size: 13px; font-weight: 600; text-decoration: underline; }
.compatible { display: flex; gap: 14px; align-items: center; margin-top: 34px; font-size: 12px; flex-wrap: wrap; }
.compatible > span { color: var(--muted); font-size: 10px; }
.compatible strong { font-weight: 550; }
.compatible i { height: 12px; border-left: 1px solid var(--line); }
/* Two message surfaces and mirrored tails make the example read as a chat. */
.hero-visual { min-width: 0; padding-block: 12px; }
.conversation { background: var(--navy); color: white; border-radius: 14px; overflow: hidden; box-shadow: 0 25px 46px -22px #17244365; }
.conversation-head { padding: 19px 25px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ffffff25; color: #c0cce0; font-size: 11px; }
.chat-user, .chat-agent { position: relative; border-radius: 14px; }
.chat-user { margin: 26px 24px 28px 72px; padding: 16px 19px; background: #334464; border-bottom-right-radius: 0; }
.chat-user::after, .chat-agent::after { content: ""; position: absolute; bottom: 0; width: 12px; height: 16px; }
.chat-user::after { right: -10px; background: #334464; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.chat-agent::after { left: -10px; background: #263757; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.chat-label { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: #d0daeb; }
.chat-user .chat-label { display: block; text-align: right; }
.chat-user p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; }
.chat-agent { margin: 0 56px 26px 24px; padding: 16px 19px 8px; background: #263757; border-bottom-left-radius: 0; }
.chat-agent .chat-label { color: var(--yellow); }
.chat-agent p { color: #d3ddef; font-size: 13px; line-height: 1.75; margin: 9px 0 16px; }
.flow-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #ffffff25; font-size: 12px; color: #e1e8f3; }
.flow-line > span { color: #b5c4dd; font-size: 10px; font-variant-numeric: tabular-nums; }
.flow-line .icon-check { margin-left: auto; color: var(--green); }
.result-preview { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--yellow); color: var(--ink); padding: 20px 24px; }
.result-preview > div { display: flex; align-items: center; gap: 12px; }
.result-preview strong { display: block; font-size: 14px; }
.result-preview small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.5; }
.result-mark { width: 24px; height: 24px; }
.visual-footnote { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 27px; text-align: center; }
.section { padding-top: 66px; padding-bottom: 68px; }
#connect { border-top: 1px solid var(--ink); }
#account { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; margin-bottom: 34px; }
h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.22; letter-spacing: -.035em; font-weight: 650; margin: 0; text-wrap: balance; }
.step-number { color: #7a816e; font-weight: 450; margin-right: 8px; }
.section-heading > p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 3px 0 0; max-width: 370px; }
h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; font-weight: 600; margin: 24px 0 12px; }
h4 { font-size: 14px; margin: 28px 0 12px; }
p { line-height: 1.7; }
.connect-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.connection-card { min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 22px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 15px 0; min-height: 48px; font-size: 13px; font-weight: 500; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--ink); font-weight: 700; }
.tabs button:hover { color: #35599d; }
.connection-card h3 { margin-top: 25px; }
.connection-card p, .connection-help p, .access-notes p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.connection-help h3:first-child, .access-notes h3:first-child { margin-top: 12px; }
.connection-help p { margin-bottom: 7px; }
.endpoint-help { margin-top: 28px; }
.endpoint-help h3 { margin-bottom: 4px; }
.endpoint-help p { margin: 0 0 10px; font-size: 11px; }
.endpoint-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--soft); padding: 12px; min-width: 0; }
.endpoint-box code { overflow-wrap: anywhere; font-size: 11px; }
.copy-button { padding: 10px; min-height: 44px; border: 0; border-radius: 4px; background: #e3e5da; font-size: 11px; font-weight: 550; white-space: nowrap; }
.copy-button:hover { background: #d5d8c9; }
.connection-help .quiet-note { margin-top: 18px; font-size: 12px; }
.code-block { background: var(--navy); color: #edf1f9; border-radius: 8px; overflow: hidden; margin: 20px 0 10px; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px; border-bottom: 1px solid #ffffff25; color: #c3cfe5; font-size: 10px; }
.code-head button { font-size: 11px; color: #e0e8f6; background: none; border: 0; min-height: 44px; padding-inline: 8px; }
pre { overflow: auto; margin: 0; padding: 20px 18px; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
code { font-family: Consolas, "SFMono-Regular", monospace; }
summary { font-size: 12px; font-weight: 550; cursor: pointer; min-height: 44px; padding: 14px 0; line-height: 1.5; }
summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.light-code { background: var(--soft); border-radius: 4px; color: var(--ink); }
.account-card { padding: 26px 30px 30px; background: var(--soft); min-width: 0; }
.account-tabs { display: flex; gap: 24px; border-bottom: 1px solid #cbd0c5; }
.account-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font-size: 13px; padding: 10px 0 14px; min-height: 44px; color: var(--muted); }
.account-tabs button[aria-pressed="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 650; }
.account-card h3 { margin-top: 24px; font-size: 23px; }
.account-card label { display: block; font-size: 13px; font-weight: 550; margin: 20px 0 8px; }
.account-card input { width: 100%; min-width: 0; border: 1px solid #9fa799; background: var(--paper); border-radius: 4px; padding: 13px 14px; min-height: 48px; font-size: 14px; caret-color: var(--navy); }
.account-card input::placeholder { color: #646e65; opacity: 1; }
.account-card small { display: block; font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 7px; }
.account-card form > .button { width: 100%; margin-top: 24px; }
.access-notes h3 { margin-top: 30px; font-size: 16px; }
.access-notes p { margin: 0 0 9px; }
.account-identity { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-identity h3 { margin: 6px 0; overflow-wrap: anywhere; }
.identity-label { font-size: 12px; color: var(--muted); margin: 0; }
.user-reference { font-size: 11px; overflow-wrap: anywhere; margin-top: 12px; }
.text-button { background: none; border: 0; min-height: 44px; padding: 10px 3px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.token-form-row { display: flex; gap: 10px; }
.token-form-row .button { white-space: nowrap; font-size: 12px; padding: 13px 15px; }
.token-secret { background: #fff5bb; padding: 18px; border-radius: 6px; margin-top: 22px; }
.token-secret strong { font-size: 14px; }
.token-secret p { font-size: 12px; color: #535d42; line-height: 1.7; }
.secret-row { display: flex; align-items: center; gap: 10px; }
.secret-row code { font-size: 12px; min-width: 0; overflow-wrap: anywhere; }
.secret-row .copy-button { flex: none; }
.token-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid #ccd1c5; }
.token-row strong { font-size: 13px; overflow-wrap: anywhere; }
.token-row button { background: none; border: 1px solid #9fa799; border-radius: 4px; min-height: 44px; padding: 10px 12px; font-size: 11px; }
.form-message { font-size: 13px; line-height: 1.7; margin-top: 18px; color: #9c2929; }
.form-message:empty { display: none; }
.form-message.ok { color: #28613c; }
.consent-card { margin-top: 30px; border: 1px solid var(--navy); border-radius: 8px; padding: 26px 30px; background: #f0f4fb; }
.consent-card h3 { margin-top: 0; font-size: 25px; }
.consent-card p { font-size: 14px; line-height: 1.8; max-width: 700px; }
.prompt-section { padding-top: 46px; padding-bottom: 46px; background: var(--navy); color: #f6f8ff; }
.prompt-section h2 { font-size: 30px; }
.prompt-section .step-number { color: var(--yellow); }
.prompt-intro { color: #c5d0e4; font-size: 13px; max-width: 65ch; margin: 16px 0 8px; }
.prompt-layout { display: flex; align-items: center; gap: 45px; }
.prompt-layout p { font-size: 17px; line-height: 1.8; max-width: 66ch; }
.prompt-layout .button { flex: none; }
.tools-section { padding-top: 8px; }
.tools-section .section-heading { grid-template-columns: 1.4fr 1fr; }
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-bottom: 30px; }
.capabilities > div { border-top: 1px solid var(--ink); }
.capabilities h3 { font-size: 18px; margin: 19px 0 10px; }
.capabilities p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 36ch; }
.tool-catalog { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-catalog > summary { padding-block: 20px; font-size: 13px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.tool-card { border-top: 1px solid var(--line); min-width: 0; padding: 20px 0; }
.tool-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.tool-number { font-variant-numeric: tabular-nums; }
.tool-card h3 { font-size: 16px; margin: 12px 0 7px; }
.tool-card > p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.tool-card > code { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.tool-card summary { font-size: 11px; padding-bottom: 0; }
.tool-card pre { max-height: 280px; background: var(--soft); margin-top: 12px; font-size: 11px; }
.footer { padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { font-size: 22px; }
.footer p, .footer > a:last-child { font-size: 11px; color: var(--muted); line-height: 1.7; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--navy); color: white; border-radius: 6px; box-shadow: 0 8px 26px #17244335; font-size: 13px; z-index: 20; }
@media (max-width: 1050px) {
  .wrap { padding-inline: 32px; }
  .hero { gap: 40px; }
  .section-heading, .connect-layout { gap: 36px; }
  .chat-user p { font-size: 14px; }
  .prompt-layout { gap: 28px; }
  .prompt-layout p { font-size: 16px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 22px; }
  .header { min-height: 82px; gap: 12px; }
  .brand { font-size: 25px; }
  .brand-icon { width: 27px; height: 27px; }
  .header nav { gap: 12px; }
  .header nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 33px; padding-bottom: 55px; gap: 40px; }
  h1 { font-size: clamp(52px, 15.5vw, 78px); }
  .lead { font-size: 15px; }
  .hero-actions { gap: 18px; }
  .hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }
  .conversation-head { padding: 17px 19px; font-size: 10px; }
  .chat-user { margin: 20px 16px 20px 45px; padding: 14px 16px; }
  .chat-agent { padding: 14px 16px 6px; margin: 0 30px 22px 16px; }
  .result-preview { padding: 18px 21px; }
  .visual-footnote { font-size: 10px; }
  .section { padding-top: 45px; padding-bottom: 45px; }
  .section-heading, .connect-layout { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 24px; gap: 14px; }
  .section-heading > p { max-width: 60ch; margin: 0; }
  h2 { font-size: 29px; }
  .connection-help { border-top: 1px solid var(--line); padding-top: 14px; }
  .connection-help h3:first-child { margin-top: 0; }
  .endpoint-help { margin-top: 22px; }
  .tabs { gap: 22px; }
  .account-card { padding: 20px; }
  .access-notes h3 { margin-top: 22px; }
  .access-notes h3:first-child { margin-top: 0; }
  .token-form-row { flex-direction: column; }
  .token-form-row .button { justify-content: center; }
  .secret-row { flex-direction: column; align-items: stretch; }
  .consent-card { padding: 22px; }
  .prompt-section { padding-top: 32px; padding-bottom: 32px; }
  .prompt-section h2 { font-size: 28px; }
  .prompt-layout { flex-direction: column; align-items: start; gap: 6px; }
  .tools-section .section-heading { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .capabilities h3 { margin-top: 16px; }
  .capabilities p { max-width: 60ch; margin-bottom: 8px; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
@media (max-width: 380px) {
  .header .brand { font-size: 22px; gap: 4px; }
  .header .brand-icon { width: 24px; height: 24px; margin-right: 2px; }
}

/* Client choice is one control; account help follows the user's next action. */
.client-mark{display:inline-block;flex:none;object-fit:contain;vertical-align:middle}
.compatible strong,.tabs button{display:inline-flex;align-items:center;gap:8px}
.single-guide{display:block}.single-guide .connection-card{max-width:100%}
.connection-recovery:has(#retry-load[hidden]){display:none}
.account-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.account-explainer { padding-block: 22px; max-width: 430px; }
.account-explainer h3 { margin: 0 0 12px; font-size: 23px; }
.account-explainer > p { margin: 0; font-size: 15px; color: var(--muted); }
.purchase-handoff { margin: 30px 0 0; }
.purchase-handoff > div { border-top: 1px solid var(--line); padding-block: 20px; }
.purchase-handoff dt { font-size: 15px; font-weight: 650; }
.purchase-handoff dd { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
#account .section-heading { display: block; }
@media(max-width:760px){.account-layout{grid-template-columns:1fr;gap:24px}.account-explainer{padding-block:0;max-width:none}.purchase-handoff{margin-top:20px}}
@media(max-width:600px){.compatible{gap:12px;flex-wrap:wrap}.compatible strong{font-size:13px;gap:5px}.tabs{gap:0;justify-content:space-between}.tabs button{padding:12px 3px;gap:4px;font-size:12px}.tabs .client-mark{width:20px;height:20px}}
