:root {
  color-scheme: dark;
  --bg: #0a0e14;
  --surface: #111823;
  --surface-raised: #16202c;
  --text: #e6edf3;
  --muted: #a4b1bd;
  --dim: #8b9aa8;
  --accent: #5fe0c0;
  --accent-hover: #86ead1;
  --border: #2b3541;
  --success: #8cc7ad;
  --warning: #d3b783;
  --danger: #ecaaa2;
  --radius: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --section-gap: 96px;
  --gutter: 48px;
  --wrap: 1200px;
  --type-small: 14px;
  --type-body: 16px;
  --type-lead: 20px;
  --type-heading: 32px;
  --type-display: 48px;
  --font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 10px 24px rgb(4 8 14 / 22%), inset 0 1px rgb(255 255 255 / 4%);
  --motion: 160ms cubic-bezier(.2,.8,.2,1);
  --header-height: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); letter-spacing: 0; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #28584f; color: white; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.btn, .have-nav-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 18px; border: 1px solid #48535e; border-radius: var(--radius); color: var(--text); background: transparent; font: 600 14px/1.4 var(--font); text-decoration: none; transition: background var(--motion), color var(--motion), transform var(--motion), border-color var(--motion); }
.btn.primary, .btn-primary { background: var(--accent); color: #08241f; border-color: var(--accent); }
.btn:active, .have-nav-action:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: have-spin .7s linear infinite; }
@keyframes have-spin { to { transform: rotate(360deg); } }
[data-site-header] { position: sticky; inset-block-start: 0; z-index: 40; background: rgb(10 14 20 / 94%); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.have-head { display: flex; align-items: center; min-height: var(--header-height); gap: 36px; }
.have-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; font: 720 23px/1 var(--font); }
.have-brand svg { width: 27px; height: 27px; color: var(--accent); }
.have-nav { display: flex; align-items: center; gap: 25px; margin-inline-start: auto; }
.have-nav a, .have-foot a { color: var(--muted); text-decoration: none; }
.have-nav a { position: relative; font-size: 14px; padding-block: 10px; white-space: nowrap; }
.have-nav a[aria-current="page"] { color: var(--text); }
.have-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 1px; left: 50%; margin-left: -8px; width: 16px; height: 2px; background: var(--accent); }
.have-nav-action { font-size: 14px; min-height: 36px; padding: 8px 13px; }
.have-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.have-menu { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); background: var(--surface); align-items: center; justify-content: center; }
.have-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(352px, 88vw); max-width: 100vw; padding: 20px 24px; border: 0; border-left: 1px solid var(--border); background: #121923; color: var(--text); box-shadow: var(--shadow); }
.have-drawer::backdrop { background: rgb(3 7 12 / 62%); }
.have-drawer header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.have-drawer nav { display: grid; }
.have-drawer nav a { border-bottom: 1px solid var(--border); padding: 12px 4px; color: var(--text); text-decoration: none; }
.have-drawer nav [aria-current="page"] { color: var(--accent); }
.have-skip { position: fixed; left: 16px; top: -90px; padding: 8px 16px; color: #08241f; background: var(--accent); z-index: 80; }
.have-skip:focus { top: 8px; }
[data-site-footer] { background: var(--bg); color: var(--muted); border-top: 1px solid var(--border); }
.have-foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.have-foot strong { display: block; font: 600 14px/1.5 var(--font); margin: 0 0 12px; color: var(--text); }
.have-foot nav { display: grid; gap: 6px; align-content: start; }
.have-foot a:not(.have-brand) { font-size: 14px; width: fit-content; }
.have-foot-brand { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.have-foot-brand small { font-size: 14px; }
@media(hover:hover) {
  .btn:hover:not(:disabled), .have-nav-action:hover { background: var(--surface-raised); border-color: var(--muted); color: var(--text); }
  .btn.primary:hover:not(:disabled), .btn-primary:hover:not(:disabled) { background: var(--accent-hover); color: #08241f; border-color: var(--accent-hover); }
  .have-nav a:hover, .have-foot nav a:hover, .have-drawer nav a:hover { color: var(--accent); }
}
@media(max-width:1100px) { :root{--gutter:32px;} .have-head {gap:24px;} .have-nav {gap:18px;} }
@media(max-width:820px) {
  :root {--gutter:24px;--section-gap:72px;--header-height:64px;}
  .have-head { gap: 12px; }
  .have-head>.have-nav { display: none; }
  .have-nav-action {margin-left: auto;}
  .have-menu {display:inline-flex;}
  .have-foot {gap:24px;grid-template-columns:1.5fr 1fr 1fr;}
  .have-foot-brand {grid-column:1/-1;}
}
@media(max-width:500px) {
  :root {--gutter:20px;--header-height:60px;--section-gap:56px;--type-display:36px;--type-heading:26px;}
  .have-foot {grid-template-columns:1fr 1fr; gap:24px 12px; padding-block:36px;}
  .have-brand {font-size:21px;}
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
