/* SPDX-License-Identifier: MIT */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("inter-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 {
  color-scheme: light;
  --ink: #132039;
  --muted: #4b5d77;
  --blue: #2857d5;
  --blue-dark: #2146ac;
  --tint: #f5f7fc;
  --paper: #fff;
  --line: #dce5f2;
  --night: #101d36;
  --night-text: #c4d1eb;
  --radius: 16px;
  --shell: min(1200px, calc(100% - 72px));
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue-dark); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, video:focus-visible, .setup-commands:focus-visible {
  outline: 3px solid #526ff1;
  outline-offset: 4px;
  border-radius: 3px;
}
code, pre { font-family: "Cascadia Code", Consolas, monospace; }
code { font-size: .9em; overflow-wrap: anywhere; }
pre { overflow-x: auto; white-space: pre; }
pre code { overflow-wrap: normal; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1, h2 { letter-spacing: -.045em; }
h1 { font-size: clamp(2.45rem, 5.4vw, 4.85rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.8rem); }
h3 { font-size: 1.19rem; letter-spacing: -.019em; }
p { margin: 0; }
[id] { scroll-margin-top: 20px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; z-index: 30; inset-inline-start: 16px; top: -70px; padding: 10px 18px; background: white; }
.skip:focus { top: 12px; }

.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; font-size: 1.24rem; color: var(--ink); text-decoration: none; letter-spacing: -.045em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 33px); }
.nav a { padding-block: 10px; color: var(--muted); font-size: .92rem; font-weight: 610; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--blue-dark); text-decoration: underline; }
.nav .github { color: var(--ink); border: 1px solid var(--line); padding: 7px 13px; border-radius: 8px; }
.nav .github:hover { background: var(--tint); }
.language-picker { position: relative; flex: none; border: 0; padding: 0; }
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: .88rem;
  list-style: none;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.language-picker[open] summary::after { transform: translateY(1px) rotate(225deg); }
