:root {
  --bg: #fcfbf8;
  --bg-panel: #ffffff;
  --bg-panel-2: #16140f;
  --border: #e9e7e1;
  --accent: #e8900f;
  --accent-from: #f0a020;
  --accent-dark: #b86c05;
  --text: #1a1914;
  --text-muted: #6b6962;
  --text-faint: #a3a097;
  --success: #2e9a5a;
  --warn: #c25e0a;
  --error: #cf3b2b;
  --on-dark: #ffffff;
  --on-accent: #1a1914;
  --track: #f3f2ee;
  --gutter-bg: #faf9f6;
  --line-num: #bfbbb1;
  --alu-hi: #f7f6f3;
  --alu-mid: #ebe9e4;
  --alu-lo: #dcdad3;
  --alu-edge: #cdcac2;
  --alu-inner: #c3c0b7;
  --clear: transparent;
  --accent-wash: rgba(232,144,15,.11);
  --accent-glow: rgba(232,144,15,.17);
  --accent-glow-soft: rgba(232,144,15,.06);
  --accent-ring: rgba(232,144,15,.38);
  --selection: rgba(232,144,15,.22);
  --veil: rgba(26,25,20,.25);
  --shadow-soft: 0 1px 2px rgba(26,25,20,.05),0 6px 18px -8px rgba(26,25,20,.12);
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,.32),0 2px 4px rgba(184,108,5,.22),0 12px 26px -10px rgba(232,144,15,.62);
  --shadow-btn-hover: inset 0 1px 0 rgba(255,255,255,.32),0 3px 6px rgba(184,108,5,.24),0 18px 34px -12px rgba(232,144,15,.66);
  --shadow-float: 0 2px 6px rgba(26,25,20,.04),0 34px 70px -30px rgba(26,25,20,.24),0 80px 160px -60px rgba(26,25,20,.22);
  --shadow-note: 0 1px 2px rgba(26,25,20,.06),0 12px 28px -10px rgba(26,25,20,.20);
  --shadow-foot: 0 12px 22px -10px rgba(26,25,20,.30);
  --r-card: 28px;
  --r-note: 16px;
  --r-pill: 999px;
  --r-bezel: 22px;
  --r-screen: 12px;
  --r-mark: 9px;
  --r-shot: 10px;
  --r-code: 6px;
  --r-foot: 3px 3px 10px 10px;
  --r-small-bezel: 14px;
  --font-display: "Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans","Apple SD Gothic Neo","Microsoft YaHei",sans-serif;
  --font-body: "Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans","Apple SD Gothic Neo","Microsoft YaHei",sans-serif;
  --font-mono: "JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --gutter: 32px;
  --content-width: 1120px;
  --reading-width: 780px;
  --header-width: 1280px;
  --header-height: 68px;
  --space-section: 88px;
  --duration: .18s;
  --duration-reveal: .55s;
  --ease: cubic-bezier(.2,.7,.2,1);
  --weight-body: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-display: 800;
  --size-body: 16px;
  --size-small: 14px;
  --size-h1: clamp(34px,3.1vw + .55rem,48px);
  --size-h2: clamp(26px,2.7vw,38px);
  --size-h3: 22px;
  --leading-body: 1.7;
  --leading-heading: 1.15;
  --tracking-heading: -.02em;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--weight-body) var(--size-body)/var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
