/* Shared presentation for the public website and both languages. */
:root {
  --radius-small: 6px;
  --radius-control: 10px;
  --radius-panel: 16px;
  --focus-ring: #8dbfff;
  --nav-scroll: rgb(4 8 17 / 87%);
  --nav-solid: #060910;
  --nav-line: #384b65;
  --nav-edge: #758ba9;
  --nav-ink: #f2f6ff;
  --nav-link: #ced9eb;
  --nav-accent: #9acaff;
  --nav-menu: #101a2a;
  --nav-highlight: #253750;
  --nav-selected: #304966;
  --nav-shadow: rgb(2 5 12 / 20%);
  --stage-background: radial-gradient(ellipse at 78% 40%, #142338 0%, #0d1525 32%, #090e1a 68%);
  --stage-grid: rgb(101 143 202 / 5%);
  --stage-title: #f3f6fc;
  --stage-accent: #73aefb;
  --stage-label: #a7c9f7;
  --stage-copy: #b9c6dc;
  --stage-caption: #aebfd7;
  --stage-secondary: #162137;
  --stage-secondary-hover: #23344f;
  --stage-control-edge: #8093b0;
  --studio-nav-height: 76px;
  --bg:#090f1a; --surface:#0e1726; --line:#29374b; --text:#f2f6fc;
  --muted:#b2bed0; --cyan:#80bdff; --blue:#86baff;
}
:root[data-theme=light] { --bg:#f6f8fc; --surface:#fff; --line:#cbd5e3; --text:#101d32; --muted:#475a70; --cyan:#1859a6; --blue:#195bab;
  --focus-ring: #1455a0;
  --nav-scroll: rgb(226 235 246 / 91%);
  --nav-solid: #e2ebf6;
  --nav-line: #b9cadc;
  --nav-edge: #697f99;
  --nav-ink: #122238;
  --nav-link: #2a4059;
  --nav-accent: #124e9d;
  --nav-menu: #fcfdff;
  --nav-highlight: #e4edf8;
  --nav-selected: #d6e5f7;
  --nav-shadow: rgb(24 46 75 / 13%);
  --stage-background: radial-gradient(ellipse at 78% 40%, #cbdff6 0%, #e2edf9 32%, #f1f6fc 68%);
  --stage-grid: rgb(54 94 145 / 8%);
  --stage-title: #11233b;
  --stage-accent: #1d58a7;
  --stage-label: #28557f;
  --stage-copy: #354c66;
  --stage-caption: #425a74;
  --stage-secondary: #f9fcff;
  --stage-secondary-hover: #e1edfa;
  --stage-control-edge: #677f9a;
}
html {scroll-padding-top:calc(var(--studio-nav-height) + 24px)}
body {padding-top:var(--studio-nav-height); overflow-wrap:break-word}
@media screen {
  body.home {padding-top:0}
  body.home .hero-stage {padding-top:var(--studio-nav-height)}
}
.shell {width:min(1240px, calc(100% - clamp(40px, 10vw, 148px)))}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {outline:3px solid var(--focus-ring); outline-offset:4px}
.skip:focus-visible {position:fixed;z-index:1200}
.site-restyled .masthead {
  height:var(--studio-nav-height); position:fixed; inset:0 0 auto; z-index:100;
  color:var(--nav-ink); background:transparent; border:0; border-bottom:1px solid transparent;
  border-radius:0 0 var(--radius-control) var(--radius-control);
  transition:background-color .24s, border-color .24s, box-shadow .24s;
}
html.scrolled .site-restyled .masthead {background:var(--nav-scroll);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-color:var(--nav-line);box-shadow:0 5px 20px var(--nav-shadow)}
@media (scripting: none) {
  .site-restyled .masthead {background:var(--nav-solid);border-color:var(--nav-line)}
}
@media(prefers-reduced-transparency:reduce) {html.scrolled .site-restyled .masthead {background:var(--nav-solid);backdrop-filter:none;-webkit-backdrop-filter:none}}
.masthead .nav {height:100%;display:flex;align-items:center;gap:clamp(12px,2.3vw,34px);padding:0;position:relative}
.masthead .brand {color:var(--nav-ink);display:inline-flex;gap:10px;align-items:center;font-size:clamp(21px,2vw,29px);font-weight:620;letter-spacing:-.05em;line-height:1}
.masthead .brand img {height:32px;width:auto}
.masthead .brand-dot {color:var(--nav-accent)}
.masthead .desktop-nav, .docs-site .masthead .desktop-nav {display:flex;align-items:center;gap:clamp(15px,2.5vw,36px);margin:0 auto 0 clamp(12px,3vw,42px);height:auto;font-size:15px;font-weight:500}
.masthead .desktop-nav a,.masthead summary,.masthead .mobile-nav nav a {color:var(--nav-link)}
.masthead a:hover,.masthead summary:hover,.masthead .desktop-nav a:hover,.masthead a[aria-current=page] {color:var(--nav-accent)}
.masthead details {position:relative}
.masthead summary {cursor:pointer;display:flex;list-style:none;align-items:center;gap:8px;min-height:42px;font-size:15px;white-space:nowrap}
.masthead summary::-webkit-details-marker {display:none}
.project-menu summary::after {content:"";width:6px;height:6px;transform:rotate(45deg);border-right:1px solid currentColor;border-bottom:1px solid currentColor;margin-top:-4px}
.project-menu>div,.masthead .mobile-nav nav {
  position:absolute;top:calc(100% + 6px);min-width:190px;background:var(--nav-menu);color:var(--nav-ink);
  border:1px solid var(--nav-line);border-radius:var(--radius-panel);box-shadow:0 14px 42px var(--nav-shadow);padding:8px;z-index:105;
}
.project-menu>div {left:-12px}
.project-menu>div a,.masthead .mobile-nav nav a {display:block;padding:9px 13px;border-radius:6px;font-size:15px}
.project-menu>div a:hover,.masthead .mobile-nav nav a:hover {background:var(--nav-highlight)}
.nav-tools {display:flex;gap:10px;align-items:center;margin-left:auto}
.masthead .nav-github,.docs-site .masthead .nav-github {display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:5px 14px;background:transparent;border:1px solid var(--nav-edge);border-radius:var(--radius-control);color:var(--nav-link);font-size:14px;line-height:1}
.lang-switch {display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--nav-edge);border-radius:var(--radius-control);font:12px/1.2 var(--mono);letter-spacing:.04em}
.lang-switch a,.lang-switch span {display:grid;place-items:center;min-width:30px;min-height:26px;color:var(--nav-link);border-radius:inherit}
.lang-switch [aria-current=true] {background:var(--nav-selected);color:var(--nav-ink)}
.lang-switch a:hover {background:var(--nav-highlight)}
.masthead .theme-toggle,.docs-site .masthead .theme-toggle {margin:0;border:0;background:transparent;color:var(--nav-link);width:34px;height:34px}
.masthead .mobile-nav {display:none;margin:0}
.masthead .mobile-nav summary {background:none;color:var(--nav-ink);border:1px solid var(--nav-edge);border-radius:var(--radius-control);padding:5px 12px;min-height:36px}
.masthead .mobile-nav nav {right:0;left:auto;max-width:calc(100vw - 28px);max-height:calc(100dvh - var(--studio-nav-height) - 16px);overflow:auto}
.masthead .theme-toggle:hover,.masthead .nav-github:hover,.masthead .mobile-nav summary:hover {background:var(--nav-highlight);color:var(--nav-accent)}
.masthead .desktop-nav a[aria-current=page],.masthead .desktop-nav summary:hover {color:var(--nav-accent)}
body.home .hero-stage {--stage-fade:clamp(96px,10vw,156px);position:relative;isolation:isolate;overflow:hidden;border-radius:var(--radius-panel);padding-bottom:calc(var(--stage-fade) * .56);background:var(--stage-background);color:var(--stage-title)}
.hero-stage::before {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(var(--stage-grid) 1px,transparent 1px),linear-gradient(90deg,var(--stage-grid) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,transparent 5%,#000 75%,#000 95%);}
.hero-stage::after {
  content:"";position:absolute;inset:auto 0 -1px;height:var(--stage-fade);z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,transparent,var(--bg));
  background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 0%,transparent) 0%,
    color-mix(in srgb,var(--bg) 7%,transparent) 18%,color-mix(in srgb,var(--bg) 33%,transparent) 38%,
    color-mix(in srgb,var(--bg) 69%,transparent) 62%,color-mix(in srgb,var(--bg) 94%,transparent) 84%,
    var(--bg) 98%);
}
body.home .hero {position:relative;display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:clamp(20px,4vw,82px);align-items:center;min-height:clamp(550px,45vw,720px);padding-block:clamp(70px,8vh,122px);margin-inline:auto}
.home .hero-copy {position:relative;z-index:1;min-width:0}
.home .hero .eyebrow {font:500 12px/1.55 var(--mono);letter-spacing:.105em;color:var(--stage-label);display:flex;align-items:center;gap:12px;margin:0 0 23px}
.home .hero .status-dot {width:24px;height:2px;background:var(--stage-accent);border-radius:999px;box-shadow:none}
.home .hero h1 {font-size:clamp(58px,5.7vw,92px);line-height:.99;letter-spacing:-.058em;font-weight:570;color:var(--stage-title);margin:0;max-width:11em}
.home .hero h1 span {color:var(--stage-accent)}
.home .hero .hero-intro {font:400 clamp(17px,1.35vw,21px)/1.6 var(--font);color:var(--stage-copy);max-width:34em;margin:24px 0 0}
.home .hero .actions {display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:29px 0 0}
.home .hero .button,.home .hero .text-button {font:550 15px/1.3 var(--font);min-height:45px;display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:var(--radius-control);letter-spacing:0;transition:background .18s,transform .18s}
.home .hero .button.primary {background:#2160b8;border:1px solid #588ee1;color:#fff;box-shadow:0 4px 18px #071d4240}
.home .hero .button.primary:hover {background:#2c70ce;transform:translateY(-2px)}
.home .hero .text-button {color:var(--stage-title);border:1px solid var(--stage-control-edge);background:var(--stage-secondary)}
.home .hero .text-button:hover {background:var(--stage-secondary-hover);transform:translateY(-2px)}
.home .hero-footnote {font:12px/1.65 var(--mono);color:var(--stage-caption);letter-spacing:0;margin-top:22px}
.home .hero-footnote span {margin:0 7px}
.home .host-art {min-width:0;margin:0;position:relative;align-self:center}
.host-art .art-plate {position:relative;aspect-ratio:1.38;display:grid;align-items:center;isolation:isolate}
.host-art .art-plate::after {
  content:"";position:absolute;inset:3% 0;pointer-events:none;
  border:1px solid var(--stage-caption);border-radius:var(--radius-panel);opacity:.53;
  mask-image:linear-gradient(to right,#000 18px,transparent 18px,transparent calc(100% - 18px),#000 calc(100% - 18px)),
             linear-gradient(to bottom,#000 18px,transparent 18px,transparent calc(100% - 18px),#000 calc(100% - 18px));
  mask-composite:intersect;
}
.host-art img {display:block;width:110%;height:auto;max-width:none;margin-left:-5%}
.host-art figcaption {display:flex;align-items:center;gap:10px;justify-content:center;color:var(--stage-caption);font:12px/1.5 var(--mono);text-align:center;margin:13px 0 0}
.host-art figcaption::before {content:"";background:var(--stage-accent);width:16px;height:1px;flex:0 0 auto}
.home .release-strip {position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.4vw,22px);border:0;margin:clamp(32px,4vw,58px) auto 0}
.home .release-strip>a {padding:clamp(20px,2.4vw,32px);display:grid;align-content:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);color:var(--text)}
.home .release-strip>a:last-child {border:1px solid var(--line)}
.home .release-strip>a:hover {background:color-mix(in srgb,var(--blue) 7%,transparent)}
.home .release-caption,.home .eyebrow,.home .feature-meta,.home .option-label {font-size:12px;letter-spacing:.06em}
.home .release-caption,.home .muted-inline {color:var(--muted)}
.home .release-value {font-size:clamp(19px,2vw,27px);line-height:1.3;flex-wrap:wrap;gap:9px}
.home .status-tag {color:var(--cyan);background:color-mix(in srgb,var(--cyan) 9%,transparent);font-size:12px}
.home .section,.home .architecture-inner,.home .support-inner {padding-block:clamp(80px,9.5vw,158px)}
.home .section h2,.home .architecture-inner h2,.home .support-inner h2 {font-size:clamp(38px,4.4vw,72px);line-height:1.065;letter-spacing:-.055em}
.home .section-heading {margin-bottom:clamp(36px,4vw,70px)}
.home .section-copy,.home .heading-grid p,.home .capabilities p,.home .flow p,.home .evidence-links p,.home .install-options p,.home .questions p,.home .support-inner p:not(.eyebrow) {font-size:clamp(16px,1.15vw,19px);line-height:1.72}
.home .capabilities {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.2vw,32px);border:0}
.home .capabilities article,.home .capabilities article:first-child,.home .capabilities article:last-child {border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-panel);padding:clamp(22px,2.6vw,40px);transition:border-color .2s,transform .2s;height:auto}
.home .capabilities article:hover {border-color:var(--blue);transform:translateY(-3px)}
.home .feature-symbol {color:var(--cyan);font-size:23px;display:block;margin-bottom:30px}
.home .capabilities h3,.home .install-options h3 {font-size:clamp(23px,2vw,31px)}
.home .feature-meta {margin-top:24px;color:var(--muted)}
.home .architecture-section {background:var(--surface)}
.home .architecture-inner,.home .integration-section,.home .trust-section,.home .faq-section {column-gap:clamp(45px,8vw,135px);row-gap:40px}
.home .architecture-figure {margin:34px 0 0;max-width:480px}
.architecture-figure img {width:100%;height:auto;display:block;border-radius:12px}
.architecture-figure figcaption {margin-top:10px;color:var(--muted);font-size:14px}
.home .flow {align-self:center}
.home .flow li {padding-block:26px}
.home .flow h3 {font-size:clamp(24px,2.25vw,35px)}
.home .step-number,.home .evidence-links .mono {color:var(--blue)}
.home .trust-section,.home .install-section,.home .faq-section {border-top:1px solid var(--line)}
.home .inline-link {font-size:16px;gap:12px}
.home .questions summary {font-size:clamp(18px,1.4vw,21px);line-height:1.5;color:var(--text)}
.home .platforms {flex-wrap:wrap;row-gap:14px}
.home .support-section {background:var(--surface);border-color:var(--line)}
.home .support-actions>div,.footer p,.footer nav {font-size:14px;line-height:1.6}
.site-restyled .footer {padding-block:clamp(38px,5vw,74px);row-gap:20px}
.site-restyled .footer nav {flex-wrap:wrap;row-gap:12px}
.site-restyled .docs-content,.site-restyled .article-body {line-height:1.75}
.site-restyled .docs-content h2,.site-restyled .article-body h2 {margin-top:clamp(46px,5vw,84px)}
.site-restyled .docs-hub-section,.site-restyled .blog-shelf {padding-top:clamp(58px,7vw,112px)}
.site-restyled .docs-hero-intro,.site-restyled .docs-content p,.site-restyled .article-body p {max-width:72ch}
.site-restyled .docs-sidebar,.site-restyled .docs-toc {scroll-margin-top:calc(var(--studio-nav-height) + 16px)}
/* Apply corner sizes to discrete controls and surfaces across page templates. */
.site-restyled :is(button, [role=button], input:not([type=checkbox]):not([type=radio]), select, textarea,
  .button, .skip, summary, .nav-github, .docs-pager a, .reference-links a, .tag-filters button,
  .doc-nav-group > a, .article-card > a, .docs-toc a, .docs-home-link) {
  border-radius:var(--radius-control);
}
.site-restyled :is(.status-tag, .launch-label, .story-tags span, .interview-label, .opinion-label,
  .article-tags span, .docs-pill, .code-badge, kbd) {border-radius:var(--radius-small)}
