
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./fonts/HarmonyOS-Sans-SC-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./fonts/HarmonyOS-Sans-SC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./fonts/HarmonyOS-Sans-SC-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./fonts/HarmonyOS-Sans-SC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("./fonts/HarmonyOS-Sans-SC-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070a0f;
  --bg-deep: #04070a;
  --surface: #0d1319;
  --surface-2: #111a21;
  --surface-3: rgba(18, 28, 35, .74);
  --text: #f4f7f5;
  --text-soft: #d8e0de;
  --muted: #95a5a8;
  --muted-2: #68797d;
  --cyan: #4ee8df;
  --cyan-soft: #a5fbf5;
  --purple: #9f7cff;
  --amber: #efc779;
  --red: #ef7f88;
  --line: rgba(207, 236, 235, .11);
  --line-strong: rgba(78, 232, 223, .27);
  --shadow-sm: 0 18px 42px rgba(0, 0, 0, .24);
  --shadow-lg: 0 42px 110px rgba(0, 0, 0, .52);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1240px;
  color-scheme: dark;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei UI", "Noto Sans SC", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -4%, rgba(78, 232, 223, .12), transparent 34rem),
    radial-gradient(circle at 94% 8%, rgba(159, 124, 255, .10), transparent 32rem),
    linear-gradient(180deg, #080c11 0%, var(--bg) 38%, #05080c 100%);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: #061012; background: rgba(78, 232, 223, .78); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: #33454a; background-clip: padding-box; }
.site-shell { position: relative; overflow: clip; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .20;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(7,10,15,.76);
  backdrop-filter: blur(24px) saturate(130%);
}
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 38px; height: 38px; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 15px; letter-spacing: .005em; }
.brand-copy span { margin-top: 5px; color: var(--muted-2); font-size: 10px; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 13px; border-radius: 10px; color: #acb9ba; font-size: 13px; transition: .18s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.052); }
.product-page section[id] { scroll-margin-top: 96px; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button svg { width: 17px; height: 17px; }
.button.primary { color: #041011; background: linear-gradient(135deg, #8bf9f3, var(--cyan)); box-shadow: 0 12px 34px rgba(78,232,223,.16); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(78,232,223,.24); }
.button.secondary { color: #eef5f4; border-color: var(--line); background: rgba(255,255,255,.035); }
.button.secondary:hover { border-color: var(--line-strong); background: rgba(78,232,223,.06); }
.button.ghost { min-height: 38px; padding-inline: 13px; color: #b6c1c1; background: transparent; }
.button.ghost:hover { color: #fff; background: rgba(255,255,255,.05); }
.mobile-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: #fff; background: rgba(255,255,255,.04); }
.mobile-toggle svg { width: 20px; }

.hero { position: relative; padding: 104px 0 64px; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50px;
  width: min(1080px, 84vw);
  height: 520px;
  transform: translateX(-8%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(78,232,223,.075), rgba(159,124,255,.045) 34%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); align-items: center; gap: 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 12px; border: 1px solid rgba(78,232,223,.22); border-radius: 999px; color: #c5fbf7; background: rgba(78,232,223,.055); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px rgba(78,232,223,.9); }
.hero h1 { max-width: 650px; margin: 25px 0 22px; font-size: clamp(50px, 5.7vw, 78px); line-height: 1.04; letter-spacing: -.048em; }
.hero h1 span { display: block; color: transparent; background: linear-gradient(90deg, #f8f5df 0%, #d9fffc 48%, #ded2ff 100%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 610px; margin: 0; color: #adbbbd; font-size: 17px; line-height: 1.88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; color: #718287; font-size: 11px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { width: 5px; height: 5px; border-radius: 50%; background: #4d656a; }
.hero-visual { position: relative; min-width: 0; }
.preview-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214,244,242,.16);
  border-radius: 27px;
  background: linear-gradient(180deg, rgba(25,34,40,.90), rgba(8,12,17,.94));
  box-shadow: var(--shadow-lg), 0 0 72px rgba(78,232,223,.08);
}
.preview-shell::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.13); }
.preview-topbar { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.065); background: rgba(6,10,14,.70); }
.preview-meta { display: flex; align-items: center; gap: 8px; color: #95a5a8; font-size: 10px; letter-spacing: .035em; }
.preview-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 11px rgba(78,232,223,.82); }
.preview-controls { display: flex; gap: 6px; }
.preview-controls i { width: 7px; height: 7px; border-radius: 50%; background: #526167; }
.preview-image { display: block; width: 100%; aspect-ratio: 1770 / 1020; object-fit: cover; }
.preview-caption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 17px 15px; color: #6e8084; font-size: 10px; }
.preview-caption strong { color: #aebbbb; font-weight: 650; }
.preview-float {
  position: absolute;
  right: -18px;
  bottom: 76px;
  z-index: 4;
  width: 208px;
  padding: 15px 16px;
  border: 1px solid rgba(78,232,223,.21);
  border-radius: 15px;
  background: rgba(10,16,21,.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.preview-float span { display: block; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.preview-float strong { display: block; margin-top: 5px; font-size: 12px; line-height: 1.52; }
.value-strip { padding: 0 0 82px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,19,25,.57); box-shadow: var(--shadow-sm); }
.value-item { min-height: 106px; padding: 23px 26px; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item span { display: block; color: var(--muted-2); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.value-item strong { display: block; margin-top: 7px; font-size: 16px; line-height: 1.45; }
.value-item p { margin: 5px 0 0; color: #7f9093; font-size: 12px; }

.section { position: relative; padding: 104px 0; }
.section.compact { padding: 78px 0; }
.section.alt { border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); background: rgba(4,8,11,.36); }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-label { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { margin: 14px 0 15px; font-size: clamp(35px, 4.2vw, 54px); line-height: 1.15; letter-spacing: -.038em; }
.section-head p { margin: 0; color: #98aaad; font-size: 15px; line-height: 1.85; }
.architecture-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.arch-card { position: relative; min-height: 292px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17,26,33,.84), rgba(8,13,18,.72)); box-shadow: 0 22px 54px rgba(0,0,0,.16); }
.arch-card::after { content: ""; position: absolute; right: -52px; bottom: -62px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(78,232,223,.09), transparent 70%); }
.arch-card.purple::after { background: radial-gradient(circle, rgba(159,124,255,.11), transparent 70%); }
.arch-number { color: #53656a; font: 700 11px/1 "Cascadia Code",Consolas,monospace; letter-spacing: .12em; }
.arch-card h3 { margin: 40px 0 10px; font-size: 24px; letter-spacing: -.025em; }
.arch-card p { margin: 0; color: #91a1a4; font-size: 13px; }
.arch-points { display: grid; gap: 8px; margin-top: 24px; }
.arch-points span { display: flex; align-items: center; gap: 9px; color: #c1cdcd; font-size: 12px; }
.arch-points span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(78,232,223,.56); }
.interface-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.interface-card { min-height: 322px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,20,26,.66); }
.interface-card.recommended { border-color: rgba(78,232,223,.24); background: linear-gradient(145deg, rgba(18,37,39,.67), rgba(10,17,22,.70)); }
.interface-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.interface-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(78,232,223,.20); border-radius: 13px; color: var(--cyan); background: rgba(78,232,223,.07); }
.interface-icon svg { width: 21px; }
.interface-card h3 { margin: 26px 0 9px; font-size: 24px; }
.interface-card > p { margin: 0; color: #91a2a5; font-size: 13px; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border: 1px solid rgba(78,232,223,.20); border-radius: 999px; color: #a8f6f1; background: rgba(78,232,223,.06); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.badge.neutral { border-color: var(--line); color: #a0afb1; background: rgba(255,255,255,.03); }
.clean-list { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; list-style: none; }
.clean-list li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 9px; color: #bdc8c9; font-size: 12px; }
.clean-list li::before { content: "✓"; color: var(--cyan); font-weight: 900; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mode-card { min-height: 350px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15,24,30,.78), rgba(8,13,18,.74)); }
.mode-card.force { border-color: rgba(159,124,255,.22); background: linear-gradient(145deg, rgba(29,23,43,.65), rgba(10,13,20,.78)); }
.mode-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mode-title h3 { margin: 0; font-size: 25px; }
.mode-card > p { margin: 14px 0 0; color: #92a3a6; font-size: 13px; }
.mode-rule { margin-top: 24px; padding: 17px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(0,0,0,.16); }
.mode-rule strong { display: block; color: #e7edec; font-size: 12px; }
.mode-rule span { display: block; margin-top: 5px; color: #7f9295; font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.product-card { min-height: 205px; padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: rgba(13,20,26,.58); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(78,232,223,.22); background: rgba(16,26,32,.72); }
.product-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(78,232,223,.18); border-radius: 12px; color: var(--cyan); background: rgba(78,232,223,.065); }
.product-icon.purple { color: #c8b8ff; border-color: rgba(159,124,255,.20); background: rgba(159,124,255,.07); }
.product-icon.amber { color: var(--amber); border-color: rgba(239,199,121,.20); background: rgba(239,199,121,.07); }
.product-icon svg { width: 19px; }
.product-card h3 { margin: 22px 0 8px; font-size: 17px; }
.product-card p { margin: 0; color: #899a9d; font-size: 12px; }
.quote-band { padding: 47px 52px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(130deg, rgba(20,36,39,.72), rgba(16,17,28,.70)); box-shadow: var(--shadow-sm); }
.quote-band blockquote { max-width: 900px; margin: 0; color: #eef3f1; font-size: clamp(24px,3vw,38px); line-height: 1.45; letter-spacing: -.025em; }
.quote-band footer { margin-top: 20px; color: #6f8387; font-size: 11px; }
.cta { padding: 26px 0 116px; }
.cta-box { padding: 74px 48px; border: 1px solid rgba(78,232,223,.18); border-radius: 32px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(78,232,223,.11), transparent 45%), linear-gradient(145deg, rgba(15,28,31,.78), rgba(9,12,19,.84)); box-shadow: var(--shadow-lg); }
.cta-box h2 { margin: 0; font-size: clamp(36px,4.7vw,59px); letter-spacing: -.042em; }
.cta-box p { max-width: 690px; margin: 15px auto 0; color: #94a6a8; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.site-footer { border-top: 1px solid var(--line); background: rgba(4,7,10,.68); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .55fr .55fr; gap: 56px; padding: 58px 0 45px; }
.footer-brand p { max-width: 520px; margin: 19px 0 0; color: #74868a; font-size: 12px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { margin: 3px 0 5px; color: #d6dddd; font-size: 12px; }
.footer-col a { color: #74868a; font-size: 11px; }
.footer-col a:hover { color: #d7e7e5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 25px; border-top: 1px solid rgba(255,255,255,.045); color: #526267; font-size: 10px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Documentation */
.docs-body { background: #070b0f; }
.docs-header .navbar { min-height: 66px; }
.docs-header .brand img { width: 32px; height: 32px; }
.docs-search-button { width: min(350px,34vw); min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 0 11px 0 13px; border: 1px solid var(--line); border-radius: 11px; color: #77898d; background: rgba(255,255,255,.025); cursor: pointer; }
.docs-search-button:hover { border-color: rgba(78,232,223,.24); }
.docs-search-button svg { width: 16px; }
.docs-search-button span { flex: 1; text-align: left; font-size: 11px; }
.docs-search-button kbd { padding: 2px 7px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; color: #627478; background: rgba(255,255,255,.03); font-size: 9px; }
.docs-layout { display: grid; grid-template-columns: 270px minmax(0,1fr) 225px; min-height: calc(100vh - 66px); }
.docs-sidebar { position: sticky; top: 66px; height: calc(100vh - 66px); overflow: auto; padding: 34px 25px 48px calc((100vw - min(var(--max), calc(100vw - 48px)))/2); border-right: 1px solid var(--line); }
.docs-group + .docs-group { margin-top: 28px; }
.docs-group-title { margin-bottom: 9px; color: #526469; font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.docs-nav { display: grid; gap: 3px; }
.docs-nav a { padding: 8px 10px; border-radius: 9px; color: #7f9194; font-size: 11px; }
.docs-nav a:hover { color: #ccd7d6; background: rgba(255,255,255,.03); }
.docs-nav a.active { color: #dcfffc; background: rgba(78,232,223,.075); box-shadow: inset 2px 0 0 var(--cyan); }
.docs-main { min-width: 0; padding: 58px 54px 100px; }
.docs-article { max-width: 820px; margin: 0 auto; }
.docs-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: #5e7075; font-size: 10px; }
.docs-breadcrumb span:last-child { color: #9badb0; }
.docs-article h1 { margin: 20px 0 15px; font-size: clamp(39px,5vw,57px); line-height: 1.12; letter-spacing: -.043em; }
.docs-lead { margin: 0 0 38px; color: #9fb0b2; font-size: 16px; line-height: 1.88; }
.doc-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: -20px 0 39px; }
.doc-hero-meta span { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: #718489; background: rgba(255,255,255,.025); font-size: 9px; }
.docs-article h2 { scroll-margin-top: 92px; margin: 58px 0 18px; padding-top: 5px; font-size: 28px; line-height: 1.28; letter-spacing: -.025em; }
.docs-article h3 { scroll-margin-top: 92px; margin: 34px 0 12px; font-size: 19px; line-height: 1.4; }
.docs-article h4 { margin: 25px 0 8px; font-size: 14px; }
.docs-article p, .docs-article li { color: #a6b5b7; font-size: 13px; }
.docs-article p { margin: 13px 0; }
.docs-article strong { color: #e9efee; }
.docs-article a:not(.button):not(.pager-link) { color: #7feae3; text-decoration: underline; text-decoration-color: rgba(78,232,223,.23); text-underline-offset: 4px; }
.docs-article ul, .docs-article ol { padding-left: 23px; }
.docs-article li { margin: 8px 0; }
.docs-article hr { margin: 50px 0; border: 0; border-top: 1px solid var(--line); }
.callout { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 13px; margin: 24px 0; padding: 18px 19px; border: 1px solid rgba(78,232,223,.18); border-radius: 15px; background: rgba(78,232,223,.052); }
.callout.warning { border-color: rgba(239,199,121,.20); background: rgba(239,199,121,.052); }
.callout.danger { border-color: rgba(239,127,136,.20); background: rgba(239,127,136,.045); }
.callout-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: var(--cyan); background: rgba(78,232,223,.10); font-size: 11px; font-weight: 900; }
.callout.warning .callout-icon { color: var(--amber); background: rgba(239,199,121,.10); }
.callout.danger .callout-icon { color: var(--red); background: rgba(239,127,136,.10); }
.callout strong, .callout p { display: block; }
.callout p { margin: 5px 0 0; font-size: 12px; }
.code-block { position: relative; margin: 22px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.085); border-radius: 15px; background: #071014; }
.code-head { min-height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 15px; border-bottom: 1px solid rgba(255,255,255,.06); color: #61757a; font-size: 9px; }
.copy-button { min-height: 27px; padding: 0 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; color: #809397; background: rgba(255,255,255,.035); cursor: pointer; font-size: 9px; }
.copy-button:hover { color: #fff; border-color: rgba(78,232,223,.25); }
.code-block pre { margin: 0; padding: 19px; overflow: auto; color: #cde8e5; font: 12px/1.82 "Cascadia Code","JetBrains Mono",Consolas,monospace; }
.code-block code { font: inherit; }
.docs-article :not(pre) > code { padding: 2px 6px; border: 1px solid rgba(255,255,255,.075); border-radius: 6px; color: #d8eeee; background: rgba(255,255,255,.042); font: 11px/1.5 "Cascadia Code",Consolas,monospace; }
.steps { counter-reset: steps; display: grid; gap: 15px; margin: 27px 0; }
.step-card { position: relative; padding: 21px 22px 21px 64px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,20,25,.58); }
.step-card::before { counter-increment: steps; content: counter(steps); position: absolute; left: 20px; top: 20px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(78,232,223,.22); border-radius: 50%; color: #c5fbf7; background: rgba(78,232,223,.07); font-size: 10px; font-weight: 850; }
.step-card h3 { margin: 0 0 6px; font-size: 15px; }
.step-card p { margin: 0; }
.doc-table-wrap { margin: 24px 0; overflow: auto; border: 1px solid var(--line); border-radius: 15px; }
.doc-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.doc-table th, .doc-table td { padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.055); text-align: left; vertical-align: top; font-size: 11px; }
.doc-table th { color: #d2dcdb; background: rgba(255,255,255,.032); }
.doc-table td { color: #91a3a6; }
.doc-table tr:last-child td { border-bottom: 0; }
.path-grid, .role-grid, .mode-compare, .decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 25px 0; }
.path-card, .role-card, .compare-card, .decision-card { padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,20,25,.54); }
.path-card.recommended, .compare-card.default { border-color: rgba(78,232,223,.20); background: rgba(78,232,223,.035); }
.compare-card.force { border-color: rgba(159,124,255,.20); background: rgba(159,124,255,.035); }
.path-card h3, .role-card h3, .compare-card h3, .decision-card h3 { margin: 14px 0 7px; font-size: 16px; }
.path-card p, .role-card p, .compare-card p, .decision-card p { margin: 0; font-size: 12px; }
.path-card .badge, .role-card .badge, .compare-card .badge { min-height: 23px; font-size: 8px; }
.feature-list { display: grid; gap: 10px; margin: 17px 0 0; padding: 0 !important; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 8px; margin: 0; font-size: 11px; }
.feature-list li::before { content: "•"; color: var(--cyan); font-weight: 900; }
.mini-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 25px 0; }
.mini-flow div { position: relative; min-height: 104px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,20,25,.52); }
.mini-flow div:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 36px; z-index: 2; color: #4c6267; }
.mini-flow strong { display: block; color: #e3ebea; font-size: 11px; }
.mini-flow span { display: block; margin-top: 5px; color: #788c90; font-size: 10px; line-height: 1.55; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager-link { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.022); }
.pager-link.next { text-align: right; }
.pager-link span { display: block; color: #61757a; font-size: 9px; }
.pager-link strong { display: block; margin-top: 5px; color: #cbd6d5; font-size: 12px; }
.pager-link:hover { border-color: rgba(78,232,223,.23); }
.docs-toc { position: sticky; top: 66px; height: calc(100vh - 66px); overflow: auto; padding: 43px 24px 40px 13px; }
.docs-toc h4 { margin: 0 0 13px; color: #5d7075; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.docs-toc a { display: block; margin: 9px 0; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.075); color: #6e8185; font-size: 10px; line-height: 1.45; }
.docs-toc a:hover, .docs-toc a.active { color: #d4efed; border-color: var(--cyan); }
.search-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; background: rgba(0,0,0,.65); backdrop-filter: blur(9px); }
.search-modal.open { display: flex; }
.search-panel { width: min(660px,calc(100% - 28px)); overflow: hidden; border: 1px solid rgba(78,232,223,.22); border-radius: 20px; background: #0b151b; box-shadow: 0 40px 100px rgba(0,0,0,.62); }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-input-row svg { flex: 0 0 auto; width: 19px; color: #708388; }
.search-input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: 15px; }
.search-results { max-height: 420px; overflow: auto; padding: 9px; }
.search-result { display: block; padding: 13px 14px; border-radius: 11px; }
.search-result:hover, .search-result.selected { background: rgba(78,232,223,.07); }
.search-result strong { display: block; font-size: 12px; }
.search-result span { display: block; margin-top: 4px; color: #72858a; font-size: 10px; }
.search-empty { padding: 30px; color: #718489; text-align: center; font-size: 12px; }
.search-footer { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); color: #526469; font-size: 8px; }
.mobile-docs-button { display: none; }
.anchor-link { margin-left: 8px; color: #48666b !important; text-decoration: none !important; opacity: 0; }
h2:hover .anchor-link, h3:hover .anchor-link { opacity: 1; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .preview-float { right: 18px; }
  .architecture-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .docs-layout { grid-template-columns: 245px minmax(0,1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 840px) {
  .container { width: min(100% - 34px,var(--max)); }
  .nav-links { position: fixed; left: 17px; right: 17px; top: 75px; display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #0c151b; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-actions .button.secondary { display: none; }
  .mobile-toggle { display: grid; }
  .hero { padding-top: 82px; }
  .hero h1 { font-size: clamp(47px,12vw,70px); }
  .value-grid, .interface-grid, .mode-grid, .path-grid, .role-grid, .mode-compare, .decision-grid { grid-template-columns: 1fr; }
  .value-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-item:last-child { border-bottom: 0; }
  .architecture-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .docs-search-button { width: auto; }
  .docs-search-button span { display: none; }
  .docs-layout { display: block; }
  .docs-sidebar { position: fixed; left: 0; top: 66px; z-index: 60; width: 290px; padding: 30px 22px; transform: translateX(-105%); transition: .23s ease; background: #081015; box-shadow: var(--shadow-lg); }
  .docs-sidebar.open { transform: none; }
  .mobile-docs-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; color: #fff; background: rgba(255,255,255,.035); }
  .mobile-docs-button svg { width: 18px; }
  .docs-main { padding: 46px 26px 84px; }
  .mini-flow { grid-template-columns: 1fr 1fr; }
  .mini-flow div:nth-child(2)::after { display: none; }
}
@media (max-width: 580px) {
  .container { width: min(100% - 26px,var(--max)); }
  .navbar { min-height: 66px; }
  .brand-copy span { display: none; }
  .nav-actions .button.primary { display: none; }
  .hero { padding: 68px 0 46px; }
  .hero h1 { margin-top: 20px; font-size: 42px; }
  .hero-lead { font-size: 14px; }
  .hero-actions .button { width: 100%; }
  .preview-topbar { height: 38px; }
  .preview-caption { flex-direction: column; gap: 2px; }
  .preview-float { display: none; }
  .section { padding: 76px 0; }
  .section h2 { font-size: 34px; }
  .arch-card, .interface-card, .mode-card { min-height: auto; padding: 24px; }
  .quote-band { padding: 31px 25px; }
  .cta-box { padding: 56px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .docs-header .brand-copy { display: none; }
  .docs-main { padding-inline: 17px; }
  .docs-article h1 { font-size: 36px; }
  .doc-pager { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; }
  .mini-flow { grid-template-columns: 1fr; }
  .mini-flow div::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   V3.0 documentation layout reset
   Readability-first layout for Windows scaling and mobile use.
   ========================================================= */
body.docs-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% -8%, rgba(78,232,223,.08), transparent 32rem),
    radial-gradient(circle at 92% 4%, rgba(159,124,255,.07), transparent 30rem),
    #070b0f;
  font-size: 16px;
}
.docs-header {
  min-height: 72px;
  background: rgba(7,11,15,.94);
  backdrop-filter: blur(18px) saturate(120%);
}
.docs-header .navbar {
  width: min(1480px, calc(100% - 48px));
  min-height: 72px;
}
.docs-header .brand img { width: 36px; height: 36px; }
.docs-header .brand-copy strong { font-size: 15px; }
.docs-header .brand-copy span { font-size: 10px; }
.docs-search-button {
  width: min(380px, 34vw);
  min-height: 42px;
  padding: 0 13px 0 15px;
  border-radius: 12px;
}
.docs-search-button span { font-size: 13px; }
.docs-search-button kbd { font-size: 10px; }
.docs-layout {
  width: min(1480px, 100%);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 240px minmax(0, 780px) 220px;
  justify-content: center;
  align-items: start;
  column-gap: 48px;
}
.docs-sidebar {
  position: sticky;
  top: 72px;
  width: auto;
  height: calc(100vh - 72px);
  min-width: 0;
  overflow-y: auto;
  padding: 42px 24px 64px 0;
  border-right: 1px solid var(--line);
  background: transparent;
}
.docs-group + .docs-group { margin-top: 30px; }
.docs-group-title {
  margin-bottom: 10px;
  color: #64767a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.docs-nav { gap: 4px; }
.docs-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #93a3a6;
  font-size: 14px;
  line-height: 1.45;
}
.docs-nav a:hover { color: #eef5f4; }
.docs-nav a.active {
  color: #e7fffd;
  background: rgba(78,232,223,.08);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.docs-main {
  min-width: 0;
  padding: 58px 0 110px;
}
.docs-article {
  width: 100%;
  max-width: 780px;
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
}
.docs-article > * { max-width: 100%; }
.docs-breadcrumb {
  gap: 9px;
  color: #6d7f83;
  font-size: 12px;
}
.docs-article h1 {
  margin: 21px 0 17px;
  font-size: clamp(42px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.docs-lead {
  margin: 0 0 36px;
  color: #aebcbe;
  font-size: 18px;
  line-height: 1.82;
}
.doc-hero-meta {
  gap: 9px;
  margin: -18px 0 38px;
}
.doc-hero-meta span {
  min-height: 30px;
  padding: 0 12px;
  color: #87999d;
  font-size: 12px;
}
.docs-article h2 {
  scroll-margin-top: 96px;
  margin: 64px 0 20px;
  padding-top: 2px;
  font-size: 30px;
  line-height: 1.32;
  letter-spacing: -.025em;
}
.docs-article h3 {
  scroll-margin-top: 96px;
  margin: 38px 0 13px;
  font-size: 21px;
  line-height: 1.42;
}
.docs-article h4 { margin: 28px 0 10px; font-size: 17px; }
.docs-article p,
.docs-article li {
  color: #b1bfc1;
  font-size: 16px;
  line-height: 1.86;
}
.docs-article p { margin: 15px 0; }
.docs-article ul,
.docs-article ol { margin: 18px 0; padding-left: 26px; }
.docs-article li { margin: 9px 0; }
.docs-article strong { color: #f0f5f4; }
.docs-article a:not(.button):not(.pager-link) {
  color: #83eee7;
  text-underline-offset: 4px;
}
.docs-article :not(pre) > code {
  padding: 2px 7px;
  border-radius: 6px;
  font: 13px/1.55 "Cascadia Code", "Consolas", monospace;
  overflow-wrap: anywhere;
}
.callout {
  grid-template-columns: 36px minmax(0,1fr);
  gap: 14px;
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: 16px;
}
.callout-icon { width: 30px; height: 30px; font-size: 13px; }
.callout strong { font-size: 16px; }
.callout p { margin: 5px 0 0; font-size: 15px; line-height: 1.72; }
.code-block {
  width: 100%;
  margin: 25px 0;
  border-radius: 16px;
}
.code-head { min-height: 43px; padding: 0 14px 0 17px; font-size: 11px; }
.copy-button { min-height: 29px; padding: 0 10px; font-size: 11px; }
.code-block pre {
  max-width: 100%;
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  white-space: pre;
  tab-size: 4;
  font: 13px/1.82 "Cascadia Code", "JetBrains Mono", "Consolas", monospace;
}
.steps { gap: 16px; margin: 29px 0; }
.step-card {
  min-width: 0;
  padding: 23px 23px 23px 68px;
  border-radius: 17px;
}
.step-card::before { left: 21px; top: 22px; width: 31px; height: 31px; font-size: 12px; }
.step-card h3 { margin: 0 0 7px; font-size: 18px; }
.step-card p { margin: 0; font-size: 15px; }
.path-grid,
.role-grid,
.mode-compare,
.decision-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin: 28px 0;
}
.path-card,
.role-card,
.compare-card,
.decision-card {
  min-width: 0;
  padding: 23px;
  border-radius: 17px;
  overflow-wrap: anywhere;
}
.path-card h3,
.role-card h3,
.compare-card h3,
.decision-card h3 { margin: 15px 0 8px; font-size: 19px; }
.path-card p,
.role-card p,
.compare-card p,
.decision-card p { margin: 0; font-size: 15px; line-height: 1.72; }
.path-card .badge,
.role-card .badge,
.compare-card .badge { min-height: 25px; padding-inline: 10px; font-size: 10px; }
.feature-list { gap: 11px; margin-top: 19px; }
.feature-list li {
  grid-template-columns: 17px minmax(0,1fr);
  gap: 9px;
  font-size: 14px;
  line-height: 1.65;
}
.mini-flow {
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 11px;
  margin: 28px 0;
}
.mini-flow div { min-width: 0; min-height: 118px; padding: 18px; }
.mini-flow div::after { display: none !important; }
.mini-flow strong { font-size: 14px; }
.mini-flow span { margin-top: 7px; font-size: 13px; line-height: 1.62; }
.doc-table-wrap { width: 100%; margin: 27px 0; border-radius: 16px; }
.doc-table { min-width: 680px; }
.doc-table th,
.doc-table td { padding: 15px 17px; font-size: 14px; line-height: 1.6; }
.doc-pager { gap: 14px; margin-top: 76px; padding-top: 30px; }
.pager-link { min-width: 0; padding: 19px; border-radius: 15px; }
.pager-link span { font-size: 11px; }
.pager-link strong { margin-top: 6px; font-size: 14px; }
.docs-toc {
  position: sticky;
  top: 72px;
  width: auto;
  height: calc(100vh - 72px);
  min-width: 0;
  overflow-y: auto;
  padding: 48px 0 60px;
}
.docs-toc h4 { margin-bottom: 16px; font-size: 11px; }
.docs-toc a {
  margin: 0;
  padding: 7px 0 7px 13px !important;
  color: #7f9195;
  font-size: 12px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.docs-toc a[style*="20px"] { padding-left: 25px !important; }
.anchor-link {
  margin-left: 7px;
  opacity: .42;
  text-decoration: none !important;
}
.anchor-link:hover,
.anchor-link:focus { opacity: 1; }
.search-panel { width: min(700px, calc(100% - 30px)); }
.search-input { font-size: 16px; }
.search-result strong { font-size: 14px; }
.search-result span { font-size: 12px; }
.search-footer { font-size: 10px; }

@media (max-width: 1280px) {
  .docs-layout {
    width: min(1120px,100%);
    grid-template-columns: 225px minmax(0,780px);
    column-gap: 38px;
  }
  .docs-toc { display: none; }
}
@media (max-width: 900px) {
  .docs-header .navbar { width: min(100% - 32px,1480px); }
  .docs-layout { display: block; width: 100%; padding: 0; }
  .docs-sidebar {
    position: fixed;
    left: 0;
    top: 72px;
    z-index: 80;
    width: min(320px,86vw);
    height: calc(100vh - 72px);
    padding: 30px 24px 60px;
    transform: translateX(-105%);
    border-right: 1px solid var(--line);
    background: #091116;
    box-shadow: 24px 0 64px rgba(0,0,0,.48);
    transition: transform .22s ease;
  }
  .docs-sidebar.open { transform: translateX(0); }
  .docs-main { padding: 48px 28px 90px; }
  .mobile-docs-button { display: grid; }
}
@media (max-width: 680px) {
  .docs-header,
  .docs-header .navbar { min-height: 64px; }
  .docs-sidebar { top: 64px; height: calc(100vh - 64px); }
  .docs-header .brand-copy { display: none; }
  .docs-header .nav-actions .button { display: none; }
  .docs-search-button { width: 42px; min-width: 42px; padding: 0; justify-content: center; }
  .docs-search-button span,
  .docs-search-button kbd { display: none; }
  .docs-main { padding: 36px 18px 72px; }
  .docs-article h1 { margin-top: 17px; font-size: 37px; }
  .docs-lead { margin-bottom: 31px; font-size: 16px; }
  .docs-article h2 { margin-top: 52px; font-size: 26px; }
  .docs-article h3 { margin-top: 32px; font-size: 20px; }
  .docs-article p,
  .docs-article li { font-size: 15px; line-height: 1.82; }
  .path-grid,
  .role-grid,
  .mode-compare,
  .decision-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 32px minmax(0,1fr); padding: 18px; }
  .step-card { padding: 20px 18px 20px 58px; }
  .step-card::before { left: 16px; top: 18px; }
  .code-block pre { padding: 17px; font-size: 12px; }
  .doc-pager { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; }
}
