:root {
  color-scheme: light;
  --c-bg: #F8F7F5;
  --c-panel: #FFFFFF;
  --c-panel-2: #EFEDE9;
  --c-panel-warm: #FCFBF9;
  --c-border: #E3E0DA;
  --c-accent: #C9433A;
  --c-accent-dark: #A2322A;
  --c-text: #232220;
  --c-muted: #6B6862;
  --c-success: #2E9F62;
  --c-warn: #C98A1B;
  --c-error: #B42318;
  --c-route: #CBC5BB;
  --c-route-node: #8F8A82;
  --mk-coral: #CF786E;
  --mk-blue: #6A8BB6;
  --mk-green: #5A9C7B;
  --mk-green-a18: rgb(90 156 123 / .18);
  --flag-red: #C23F3A;
  --flag-blue: #2E4677;
  --flag-white: #FFFFFF;
  --flag-edge: rgb(35 34 32 / .14);
  --accent-a05: rgb(201 67 58 / .05);
  --accent-a08: rgb(201 67 58 / .08);
  --accent-a10: rgb(201 67 58 / .10);
  --accent-a14: rgb(201 67 58 / .14);
  --accent-a22: rgb(201 67 58 / .22);
  --accent-a32: rgb(201 67 58 / .32);
  --ink-a03: rgb(35 34 32 / .03);
  --ink-a05: rgb(35 34 32 / .05);
  --ink-a18: rgb(35 34 32 / .18);
  --ink-veil: rgb(35 34 32 / .28);
  --white-a40: rgb(255 255 255 / .4);
  --white-a70: rgb(255 255 255 / .7);
  --white-a90: rgb(255 255 255 / .9);
  --clear: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-stage: 20px;
  --r-stage-small: 16px;
  --r-panel: 12px;
  --r-card: 10px;
  --r-btn: 3px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-marker: .06em;
  --shadow-panel: inset 0 0 0 1px var(--white-a90), 0 1px 2px var(--ink-a05), 0 32px 64px -30px var(--accent-a10), 0 14px 30px -20px var(--accent-a08);
  --shadow-card: inset 0 1px 0 var(--white-a90), 0 1px 2px var(--ink-a05), 0 26px 52px -26px var(--accent-a08), 0 10px 22px -16px var(--accent-a10);
  --shadow-chip: inset 0 1px 0 var(--white-a90), 0 1px 2px var(--ink-a05), 0 14px 30px -14px var(--accent-a14);
  --shadow-btn: 0 1px 0 var(--white-a40) inset, 0 12px 24px -14px var(--ink-a18);
  --gutter: 40px;
  --wrap: 1440px;
  --head-h: 64px;
  --anchor-gap: calc(var(--head-h) + 14px);
  --section-space: clamp(48px, 6vw, 88px);
  --copy-width: 42em;
  --size-body: 16px;
  --size-h1: clamp(52px, 4.8vw, 72px);
  --size-h2: clamp(28px, 3.1vw, 44px);
  --size-h3: clamp(19px, 1.7vw, 24px);
  --size-lead: clamp(17px, 1.5vw, 20px);
  --size-small: 13px;
  --weight-strong: 600;
  --weight-title: 800;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--anchor-gap); scroll-behavior: smooth; }
