:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-panel: #f8f7f5;
  --bg-panel-2: #f1efeb;
  --border: #e8e6e1;
  --accent: #b0562a;
  --accent-dark: #7d3a19;
  --text: #1c1b19;
  --text-muted: #6b6862;
  --text-faint: #a29e96;
  --success: #2f8a5b;
  --warn: #b7791f;
  --error: #c2412d;
  --on-dark: #ffffff;
  --tint-cream: #fbf1d3;
  --tint-mint: #e3f4ec;
  --tint-mist: #e4eefb;
  --tint-lilac: #efe8fb;
  --tint-cream-edge: #efdfab;
  --wash-top: #fdf8e8;
  --glass: rgba(255, 255, 255, .78);
  --line-soft: rgba(28, 27, 25, .05);
  --accent-halo: rgba(176, 86, 42, .16);
  --veil: rgba(28, 27, 25, .24);
  --shadow-card: 0 1px 2px rgba(28,27,25,.04), 0 24px 48px -20px rgba(28,27,25,.18);
  --shadow-tile: 0 1px 2px rgba(28,27,25,.03), 0 14px 28px -16px rgba(28,27,25,.14);
  --shadow-chip: 0 1px 2px rgba(28,27,25,.04);
  --shadow-mark: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(28,27,25,.06);
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,.10), 0 1px 2px rgba(28,27,25,.20), 0 14px 28px -14px rgba(28,27,25,.55);
  --shadow-btn-hover: inset 0 1px 0 rgba(255,255,255,.12), 0 2px 4px rgba(28,27,25,.18), 0 18px 32px -14px rgba(28,27,25,.55);
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-inset: 12px;
  --r-tile: 14px;
  --r-btn: 10px;
  --r-nav: 10px;
  --r-logo: 9px;
  --r-focus: 6px;
  --r-small: 3px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-shot: 4px;
  --f-display: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Apple SD Gothic Neo','Microsoft YaHei',system-ui,sans-serif;
  --f-body: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Hiragino Kaku Gothic ProN','Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
  --f-mono: 'JetBrains Mono','SF Mono',ui-monospace,Menlo,Consolas,monospace;
  --gutter: clamp(16px, 2.25vw, 32px);
  --content-width: 1120px;
  --reading-width: 760px;
  --nav-h: 72px;
  --section-space: 160px;
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --fast: .2s;
  --reveal-time: .65s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { max-width: 100%; }
img { height: auto; }
button, a { -webkit-tap-highlight-color: var(--accent-halo); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-focus); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; line-height: 1.16; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.4; }
p { margin: 0 0 1.2em; }
strong { font-weight: 650; }
code, pre, kbd { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-inset);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
  tab-size: 2;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: .35em; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.band { background: var(--bg-panel); color: var(--text); }