.site-restyled :is(.integration-node, .article-card, .article-empty, .card-cover, .interview-quote,
  .observation-note, .risk-callout, .risk-table, .risk-flow, .risk-flow li, .supply-figure,
  .docs-content blockquote, .tutorial-note, .founder-note, pre, .table-scroll,
  .progress-table-wrap, .docs-table, .table-scroll caption, .progress-table caption, .risk-table caption, .copy-status, dialog) {border-radius:var(--radius-panel)}
.site-restyled .caption-line {border-radius:3px}
.docs-content input[type=checkbox]:disabled {
  appearance:none;display:inline-grid;place-content:center;vertical-align:-.08em;
  width:1em;height:1em;margin:0 .15em 0 0;border:1px solid var(--muted);
  background:var(--surface);border-radius:3px;color:var(--text);opacity:1;
}
.docs-content input[type=checkbox]:disabled:checked::after {
  content:"";width:.45em;height:.24em;border:solid currentColor;
  border-width:0 0 2px 2px;transform:translateY(-.05em) rotate(-45deg);
}
@media (forced-colors:active) {
  .docs-content input[type=checkbox]:disabled {border-color:GrayText;color:GrayText;background:Canvas}
}
:root[data-theme=light] .skip {background:#194e92;color:#fff}
@media (max-width:760px) {
  .risk-table[data-scroll-hint]::before {content:attr(data-scroll-hint)}
}
.site-restyled .release-strip > a:focus-visible,
.site-restyled .article-card > a:focus-visible {outline-offset:-4px}
@media(max-width:1050px) {
 .masthead .desktop-nav,.docs-site .masthead .desktop-nav {gap:18px;margin-left:8px}
 .masthead .nav,.docs-site .masthead .nav {gap:14px}
 .home .hero {gap:18px}
}
@media(max-width:880px) {
 .masthead .desktop-nav,.docs-site .masthead .desktop-nav {display:none}
 .masthead .mobile-nav {display:block}
 .home .release-strip>a {padding:18px}
}
@media(max-width:740px) {
 :root {--studio-nav-height:64px}
 .shell {width:calc(100% - 40px)}
 .masthead .nav,.docs-site .masthead .nav {width:calc(100% - 28px);justify-content:space-between;gap:8px}
 .nav-tools {gap:4px}
 .masthead .nav-github,.docs-site .masthead .nav-github {display:none}
 .masthead .brand,.docs-site .masthead .brand {font-size:22px;gap:7px}
 .masthead .brand img {height:27px}
 body.home .hero {grid-template-columns:1fr;gap:18px;min-height:0;padding:clamp(48px,8vw,76px) 0 36px}
 body.home .hero-stage {padding-bottom:calc(var(--stage-fade) * .72)}
 .home .hero h1 {font-size:clamp(53px,10.7vw,72px)}
 .home .hero .eyebrow {margin-bottom:20px}
 .home .hero-intro {max-width:34em}
 .home .host-art {width:min(100%,520px);margin:6px auto 0}
 .host-art .art-plate {aspect-ratio:1.7}
 .host-art img {width:87%;margin:auto}
 .host-art figcaption {font-size:12px;margin-top:9px}
 .home .release-strip {grid-template-columns:1fr;margin-top:28px}
 .home .release-strip>a {padding:17px 19px;grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);align-items:center;gap:10px}
 .home .release-value {justify-content:flex-start;font-size:19px}
 .home .release-caption {font-size:11px}
 .home .capabilities {grid-template-columns:1fr;gap:18px}
 .home .section,.home .architecture-inner,.home .support-inner {padding-block:68px}
 .home .section h2,.home .architecture-inner h2 {font-size:clamp(36px,7.5vw,49px)}
 .home .architecture-inner,.home .integration-section,.home .trust-section,.home .faq-section,.home .support-inner {grid-template-columns:1fr}
 .site-restyled .footer p {display:block}
}
@media(max-width:380px) {
 .masthead .theme-toggle,.docs-site .masthead .theme-toggle {width:28px}
 .site-restyled .masthead .nav {width:calc(100% - 16px);gap:4px}
 .site-restyled .masthead .brand {font-size:19px;gap:4px}
 .masthead .brand img {height:23px}
 .masthead .mobile-nav summary {padding-inline:7px}
 .nav-tools {gap:2px}
 .lang-switch a,.lang-switch span {min-width:25px}
}
@media(prefers-reduced-motion:no-preference) {
 .home .hero-copy {animation:rise-in .6s ease-out both}
 .home .host-art img {animation:plate-arrives 1.2s cubic-bezier(.18,.68,.25,1) both}
 .section-arrives {animation:rise-in .54s cubic-bezier(.2,.65,.25,1) both}
 @keyframes rise-in {from{opacity:.25;transform:translateY(12px)}to{opacity:1;transform:none}}
 @keyframes plate-arrives {from{opacity:.25;transform:translateY(13px) scale(.975)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print {
 .home .hero-stage::before,.home .hero-stage::after {display:none}
 body {padding:0}.site-restyled .masthead,.lang-switch,.skip {display:none!important}
 .home .hero-stage {color:#111;background:#fff}.home .hero h1,.home .hero .hero-intro {color:#111}
}