body { margin: 0; font: var(--size-body)/1.6 var(--font-body); color: var(--c-text); background: var(--c-bg); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
p { text-wrap: pretty; }
p, ul, ol { margin-block: 0 1em; }
h1, h2, h3 { margin-block: 0 .45em; font-family: var(--font-display); line-height: 1.15; font-weight: var(--weight-title); letter-spacing: -.02em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); text-wrap: pretty; }
small, .muted { color: var(--c-muted); }
small { font-size: var(--size-small); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--c-accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent-dark); outline-offset: 2px; }
img, svg, video { max-width: 100%; }
img, video { height: auto; }
svg { flex-shrink: 0; }
code, pre, kbd, .mono { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; padding: 16px; background: var(--c-panel-2); border: 1px solid var(--c-border); border-radius: var(--r-card); }
pre code { white-space: pre; overflow-wrap: normal; }
main, article, section, .grid > *, .stage > *, .plan-grid > *, .feature-layout > *, .site-foot__grid > * { min-width: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.reading-wrap { max-width: 56rem; }
.section-space { padding-block: var(--section-space); }
.lead { max-width: var(--copy-width); font-size: var(--size-lead); color: var(--c-muted); }
.prose :is(p, li, blockquote) { max-width: var(--copy-width); }
.prose h2:not(:first-child) { margin-top: 1.15em; }
.no-break, .nowrap, .price-value { white-space: nowrap; }
.vh, .svg-bank { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--c-text); color: var(--c-panel); border-radius: var(--r-btn); text-decoration: none; }
.skip:focus { top: 12px; color: var(--c-panel); }
.hl-mark { position: relative; display: inline-block; z-index: 0; }
.hl-mark::after { content: ""; position: absolute; z-index: -1; inset-inline: -.04em; bottom: .07em; height: .46em; border-radius: var(--r-marker); background: linear-gradient(100deg, var(--accent-a32), var(--accent-a22)); transform: rotate(-2deg); transform-origin: left bottom; }
.decor-clip { position: relative; overflow-x: clip; }
.decor-clip > .stripe-halo { position: absolute; inset: 0; max-width: 100%; pointer-events: none; }
.ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--chev { width: 12px; height: 12px; }
.card, .panel { background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.card { padding: clamp(16px, 3vw, 32px); }
.panel { border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: var(--size-small); letter-spacing: .06em; color: var(--c-muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; padding: 0 24px; border: 1px solid var(--clear); border-radius: var(--r-btn); font-weight: var(--weight-strong); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary, .btn-primary { background: var(--c-text); color: var(--c-panel); box-shadow: var(--shadow-btn); }
.btn--primary:hover, .btn-primary:hover { background: var(--c-accent-dark); color: var(--c-panel); }
.btn--outline, .btn-secondary { border-color: var(--c-text); background: var(--c-panel); color: var(--c-text); flex-shrink: 0; white-space: nowrap; }
.btn--outline:hover, .btn-secondary:hover { background: var(--c-panel-2); color: var(--c-text); }
.btn:active:not(:disabled) { box-shadow: inset 0 2px 5px var(--ink-a18); }
.btn:disabled, .btn[aria-disabled="true"] { border-color: var(--c-border); background: var(--c-panel-2); color: var(--c-muted); box-shadow: none; cursor: default; }
.btn-text { display: inline-flex; align-items: center; min-height: 24px; font-weight: var(--weight-strong); white-space: nowrap; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.reveal { transition: opacity .36s ease, transform .36s ease; }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; }
#server-status { margin-block: 24px 32px; padding: clamp(8px, 2vw, 24px); background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--r-card); overflow: hidden; }
#server-status + * { margin-block-start: 32px; }

#site-header { min-height: var(--head-h); }
.topbar { position: relative; z-index: 30; background: var(--c-bg); }
.topbar__in { position: relative; z-index: 3; display: flex; flex-wrap: nowrap; align-items: center; height: var(--head-h); gap: 28px; background: var(--c-bg); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; flex: none; color: var(--c-text); text-decoration: none; }
.brand__mark { display: block; width: 30px; height: 30px; flex: none; }
.brand__word { font-family: var(--font-display); font-weight: var(--weight-title); font-size: 19px; letter-spacing: -.02em; }
.mainnav { flex: 1; min-width: 0; }
.mainnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 11px; border: 0; border-radius: var(--r-btn); background: var(--clear); font-size: 14.5px; line-height: 20px; color: var(--c-muted); white-space: nowrap; text-decoration: none; transition: color .2s, background-color .2s; }
.navlink:hover, .lang:hover { color: var(--c-text); background: var(--ink-a05); }
.navlink[aria-current="page"], .navmore:has([aria-current="page"]) > summary { color: var(--c-text); font-weight: var(--weight-strong); box-shadow: inset 0 -2px 0 var(--c-text); border-radius: 0; }
.navmore, .lang-picker { position: relative; }
.navmore > summary, .lang-picker > summary, .static-drawer > summary { list-style: none; }
.navmore > summary::-webkit-details-marker, .lang-picker > summary::-webkit-details-marker, .static-drawer > summary::-webkit-details-marker { display: none; }
.navmore__menu, .lang-panel { position: absolute; z-index: 5; top: calc(100% + 6px); min-width: 156px; margin: 0; padding: 6px; list-style: none; background: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--shadow-chip); }
.navmore__menu { inset-inline-start: 0; }
.lang-panel { inset-inline-end: 0; }
.navmore__menu a, .lang-panel a { width: 100%; }
.topbar__tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 10px; border: 0; border-radius: var(--r-btn); background: var(--clear); font-size: 14px; color: var(--c-muted); white-space: nowrap; }
.lang span { white-space: nowrap; }
.btn-login { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding-inline: 18px; border: 1px solid var(--c-text); border-radius: var(--r-btn); background: var(--c-panel); color: var(--c-text); font-size: 14px; font-weight: var(--weight-strong); text-decoration: none; white-space: nowrap; }
.btn-login:hover { background: var(--c-text); color: var(--c-panel); }
.hamburger, .static-drawer > summary { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--c-border); border-radius: var(--r-btn); background: var(--c-panel); color: var(--c-text); }
.hamburger .ico, .static-drawer > summary .ico { width: 18px; height: 18px; }
.hamburger[aria-expanded="true"] { border-color: var(--c-accent-dark); color: var(--c-accent-dark); }
.drawer-panel, .nav-veil, .static-drawer { display: none; }
.drawer-panel { position: fixed; z-index: 2; inset-block-start: var(--head-h); inset-inline-end: 0; width: min(100%, 360px); height: calc(100dvh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); padding: 12px var(--gutter) 24px; overflow-y: auto; overscroll-behavior: contain; background: var(--c-panel); border: 1px solid var(--c-border); box-shadow: var(--shadow-panel); }
.nav-veil { position: fixed; z-index: 1; inset: var(--head-h) 0 0; background: var(--ink-veil); }
.drawer-list, .drawer-langs { list-style: none; margin: 0; padding: 0; }
.drawer-langs { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--c-border); }
.drawer-panel a, .static-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; }
.site-foot { border-top: 1px solid var(--c-border); background: var(--c-panel-2); padding-block: 48px 24px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .65fr); gap: 32px; }
.site-foot__intro { max-width: 26em; margin: 12px 0 0; color: var(--c-muted); }
.site-foot__label { font-weight: var(--weight-strong); margin: 0 0 8px; }
.site-foot__links, .site-foot__chips, .site-foot__legal { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.site-foot__links a, .site-foot__legal a { display: inline-flex; align-items: center; min-height: 28px; }
.site-foot__search { margin-top: 24px; }
.site-foot__chips { gap: 8px; }
.site-foot__chips a { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-bg); font-size: var(--size-small); text-decoration: none; }
.site-foot__chips a:hover { border-color: var(--c-accent-dark); }
.site-foot__end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--c-border); margin-top: 28px; padding-top: 16px; }

@media (max-width: 1320px) { :root { --gutter: 24px; } }
@media (max-width: 1160px) {
  .topbar__in { gap: 8px; }
  .topbar__tools { margin-inline-start: auto; gap: 6px; }
  .mainnav { display: none; }
  .hamburger, .static-drawer, .static-drawer > summary { display: inline-flex; }
  .drawer-panel:not([hidden]), .nav-veil:not([hidden]) { display: block; }
  .static-drawer[open] > .drawer-panel { display: block; }
  html.nav-open { overflow: hidden; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; --head-h: 56px; --size-h1: clamp(28px, 7.5vw, 40px); }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .no-break { white-space: normal; }
  .tilt-decor { transform: none; }
  .decor-clip, .decor-clip > .stripe-halo { max-width: 100%; }
  .brand { gap: 5px; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__word { font-size: 16px; }
  .lang, .btn-login { padding-inline: 7px; font-size: 13px; }
  .lang { gap: 4px; }
  .lang .ico--chev { display: none; }
}
@media (max-width: 480px) { .drawer-panel { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.pending { opacity: 1; transform: none; transition: none; }
}