.panel-band { position: relative; overflow-x: clip; }
.panel-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  color: var(--text-muted);
}
.panel-texture .ico { position: absolute; width: 40px; height: 40px; }
.panel-texture .texture-file { left: 7%; top: 16%; }
.panel-texture .texture-bracket { right: 8%; top: 24%; }
.panel-texture .texture-link { left: 18%; bottom: 12%; }
.panel-texture .texture-toggle { right: 20%; bottom: 18%; }
.panel-band > .wrap { position: relative; }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-two > *, .grid-three > *, .wrap > *, .prose > * { min-width: 0; }
.stack > * + * { margin-top: 24px; }
.muted { color: var(--text-muted); }
.keep { white-space: nowrap; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent-dark); }
.section-intro { max-width: 660px; margin-bottom: 48px; }
.section-intro p { color: var(--text-muted); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 80px; margin-bottom: 24px; scroll-margin-top: 32px; }
.prose h3 { margin-top: 40px; margin-bottom: 16px; }
.prose p, .prose li { line-height: 1.9; }
.prose a, .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.prose a:hover, .text-link:hover { color: var(--accent-dark); }
.prose :not(pre) > code {
  padding: .1em .3em;
  border-radius: var(--r-small);
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: .9em;
}
.ico {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-apple { fill: currentColor; stroke: none; }
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  padding: 0; white-space: nowrap;
  border-radius: var(--r-btn);
  background: var(--text); color: var(--on-dark);
  font-size: 14px; font-weight: 600;
}
.skip:focus { width: auto; height: auto; overflow: visible; clip-path: none; padding: 10px 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.actions { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; max-width: 100%; padding: 10px 22px;
  border: 0; border-radius: var(--r-btn);
  font-size: 15.5px; font-weight: 600; letter-spacing: -.005em;
  line-height: 1.4; text-align: center;
  transition: transform var(--fast) var(--ease-out), box-shadow var(--fast), color var(--fast);
}
.btn-solid { background: var(--text); color: var(--on-dark); box-shadow: var(--shadow-btn); }
.btn-solid:hover, .btn-solid.is-hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn-solid .ico-apple { width: 18px; height: 18px; margin-top: -2px; }
.btn-ghost { padding-inline: 18px; background: var(--bg); color: var(--text); }
.btn-ghost .ico { width: 19px; height: 19px; color: var(--text-muted); }
.btn-ghost:hover, .btn-ghost:hover .ico { color: var(--accent); }
.btn:active, .btn.is-active { transform: translateY(1px); box-shadow: var(--shadow-chip); }
.btn:disabled { background: var(--bg-panel-2); color: var(--text-muted); box-shadow: none; transform: none; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }

.topbar, #site-header { position: relative; z-index: 30; background: var(--bg); color: var(--text); }
.topbar-in {
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: var(--nav-h); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0;
  font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: -.015em;
  color: var(--text);
}
.brand-mark {
  display: block; width: 32px; height: 32px; flex-shrink: 0;
  border-radius: var(--r-logo);
}
.brand-mark--placeholder {
  background: linear-gradient(160deg, var(--bg), var(--bg-panel-2));
  color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-mark);
}
.nav { min-width: 0; }
.nav ul {
  display: flex; align-items: center; list-style: none;
  gap: 2px; margin: 0; padding: 0;
}
.nav li { margin: 0; }
.nav a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 11px;
  border-radius: var(--r-nav);
  font-size: 14px; font-weight: 500; color: var(--text-muted); white-space: nowrap;
  transition: background-color var(--fast), color var(--fast);
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-panel); color: var(--text); }
.nav a[aria-current="page"] .ico { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.language-picker { position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text-muted);
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
.lang:hover { color: var(--text); border-color: var(--text-faint); }
.lang-caret { font-size: 10px; }
.lang-short { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 45;
  min-width: 180px; padding: 6px;
  border: 1px solid var(--border); border-radius: var(--r-inset);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-focus); }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--bg-panel); color: var(--text); }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 8px;
  border: 1px solid var(--border); border-radius: var(--r-btn);
  background: var(--bg); color: var(--text);
}
.menu-toggle .ico { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute; inset-inline: 0; top: 100%; z-index: 40;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 16px var(--gutter) 24px;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li { margin: 0; }
.mobile-drawer a {
  display: flex; align-items: center; width: 100%; gap: 12px;
  min-height: 48px; padding: 12px 16px; border-radius: var(--r-nav);
  color: var(--text);
}
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--text); }
.drawer-languages { margin-top: 16px; }
.drawer-languages p { padding-inline: 16px; margin-bottom: 8px; font-size: 13px; color: var(--text-muted); }
.nav-veil {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 20;
  background: var(--veil); color: var(--text);
  border: 0; padding: 0; width: 100%;
}

.card, .panel {
  min-width: 0;
  border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.panel { padding: 32px; border-radius: var(--r-card-lg); }
.card--mint { background: var(--tint-mint); color: var(--text); }
.card--mist { background: var(--tint-mist); color: var(--text); }
.card--cream { background: var(--tint-cream); color: var(--text); }
.card--lilac { background: var(--tint-lilac); color: var(--text); }
.card-body { padding: 28px; }
.card-body h3 { margin-top: 0; }
.card-body p:last-child { margin-bottom: 0; }

.site-footer { padding-top: 80px; padding-bottom: 32px; background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr .8fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { max-width: 300px; margin-top: 20px; color: var(--text-muted); font-size: 14px; }
.site-footer h2 { font-size: 14px; font-weight: 700; margin: 4px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding-block: 5px; color: var(--text-muted); font-size: 14px; }
.site-footer a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 56px; font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

.hero {
  position: relative; overflow: hidden;
  min-height: clamp(660px, calc(100vh - var(--nav-h) - 56px), 800px);
  padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 45%;
  background: linear-gradient(180deg, var(--wash-top), var(--bg));
  opacity: .78; pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 9px; min-height: 34px;
  padding: 6px 15px 6px 13px; max-width: 100%;
  border-radius: var(--r-pill); border: 1px solid var(--tint-cream-edge);
  background: var(--tint-cream); color: var(--accent-dark);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.tag-dot { width: 7px; height: 7px; border-radius: var(--r-round); flex-shrink: 0; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-halo); }
.kt {
  margin: 26px 0 0; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 1.2rem + 2.4vw, 48px);
  line-height: 1.16; letter-spacing: -.02em; color: var(--text);
}
.kt-line { display: block; }
.kt-w { display: inline-block; animation: kt-rise .64s var(--ease-out) both; }
.kt-w2 { animation-delay: .12s; }
.kt-w3 { animation-delay: .26s; }
@keyframes kt-rise { from { opacity: 0; transform: translateY(.42em); } }
.mark { position: relative; z-index: 0; display: inline-block; padding-inline: .03em; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; z-index: -1; left: .03em; right: .03em; bottom: .02em;
  height: 6px; border-radius: var(--r-small); background: var(--accent);
  transform-origin: left center; animation: kt-bar .46s var(--ease-out) .7s both;
}
@keyframes kt-bar { from { transform: scaleX(0); } }
.lede { max-width: 600px; margin: 28px 0 0; font-size: 17px; line-height: 1.72; color: var(--text-muted); }
.lede strong { color: var(--text); }
.protos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.proto {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; max-width: 100%;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-chip);
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.devices { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.devices a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.devices a:hover { color: var(--text); }
.devices .ico { width: 17px; height: 17px; }
.devices-sep { width: 1px; height: 14px; background: var(--border); }
.store-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--text-muted); }

