:root {
  color-scheme: light;
  --background: #f7f7f7;
  --panel: #ffffff;
  --panel-soft: #eeeeee;
  --panel-raised: #ffffff;
  --line: #d5d5d5;
  --line-strong: #999999;
  --accent: #202020;
  --accent-hover: #000000;
  --accent-soft: #eeeeee;
  --accent-line: #bdbdbd;
  --text: #1f1f1f;
  --muted: #292929;
  --soft: #303030;
  --code: #292929;
  --status-bg: #eeeeee;
  --status-line: #cccccc;
  --status-text: #303030;
  --shadow: 0 18px 48px -30px #00000029, inset 0 1px 0 #ffffffcc;
  --glass: #ffffffb8;
  --glass-soft: #ffffff94;
  --ambient-one: #cccccc88;
  --ambient-two: #ffffffee;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: var(--background);
  color: var(--text);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #111111;
  --panel: #1b1b1b;
  --panel-soft: #161616;
  --panel-raised: #242424;
  --line: #383838;
  --line-strong: #8b8b8b;
  --accent: #f1f1f1;
  --accent-hover: #ffffff;
  --accent-soft: #282828;
  --accent-line: #5c5c5c;
  --text: #f1f1f1;
  --muted: #e3e3e3;
  --soft: #dadada;
  --code: #e3e3e3;
  --status-bg: #272727;
  --status-line: #4c4c4c;
  --status-text: #dedede;
  --shadow: 0 18px 48px -30px #000000b3, inset 0 1px 0 #ffffff0d;
  --glass: #1b1b1bb8;
  --glass-soft: #1b1b1b94;
  --ambient-one: #4d4d4d73;
  --ambient-two: #29292999;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { position: relative; isolation: isolate; margin: 0; min-height: 100vh; background: var(--background); color: var(--text); font-weight: 600; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 42% at 95% 12%, var(--ambient-one), transparent 75%), radial-gradient(ellipse 65% 52% at 4% 67%, var(--ambient-two), transparent 76%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 8px; }
main:focus { outline: none; }
.wrap { width: min(1184px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 16px; padding: 14px 20px; background: var(--panel); color: var(--text); border: 1px solid var(--line-strong); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; gap: 28px; margin-top: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; font-size: 21px; font-weight: 800; letter-spacing: -.65px; }
.brand img { border-radius: 13px; outline: 1px solid #00000014; outline-offset: -1px; }
.brand small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .1px; font-weight: 650; color: var(--soft); }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
nav a { padding-block: 10px; }
nav a:hover, .text-link:hover, .site-footer > a:last-child:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 12px; border: 2px solid currentColor; background: var(--panel); color: var(--text); font-weight: 800; flex-shrink: 0; }
.theme-toggle:hover { border-color: currentColor; background: var(--accent-soft); color: var(--text); }
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
.button { min-height: 50px; padding: 15px 22px; border: 2px solid currentColor; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; background: var(--panel); color: var(--text); font-size: 13px; font-weight: 800; line-height: 1.4; }
.button:hover { background: var(--accent-soft); border-color: currentColor; color: var(--text); transform: translateY(-1px); }
.button-small { min-height: 43px; font-size: 11px; padding: 11px 15px; gap: 17px; }
.button-outline { background: var(--panel); border-color: currentColor; color: var(--text); }
.button-outline:hover { background: var(--accent-soft); border-color: currentColor; color: var(--text); }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 84px; padding-top: 96px; padding-bottom: 94px; align-items: center; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.7px; line-height: 1.7; color: var(--accent); margin: 0 0 23px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero .eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 4.6vw, 61px); line-height: 1.13; letter-spacing: -2.9px; margin-bottom: 27px; font-weight: 800; }
h1 > span { color: var(--accent); }
.lead { max-width: 540px; font-size: 16px; line-height: 1.85; font-weight: 650; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { min-height: 50px; padding: 13px 18px; border: 2px solid currentColor; border-radius: 12px; background: var(--panel); font-size: 12px; font-weight: 800; color: var(--text); display: inline-flex; align-items: center; gap: 13px; line-height: 1.7; }
.hero-note { font-size: 11px; color: var(--soft); margin: 24px 0 0; line-height: 1.8; }
.integration-card { position: relative; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 27px; box-shadow: var(--shadow); }
.integration-card::before { position: absolute; content: ""; width: 50px; height: 3px; background: var(--accent); left: 27px; top: -2px; border-radius: 3px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 23px; margin-bottom: 27px; }
.tiny-label { font-size: 11px; font-weight: 700; letter-spacing: 1.3px; color: var(--soft); }
.tag { font-size: 11px; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 6px 9px; border-radius: 6px; }
.flow-row { display: flex; align-items: center; gap: 15px; min-width: 0; }
.step-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line-strong); background: var(--panel-soft); border-radius: 11px; color: var(--muted); font-size: 12px; }
.flow-row strong { font-size: 13px; line-height: 1.6; font-weight: 800; }
.flow-row p { font-size: 11px; color: var(--soft); line-height: 1.7; margin: 4px 0 0; }
.flow-symbol { margin-left: auto; color: var(--soft); font-size: 21px; }
.flow-connector { height: 27px; border-left: 1px dashed var(--line-strong); margin: 7px 0 7px 20px; }
.flow-result { border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-soft); padding: 15px; }
.flow-result img { border-radius: 11px; flex-shrink: 0; }
.card-footnote { border-top: 1px solid var(--line); margin: 26px 0 0; padding-top: 18px; font-size: 11px; line-height: 1.9; color: var(--soft); }
.section { padding-block: 65px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { font-size: 29px; line-height: 1.3; letter-spacing: -.95px; font-weight: 800; margin: 0; }
.section-heading > p { max-width: 355px; flex-shrink: 0; font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.format-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 27px; min-width: 0; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.format-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.format-index { height: 32px; width: 32px; border-radius: 9px; border: 1px solid var(--accent-line); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-size: 11px; margin-bottom: 23px; }
h3 { font-size: 17px; line-height: 1.6; letter-spacing: -.25px; font-weight: 800; margin-bottom: 11px; }
.format-card > p, .metadata-copy > p { font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 19px; }
.code-label { font-size: 11px; color: var(--soft); margin: 2px 0 8px; line-height: 1.7; }
pre { margin: 0; padding: 17px 18px; background: var(--panel-soft); border: 1px solid var(--line); border-radius: 10px; color: var(--code); font-size: 11px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; color: var(--code); }
.format-card > .small { font-size: 11px; color: var(--soft); line-height: 1.9; margin: 21px 0 0; }
.format-diagram { display: grid; justify-items: center; gap: 10px; flex: 1; margin-top: 4px; font-size: 11px; color: var(--muted); }
.format-diagram > span:nth-child(odd) { border: 1px solid var(--line-strong); border-radius: 9px; padding: 10px; width: 146px; text-align: center; }
.format-diagram .accent-outline { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.plain-list { padding: 0; list-style: none; margin: 1px 0 0; display: grid; gap: 13px; font-size: 11px; line-height: 1.75; }
.plain-list li { display: block; padding-left: 15px; position: relative; }
.plain-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; position: absolute; left: 0; top: 8px; background: var(--accent); }
.note { display: flex; align-items: flex-start; gap: 14px; padding: 21px 23px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-soft); margin-top: 21px; }
.note-mark { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-family: Georgia, serif; font-size: 13px; }
.note p { font-size: 11px; line-height: 1.9; color: var(--muted); margin: 0; }
.note strong { color: var(--text); font-weight: 800; }
.metadata-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 62px; }
.metadata-copy h3 { font-size: 16px; }
.metadata-copy h3:not(:first-child) { margin-top: 29px; }
.metadata-copy p.small { font-size: 11px; color: var(--soft); margin-bottom: 0; }
.short-code { max-width: 330px; }
.code-panel { min-width: 0; align-self: start; border: 1px solid var(--line-strong); background: var(--panel); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.code-toolbar { display: flex; justify-content: space-between; gap: 18px; padding: 17px 21px; border-bottom: 1px solid var(--line); background: var(--panel-soft); font-size: 11px; line-height: 1.7; letter-spacing: .6px; color: var(--muted); }
.code-toolbar > span:last-child { color: var(--soft); letter-spacing: 0; }
.code-panel pre { background: transparent; border: 0; border-radius: 0; padding: 23px 21px; line-height: 2.15; font-size: 11px; }
.code-panel > p { border-top: 1px solid var(--line); padding: 17px 21px; margin: 0; font-size: 11px; color: var(--soft); line-height: 1.9; }
.provider-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 70px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius); padding: 41px; box-shadow: var(--shadow); }
.provider-panel h2 { font-size: 32px; line-height: 1.25; letter-spacing: -1px; font-weight: 800; margin-bottom: 20px; }
.provider-panel .eyebrow { margin-bottom: 16px; }
.provider-panel p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 25px; }
.provider-panel p.small { font-size: 11px; color: var(--soft); margin: 19px 0 0; max-width: 410px; }
.boundary-list { align-self: center; }
.boundary-list > div { display: flex; gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.boundary-list > div:first-child { padding-top: 0; }
.boundary-list > div:last-child { border: 0; padding-bottom: 0; }
.boundary-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--accent); line-height: 2.2; }
.boundary-list p { margin: 0; font-size: 11px; }
.boundary-list strong { display: block; font-weight: 800; color: var(--text); font-size: 12px; margin-bottom: 6px; }
.boundary-list p > span { color: var(--muted); font-size: 11px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.roadmap-grid article { border: 1px solid var(--line); background: var(--panel); border-radius: 22px; padding: 25px; box-shadow: var(--shadow); }
.status { display: inline-block; font-size: 11px; color: var(--status-text); line-height: 1.8; padding: 5px 9px; background: var(--status-bg); border: 1px solid var(--status-line); border-radius: 6px; margin-bottom: 19px; }
.roadmap-grid h3 { font-size: 16px; }
.roadmap-grid p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.roadmap-note { margin: 30px 0 0; font-size: 11px; line-height: 1.9; color: var(--soft); max-width: 850px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); padding-block: 30px; }
.footer-brand { font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.site-footer p { font-size: 11px; color: var(--soft); line-height: 1.9; margin: 0; }
.site-footer > a:last-child { font-size: 11px; color: var(--muted); line-height: 1.9; white-space: nowrap; }

/* Only paint and small control transforms transition; layout never animates. */
body, .site-header, .integration-card, .card-top, .step-number, .flow-result,
.card-footnote, .section, .format-card, .format-index, pre, .note,
.note-mark, .code-panel, .code-toolbar, .code-panel > p, .provider-panel,
.boundary-list > div, .roadmap-grid article, .status, .site-footer,
a, button, h1 > span, p, code, .eyebrow, .boundary-number {
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.button { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }

/* Blur is limited to four bounded panel types, never the page or text. */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header, .integration-card, .provider-panel, .code-panel {
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .format-card, .roadmap-grid article { background: var(--glass-soft); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .integration-card, .provider-panel, .code-panel, .format-card, .roadmap-grid article {
    background: var(--panel);
  }
}

@media(max-width:1060px) {
  .site-header { gap: 20px; flex-wrap: wrap; }
  nav { gap: 21px; order: 3; width: 100%; justify-content: flex-start; margin: 0; }
  nav a { padding: 0; }
  .header-actions { margin-left: auto; }
  .hero { gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  h1 { letter-spacing: -2px; }
  .lead { font-size: 14px; }
  .hero-actions { gap: 19px; }
  .hero-actions .text-link { font-size: 11px; }
  .section-heading { gap: 30px; }
  .section-heading > p { max-width: 290px; }
  .section-heading h2 { font-size: 26px; }
  .format-card, .roadmap-grid article { padding: 21px; }
  .metadata-grid { gap: 30px; }
  .provider-panel { gap: 35px; padding: 31px; }
  .provider-panel h2 { font-size: 28px; }
}

@media(max-width:760px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding: 18px; gap: 20px 10px; }
  .brand { font-size: 20px; }
  .brand small { font-size: 11px; }
  .brand img { width: 39px; height: 39px; }
  .header-actions { gap: 8px; }
  .header-actions > .button { font-size: 11px; padding: 10px 11px; gap: 9px; min-height: 40px; }
  .theme-toggle { width: 44px; height: 44px; }
  nav { gap: 25px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 50px; gap: 35px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  h1 { font-size: clamp(36px, 7.6vw, 51px); letter-spacing: -1.8px; line-height: 1.16; }
  .lead { max-width: 570px; font-size: 14px; margin-bottom: 25px; }
  .hero-note { margin-top: 20px; font-size: 11px; }
  .integration-card { padding: 23px; max-width: 560px; width: 100%; }
  .integration-card::before { left: 23px; }
  .flow-row strong { font-size: 13px; }
  .hero-actions { gap: 19px; }
  .button { font-size: 12px; padding: 14px 18px; }
  .hero-actions > .text-link { font-size: 11px; }
  .section { padding-block: 43px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading > p { max-width: 600px; margin-top: 17px; font-size: 12px; }
  .format-grid { grid-template-columns: 1fr; gap: 15px; }
  .format-card { padding: 23px; }
  .format-card h3 { font-size: 18px; }
  .format-index { margin-bottom: 17px; }
  .format-card > p { font-size: 13px; }
  .format-card > .small { font-size: 11px; }
  .format-diagram { margin-block: 8px; }
  .plain-list { font-size: 12px; gap: 12px; }
  .note { padding: 18px; gap: 11px; }
  .note p { font-size: 11px; }
  .metadata-grid { grid-template-columns: 1fr; gap: 27px; }
  .metadata-copy > p { font-size: 13px; }
  .metadata-copy p.small { font-size: 11px; }
  .code-panel pre { font-size: 11px; padding: 20px 17px; }
  .code-toolbar { padding-inline: 17px; font-size: 11px; }
  .code-panel > p { padding-inline: 17px; font-size: 11px; }
  .provider-panel { grid-template-columns: 1fr; padding: 25px; gap: 31px; border-radius: 22px; }
  .provider-panel h2 { font-size: 27px; }
  .provider-panel p { font-size: 13px; }
  .provider-panel p.small { font-size: 11px; }
  .boundary-list > div { gap: 14px; padding-block: 20px; }
  .boundary-list strong { font-size: 13px; }
  .boundary-list p > span { font-size: 12px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 15px; }
  .roadmap-grid article { padding: 23px; }
  .roadmap-grid h3 { font-size: 18px; }
  .roadmap-grid p { font-size: 13px; }
  .roadmap-note { font-size: 11px; margin-top: 25px; }
  .status { font-size: 11px; margin-bottom: 15px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; gap: 15px 22px; padding-block: 25px; }
  .site-footer p { order: 3; width: 100%; font-size: 11px; }
  .site-footer > a:last-child { margin-left: auto; font-size: 11px; }
}

@media(max-width:540px) {
  .site-header .brand { margin-right: auto; }
  .header-actions { margin: 0; }
  .header-actions .button-small { display: none; }
}

@media(max-width:370px) {
  .brand { gap: 9px; font-size: 18px; }
  .brand small { font-size: 11px; }
  .brand img { width: 35px; height: 35px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 35px; }
  .integration-card { padding: 18px; }
  .flow-row { gap: 11px; }
  .flow-row strong { font-size: 12px; }
  .flow-row p { font-size: 11px; }
  .provider-panel { padding: 21px; }
  .code-toolbar > span:last-child { display: none; }
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}

@media(prefers-reduced-transparency:reduce) {
  body::before { background: none; }
  .site-header, .integration-card, .provider-panel, .code-panel, .format-card, .roadmap-grid article {
    background: var(--panel);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
