:root {
  --navy-0: #050B18;
  --navy-1: #08152B;
  --navy-2: #102443;
  --ice: #F3F7FC;
  --paper: #FFFFFF;
  --ink: #0B1830;
  --text: #EAF3FF;
  --muted: #91A5C2;
  --cobalt: #1952E8;
  --cyan: #00C8E5;
  --human: #8FA7FF;
  --success: #35C48D;
  --wrap: 1200px;
  --nav-h: 64px;
  color: var(--text);
  background: var(--navy-0);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--navy-0); line-height: 1.7; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 720; line-height: 1.2; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); }
h3 { font-size: 1.2rem; }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { color: var(--paper); background: var(--cobalt); }

.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-head { max-width: 850px; margin-bottom: 48px; }
.section-lead { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.eyebrow { margin-bottom: 18px; color: var(--cyan); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.skip { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 16px; border-radius: 10px; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.nav { position: sticky; z-index: 50; top: 0; height: var(--nav-h); border-bottom: 1px solid rgb(145 165 194 / 16%); background: rgb(5 11 24 / 88%); backdrop-filter: blur(18px); }
.nav-in { display: flex; align-items: center; height: var(--nav-h); gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; font-weight: 700; }
.brand-mark { width: 32px; height: 32px; }
.wordmark { font-size: 1.28rem; letter-spacing: -0.045em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-inline: auto; color: var(--muted); font-size: 0.92rem; }
.nav-links a:hover, .nav-links a[aria-current], .footer-nav a:hover { color: var(--text); }
.nav-act { display: flex; align-items: center; flex: none; gap: 14px; }
.nav-ext { color: var(--muted); font-size: 0.88rem; }
.nav-ext:hover { color: var(--text); }
.menu-btn { min-height: 40px; padding: 7px 14px; border: 1px solid rgb(145 165 194 / 35%); border-radius: 10px; background: var(--navy-1); cursor: pointer; }
.menu { position: absolute; top: calc(var(--nav-h) + 8px); right: 16px; width: min(320px, calc(100% - 32px)); padding: 10px; border: 1px solid rgb(145 165 194 / 28%); border-radius: 16px; background: var(--navy-1); box-shadow: 0 24px 60px rgb(0 0 0 / 35%); }
.menu a { display: block; padding: 12px 14px; border-radius: 9px; }
.menu a:hover, .menu a[aria-current] { color: var(--text); background: var(--navy-2); }
.scroll-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; pointer-events: none; background: var(--cyan); transform: scaleX(var(--scroll-progress, 0)); transform-origin: 0 50%; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; border: 1px solid var(--cobalt); border-radius: 12px; color: var(--paper); background: var(--cobalt); font-weight: 680; line-height: 1.35; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.btn:hover { border-color: #2E63F0; background: #2E63F0; transform: translateY(-1px); }
.btn-2 { border-color: rgb(145 165 194 / 45%); color: var(--text); background: transparent; }
.btn-2:hover { border-color: var(--cyan); background: rgb(0 200 229 / 8%); }

#footer { padding: 64px 0 32px; border-top: 1px solid rgb(145 165 194 / 18%); color: var(--muted); background: var(--navy-0); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: start; }
.footer-brand .brand { color: var(--text); }
.footer-brand p { margin: 18px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; font-size: 0.92rem; }
.footer-note { margin: 0; font-size: 0.86rem; }
.footer-copy { margin: 0; font-size: 0.86rem; text-align: right; }

.vh { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }
[data-reveal] { opacity: 1; transform: none; }
html.no-js [data-reveal], html.reduce [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
html.reduce { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html.io [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 320ms ease, transform 320ms ease; }
  html.io [data-reveal].is-in { opacity: 1; transform: none; }
}
html.js.suite-failed .suite-network { display: block; }
html.js.suite-failed .suite-visual { display: none; }
html.js.suite-failed .suite-grid { display: grid; }
html.js.suite-failed .suite-node { display: block; }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 40px 20px; gap: 32px; text-align: center; background: var(--navy-0); }
.error-page h1 { font-size: clamp(2.25rem, 8vw, 4.5rem); }

@media (min-width: 961px) {
  .menu-btn, .menu { display: none !important; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .nav-links { display: none; }
  .nav-act { margin-left: auto; }
  html.no-js .nav { position: relative; height: auto; }
  html.no-js .nav-in { flex-wrap: wrap; height: auto; min-height: var(--nav-h); padding-block: 12px; }
  html.no-js .nav-links { display: flex; order: 3; width: 100%; justify-content: center; padding-top: 8px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 40px)); }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-content: flex-start; }
  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .nav-in { gap: 14px; }
  .nav-ext { display: none; }
  html.no-js .nav-ext { display: inline; }
  .nav-links { gap: 18px; }
  .brand { gap: 8px; }
  .wordmark { font-size: 1.16rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
