:root {
  --navy: #092f4a;
  --navy-2: #0c4162;
  --blue: #1478b8;
  --blue-2: #2a9bd5;
  --cyan: #72d5ee;
  --ice: #edf8ff;
  --ice-2: #f6fbff;
  --line: #cfe5f2;
  --text: #163247;
  --muted: #60788a;
  --white: #ffffff;
  --green: #15966a;
  --amber: #b87412;
  --shadow: 0 24px 70px rgba(31, 91, 126, .13);
  --shadow-soft: 0 12px 36px rgba(31, 91, 126, .09);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ice-2);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ice-2); color: var(--text); }
a { color: inherit; }
button, input, code { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-grid {
  position: absolute;
  inset: 0 0 auto;
  height: 790px;
  z-index: -1;
  background:
    linear-gradient(rgba(78, 157, 200, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 157, 200, .075) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(84, 197, 231, .2), transparent 28%),
    linear-gradient(180deg, #f3fbff 0%, #f8fcff 76%, transparent 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  mask-image: linear-gradient(#000 72%, transparent);
}

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: 14px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 12px;
  z-index: 20;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(185, 218, 235, .9);
  border-radius: 16px;
  box-shadow: 0 9px 30px rgba(37, 91, 123, .08);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { color: var(--navy); letter-spacing: -.02em; font-size: 15px; }
.brand small { color: var(--muted); margin-top: 5px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--blue)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.brand-mark svg { width: 27px; height: 27px; fill: none; }
.brand-mark svg path:first-child { fill: rgba(255,255,255,.96); }
.brand-mark .brand-spark { stroke: var(--cyan); stroke-width: 1.4; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #456276; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .2s; }
nav a:hover { color: var(--blue); }
.site-header > nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.button { min-height: 46px; padding: 0 19px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; text-decoration: none; font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 38px; padding-inline: 15px; }
.button-primary { color: white; background: linear-gradient(135deg, #0d679f, #1a8ac7); box-shadow: 0 10px 24px rgba(20,120,184,.22); }
.button-primary:hover { box-shadow: 0 14px 28px rgba(20,120,184,.29); }
.button-secondary, .button-outline { background: rgba(255,255,255,.8); color: var(--navy); border-color: #b9d8e9; }
.button-light { color: var(--navy); background: white; }

.hero { padding: 110px 0 88px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow, .kicker { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #21b67d; box-shadow: 0 0 0 5px rgba(33,182,125,.11); }
.hero h1 { margin: 20px 0 22px; max-width: 720px; color: var(--navy); font-size: clamp(46px, 5.4vw, 74px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 650px; margin: 0; color: #587184; font-size: 18px; line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: #6b8292; font-size: 12px; }
.hero-note span { color: var(--blue-2); margin-right: 6px; }

.hero-panel { border: 1px solid #c4e0ee; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); padding: 26px; overflow: hidden; position: relative; }
.hero-panel::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -145px; right: -90px; background: rgba(65,188,226,.13); }
.panel-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #deedf5; color: var(--navy); font-size: 12px; font-weight: 750; }
.live-label { color: var(--green); border: 1px solid rgba(21,150,106,.25); background: rgba(21,150,106,.08); padding: 5px 8px; border-radius: 999px; font-size: 9px; letter-spacing: .12em; }
.platform-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 18px 0; background: #dcebf3; border: 1px solid #dcebf3; border-radius: 12px; overflow: hidden; }
.platform-stat { background: white; padding: 17px; }
.platform-stat strong { display: block; color: var(--navy); font-size: 27px; letter-spacing: -.04em; }
.platform-stat span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.endpoint-preview { background: #0b3854; color: white; border-radius: 12px; overflow: hidden; }
.hero-endpoint-row { position: relative; padding: 14px 48px 14px 16px; }
.hero-endpoint-row + .hero-endpoint-row { border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.hero-endpoint-row > span { display: block; margin-bottom: 7px; color: #90c7e3; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.endpoint-preview code { color: #dcf5ff; font-size: 11px; word-break: break-all; }
.copy-icon { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 5px 7px; color: #a8d8ed; background: transparent; border: 0; font-size: 10px; cursor: pointer; }
.trust-row { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-row span { padding: 6px 8px; border-radius: 6px; background: #eef8fd; color: #3e6d87; font-size: 9px; font-weight: 700; }

.quick-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-soft); overflow: hidden; }
.quick-strip a { min-height: 112px; padding: 25px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-decoration: none; transition: background .2s; }
.quick-strip a + a { border-left: 1px solid var(--line); }
.quick-strip a:hover { background: #f4fbff; }
.quick-strip span { grid-row: 1 / 3; color: #78b9db; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.quick-strip strong { color: var(--navy); font-size: 14px; }
.quick-strip small { margin-top: 7px; color: var(--muted); font-size: 11px; }

.section { padding: 112px 0; }
.section-tint { background: linear-gradient(180deg, #eaf7fd, #f3faff); border-block: 1px solid #d6eaf5; }
.section-heading { margin-bottom: 42px; }
.section-heading .kicker { margin: 0 0 13px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p:not(.kicker) { max-width: 650px; margin: 16px 0 0; color: var(--muted); line-height: 1.7; font-size: 15px; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.centered-heading { text-align: center; }
.centered-heading p { margin-inline: auto !important; }

.filter-group { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.filter-button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 7px; background: transparent; color: #587184; font-size: 11px; font-weight: 750; cursor: pointer; }
.filter-button.active { background: var(--navy); color: white; box-shadow: 0 5px 12px rgba(9,47,74,.16); }

.recommendations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.recommendation { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: white; display: grid; grid-template-columns: 1fr auto; gap: 13px; box-shadow: 0 8px 25px rgba(32,89,122,.05); }
.recommendation > span { grid-column: 1 / 3; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.recommendation strong { color: var(--navy); font-size: 15px; }
.recommendation code { align-self: start; color: var(--blue); background: var(--ice); border-radius: 6px; padding: 5px 8px; font-size: 11px; font-weight: 800; }
.recommendation p { grid-column: 1 / 3; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.table-wrap { border: 1px solid #c9e1ed; border-radius: 16px; overflow-x: auto; background: white; box-shadow: var(--shadow-soft); }
.model-table { width: 100%; border-collapse: collapse; min-width: 1180px; }
.model-table th { padding: 15px 16px; color: #637b8b; background: #f0f8fc; border-bottom: 1px solid #cfe4ef; text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; }
.model-table td { padding: 18px 16px; border-bottom: 1px solid #e2eef4; color: #3f5d70; font-size: 12px; vertical-align: middle; }
.model-table tr:last-child td { border-bottom: 0; }
.model-table tr:hover td { background: #f9fdff; }
.model-table td.shared-concurrency { min-width: 130px; max-width: 190px; text-align: center; background: #edf7ff; border-left: 1px solid #cfe4ef; border-right: 1px solid #cfe4ef; }
.model-table td.shared-concurrency strong { display: block; color: var(--navy); font-size: 34px; }
.shared-concurrency b { display: block; margin: 10px 0 0; font-size: 12px; }
.mobile-pool { padding: 17px 19px; border: 1px solid #cfe4ef; border-radius: 14px; background: #edf7ff; color: var(--navy); }
.mobile-pool strong, .mobile-pool span { display: block; }
.model-name { min-width: 228px; }
.model-name .alias-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.model-name code { color: white; background: var(--navy); border-radius: 6px; padding: 5px 7px; font-size: 11px; font-weight: 800; }
.default-pill { padding: 4px 6px; border-radius: 999px; color: var(--blue); background: #e5f5fd; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.backend-link { color: #4f7489; text-decoration: none; font-weight: 650; }
.backend-link:hover { color: var(--blue); text-decoration: underline; }
.deployment-detail { display: block; margin-top: 4px; color: #8a9daa; font-size: 10px; }
.tier-pill { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.tier-standard { color: #0e7660; background: #e5f8f1; }
.tier-power { color: #8b5b0e; background: #fff2d9; }
.metric-cell strong { display: block; color: var(--navy); font-size: 14px; }
.metric-cell span { display: block; margin-top: 3px; color: #879aa8; font-size: 9px; }
.positioning { max-width: 165px; color: var(--navy); font-weight: 700; line-height: 1.35; }
.model-cards { display: none; }
.benchmark-note, .positioning-note { display: flex; gap: 12px; align-items: baseline; padding: 14px 17px; margin-top: 14px; border-radius: 10px; color: #5f7788; font-size: 11px; line-height: 1.55; }
.benchmark-note { background: #eef8fd; border: 1px solid #d3eaf5; }
.positioning-note { background: #fff9eb; border: 1px solid #f1e2bb; }
.benchmark-note strong { color: var(--navy); white-space: nowrap; }
.positioning-note strong { color: #7c591a; white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 220px; padding: 28px; border: 1px solid #c9e2ee; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(29,93,126,.06); }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); font-size: 11px; font-weight: 850; }
.step-card h3 { margin: 25px 0 10px; color: var(--navy); font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.step-card:not(:last-child)::after { content: "→"; position: absolute; top: 42px; right: -15px; z-index: 2; color: #77b5d4; font-weight: 800; }
.tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.tier-card { padding: 25px; border-radius: 16px; background: #0b3b59; color: white; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.tier-card.power { background: linear-gradient(135deg, #0a3b59, #0c587d); }
.tier-card h3 { margin: 0; font-size: 17px; }
.tier-card > span { color: #8ed5ef; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.tier-card p { grid-column: 1 / 3; margin: 0; color: #c6e0ed; font-size: 12px; line-height: 1.6; }
.tier-models { grid-column: 1 / 3; display: flex; flex-wrap: wrap; gap: 6px; }
.tier-models code { color: #dff7ff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; padding: 5px 7px; font-size: 10px; }
.access-cta { margin-top: 24px; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #bdddea; border-radius: 16px; background: white; }
.access-cta > div { display: grid; gap: 6px; }
.access-cta strong { color: var(--navy); }
.access-cta span { color: var(--muted); font-size: 12px; }

.api-heading { align-items: center; }
.protocol-chips { max-width: 420px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.protocol-chips span { padding: 7px 10px; border: 1px solid #c9e2ef; border-radius: 999px; color: #4b7187; background: white; font-size: 10px; font-weight: 700; }
.api-layout { display: grid; grid-template-columns: 350px 1fr; gap: 20px; align-items: stretch; }
.endpoint-list { display: grid; gap: 10px; }
.endpoint-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.endpoint-card div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.method-pill { min-width: 45px; padding: 4px 6px; border-radius: 5px; text-align: center; color: #0c6e59; background: #e6f8f2; font-size: 8px; font-weight: 850; }
.endpoint-card code { color: var(--navy); font-size: 11px; font-weight: 700; }
.endpoint-card p { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.code-card { min-width: 0; border-radius: 15px; overflow: hidden; background: #082e48; box-shadow: 0 18px 45px rgba(9,47,74,.18); }
.code-tabs { height: 49px; display: flex; align-items: center; padding: 0 10px; border-bottom: 1px solid rgba(255,255,255,.1); background: #0b3855; }
.code-tab, .copy-code { border: 0; background: transparent; cursor: pointer; font-size: 10px; font-weight: 750; }
.code-tab { height: 100%; padding: 0 13px; color: #86b6ce; border-bottom: 2px solid transparent; }
.code-tab.active { color: white; border-bottom-color: var(--cyan); }
.copy-code { margin-left: auto; color: #a7d0e3; padding: 7px 10px; }
.code-card pre { margin: 0; min-height: 330px; padding: 25px; overflow: auto; color: #d9f0fa; font-size: 12px; line-height: 1.7; tab-size: 2; }
.code-card code { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
.transport-notice { display: flex; gap: 13px; align-items: start; margin-top: 18px; padding: 15px 18px; border: 1px solid #d8e8f0; border-radius: 11px; background: #f4faff; color: #5e7787; }
.transport-notice > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--blue); font-size: 10px; font-weight: 800; }
.transport-notice p { margin: 0; font-size: 11px; line-height: 1.55; }
.transport-notice strong { color: var(--navy); }

.section-dark { color: white; background: radial-gradient(circle at 82% 12%, rgba(42,155,213,.24), transparent 28%), linear-gradient(145deg, #062b43, #0a3e5d); }
.dark-heading h2 { color: white; }
.dark-heading .kicker { color: #77d4ed; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.capability-card { min-height: 190px; padding: 23px; border: 1px solid rgba(180,222,240,.17); border-radius: 14px; background: rgba(255,255,255,.055); }
.capability-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #8de0f5; background: rgba(112,210,237,.1); font-size: 14px; font-weight: 850; }
.capability-card h3 { margin: 22px 0 9px; font-size: 15px; }
.capability-card p { margin: 0; color: #a9cbd9; font-size: 11px; line-height: 1.6; }
.operations-row { margin-top: 30px; padding: 20px 22px; display: flex; align-items: center; gap: 50px; border: 1px solid rgba(185,225,241,.16); border-radius: 14px; background: rgba(255,255,255,.05); }
.operations-row > div { display: grid; gap: 6px; }
.operations-row span { color: #85b9cf; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.operations-row strong { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.operations-row .button { margin-left: auto; }

footer { background: #052337; color: #9ab8c7; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand strong { color: white; }
.footer-brand small { color: #7ea4b7; }
.footer-inner p { font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 20px); z-index: 50; padding: 10px 15px; border-radius: 8px; background: var(--navy); color: white; opacity: 0; pointer-events: none; font-size: 11px; font-weight: 700; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.hidden { display: none !important; }

.links-body { min-height: 100vh; background: #f4faff; }
.links-grid-bg { height: 650px; }
.links-main { min-height: calc(100vh - 185px); }
.links-hero { padding: 92px 0 55px; display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; }
.links-hero h1 { margin: 13px 0 20px; color: var(--navy); font-size: clamp(48px, 6vw, 76px); line-height: .96; letter-spacing: -.055em; }
.links-hero h1 span { color: var(--blue); }
.links-hero > div > p:last-child { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.admin-card { padding: 28px; border: 1px solid #c6e1ee; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.admin-label { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.admin-avatar { width: 58px; height: 58px; margin: 22px 0 18px; display: grid; place-items: center; border-radius: 15px; color: white; background: linear-gradient(145deg, var(--navy), var(--blue)); font-size: 14px; font-weight: 850; letter-spacing: .08em; }
.admin-card h2 { margin: 0 0 7px; color: var(--navy); font-size: 20px; }
.role-title { display: flex; align-items: center; gap: 7px; }
.stool-icon { width: 18px; height: 18px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--blue); vertical-align: -.22em; }
.stool-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stool-icon-light { color: #8de0f5; }
.admin-card > a:not(.button) { color: var(--blue); font-size: 14px; font-weight: 750; text-decoration: none; }
.admin-card p { margin: 17px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.links-content { padding-bottom: 105px; }
.docs-notice { margin-bottom: 24px; padding: 19px 22px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; border: 1px solid #c9e2ef; border-radius: 14px; background: #eaf7fd; }
.docs-notice > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.docs-notice p { margin: 0; color: #577285; font-size: 12px; line-height: 1.6; }
.docs-notice strong { color: var(--navy); }
.docs-notice code { color: var(--navy); font-size: 11px; }
.useful-links-grid { display: grid; gap: 20px; }
.directory-group { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-soft); }
.directory-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 18px; }
.directory-heading p { margin: 0; }
.directory-heading span { color: var(--muted); font-size: 11px; }
.directory-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.directory-link { min-height: 142px; padding: 19px; display: flex; justify-content: space-between; gap: 18px; border: 1px solid #d7e9f2; border-radius: 12px; background: #f8fcfe; transition: border-color .2s, transform .2s, background .2s; }
.directory-link > div { min-width: 0; }
.directory-link:hover { transform: translateY(-1px); border-color: #a9d3e7; background: white; }
.directory-link h3 { margin: 0 0 7px; color: var(--navy); font-size: 14px; }
.directory-link p { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.directory-link code { color: #4c7186; font-size: 10px; word-break: break-all; }
.directory-action { height: 34px; min-width: 58px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; align-self: start; border: 1px solid #bcdce9; border-radius: 8px; color: var(--blue); background: white; text-decoration: none; font-size: 10px; font-weight: 800; cursor: pointer; }
.directory-action span { margin-left: 4px; }
.directory-error { padding: 25px; border: 1px solid #efcfca; border-radius: 12px; color: #8a3d34; background: #fff5f3; }

.guides-body, .guide-body { min-height: 100vh; background: #f5fbff; }
.guide-index-main { min-height: calc(100vh - 185px); }
.guide-index-hero { padding: 100px 0 65px; text-align: center; }
.guide-index-hero h1 { margin: 14px 0 20px; color: var(--navy); font-size: clamp(48px, 6vw, 74px); line-height: .98; letter-spacing: -.055em; }
.guide-index-hero h1 span { color: var(--blue); }
.guide-index-hero > p:last-of-type { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.7; }
.guide-endpoints { max-width: 760px; margin: 32px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid #c6e1ee; border-radius: 14px; overflow: hidden; background: white; box-shadow: var(--shadow-soft); text-align: left; }
.guide-endpoints > div { padding: 16px 18px; min-width: 0; }
.guide-endpoints > div + div { border-left: 1px solid #d5e8f1; }
.guide-endpoints span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.guide-endpoints code { color: var(--navy); font-size: 11px; word-break: break-all; }
.guide-library { padding: 20px 0 110px; }
.guide-library-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.guide-library-heading p { margin: 0 0 10px; }
.guide-library-heading h2 { margin: 0; color: var(--navy); font-size: 34px; letter-spacing: -.035em; }
.guide-library-heading > span { color: var(--muted); font-size: 11px; }
.guide-filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { min-height: 350px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-soft); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-3px); border-color: #9fcfe5; box-shadow: var(--shadow); }
.guide-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.guide-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, var(--navy), var(--blue)); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.guide-number { color: #9eb8c7; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.guide-card .kicker { margin: 0 0 10px; font-size: 8px; }
.guide-card h2 { margin: 0 0 12px; color: var(--navy); font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.guide-card > p:not(.kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.guide-card-meta { display: flex; gap: 8px; margin: 20px 0 12px; }
.guide-card-meta span, .guide-tags span, .guide-meta span { padding: 5px 7px; border-radius: 6px; color: #4d748a; background: #edf8fd; font-size: 8px; font-weight: 750; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.guide-card > strong { margin-top: auto; padding-top: 24px; color: var(--blue); font-size: 11px; }

.guide-main { min-height: calc(100vh - 185px); }
.guide-title-shell { padding: 85px 0 48px; }
.guide-breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 35px; color: #7c93a2; font-size: 10px; }
.guide-breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 750; }
.guide-title-grid { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: end; }
.guide-title-grid, .guide-title-grid > *, .guide-layout, .guide-article, .guide-endpoint-card { min-width: 0; }
.guide-title-grid h1 { max-width: 800px; margin: 12px 0 18px; color: var(--navy); font-size: clamp(42px, 5vw, 66px); line-height: 1; letter-spacing: -.05em; }
.guide-title-grid > div > p:not(.kicker) { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.guide-endpoint-card { padding: 22px; border: 1px solid #c7e1ed; border-radius: 16px; background: white; box-shadow: var(--shadow-soft); }
.guide-endpoint-card > span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.guide-endpoint-card > div { margin-top: 15px; padding: 12px; border-radius: 9px; background: #f0f9fd; }
.guide-endpoint-card small { display: block; margin-bottom: 5px; color: #7894a5; font-size: 8px; text-transform: uppercase; }
.guide-endpoint-card code { color: var(--navy); font-size: 10px; word-break: break-all; }
.guide-endpoint-card > a { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 10px; font-weight: 750; text-decoration: none; }
.guide-layout { padding: 0 0 110px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 42px; align-items: start; }
.guide-article { padding: 38px 44px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-soft); }
.guide-article h2 { margin: 52px 0 18px; padding-top: 5px; color: var(--navy); font-size: 27px; letter-spacing: -.03em; scroll-margin-top: 100px; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article > p { color: #526f82; font-size: 14px; line-height: 1.75; }
.guide-article > ul { padding-left: 21px; color: #526f82; font-size: 13px; line-height: 1.7; }
.guide-article > ul li + li { margin-top: 8px; }
.guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-steps li { padding: 16px 18px; display: grid; grid-template-columns: 190px 1fr; gap: 18px; border: 1px solid #d8e9f2; border-radius: 10px; background: #f8fcfe; }
.guide-steps strong { color: var(--navy); font-size: 12px; }
.guide-steps span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.guide-code { margin: 18px 0; border-radius: 13px; overflow: hidden; background: #082e48; box-shadow: 0 15px 34px rgba(9,47,74,.15); }
.guide-code > div { min-height: 44px; padding: 0 13px 0 17px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.09); background: #0b3956; }
.guide-code > div span { color: white; font-size: 10px; font-weight: 750; }
.guide-code > div small { color: #80b4cd; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.copy-guide-code { margin-left: auto; border: 0; color: #a9d4e7; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.guide-code pre { margin: 0; padding: 21px; overflow: auto; color: #dff5ff; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.65; tab-size: 2; }
.guide-callout { margin: 20px 0; padding: 17px 19px; border: 1px solid #cce5f0; border-radius: 11px; background: #eef9fd; }
.guide-callout.warning { border-color: #edd6a7; background: #fff8e8; }
.guide-callout strong { color: var(--navy); font-size: 12px; }
.guide-callout.warning strong { color: #795612; }
.guide-callout p { margin: 7px 0 0; color: #5e7888; font-size: 11px; line-height: 1.6; }
.guide-sidebar { position: sticky; top: 105px; display: grid; gap: 13px; }
.sidebar-card { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.sidebar-card .kicker { margin: 0 0 12px; font-size: 8px; }
.sidebar-card nav, #guide-sources { display: grid; gap: 9px; }
.sidebar-card nav a, #guide-sources a { color: #4e7083; font-size: 10px; line-height: 1.4; text-decoration: none; }
.sidebar-card nav a:hover, #guide-sources a:hover { color: var(--blue); }
.support-card { background: #0b3a57; border-color: #0b3a57; }
.support-card strong { color: white; font-size: 13px; }
.support-card p { color: #b8d5e2; font-size: 10px; line-height: 1.55; }
.support-card a { color: #8de0f5; font-size: 10px; font-weight: 750; text-decoration: none; word-break: break-all; }
.guide-body footer a { color: #9ab8c7; text-decoration: none; }

.certificate-body { min-height: 100vh; overflow-x: hidden; background: #f5fbff; }
.certificate-main { min-height: calc(100vh - 185px); }
.chrome-quick { margin-top: 70px; padding: 31px; border: 1px solid #9fd3ea; border-radius: 21px; background: linear-gradient(135deg, #e6f7ff, #f8fdff 58%, #eaf8fd); box-shadow: var(--shadow); }
.chrome-quick-badge { width: fit-content; margin-bottom: 19px; padding: 7px 10px; border-radius: 7px; color: white; background: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.chrome-quick-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 45px; align-items: center; }
.chrome-quick-grid > * { min-width: 0; }
.chrome-quick h1 { margin: 10px 0 17px; color: var(--navy); font-size: clamp(35px, 4.2vw, 55px); line-height: 1.03; letter-spacing: -.045em; }
.chrome-quick h1 code { padding: .04em .18em; border-radius: .16em; color: #08679e; background: rgba(255,255,255,.72); font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: .83em; }
.chrome-quick-grid > div > p:not(.kicker) { max-width: 720px; margin: 0; color: #466a7f; font-size: 14px; line-height: 1.72; }
.chrome-quick-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.chrome-quick aside { padding: 22px; display: grid; grid-template-columns: 30px 1fr; gap: 13px 12px; align-items: center; border: 1px solid #c3e3f1; border-radius: 15px; background: rgba(255,255,255,.85); }
.chrome-quick aside strong { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--navy); font-size: 10px; }
.chrome-quick aside span { color: #466a7f; font-size: 11px; line-height: 1.45; }
.chrome-quick aside code { color: var(--navy); font-size: 10px; overflow-wrap: anywhere; }
.chrome-quick-note { margin: 22px 0 0; padding-top: 17px; border-top: 1px solid #c4e3f1; color: #57788b; font-size: 11px; line-height: 1.6; }
.chrome-quick-note strong { color: var(--navy); }
.certificate-hero { padding: 92px 0 58px; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 70px; align-items: center; }
.certificate-hero > *, .certificate-card, .certificate-clients, .certificate-finish { min-width: 0; max-width: 100%; }
.certificate-hero h1 { margin: 14px 0 20px; color: var(--navy); font-size: clamp(48px, 6vw, 74px); line-height: .98; letter-spacing: -.055em; }
.certificate-hero h1 span { color: var(--blue); }
.certificate-hero > div > p:last-of-type { max-width: 670px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.certificate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.certificate-summary { padding: 27px; border: 1px solid #c6e1ee; border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.certificate-summary > span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.certificate-summary dl { margin: 20px 0; display: grid; gap: 10px; }
.certificate-summary dl div { display: grid; grid-template-columns: 85px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e0edf4; }
.certificate-summary dt { color: #7a93a3; font-size: 10px; }
.certificate-summary dd { margin: 0; color: var(--navy); font-size: 11px; font-weight: 700; }
.certificate-summary p { margin: 18px 0 7px; color: var(--muted); font-size: 10px; }
.certificate-summary code { display: block; color: #365e75; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.certificate-content { padding-bottom: 110px; }
.certificate-warning { margin-bottom: 22px; padding: 20px 22px; border: 1px solid #e8cb8f; border-radius: 14px; background: #fff8e8; }
.certificate-warning strong { color: #72500e; font-size: 13px; }
.certificate-warning p { margin: 7px 0 0; color: #715f3d; font-size: 12px; line-height: 1.65; }
.certificate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.certificate-card { padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow-soft); }
.certificate-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.certificate-card-heading span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--blue); font-size: 9px; font-weight: 850; }
.certificate-card h2 { margin: 0; color: var(--navy); font-size: 22px; }
.certificate-card ol { margin: 0; padding-left: 20px; color: #526f82; font-size: 12px; line-height: 1.7; }
.certificate-card li + li { margin-top: 7px; }
.certificate-card details { margin-top: 17px; }
.certificate-card summary { color: var(--blue); font-size: 11px; font-weight: 750; cursor: pointer; }
.certificate-card pre, .certificate-clients pre { margin: 13px 0 0; padding: 16px; overflow-x: auto; border-radius: 10px; color: #dff5ff; background: #082e48; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.6; }
.certificate-clients { margin-top: 18px; padding: 30px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-soft); }
.certificate-clients h2, .certificate-finish h2 { margin: 10px 0; color: var(--navy); font-size: 27px; letter-spacing: -.03em; }
.certificate-clients p:not(.kicker), .certificate-finish p:not(.kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.certificate-command-grid { display: grid; gap: 12px; }
.certificate-command-grid > div > strong { color: var(--navy); font-size: 11px; }
.certificate-finish { margin-top: 18px; padding: 27px 30px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-radius: 18px; color: white; background: linear-gradient(135deg, #092f4a, #0d5e8d); }
.certificate-finish .kicker, .certificate-finish h2, .certificate-finish p:not(.kicker) { color: white; }
.certificate-finish p:not(.kicker) { color: #c7e0ec; }
.certificate-body footer a { color: #9ab8c7; text-decoration: none; }

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; padding-top: 10px; gap: 8px 14px; }
  .site-header > nav {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 6px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-header > nav::-webkit-scrollbar { display: none; }
  .site-header > nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(185, 218, 235, .75);
    border-radius: 8px;
    background: rgba(244, 250, 253, .8);
    font-size: 11px;
  }
  .site-header > nav a[aria-current="page"] { background: #e5f5fc; border-color: #9fd0e8; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 78px; }
  .hero-copy { max-width: 760px; }
  .hero-panel { max-width: 650px; }
  .quick-strip { grid-template-columns: 1fr; }
  .quick-strip a + a { border-left: 0; border-top: 1px solid var(--line); }
  .split-heading { display: block; }
  .filter-group { margin-top: 22px; }
  .recommendations { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .step-card:not(:last-child)::after { content: "↓"; top: auto; bottom: -15px; right: 32px; }
  .api-layout { grid-template-columns: 1fr; }
  .endpoint-list { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .links-hero { grid-template-columns: 1fr; gap: 35px; }
  .admin-card { max-width: 620px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-title-grid { grid-template-columns: 1fr; gap: 30px; }
  .guide-endpoint-card { max-width: 620px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; grid-template-columns: repeat(3, 1fr); }
  .chrome-quick-grid { grid-template-columns: 1fr; gap: 25px; }
  .certificate-hero { grid-template-columns: 1fr; gap: 35px; }
  .certificate-summary { max-width: 700px; }
  .certificate-clients { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { width: calc(100% - 20px); top: 8px; padding-inline: 10px; gap: 8px; }
  .site-header .brand { min-width: 0; gap: 8px; }
  .site-header .brand-mark { width: 34px; height: 34px; }
  .site-header .brand strong { font-size: 13px; white-space: nowrap; }
  .site-header .brand small { display: none; }
  .site-header .dashboard-header { min-height: 34px; padding-inline: 11px; font-size: 10px; }
  .hero { padding: 68px 0 70px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 80px 0; }
  .table-wrap { display: none; }
  .model-cards { display: grid; gap: 12px; }
  .model-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; }
  .model-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .model-card code { color: white; background: var(--navy); border-radius: 6px; padding: 5px 7px; font-size: 11px; font-weight: 800; }
  .model-card h3 { margin: 14px 0 5px; font-size: 15px; }
  .model-card .backend-link { font-size: 11px; }
  .mobile-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 16px 0; border: 1px solid #dcebf3; border-radius: 9px; overflow: hidden; background: #dcebf3; }
  .mobile-metric { padding: 12px; background: #f8fcfe; }
  .mobile-metric span { display: block; color: #8499a6; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-metric strong { display: block; margin-top: 5px; color: var(--navy); font-size: 12px; }
  .model-card p { color: var(--muted); font-size: 11px; line-height: 1.55; }
  .benchmark-note, .positioning-note { display: block; }
  .benchmark-note strong, .positioning-note strong { display: block; margin-bottom: 5px; white-space: normal; }
  .tier-grid { grid-template-columns: 1fr; }
  .access-cta { align-items: stretch; flex-direction: column; }
  .endpoint-list { grid-template-columns: 1fr; }
  .protocol-chips { justify-content: flex-start; margin-top: 20px; }
  .code-tabs { overflow-x: auto; }
  .code-card pre { min-height: 380px; padding: 18px; font-size: 10px; }
  .capability-grid { grid-template-columns: 1fr; }
  .operations-row { align-items: stretch; flex-direction: column; gap: 20px; }
  .operations-row .button { margin-left: 0; }
  .footer-inner { padding: 25px 0; align-items: flex-start; flex-direction: column; }
  .links-hero { padding-top: 64px; }
  .links-hero h1 { font-size: clamp(44px, 14vw, 60px); }
  .docs-notice { grid-template-columns: 1fr; gap: 8px; }
  .directory-heading { display: block; }
  .directory-heading span { display: block; margin-top: 7px; }
  .directory-links { grid-template-columns: 1fr; }
  .directory-link { min-height: auto; align-items: flex-start; flex-direction: column; }
  .directory-action { align-self: flex-start; }
  .guide-index-hero { padding-top: 68px; text-align: left; }
  .guide-index-hero h1 { font-size: clamp(43px, 14vw, 60px); }
  .guide-index-hero > p:last-of-type { margin: 0; }
  .guide-endpoints { grid-template-columns: 1fr; }
  .guide-endpoints > div + div { border-left: 0; border-top: 1px solid #d5e8f1; }
  .guide-library-heading { align-items: flex-start; flex-direction: column; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: auto; }
  .guide-title-shell { padding-top: 55px; }
  .guide-title-grid h1 { font-size: clamp(37px, 10.5vw, 48px); overflow-wrap: anywhere; }
  .guide-title-grid > div > p { overflow-wrap: anywhere; }
  .guide-endpoint-card { width: 100%; }
  .guide-layout { width: 100%; }
  .guide-article { padding: 28px 18px; border-inline: 0; border-radius: 0; }
  .guide-steps li { grid-template-columns: 1fr; gap: 6px; }
  .guide-code pre { padding: 17px; font-size: 9.5px; }
  .guide-sidebar { width: min(100% - 28px, 1180px); margin-inline: auto; grid-template-columns: 1fr; }
  .chrome-quick { width: calc(100% - 28px); margin-top: 45px; padding: 23px 18px; }
  .chrome-quick h1 { font-size: clamp(31px, 9vw, 41px); overflow-wrap: anywhere; }
  .chrome-quick-actions .button { width: 100%; }
  .certificate-hero { padding-top: 64px; }
  .certificate-hero h1 { font-size: clamp(36px, 10.5vw, 48px); overflow-wrap: anywhere; }
  .certificate-hero > div > p:last-of-type { overflow-wrap: anywhere; }
  .certificate-actions .button { width: 100%; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-card, .certificate-clients { padding: 22px 18px; }
  .certificate-finish { align-items: stretch; flex-direction: column; }
}

.public-access { padding-top: 64px; padding-bottom: 32px; }
.public-access h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.12; margin: 18px 0; }
.public-access h2 { margin-top: 32px; }
.public-access p, .public-access li { line-height: 1.7; }
.public-access code { overflow-wrap: anywhere; }
.public-access pre { overflow-x: auto; padding: 20px; background: #edf5fd; border-radius: 12px; }
.legacy-certificate { margin-bottom: 64px; border: 1px solid #c9ddee; border-radius: 12px; padding: 20px; }
.legacy-certificate > summary { cursor: pointer; color: #23496e; font-weight: 700; }
.legacy-certificate .section-shell { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Audio API catalogue; same card system as the model recommendations. */
.audio-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.audio-services a { display: inline-block; margin-top: 8px; font-weight: 700; }
@media (max-width: 700px) { .audio-services { grid-template-columns: 1fr; } }

.model-card .mobile-metric:last-child:nth-child(odd) { grid-column: 1 / -1; }
