:root {
  --bg:#FDFCFB;
  --bg-panel:#F6F5F4;
  --bg-panel-2:#EEEDEB;
  --border:#E6E4E1;
  --border-strong:#D7D4D0;
  --accent:#7A5872;
  --accent-dark:#5C4157;
  --accent-rgb:122,88,114;
  --text:#232124;
  --text-muted:#6E6A6F;
  --text-faint:#9C989D;
  --success:#4F8A63;
  --warn:#B9822E;
  --error:#B5483F;
  --surface:#FFFFFF;
  --on-accent:#FFFFFF;
  --shade:35,33,36;
  --transparent:transparent;
  --sky-top:#D8D2DC;
  --sky-mid:#E2D3D7;
  --horizon:#EBC4A9;
  --glow:rgba(244,214,190,.78);
  --ridge:#A7B3A8;
  --ridge-far:#C3C6BF;
  --lake-top:#E3D5CD;
  --lake:#CFD8D7;
  --lake-deep:#DCE2E0;
  --sheen:rgba(255,255,255,.72);
  --graphite:#29282B;
  --graphite-edge:#47464B;
  --alu-hi:#E6E5E7;
  --alu:#CBCACD;
  --alu-lo:#ACABAF;
  --alu-dark:#8F8E93;
  --wall-a:#E7E1E9;
  --wall-b:#F1DFD3;
  --glass:rgba(255,255,255,.46);
  --glass-line:rgba(255,255,255,.4);
  --highlight:rgba(255,255,255,.16);
  --highlight-clear:rgba(255,255,255,0);
  --lip-light:rgba(255,255,255,.7);
  --groove-light:rgba(255,255,255,.75);
  --veil:rgba(35,33,36,.24);
  --tl-red:#E06C62;
  --tl-amber:#DDAE55;
  --tl-green:#74AD79;
  --font-display:'Inter','Noto Sans SC',-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
  --font-body:'Inter','Noto Sans SC',-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  --weight-regular:400;
  --weight-medium:500;
  --weight-strong:600;
  --r-xs:4px;
  --r-sm:6px;
  --r:8px;
  --r-lg:10px;
  --r-pill:999px;
  --r-round:50%;
  --r-lid:16px 16px 5px 5px;
  --r-lid-mobile:10px 10px 4px 4px;
  --r-notch:0 0 7px 7px;
  --r-window:.75em;
  --r-sidebar:.42em;
  --r-segment:.55em;
  --r-control:.4em;
  --r-setting:.6em;
  --r-deck:2px 2px 0 0;
  --r-lip:0 0 14px 14px / 0 0 7px 7px;
  --r-groove:0 0 8px 8px;
  --shadow-sm:0 1px 2px rgba(var(--shade),.06),0 1px 1px rgba(var(--shade),.03);
  --shadow-md:0 1px 2px rgba(var(--shade),.05),0 10px 28px -10px rgba(var(--shade),.14);
  --shadow-lg:0 2px 6px rgba(var(--shade),.05),0 30px 60px -28px rgba(var(--shade),.28);
  --shadow-button:inset 0 1px 0 var(--highlight),0 1px 2px rgba(var(--shade),.14),0 8px 18px -8px rgba(var(--accent-rgb),.55);
  --header-h:72px;
  --wrap:1360px;
  --reading:780px;
  --gutter:56px;
  --motion-fast:200ms;
  --motion-reveal:550ms;
}
*,*::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(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
[hidden] { display:none !important; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; }
img,svg { max-width:100%; vertical-align:middle; }
img { height:auto; }
svg { flex-shrink:0; }
p,h1,h2,h3,h4,figure,blockquote { margin:0; }
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:var(--weight-regular); text-wrap:balance; }
h1 { font-size:clamp(34px,3.2vw,48px); line-height:1.2; letter-spacing:-.012em; }
h2 { font-size:clamp(26px,2.5vw,36px); line-height:1.3; letter-spacing:-.01em; }
h3 { font-size:22px; line-height:1.4; }
ul,ol { padding-left:1.5em; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm); }
::selection { background:var(--accent); color:var(--on-accent); }
.wrap { width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }
.reading { max-width:calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top:96px; padding-bottom:96px; }
.section-head { max-width:820px; margin-bottom:32px; }
.section-head p { margin-top:16px; color:var(--text-muted); }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.grid > *, .hero-grid > *, .footer-grid > *, .win-body > *, .demo-layout > * { min-width:0; }
.keep { white-space:nowrap; }
.muted { color:var(--text-muted); }
.small { font-size:14px; }
.mono,code,pre { font-family:var(--font-mono); }
code { overflow-wrap:anywhere; font-size:.9em; }
pre { max-width:100%; overflow-x:auto; padding:20px; background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r); line-height:1.7; }
pre code { overflow-wrap:normal; white-space:pre; font-size:13px; }
.text-link,.prose a { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:4px; text-decoration-thickness:1px; }
.text-link:hover,.prose a:hover { text-decoration-thickness:2px; }
.prose { min-width:0; line-height:1.85; }
.prose h2 { margin-top:64px; margin-bottom:24px; scroll-margin-top:28px; }
.prose h3 { margin-top:32px; margin-bottom:16px; }
.prose p,.prose ul,.prose ol,.prose pre,.prose blockquote { margin-top:18px; margin-bottom:18px; }
.prose li + li { margin-top:8px; }
.prose > :first-child { margin-top:0; }
.prose strong { font-weight:var(--weight-strong); }
.card,.panel {
  min-width:0; background:var(--surface); color:var(--text);
  border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-md);
}
.card { padding:28px; }
.panel { padding:36px; }
.card h3 + p { margin-top:12px; color:var(--text-muted); }
.cta,.button-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:46px; padding:10px 20px; border:1px solid var(--transparent);
  border-radius:var(--r); font-size:15px; line-height:1.4;
  font-weight:var(--weight-medium); letter-spacing:.005em;
  background:var(--surface); color:var(--text);
  transition:background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,box-shadow var(--motion-fast) ease;
}
.btn svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.btn-primary { background:var(--accent); color:var(--on-accent); box-shadow:var(--shadow-button); }
.btn-primary:hover,.btn-primary.is-hover { background:var(--accent-dark); color:var(--on-accent); }
.btn-ghost { background:var(--surface); color:var(--text); border-color:var(--border); box-shadow:var(--shadow-sm); }
.btn-ghost:hover,.btn-ghost.is-hover { border-color:var(--border-strong); background:var(--bg-panel); color:var(--text); }
.btn:active { box-shadow:var(--shadow-sm); }
.btn:disabled,.btn[aria-disabled="true"] { background:var(--bg-panel-2); color:var(--text-muted); border-color:var(--border); box-shadow:none; pointer-events:none; }
.btn.is-focus { outline:2px solid var(--accent); outline-offset:3px; }
.topbar { height:var(--header-h); position:relative; z-index:50; }
.topbar-in {
  width:100%; max-width:min(100%,calc(1280px + var(--gutter) * 2));
  padding-inline:var(--gutter); margin-inline:auto; height:100%;
  display:flex; align-items:center; gap:0;
}
.brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; }
.brand-mark { width:30px; height:30px; display:block; flex-shrink:0; filter:drop-shadow(0 1px 1.5px rgba(var(--shade),.16)); }
.brand-name { font-family:var(--font-display); font-size:17px; font-weight:var(--weight-medium); letter-spacing:-.005em; }
.mainnav { margin-left:auto; min-width:0; }
.mainnav ul { display:flex; align-items:center; list-style:none; margin:0; padding:0; gap:36px; }
.mainnav a { display:block; font-size:15px; color:var(--text-muted); padding:6px 0; white-space:nowrap; }
.mainnav a:hover { color:var(--text); }
.mainnav a[aria-current="page"] { color:var(--text); font-weight:var(--weight-medium); }
.header-tools { display:flex; align-items:center; gap:10px; margin-left:34px; flex-shrink:0; }
.language-picker { position:relative; }
.lang {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  font-size:14px; color:var(--text-muted); background:var(--surface);
  border:1px solid var(--border); border-radius:var(--r); padding:6px 11px;
  box-shadow:var(--shadow-sm); white-space:nowrap; list-style:none;
}
.lang::-webkit-details-marker { display:none; }
.lang svg { width:10px; height:10px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.lang:hover { color:var(--text); border-color:var(--border-strong); }
.lang-short { display:none; }
.language-menu {
  position:absolute; right:0; top:calc(100% + 10px); width:180px;
  padding:6px; background:var(--surface); color:var(--text);
  border:1px solid var(--border); border-radius:var(--r); box-shadow:var(--shadow-lg); z-index:4;
}
.language-menu a { display:flex; align-items:center; min-height:44px; padding:8px 12px; border-radius:var(--r-sm); }
.language-menu a:hover,.language-menu a[aria-current="true"] { background:var(--bg-panel); color:var(--text); }
.menu-toggle { display:none; min-width:44px; min-height:44px; align-items:center; justify-content:center; background:var(--surface); color:var(--text); border:1px solid var(--border); border-radius:var(--r); }
.menu-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.mobile-nav { display:none; }
.nav-veil { position:fixed; inset:var(--header-h) 0 0; background:var(--veil); color:var(--text); z-index:40; border:0; }
.site-footer { margin-top:40px; padding-top:64px; padding-bottom:28px; border-top:1px solid var(--border); background:var(--bg-panel); color:var(--text); }
.footer-grid { display:grid; grid-template-columns:1.25fr .9fr 1.1fr .7fr; gap:48px; }
.footer-brand p { max-width:25em; margin-top:20px; color:var(--text-muted); font-size:14px; line-height:1.8; }
.footer-heading { font-size:14px; font-weight:var(--weight-medium); margin-bottom:18px; }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li + li { margin-top:10px; }
.footer-links a { font-size:14px; color:var(--text-muted); }
.footer-links a:hover { color:var(--text); text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:4px; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; margin-top:48px; padding-top:22px; border-top:1px solid var(--border); font-size:13px; color:var(--text-muted); }
.hero { min-height:calc(100vh - var(--header-h) - 64px); min-height:calc(100svh - var(--header-h) - 64px); display:grid; align-content:center; padding-top:32px; padding-bottom:32px; overflow-x:clip; }
.hero-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:64px; align-items:center; }
.kicker { display:inline-flex; flex-wrap:wrap; align-items:center; padding:3px; margin-bottom:28px; background:var(--bg-panel); color:var(--text-muted); border:1px solid var(--border); border-radius:var(--r-pill); max-width:100%; }
.kicker span { font-size:13px; line-height:1; padding:8px 14px; border-radius:var(--r-pill); }
.kicker .kicker-on { background:var(--surface); color:var(--text); box-shadow:var(--shadow-sm); }
.hero-title { font-size:clamp(28px,2.2vw + 14px,46px); line-height:1.2; }
.hero-title > span { display:block; }
.hero-title .h1-b { color:var(--text-muted); }
.lede { margin-top:22px; max-width:30em; font-size:16.5px; line-height:1.78; color:var(--text-muted); }
.lede strong { color:var(--text); font-weight:var(--weight-medium); }
.plats { margin-top:40px; }
.plats-label { font-size:12.5px; letter-spacing:.04em; color:var(--text-muted); margin-bottom:10px; }
.plat-row { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.plat { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:30px; padding:7px 11px; font-size:13px; line-height:1; background:var(--surface); color:var(--text-muted); border:1px solid var(--border); border-radius:var(--r); box-shadow:var(--shadow-sm); }
.plat svg { width:14px; height:14px; flex-shrink:0; }
.plat:hover { color:var(--text); border-color:var(--border-strong); }
.protos { margin-top:18px; font-family:var(--font-mono); font-size:12px; letter-spacing:.01em; color:var(--text-muted); }
.protos-k { font-family:var(--font-body); font-size:12.5px; margin-right:8px; }
.feat { padding-top:28px; padding-bottom:120px; }
.feat-title { font-size:34px; max-width:22em; }
.feat-lead { margin-top:16px; max-width:36em; color:var(--text-muted); font-size:16px; line-height:1.75; }
.reveal { opacity:1; transform:none; }
.reveal.reveal-pending { opacity:0; transform:translateY(14px); transition:opacity var(--motion-reveal) ease,transform var(--motion-reveal) ease; }
.reveal.shown { opacity:1; transform:none; }
@media (max-width:1280px) {
  .mainnav ul { gap:26px; }
  .header-tools { margin-left:24px; }
}
@media (max-width:1180px) {
  :root { --gutter:40px; }
  .hero-grid { gap:44px; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
  .mainnav { display:none; }
  .header-tools { margin-left:auto; }
  .menu-toggle { display:inline-flex; }
  .mobile-nav:not([hidden]) {
    display:block; position:absolute; top:var(--header-h); left:0; right:0;
    background:var(--surface); color:var(--text); padding:16px var(--gutter) 24px;
    max-height:calc(100dvh - var(--header-h)); overflow-y:auto; overscroll-behavior:contain;
    border-bottom:1px solid var(--border); box-shadow:var(--shadow-lg); z-index:3;
  }
  .mobile-nav ul { list-style:none; margin:0; padding:0; }
  .mobile-nav a { display:flex; align-items:center; width:100%; min-height:44px; padding:12px 0; }
  .mobile-nav a[aria-current] { font-weight:var(--weight-medium); }
  .mobile-languages { margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .preview-header .mainnav { display:block; }
  .preview-header .mainnav ul { gap:20px; }
}
@media (max-width:980px) {
  .hero { min-height:0; padding-top:28px; padding-bottom:48px; }
  .hero-grid { grid-template-columns:minmax(0,1fr); gap:44px; }
  .preview-header { height:auto; }
  .preview-header .topbar-in { flex-wrap:wrap; row-gap:10px; padding-top:14px; padding-bottom:12px; }
  .preview-header .mainnav { order:3; width:100%; margin-left:0; }
  .preview-header .mainnav ul { flex-wrap:wrap; gap:8px 22px; }
  .preview-header .header-tools { margin-left:auto; }
}
@media (max-width:768px) {
  h1,.hero-title { font-size:28px; }
  .section { padding-top:64px; padding-bottom:64px; }
  .grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:640px) {
  :root { --gutter:20px; }
  .brand-name { font-size:15px; }
  .brand { gap:8px; }
  .brand-mark { width:28px; height:28px; }
  .header-tools { gap:8px; margin-left:auto; }
  .lang-full { display:none; }
  .lang-short { display:inline; }
  .lang { min-height:44px; }
  .hero-title { font-size:28px; }
  .hero-title .h1-b { font-size:clamp(23px,5.8vw,28px); }
  .lede { font-size:15px; }
  .kicker { margin-bottom:22px; }
  .btn { min-height:44px; padding:10px 16px; }
  .feat-title { font-size:24px; }
  .card,.panel { padding:22px; }
  .footer-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .tilt,[data-tilt] { transform:none !important; }
  .plat-row { flex-direction:row; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
  .reveal.reveal-pending { opacity:1; transform:none; }
}