:root {
  --bg: #ffffff;
  --bg-panel: #fdf4e7;
  --bg-panel2: #f4f6f5;
  --surface-soft: #fffaf3;
  --border: #e3e8e5;
  --accent: #11785a;
  --accent-dark: #0b4d3a;
  --steel: #2f6fd6;
  --apricot: #f6c995;
  --apricot-soft: #fde3c4;
  --text: #16352b;
  --text-muted: #56675f;
  --chevron: #a7b3ad;
  --success: #1f8a5b;
  --warn: #b86b1f;
  --error: #c2412d;
  --accent-a04: rgba(17,120,90,.04);
  --accent-a06: rgba(17,120,90,.06);
  --accent-a14: rgba(17,120,90,.14);
  --accent-a22: rgba(17,120,90,.22);
  --accent-a40: rgba(17,120,90,.40);
  --steel-a08: rgba(47,111,214,.08);
  --steel-a28: rgba(47,111,214,.28);
  --steel-a85: rgba(47,111,214,.85);
  --steel-a30: rgba(47,111,214,.30);
  --ink-a05: rgba(22,53,43,.05);
  --ink-a07: rgba(22,53,43,.07);
  --warm-a12: rgba(184,107,31,.12);
  --white-a00: rgba(255,255,255,0);
  --white-a55: rgba(255,255,255,.55);
  --white-a75: rgba(255,255,255,.75);
  --white-a95: rgba(255,255,255,.95);
  --veil: rgba(22,53,43,.22);
  --transparent: transparent;
  --font-display: "Iowan Old Style","Charter",Georgia,"Times New Roman","Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC",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-display: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --size-body: 16px;
  --size-small: 14px;
  --size-h1: clamp(34px,3.4vw,48px);
  --size-h2: clamp(28px,3vw,40px);
  --size-h3: 24px;
  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-stage: 28px;
  --radius-shot: 8px;
  --radius-shot-limit: 10px;
  --radius-mark: 9px;
  --radius-app: 11px;
  --radius-focus: 6px;
  --radius-tiny: 2px;
  --radius-round: 50%;
  --radius-phone: 40px;
  --radius-phone-screen: 31px;
  --radius-tablet-screen: 16px;
  --shadow-float: 0 18px 48px var(--accent-a06),0 2px 6px var(--ink-a05);
  --shadow-pill: 0 8px 22px var(--warm-a12);
  --shadow-cta: 0 10px 26px var(--accent-a22);
  --shadow-head: 0 1px 0 var(--ink-a05),0 8px 24px var(--accent-a04);
  --shadow-badge: 0 4px 14px var(--accent-a06);
  --head-h: 72px;
  --hero-h: 744px;
  --gutter: 32px;
  --content-width: 1160px;
  --reading-width: 800px;
  --section-space: 144px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --duration: .25s;
}
*,*::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-family:var(--font-body);
  font-size:var(--size-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
[hidden] { display:none !important; }
img { max-width:100%; }
svg { flex-shrink:0; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-underline-offset:.22em; }
a:hover { color:var(--steel); }
button:disabled { cursor:not-allowed; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--radius-focus); }
::selection { background:var(--apricot-soft); color:var(--text); }
h1,h2,h3,h4 {
  font-family:var(--font-display);
  font-weight:var(--weight-display);
  line-height:1.2;
  text-wrap:balance;
  overflow-wrap:break-word;
}
h1 { font-size:var(--size-h1); letter-spacing:-.01em; line-height:1.14; }
h2 { font-size:var(--size-h2); }
h3 { font-size:var(--size-h3); }
p { margin:0 0 1.25em; }
strong { font-weight:var(--weight-strong); }
small { font-size:var(--size-small); }
code,kbd,pre { font-family:var(--font-mono); }
code { overflow-wrap:anywhere; }
pre {
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  padding:20px;
  background:var(--bg-panel2);
  color:var(--text);
  border-radius:var(--radius-card);
  font-size:13px;
  line-height:1.9;
  overscroll-behavior-inline:contain;
}
pre code { overflow-wrap:normal; white-space:pre; }
:where(section,article,div,nav,aside,figure) { min-width:0; }
:where(h2,h3,section)[id] { scroll-margin-top:28px; }
.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:0; }
.section:last-child { padding-bottom:var(--section-space); }
.band { background:var(--bg-panel2); color:var(--text); padding-top:72px; padding-bottom:72px; margin-top:var(--section-space); }
.section-heading { margin:0 0 36px; }
.section-intro { max-width:680px; color:var(--text-muted); }
.grid-2,.grid-3 { display:grid; gap:32px; }
.grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.grid-2 > *, .grid-3 > * { min-width:0; }
.muted { color:var(--text-muted); }
.key { color:var(--accent); font-style:normal; }
.keep { white-space:nowrap; }
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap;
  border:0;
}
.skip {
  position:absolute;
  left:-9999px;
  top:12px;
  z-index:100;
  padding:8px 14px;
  background:var(--bg);
  color:var(--accent-dark);
  border-radius:var(--radius-pill);
  box-shadow:var(--shadow-float);
}
.skip:focus { left:16px; }
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:52px;
  max-width:100%;
  padding:12px 28px;
  border:1.5px solid var(--transparent);
  border-radius:var(--radius-pill);
  font-size:16px;
  font-weight:var(--weight-medium);
  text-decoration:none;
  text-align:center;
  line-height:1.5;
  background:var(--bg);
  color:var(--text);
  transition:background-color var(--duration) var(--ease),color var(--duration) var(--ease),border-color var(--duration) var(--ease),transform var(--duration) var(--ease);
}
.btn svg { width:18px; height:18px; }
.btn-solid { background:var(--accent); color:var(--bg); box-shadow:var(--shadow-cta); }
.btn-solid:hover,.btn-solid:active { background:var(--accent-dark); color:var(--bg); transform:translateY(-1px); }
.btn-line { border-color:var(--accent-dark); color:var(--accent-dark); background:var(--transparent); }
.btn-line:hover { background:var(--bg); color:var(--accent-dark); transform:translateY(-1px); }
.btn-sm { min-height:40px; padding:8px 18px; font-size:14.5px; box-shadow:none; }
.btn:disabled,.btn[aria-disabled="true"] { background:var(--bg-panel2); color:var(--text-muted); border-color:var(--border); box-shadow:none; transform:none; }
.btn[aria-disabled="true"] { pointer-events:none; }
.cta-row { margin-top:34px; display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.site-head { position:relative; z-index:30; background:var(--bg); color:var(--text); box-shadow:var(--shadow-head); }
.head-inner {
  width:100%;
  max-width:min(100%,calc(1280px + var(--gutter) * 2));
  min-height:var(--head-h);
  margin-inline:auto;
  padding-inline:var(--gutter);
  display:flex;
  align-items:center;
  gap:44px;
}
.brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; text-decoration:none; color:var(--text); }
.brand:hover { color:var(--text); }
.brand-mark { width:34px; height:34px; flex-shrink:0; border-radius:var(--radius-mark); display:block; }
.brand-placeholder {
  background:var(--bg);
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:inset 0 0 0 4px var(--bg),inset 0 0 0 5px var(--accent-a14);
}
.brand-name { font-size:16px; font-weight:var(--weight-strong); letter-spacing:-.005em; white-space:nowrap; }
.tabs-wrap { min-width:0; }
.tabs { display:flex; align-items:center; height:var(--head-h); list-style:none; margin:0; padding:0; gap:0; }
.tabs li { height:100%; }
.tab {
  position:relative;
  display:flex;
  align-items:center;
  height:100%;
  padding:0 16px;
  text-decoration:none;
  font-size:15.5px;
  white-space:nowrap;
  color:var(--text);
  transition:color var(--duration) var(--ease);
}
.tab::after { content:""; position:absolute; left:16px; right:16px; bottom:0; height:2px; border-radius:var(--radius-tiny); background:var(--accent); transform:scaleX(0); transition:transform .3s var(--ease); }
.tab:hover { color:var(--accent-dark); }
.tab:hover::after { transform:scaleX(.4); }
.tab[aria-current="page"] { color:var(--accent-dark); }
.tab[aria-current="page"]::after { transform:scaleX(1); }
.head-actions { margin-left:auto; display:flex; align-items:center; gap:12px; flex-shrink:0; }
.language { position:relative; }
.lang {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:7px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  background:var(--bg);
  color:var(--text-muted);
  font-size:14px;
  white-space:nowrap;
}
.lang svg { width:15px; height:15px; }
.lang:hover { color:var(--accent-dark); border-color:var(--accent-a40); }
.lang-short { display:none; }
.language-menu { position:absolute; top:calc(100% + 10px); right:0; min-width:180px; padding:8px; margin:0; list-style:none; background:var(--bg); color:var(--text); border:1px solid var(--border); border-radius:var(--radius-card); box-shadow:var(--shadow-float); z-index:45; }
.language-menu a { display:flex; align-items:center; min-height:44px; padding:10px 12px; text-decoration:none; border-radius:var(--radius-focus); }
.language-menu a:hover,.language-menu a[aria-current="true"] { background:var(--bg-panel2); color:var(--accent-dark); }
.menu-toggle { display:none; min-width:44px; min-height:44px; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:var(--radius-pill); background:var(--bg); color:var(--text); }
.menu-toggle svg { width:20px; height:20px; }
.menu-veil { position:fixed; inset:var(--head-h) 0 0; z-index:31; background:var(--veil); color:var(--text); border:0; padding:0; width:100%; }
.mobile-nav { position:absolute; top:100%; left:0; right:0; z-index:32; background:var(--bg); color:var(--text); padding:16px var(--gutter) 24px; max-height:calc(100dvh - var(--head-h)); overflow-y:auto; overscroll-behavior:contain; box-shadow:var(--shadow-float); }
.mobile-nav ul { list-style:none; margin:0; padding:0; }
.mobile-nav a { display:flex; align-items:center; min-height:48px; width:100%; padding:12px 16px; text-decoration:none; }
.mobile-nav a[aria-current] { background:var(--bg-panel2); color:var(--accent-dark); border-radius:var(--radius-focus); }
.mobile-nav .mobile-languages { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.panel,.surface-card { background:var(--bg); color:var(--text); border:1px solid var(--ink-a07); border-radius:var(--radius-card); padding:28px; box-shadow:var(--shadow-float); }
.panel-cream { background:var(--bg-panel); color:var(--text); }
.prose { overflow-wrap:break-word; }
.prose h2 { margin-top:2.4em; margin-bottom:.8em; }
.prose h3 { margin-top:1.8em; }
.prose li { margin-bottom:.6em; }
.prose a { color:var(--accent-dark); }
.prose a:hover { color:var(--steel); }
.prose :where(div,section,article) { min-width:0; max-width:100%; }
.site-footer { margin-top:var(--section-space); padding-top:64px; padding-bottom:28px; background:var(--bg-panel2); color:var(--text); }
.footer-grid { display:grid; grid-template-columns:1.3fr .8fr 1.3fr .7fr; gap:40px; }
.footer-brand .brand-name { white-space:normal; }
.footer-brand p { margin-top:20px; max-width:340px; font-size:14px; color:var(--text-muted); }
.footer-title { margin:0 0 16px; font-family:var(--font-body); font-size:14px; font-weight:var(--weight-strong); }
.footer-list { list-style:none; margin:0; padding:0; }
.footer-list a { display:inline-block; padding-top:5px; padding-bottom:5px; font-size:14px; text-decoration:none; overflow-wrap:anywhere; }
.footer-bottom { margin-top:48px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; color:var(--text-muted); font-size:12px; }
.footer-legal { display:flex; flex-wrap:wrap; gap:20px; }
.reveal { opacity:1; }
.reveal-ready .reveal:not(.shown) { opacity:0; transform:translateY(16px); }
.reveal-ready .reveal { transition:opacity .65s var(--ease),transform .65s var(--ease); }
.reveal.shown { opacity:1; transform:none; }
@media (max-width:1279px) {
  .head-inner { gap:24px; }
  .desktop-nav { display:none; }
  .head-actions { margin-left:auto; }
  .menu-toggle { display:inline-flex; }
}
@media (min-width:1280px) {
  .mobile-nav,.menu-veil { display:none !important; }
}
@media (max-width:900px) {
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  :root { --gutter:20px; --size-h1:clamp(24px,5.5vw,30px); }
  .head-actions .btn-sm { display:none; }
  .grid-2,.grid-3 { grid-template-columns:minmax(0,1fr); }
  .btn { min-height:48px; padding:10px 24px; font-size:15px; }
  .btn-sm { min-height:40px; padding:8px 18px; }
}
@media (max-width:640px) {
  :root { --gutter:16px; }
  .tilt,.tilt-card,[data-tilt] { transform:none !important; }
  .head-inner { gap:8px; }
  .brand-name { font-size:14px; }
  .brand-mark { width:30px; height:30px; }
  .head-actions { gap:6px; margin-left:auto; }
  .lang { min-height:44px; padding-inline:10px; }
  .lang-full { display:none; }
  .lang-short { display:inline; }
  .lang svg { display:none; }
  .footer-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  .surface-card,.panel { padding:22px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
  .reveal-ready .reveal:not(.shown) { opacity:1; transform:none; }
  .btn:hover { transform:none; }
}