:root {
  --bg: #f6f9f9;
  --panel: #ffffff;
  --panel-2: #eaf4f3;
  --panel-glass: rgba(255,255,255,.74);
  --border: #dfe7e7;
  --border-strong: #cdd8d7;
  --accent: #0c8a5c;
  --accent-dark: #086b47;
  --mint: #e1f2ea;
  --text: #1e2523;
  --muted: #5f6b69;
  --faint: #8b9795;
  --dot: #d4dcdb;
  --on-accent: #ffffff;
  --success: #2a9d63;
  --warn: #b7791f;
  --error: #c8463d;
  --error-line: #eac3bf;
  --fog-blue: #e4f2f6;
  --fog-mint: #e6f5ee;
  --veil: rgba(30,37,35,.28);
  --clear: transparent;

  --font-display: "Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --font-body: "Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"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-semibold: 600;
  --weight-bold: 700;
  --tracking-title: -.02em;

  --r-card: 24px;
  --r-float: 20px;
  --r-btn: 12px;
  --r-nav: 10px;
  --r-icon: 7px;
  --r-pill: 999px;
  --r-shot: 8px;
  --r-circle: 50%;

  --shadow-sheet: 0 1px 2px rgba(28,48,52,.04),0 24px 60px rgba(28,52,58,.10);
  --shadow-card: 0 2px 6px rgba(28,48,52,.06),0 30px 72px rgba(28,52,58,.17);
  --shadow-pill: 0 1px 2px rgba(28,48,52,.05),0 10px 28px rgba(28,52,58,.12);
  --shadow-btn: 0 1px 2px rgba(8,107,71,.20),0 10px 24px rgba(12,138,92,.22);
  --shadow-soft: 0 1px 2px rgba(28,48,52,.05);
  --shadow-knob: 0 1px 3px rgba(20,40,36,.22);
  --ring-accent: rgba(12,138,92,.14);
  --focus-width: 3px;
  --line: 1px;
  --header-h: 68px;
  --gutter: 64px;
  --content-max: 1440px;
  --reading-max: 860px;
  --section-space: 140px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --motion-fast: .18s;
  --motion-reveal: .6s;
  --ease: ease;
  --layer-header: 40;
  --layer-veil: 30;
  --layer-float: 25;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 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;
}
a { color: var(--accent-dark); text-decoration: none; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
button { color: inherit; }
img { max-width: 100%; }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus-width) solid var(--accent); outline-offset: 4px; }
::selection { background: var(--mint); color: var(--text); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-title);
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(34px,3.4vw,48px); line-height: 1.16; }
h2 { font-size: clamp(24px,2.4vw,34px); }
h3 { font-size: 22px; }
p { margin-top: 0; }
strong { font-weight: var(--weight-semibold); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-btn);
  background: var(--panel-2);
  color: var(--text);
  line-height: 1.9;
  tab-size: 2;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; font-size: 13px; }
blockquote { margin-inline: 0; }
.wrap { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--reading-max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.grid, .card-grid { display: grid; gap: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid > *, .card-grid > *, .hero-grid > *, .footer-grid > *, .mast-inner > * { min-width: 0; }
.prose, .article-body { min-width: 0; }
.prose p, .article-body p { line-height: 1.95; }
.prose h2, .article-body h2 { margin-top: 64px; margin-bottom: 24px; }
.prose h3, .article-body h3 { margin-top: 36px; }
.prose li, .article-body li { margin-bottom: 10px; }
.prose a, .article-body a { text-decoration: underline; }
.prose figure, .article-body figure { max-width: 100%; }
.prose > :first-child { margin-top: 0; }
.keep { white-space: nowrap; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.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: fixed; top: 12px; left: 16px; z-index: 100; transform: translateY(-180%); padding: 12px 20px; background: var(--panel); color: var(--text); border-radius: var(--r-btn); }
.skip-link:focus { transform: none; }
.section, .next { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-white, .next { background: var(--panel); color: var(--text); border-top: var(--line) solid var(--border); border-bottom: var(--line) solid var(--border); }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2, .next h2 { margin-top: 18px; }
.card, .panel {
  min-width: 0;
  padding: 32px;
  border: var(--line) solid var(--border);
  border-radius: var(--r-card);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-sheet);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.panel-soft { background: var(--panel-2); color: var(--text); box-shadow: var(--shadow-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.eyebrow-ico { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: var(--r-icon); background: var(--panel-2); color: var(--accent-dark); }
.eyebrow-ico svg { width: 16px; height: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: var(--line) solid var(--clear);
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  letter-spacing: -.005em;
  text-align: center;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color var(--motion-fast) var(--ease),border-color var(--motion-fast) var(--ease),transform var(--motion-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { text-decoration: none; }
.btn-main { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); }
.btn-main:hover, .btn-main.is-hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-1px); }
.btn-alt { background: var(--panel); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.btn-alt:hover, .btn-alt.is-hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.btn:active, .btn.is-active { transform: translateY(1px); box-shadow: var(--shadow-soft); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--panel-2); color: var(--muted); border-color: var(--border); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 5px 14px 5px 11px; max-width: 100%; border: var(--line) solid var(--border); border-radius: var(--r-pill); background: var(--panel-glass); color: var(--muted); font-size: 13px; font-weight: var(--weight-medium); box-shadow: var(--shadow-soft); }
.badge b { color: var(--text); font-weight: var(--weight-semibold); }
.badge-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--accent); box-shadow: 0 0 0 4px var(--ring-accent); }

#site-header, .mast { position: sticky; top: 0; z-index: var(--layer-header); background: var(--panel); color: var(--text); border-bottom: var(--line) solid var(--border); }
.mast-inner {
  max-width: min(100%,calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text); font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 16.5px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img, .brand-mark { display: block; width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--r-nav); }
.brand-mark { position: relative; background: var(--panel); color: var(--text); border: var(--line) solid var(--border-strong); box-shadow: var(--shadow-soft); }
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: var(--r-icon); background: var(--panel-2); }
.nav { min-width: 0; margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; border-radius: var(--r-nav); font-size: 14.5px; font-weight: var(--weight-medium); color: var(--muted); white-space: nowrap; transition: background-color var(--motion-fast) var(--ease),color var(--motion-fast) var(--ease); }
.nav svg { width: 16px; height: 16px; color: var(--muted); }
.nav a:hover { color: var(--text); background: var(--bg); text-decoration: none; }
.nav a:hover svg, .nav a[aria-current="page"] svg { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-picker { position: relative; }
.lang { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px 6px 11px; border: var(--line) solid var(--border); border-radius: var(--r-pill); background: var(--panel); color: var(--muted); font-size: 13.5px; font-weight: var(--weight-medium); white-space: nowrap; }
.lang:hover { text-decoration: none; border-color: var(--accent); }
.lang svg { width: 15px; height: 15px; }
.lang-caret { font-size: 10px; }
.lang-short { display: none; }
.language-menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 180px; padding: 8px; border: var(--line) solid var(--border); border-radius: var(--r-btn); background: var(--panel); color: var(--text); box-shadow: var(--shadow-card); list-style: none; margin: 0; }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-icon); color: var(--text); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--panel-2); color: var(--accent-dark); text-decoration: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: var(--line) solid var(--border); border-radius: var(--r-nav); background: var(--panel); color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none; }
.menu-veil { position: fixed; inset: var(--header-h) 0 0; z-index: var(--layer-veil); border: 0; padding: 0; background: var(--veil); color: var(--text); }