.language-picker summary:hover { background: var(--tint); }
.language-picker[open] .language-options {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + 8px);
  inset-inline-start: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  width: min(19rem, calc(100vw - 32px));
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 35px #14213b25;
}
.language-options a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 7px;
  padding: 5px 9px;
  color: var(--ink);
  font-size: .88rem;
  text-decoration: none;
}
.language-options a:hover, .language-options a[aria-current] { background: #eaf0fc; color: var(--blue-dark); }
.language-options a[aria-current] { font-weight: 700; }
.language-picker + .nav { margin-inline-start: auto; }

.hero {
  background: radial-gradient(ellipse at 78% 35%, #e0eaff, transparent 58%), linear-gradient(#fbfcff, #f1f5fd);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6.1vw, 88px);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.26fr); align-items: center; gap: clamp(26px, 4.7vw, 70px); }
.hero h1 { font-size: clamp(2.85rem, 5.8vw, 5.25rem); font-weight: 750; letter-spacing: -.075em; line-height: 1.02; }
.hero h1 span { display: block; color: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.hero .lead { margin-top: 22px; max-width: 29rem; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 18px; border: 1px solid transparent; border-radius: 9px; background: var(--blue); color: #fff; text-align: center; text-decoration: none; font-weight: 650; font-size: .91rem; transition: background-color 140ms ease, border-color 140ms ease; }
.button:hover { background: var(--blue-dark); }
.button.secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: #eaf0fc; border-color: #b8c9e8; }
.hero .button:not(.secondary) { box-shadow: 0 4px 10px #254cbc22; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .83rem; }
.hero-window {
  padding: clamp(12px, 2.25vw, 32px);
  border: 1px solid #3e5890;
  border-radius: clamp(15px, 2.2vw, 28px);
  background:
    radial-gradient(ellipse at 92% 5%, #5279c8, transparent 59%),
    radial-gradient(ellipse at 0 100%, #304c86, transparent 58%),
    linear-gradient(143deg, #253e73, #152543 74%);
  box-shadow: 0 22px 55px #283f7428, inset 0 1px #ffffff28;
}
.hero-window-image {
  width: 100%;
  border: 1px solid #c5d7f473;
  border-radius: clamp(5px, .8vw, 11px);
  box-shadow: 0 12px 36px #0b142c80;
}
.product-art {
  border: 1px solid #95baf532;
  border-radius: clamp(13px, 2vw, 23px);
  overflow: hidden;
  background: #0c1a35;
  box-shadow: 0 22px 75px #03091766;
}
.product-art img { width: 100%; aspect-ratio: 1.5; object-fit: cover; object-position: right center; }

.section { padding-block: clamp(56px, 7.7vw, 102px); }
.section-heading { max-width: 650px; margin-bottom: 36px; }
.section-heading p { margin-top: 13px; color: var(--muted); }
.section-link { margin-top: 23px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; padding: 24px; background: #fbfcff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature h3 { margin-bottom: 13px; }
.feature p { color: var(--muted); font-size: .96rem; }
.feature .text-link { margin-top: auto; padding-top: 17px; }
.text-link { align-self: flex-start; font-weight: 670; }
.text-link::after { content: " ↗"; }
.section-tinted { background: var(--tint); border-block: 1px solid var(--line); }
.night { background: var(--night); color: #f7f9ff; }
.night .lead { color: var(--night-text); }
.night .button { background: #e5edff; color: #15378b; }
.night .button:hover { background: #fff; }
.quiet { color: var(--muted); font-size: .9rem; }

.connection-showcase, .developer-showcase, .demo-spotlight, .release-grid, .faq-layout, .localized-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 5.1vw, 72px);
}
.connection-showcase { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.product-shot {
  padding: clamp(9px, 1.5vw, 18px);
  background: linear-gradient(155deg, #eef4ff, #e1eafb);
  border: 1px solid #d9e4f5;
  border-radius: 20px;
}
.product-shot img { width: 100%; border: 1px solid #c7d4e8; border-radius: 9px; box-shadow: 0 8px 24px #2439671c; }
.connection-list { border-top: 1px solid var(--line); }
.connection-list article { padding-block: 17px; border-bottom: 1px solid var(--line); }
.connection-list p { margin-block: 7px 8px; color: var(--muted); }
.connection-list .text-link { font-size: .91rem; }

.home-demo { background: radial-gradient(ellipse at 94% 28%, #253f77, transparent 61%), var(--night); }
.demo-copy .lead { max-width: 31rem; margin-top: 16px; }
.demo-evidence { margin-top: 24px; border-top: 1px solid #465b83; }
.demo-evidence a { display: grid; gap: 4px; padding-block: 13px; border-bottom: 1px solid #465b83; color: #f7f9ff; text-decoration: none; }
.demo-evidence a:hover strong { color: #bcd4ff; text-decoration: underline; }
.demo-evidence span { color: var(--night-text); font-size: .9rem; }
.demo-device {
  border: 1px solid #546c9d;
  border-radius: 22px;
  padding: clamp(16px, 2.6vw, 30px);
  background: radial-gradient(ellipse at 50% 0%, #3e64aa, #203961 68%);
  box-shadow: 0 20px 48px #0a142b50;
  text-align: center;
}
.demo-device video {
  display: block;
  width: min(100%, 208px);
  height: auto;
  aspect-ratio: 864 / 1920;
  margin-inline: auto;
  background: #101928;
  border: 1px solid #7f96be;
  border-radius: 12px;
  box-shadow: 0 12px 24px #101d3670;
}
.demo-device figcaption { margin-top: 11px; color: #e6eeff; font-size: .82rem; }

.developer-showcase { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.developer-copy .lead { margin-block: 17px 12px; }
.developer-copy > p:not(.lead) { color: var(--muted); margin-bottom: 20px; }
.faq-layout { align-items: start; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-list { min-width: 0; }
details { border-top: 1px solid var(--line); padding: 13px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 680; padding: 5px 0; }
details p { color: var(--muted); margin-top: 8px; }
.release-banner { overflow: hidden; border: 1px solid #293e65; border-radius: 24px; gap: 0; }
.release-copy { padding: clamp(26px, 5vw, 66px); }
.release-copy .lead { margin-top: 14px; }
.release-art { align-self: stretch; min-height: 220px; }
.release-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.doc-hero { padding: 62px 0 50px; background: radial-gradient(ellipse at 85% 10%, #e1ebfc, transparent 58%), linear-gradient(#fbfcff, #f1f5fd); border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2.4rem, 5vw, 4.15rem); }
.doc-hero .lead { max-width: 760px; margin-top: 17px; }
.doc-layout { display: grid; grid-template-columns: minmax(155px, 200px) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 65px); padding-block: 49px 80px; }
.toc { position: sticky; top: 23px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc strong { display: block; margin-bottom: 5px; font-size: .86rem; }
.toc a { display: block; padding: 4px 0; font-size: .86rem; color: var(--muted); }
.doc-content { min-width: 0; }
.doc-content section + section { margin-top: 45px; }
.doc-content h2 { font-size: clamp(1.64rem, 3vw, 2.18rem); margin-bottom: 15px; }
.doc-content h3 { margin-top: 24px; margin-bottom: 8px; }
.doc-content p + p { margin-top: 12px; }
.doc-content li + li { margin-top: 9px; }
.doc-content ol, .doc-content ul { padding-left: 1.35rem; }
.doc-content pre { color: #eef3ff; background: #1b2947; border-radius: 11px; padding: 15px 17px; margin-block: 15px; }
.callout { padding: 14px 17px; margin-block: 16px; background: var(--tint); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; }
.callout p { font-size: .94rem; }
.device-list { margin: 17px 0 0; border-top: 1px solid var(--line); }
.device-list div { padding: 13px 0; display: grid; grid-template-columns: minmax(145px, .36fr) minmax(0, 1fr); align-items: start; gap: 17px; border-bottom: 1px solid var(--line); }
.device-list dt { font-weight: 690; }
.device-list dd { margin: 0; color: var(--muted); }
.doc-content .device-list p { margin-top: 0; }
.guide-screen { margin-top: 19px; }
.guide-screen figure { margin-top: 10px; }
.guide-screen img { width: 100%; border: 1px solid #c9d7ec; border-radius: 10px; }
.guide-screen figcaption { margin-top: 8px; color: var(--muted); font-size: .86rem; }

.demo-heading { max-width: 680px; margin-bottom: 24px; }
.demo-heading p { margin-top: 13px; color: var(--muted); }
.demo-nav { display: flex; flex-wrap: wrap; gap: 8px 11px; margin-top: 24px; }
.demo-nav a { padding: 7px 12px; border: 1px solid #c8d7ef; border-radius: 8px; background: #fff9; color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
.demo-nav a:hover { background: #fff; text-decoration: underline; }
.demo-body { padding-block: 49px 80px; }
.demo-body > section + section { border-top: 1px solid var(--line); margin-top: 49px; padding-top: 41px; }
.mirror-demo { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(21px, 5.8vw, 76px); align-items: center; }
.mirror-panel { background: radial-gradient(ellipse at 45% 0%, #284c85, #11233f 70%); color: #ecf4ff; border-radius: var(--radius); padding: 23px 23px 17px; }
.mirror-panel video { display: block; width: min(100%, 218px); height: auto; margin-inline: auto; border: 1px solid #4b648c; border-radius: 12px; background: #101828; }
.mirror-panel figcaption { margin-top: 12px; text-align: center; font-size: .83rem; }
.mirror-panel a { color: #e6f1ff; }
.demo-details { margin: 19px 0; border-top: 1px solid var(--line); }
.demo-details div { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 1.45fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.demo-details dt { font-weight: 690; }
.demo-details dd { margin: 0; color: var(--muted); }
.mcp-frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3.2vw, 27px); max-width: 800px; }
.mcp-frames figure { background: var(--tint); border: 1px solid var(--line); padding: clamp(11px, 2.4vw, 22px); border-radius: var(--radius); }
.mcp-frames a { display: block; width: min(100%, 220px); margin-inline: auto; }
.mcp-frames img { width: 100%; border: 1px solid #ccd9ed; border-radius: 9px; }
.mcp-frames figcaption { margin-top: 11px; color: var(--muted); text-align: center; font-size: .88rem; }
.mcp-frames strong { display: block; color: var(--ink); }
.transfer-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; max-width: 800px; }
.transfer-proof div { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2.8vw, 24px); }
.transfer-proof dt { font-size: .9rem; font-weight: 690; }
.transfer-proof dd { margin: 5px 0 0; color: var(--muted); }
.transfer-proof .proof-number { color: var(--ink); font-weight: 730; font-size: clamp(1.13rem, 2.55vw, 1.74rem); }
.demo-footer { padding: 20px 22px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: var(--tint); }
.demo-footer p { margin-bottom: 9px; color: var(--muted); }

.site-footer { background: #f8faff; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 25px; min-height: 94px; padding-block: 18px; }
.foot-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.foot-name p, .foot-links a { font-size: .86rem; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 9px 19px; }

.localized-home .hero h1 { font-size: clamp(2.45rem, 5.15vw, 4.85rem); line-height: 1.09; overflow-wrap: anywhere; }
.localized-home .feature-grid { gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.localized-home .feature { padding: clamp(17px, 2.6vw, 29px); border: 0; border-radius: 0; background: #fbfcff; }
.localized-home .feature + .feature { border-inline-start: 1px solid var(--line); }
.localized-home .feature h3 { overflow-wrap: anywhere; }
.localized-prose { max-width: 720px; }
.localized-prose .lead { margin-block-start: 16px; }
.localized-steps { padding-inline-start: 1.5rem; }
.localized-steps li + li { margin-block-start: 8px; }
.setup-commands { min-width: 0; color: #eef3ff; background: #1b2947; border: 1px solid #3d547d; border-radius: 16px; padding: clamp(17px, 2.8vw, 30px); margin: 0; text-align: start; box-shadow: 0 10px 28px #1b29471c; }
.setup-commands code { overflow-wrap: normal; }
.localized-home .button { column-gap: .4em; }
.english-tag { font-size: .85em; font-weight: 500; }
:is([lang="ar"], [lang="hi"], [lang="ja"], [lang="th"], [lang="zh-Hans"]) :is(h1, h2, h3) { letter-spacing: normal; line-height: 1.27; }
:is([lang="ar"], [lang="hi"], [lang="ja"], [lang="th"], [lang="zh-Hans"]) .localized-home .hero h1 { line-height: 1.19; letter-spacing: normal; }
[dir="rtl"] .text-link::after { content: " ↖"; }

@media (max-width: 900px) {
  :root { --shell: min(1200px, calc(100% - 40px)); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 25px; }
  .feature { padding: 18px; }
  .nav { gap: 17px; }
  .language-picker + .nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
}

@media (max-width: 800px) {
  .head-inner { flex-wrap: wrap; gap: 2px 17px; padding-block: 12px 9px; }
  .head-inner .language-picker { margin-inline-start: auto; }
  .language-picker[open] .language-options { inset-inline-start: auto; inset-inline-end: 0; }
  .language-picker + .nav { justify-content: flex-start; }
  .nav { width: 100%; flex-wrap: wrap; gap: 0 16px; }
  .nav .github { border: 0; padding: 10px 0; }
  .hero-inner, .feature-grid, .doc-layout, .mirror-demo, .connection-showcase, .developer-showcase, .demo-spotlight, .release-grid, .faq-layout, .localized-setup-grid { grid-template-columns: minmax(0, 1fr); }
  .localized-home .feature + .feature { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .hero-inner { gap: 29px; }
  .hero { padding-top: 43px; }
  .doc-layout { gap: 28px; padding-block: 27px 59px; }
  .toc { position: static; }
  .doc-hero { padding-block: 37px; }
  .demo-body { padding-block: 32px 57px; }
  .release-art { min-height: 0; }
  .release-art img { height: auto; aspect-ratio: 2; }
}

@media (max-width: 430px) {
  :root { --shell: calc(100% - 32px); }
  .nav { column-gap: 10px; }
  .nav a { font-size: .79rem; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.15rem); }
  .device-list div { grid-template-columns: 1fr; gap: 3px; }
  .transfer-proof { grid-template-columns: minmax(0, 1fr); }
}