.orbit {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 1440px; height: 772px; margin: -386px 0 0 -720px;
  pointer-events: none;
}
.obj { position: absolute; transform: rotate(var(--rot, 0deg)); }
.orbit .card, .tile { animation: drift var(--dur, 10s) ease-in-out var(--lag, 0s) infinite; }
@keyframes drift { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.card--code { width: 284px; padding: 14px 18px 16px; }
.card--code.card--narrow { width: 270px; }
.card-k { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); }
.snip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.5; letter-spacing: -.01em; color: var(--text); }
.s-key { font-weight: 600; }
.s-val { color: var(--text-muted); }
.s-pol { font-weight: 600; color: var(--accent-dark); }
.card--panel { width: 236px; padding: 12px; }
.card--panel.card--sub { width: 240px; }
.card-head { display: flex; align-items: center; gap: 8px; padding: 3px 5px 11px; font-family: var(--f-display); font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.card-head .ico { color: var(--text-muted); }
.glist { overflow: hidden; list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-soft); border-radius: var(--r-inset); background: var(--glass); color: var(--text); }
.glist li { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; margin: 0; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.glist li + li::before { content: ""; position: absolute; top: 0; right: 0; left: 29px; height: 1px; background: var(--border); }
.glist--plain li + li::before { left: 12px; }
.tail { margin-left: auto; }
.ico-check { color: var(--accent); width: 15px; height: 15px; }
.ico-chev { color: var(--text-muted); width: 14px; height: 14px; }
.ph { display: block; height: 6px; border-radius: var(--r-small); background: var(--bg-panel-2); }
.ph--long { width: 64px; }
.ph--short { width: 32px; }
.dot { width: 7px; height: 7px; border-radius: var(--r-round); flex-shrink: 0; }
.dot--accent { background: var(--accent); }
.dot--success { background: var(--success); }
.dot--warn { background: var(--warn); }
.dot--ring { border: 1.5px solid var(--text-muted); }
.url-row { display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 12px; border: 1px solid var(--line-soft); border-radius: var(--r-inset); background: var(--glass); color: var(--text); }
.url-row .ico { width: 14px; height: 14px; color: var(--text-muted); }
.url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 11.5px; color: var(--text-muted); }
.card--pill { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 14px; border-radius: var(--r-pill); white-space: nowrap; font-size: 14px; font-weight: 600; }
.card--pill .ico { width: 20px; height: 20px; color: var(--accent-dark); }
.card--pill.is-mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: -.01em; }
.tile { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-tile); background: var(--bg); color: var(--text-muted); box-shadow: var(--shadow-tile); }
.tile .ico { width: 20px; height: 20px; }
.o1 { left: 92px; top: 100px; --rot: -3deg; --dur: 10s; --lag: -1s; }
.o2 { left: 62px; top: 288px; --rot: 2deg; --dur: 12s; --lag: -5s; }
.o3 { left: 152px; top: 612px; --rot: 1.5deg; --dur: 9s; --lag: -3s; }
.o7 { left: 1150px; top: 70px; --rot: 3deg; --dur: 11s; --lag: -7s; }
.o6 { left: 1092px; top: 268px; --rot: -2.5deg; --dur: 8s; --lag: -2s; }
.o4 { left: 1152px; top: 352px; --rot: 1.5deg; --dur: 11s; --lag: -9s; }
.o5 { left: 1068px; top: 512px; --rot: -3.5deg; --dur: 10s; --lag: -6s; }
.t1 { left: 336px; top: 220px; --rot: -4deg; --dur: 9s; --lag: -4s; }
.t2 { left: 356px; top: 506px; --rot: 3deg; --dur: 11s; --lag: -6s; }
.t3 { left: 1014px; top: 102px; --rot: 2deg; --dur: 10s; --lag: -8s; }
.t4 { left: 1236px; top: 650px; --rot: -3deg; --dur: 12s; --lag: -1s; }
.strip { max-width: 1200px; margin-inline: auto; padding: 19px 24px; display: flex; justify-content: center; overflow: hidden; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); }
.strip span { display: inline-flex; align-items: center; gap: 8px; padding-inline: 18px; border-left: 1px dashed var(--border); }
.strip span:first-child { border-left: 0; }
.strip .sdot { width: 6px; height: 6px; border-radius: var(--r-round); background: var(--accent); opacity: .7; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity var(--reveal-time) var(--ease-out), transform var(--reveal-time) var(--ease-out); }
.reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1360px) and (min-width: 901px) { .orbit { transform: scale(.9); } }
@media (max-width: 1180px) and (min-width: 901px) { .orbit { transform: scale(.76); } }
@media (max-width: 1040px) and (min-width: 901px) {
  .orbit { transform: scale(.66); }
  .o5, .t3 { display: none; }
}
@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .brand { margin-right: 0; }
  .preview-nav { overflow-x: auto; }
  .preview-nav a { padding-inline: 8px; }
}
@media (min-width: 1181px) { .mobile-drawer { display: none; } }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-three { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 24px 18px 56px; }
  .orbit { position: relative; left: auto; top: auto; width: 100%; height: auto; margin: 0 0 28px; display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
  .orbit .obj { position: relative; left: auto; top: auto; flex-shrink: 0; }
  .o3, .o5, .o6, .o7, .obj--tile { display: none; }
  .o1 { margin-top: 4px; }
  .o2 { margin-top: 18px; }
  .orbit .card--code { width: 118px; padding: 10px 11px; }
  .orbit .card-k { font-size: 9.5px; margin-bottom: 5px; }
  .orbit .snip { font-size: 10px; }
  .orbit .card--panel { width: 124px; padding: 8px; }
  .orbit .card-head { font-size: 11px; padding: 2px 3px 7px; gap: 5px; }
  .orbit .card-head .ico { width: 12px; height: 12px; }
  .orbit .glist li { min-height: 22px; padding: 3px 8px; gap: 6px; font-size: 10.5px; }
  .orbit .glist li + li::before { left: 21px; }
  .orbit .glist .ico-check { width: 11px; height: 11px; }
  .orbit .dot { width: 5px; height: 5px; }
  .orbit .url-row { height: 24px; padding-inline: 7px; gap: 5px; }
  .orbit .url { font-size: 9.5px; }
  .orbit .url-row .ico { width: 11px; height: 11px; }
  .strip { justify-content: flex-start; }
  .preview-topbar .topbar-in { height: auto; min-height: var(--nav-h); flex-wrap: wrap; gap: 10px; padding-block: 14px; }
  .preview-topbar .preview-nav { order: 3; width: 100%; }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 4vw, 30px); }
  .kt { font-size: clamp(24px, 4vw, 30px); }
}
@media (max-width: 640px) {
  .grid-two, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .panel, .card-body { padding: 24px; }
  .tilt, [data-tilt] { transform: none !important; }
  .lede { font-size: 15.5px; }
  .btn { min-height: 46px; padding-inline: 18px; font-size: 15px; }
  .brand { font-size: 14px; gap: 8px; min-width: 0; flex-shrink: 1; }
  .brand-name { min-width: 0; overflow-wrap: anywhere; }
  h1 .keep, h2 .keep, h3 .keep { white-space: normal; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .header-tools { gap: 6px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .orbit { gap: 6px; }
  .orbit .card--code { width: 92px; }
  .orbit .card--panel { width: 94px; }
  .orbit .card-head { font-size: 9px; gap: 3px; }
  .orbit .card-head .ico { display: none; }
  .devices { gap: 5px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kt-w, .mark::after, .orbit .card, .tile { animation: none; }
  .btn, .nav a, .lang, .reveal-ready .reveal { transition: none; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}