.hero { position: relative; overflow-x: clip; background: var(--bg); color: var(--text); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 64% at 76% 44%,var(--fog-blue) 0%,var(--clear) 74%),
    radial-gradient(38% 52% at 94% 82%,var(--fog-mint) 0%,var(--clear) 72%),
    radial-gradient(34% 46% at 10% 18%,var(--fog-blue) 0%,var(--clear) 76%),
    radial-gradient(40% 50% at 30% 92%,var(--fog-mint) 0%,var(--clear) 74%),
    linear-gradient(118deg,var(--fog-blue) 0%,var(--bg) 46%,var(--fog-mint) 100%);
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom,var(--clear),var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,620px) minmax(0,1fr); gap: 44px; align-items: center; padding-top: 76px; padding-bottom: 92px; }
.headline { margin: 26px 0 22px; font-size: clamp(30px,3.4vw,48px); line-height: 1.16; }
.headline > span { display: block; }
.headline em { font-style: normal; color: var(--accent); }
.lede { margin: 0 0 34px; max-width: 548px; font-size: 17px; line-height: 1.78; color: var(--muted); }
.lede strong { color: var(--text); }
.hero-centered { grid-template-columns: minmax(0,1fr); text-align: center; }
.hero-centered .hero-copy { max-width: 880px; margin-inline: auto; }
.hero-centered .lede { margin-inline: auto; max-width: 700px; }
.hero-centered .actions, .hero-centered .get-actions, .hero-centered .plats { justify-content: center; }
.hero-centered .rig { width: 700px; max-width: 100%; margin-inline: auto; text-align: left; }

.footer { padding-top: 80px; padding-bottom: 32px; background: var(--panel); color: var(--text); border-top: var(--line) solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1.3fr .7fr; gap: 40px; }
.footer-brand p { max-width: 330px; margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.footer h2 { margin: 0 0 20px; font-size: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a:not(.brand) { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; border-top: var(--line) solid var(--border); padding-top: 28px; margin-top: 56px; color: var(--muted); font-size: 12px; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }

.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
html.reveal-ready .reveal { transition: opacity var(--motion-reveal) var(--ease),transform var(--motion-reveal) var(--ease); }
html.reveal-ready .reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1360px) {
  .mast-inner { gap: 20px; }
  .nav a { padding-inline: 9px; }
}
@media (max-width: 1279px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 28px;
    border-bottom: var(--line) solid var(--border);
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow-sheet);
  }
  .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer a { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border-radius: var(--r-nav); color: var(--text); }
  .mobile-drawer a svg { width: 18px; height: 18px; color: var(--accent-dark); }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--panel-2); color: var(--text); text-decoration: none; }
  .drawer-languages { margin-top: 20px; padding-top: 16px; border-top: var(--line) solid var(--border); }
  .drawer-languages p { padding-inline: 16px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
}
@media (max-width: 1240px) { :root { --gutter: 40px; } }
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 56px; padding-top: 56px; }
  .hero-copy { max-width: 740px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  h1, .headline { font-size: clamp(24px,5.5vw,30px); }
  .grid, .card-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 60px; }
  .mast-inner { gap: 12px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand img, .brand-mark { width: 28px; height: 28px; }
  .header-tools { gap: 6px; margin-left: auto; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang { min-height: 40px; padding-inline: 10px; }
  .lang svg { display: none; }
  .hero-grid { padding-top: 36px; padding-bottom: 64px; gap: 40px; }
  .headline { margin-top: 22px; }
  .lede { font-size: 15.5px; margin-bottom: 26px; }
  .card, .panel { padding: 24px 20px; }
  .tilt, [data-tilt], .dex { transform: none !important; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .footer { padding-top: 56px; }
  .badge { font-size: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}