::selection { background: var(--selection); color: var(--text); }
a { color: inherit; text-underline-offset: .2em; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
img,svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
img { height: auto; }
figure { margin: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); text-wrap: balance; }
h1 { font-size: var(--size-h1); font-weight: var(--weight-display); }
h2 { font-size: var(--size-h2); font-weight: var(--weight-display); }
h3 { font-size: var(--size-h3); font-weight: var(--weight-bold); }
h1,h2,h3,p,ul,ol { margin-top: 0; }
p { margin-bottom: 1.2em; }
:where(h1,h2,h3,h4,p,li,a,figcaption) { overflow-wrap: break-word; }
:where(section,article,aside,nav,div,figure) { min-width: 0; }
:where(a,button,summary,input,select,textarea):focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
:where([id]) { scroll-margin-top: 24px; }
code { font-family: var(--font-mono); font-size: .88em; overflow-wrap: anywhere; }
pre {
  margin: 0 0 24px;
  padding: 24px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--gutter-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-note);
  font: 13px/1.85 var(--font-mono);
}
pre code { font: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
.wrap { width: 100%; max-width: calc(var(--content-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--text-muted); margin-bottom: 0; }
.section-head h2 { margin-bottom: 16px; }
.stack > * + * { margin-top: 24px; }
.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 > * { min-width: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.small { font-size: var(--size-small); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: var(--gutter); z-index: 100; transform: translateY(-180%); padding: 12px 20px; background: var(--bg-panel); color: var(--text); border-radius: var(--r-pill); }
.skip-link:focus { transform: none; }
.page,.decorated { overflow-x: clip; }
.card,.panel {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-note);
}
.card > :last-child,.panel > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 14px; }
.prose { min-width: 0; }
.prose h2 { margin-top: 2.2em; margin-bottom: .8em; }
.prose h3 { margin-top: 1.8em; }
.prose li + li { margin-top: .5em; }
.prose :where(ul,ol) { padding-left: 1.5em; }
.prose a:not(.btn):not(.app-store-button) { text-decoration-color: var(--accent-dark); }
.prose img { max-width: 100%; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  font: 600 16px/1.3 var(--font-body);
  text-align: center;
  text-decoration: none;
  transition: transform var(--duration),box-shadow var(--duration),background-color var(--duration);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: var(--on-accent);
  background: linear-gradient(180deg,var(--accent-from),var(--accent));
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover,.btn--primary.is-hover { transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn--primary:active,.btn.is-pressed { transform: translateY(1px); box-shadow: var(--shadow-soft); }
.btn--ghost { color: var(--text); background: var(--bg-panel); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn--ghost:hover { background: var(--track); color: var(--text); }
.btn--dark { color: var(--on-dark); background: var(--bg-panel-2); }
.btn:disabled,.btn[aria-disabled="true"] { cursor: not-allowed; background: var(--track); color: var(--text-muted); box-shadow: none; transform: none; }
.cta { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.masthead,#site-header { position: relative; z-index: 50; background: var(--bg); color: var(--text); }
.masthead__inner {
  position: relative;
  width: 100%;
  max-width: min(100%,calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--r-mark); box-shadow: var(--shadow-soft); }
.brand__placeholder { background: var(--bg-panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--border),var(--shadow-soft); }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.brand__name span { margin-left: 2px; color: var(--text-muted); font-weight: 600; }
.mainnav { margin-left: auto; min-width: 0; }
.mainnav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.mainnav__link { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-pill); color: var(--text-muted); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--duration),color var(--duration); }
.mainnav__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mainnav__link:hover { background: var(--track); color: var(--text); }
.mainnav__link[aria-current="page"] { color: var(--text); font-weight: 600; }
.mainnav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: var(--r-pill); background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--shadow-soft); color: var(--text); background: var(--bg-panel); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang__short { display: none; }
.language__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; min-width: 190px; padding: 8px; margin: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--r-note); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-note); }
.language__menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--r-mark); text-decoration: none; }
.language__menu a:hover,.language__menu a[aria-current="true"] { background: var(--track); color: var(--text); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mobile-drawer { position: absolute; z-index: 3; top: 100%; left: 0; right: 0; padding: 16px var(--gutter) 24px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg-panel); color: var(--text); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-note); }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-mark); text-decoration: none; }
.mobile-drawer a:hover,.mobile-drawer a[aria-current] { background: var(--track); color: var(--text); }
.mobile-drawer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mobile-drawer__languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--border); }
.menu-veil { position: fixed; z-index: 1; inset: var(--header-height) 0 0; border: 0; background: var(--veil); color: var(--text); cursor: default; }
.hero { position: relative; overflow-x: clip; padding: 26px var(--gutter) 0; text-align: center; }
.hero__inner { position: relative; max-width: 1088px; margin-inline: auto; }
.hero__title { margin: 20px 0 0; font-weight: var(--weight-display); font-size: var(--size-h1); line-height: 1.1; letter-spacing: var(--tracking-heading); }
.hero__mark { position: relative; display: inline-block; white-space: nowrap; }
.hero__arc { position: absolute; left: -5%; width: 110%; max-width: none; bottom: -.24em; height: .3em; overflow: visible; pointer-events: none; }
.hero__arc path { fill: none; stroke: var(--accent); stroke-width: 3.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__lede { margin: 20px auto 0; max-width: 680px; font-size: 16.5px; line-height: 1.65; color: var(--text-muted); }
.hero__lede strong { color: var(--text); font-weight: 600; }
.devices { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 18px auto 0; padding: 0; }
.devices__item { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); text-decoration: none; line-height: 1.4; }
.devices__item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.devices__rule { width: 1px; height: 14px; background: var(--border); flex-shrink: 0; }
.devices__store { padding: 4px 11px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.factline { position: relative; z-index: 2; margin-top: 48px; background: var(--bg-panel); color: var(--text-muted); border-block: 1px solid var(--border); }
.factline__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; max-width: 1200px; margin: 0 auto; padding: 17px var(--gutter); list-style: none; font: 500 13px/1.4 var(--font-mono); }
.factline__list li { display: inline-flex; align-items: center; gap: 10px; }
.factline__list li::before { content: ""; width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--accent); flex-shrink: 0; }
.fact-section { background: var(--bg-panel-2); color: var(--on-dark); }
.fact-section h2 { max-width: 900px; margin: 0 auto 28px; font-size: clamp(30px,4vw,48px); text-align: center; }
.fact-section p { max-width: 700px; margin-inline: auto; }
.site-footer { padding-top: 64px; padding-bottom: 32px; border-top: 1px solid var(--border); background: var(--bg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr .7fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.footer-title { margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 6px; color: var(--text-muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.reveal { opacity: 1; transform: none; }
.reveal-pending .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal-pending .reveal { transition: opacity var(--duration-reveal) var(--ease),transform var(--duration-reveal) var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
@media (max-width: 1199px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1200px) {
  .mobile-drawer,.menu-veil { display: none !important; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  :root { --size-h1: clamp(24px,4.4vw,30px); --space-section: 60px; --gutter: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --header-height: 60px; }
  .masthead__inner { gap: 10px; }
  .brand__name span { display: none; }
  .brand__name { font-size: 14px; }
  .brand { gap: 8px; }
  .lang { min-height: 44px; padding-inline: 12px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .lang svg { display: none; }
  .header-tools { gap: 6px; margin-left: auto; }
  .grid-two,.grid-three,.footer-grid { grid-template-columns: minmax(0,1fr); }
  .hero { padding-top: 20px; }
  .hero__lede { font-size: 15.5px; }
  .btn { min-height: 48px; font-size: 15px; padding-inline: 20px; }
  .card,.panel { padding: 24px; }
  .devices { gap: 10px 16px; }
  .factline__list { justify-content: flex-start; gap: 12px 24px; }
  .tilt,[data-tilt] { transform: none !important; }
  pre { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .reveal-pending .reveal:not(.shown) { opacity: 1; transform: none; }
}