:root {
  color-scheme: dark;
  --bg: #080b16;
  --panel: #111727;
  --ink: #f5f6fc;
  --muted: #b8c2d6;
  --subtle: #9baac3;
  --line: #293247;
  --cyan: #7de9ed;
  --green: #82edc0;
  --purple: #b9a3ff;
  --radius: 20px;
  --page-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
  border-radius: 4px;
}
:target {
  scroll-margin-top: 100px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cyan);
  color: #080b16;
  font-weight: 700;
  border-radius: 12px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header,
.inner-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 14px max(24px, calc((100% - var(--page-width)) / 2));
  background: rgba(8, 11, 22, 0.96);
  border-bottom: 1px solid var(--line);
}
.brand,
.inner-brand,
.footer-brand,
.inner-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand img,
.inner-brand img,
.footer-brand img,
.inner-footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.nav,
.inner-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
}
.nav a,
.inner-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover,
.inner-nav a:hover,
.inner-nav a.active {
  color: var(--cyan);
}
.header-action,
.inner-header-action,
.primary-button,
.inner-primary-button,
.secondary-button,
.inner-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 180ms ease, transform 180ms ease;
}
.header-action,
.inner-header-action {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.85rem;
}
.header-action,
.inner-header-action,
.primary-button,
.inner-primary-button {
  background: #bba6ff;
  color: #171027;
  border: 1px solid transparent;
}
.secondary-button,
.inner-secondary-button {
  background: #141b2b;
  color: var(--ink);
  border: 1px solid #3d475e;
}
.primary-button:hover,
.inner-primary-button:hover,
.header-action:hover,
.inner-header-action:hover {
  background: #cebdff;
}
.secondary-button:hover,
.inner-secondary-button:hover {
  background: #222d42;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 650;
}
.menu-toggle:disabled {
  opacity: 0.55;
  cursor: wait;
}
.eyebrow,
.inner-eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-actions,
.page-hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.footer,
.inner-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 40px;
  padding: 48px max(24px, calc((100% - var(--page-width)) / 2));
  border-top: 1px solid var(--line);
  background: #0c101d;
}
.footer p,
.inner-footer p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 0.85rem;
}
.footer nav,
.inner-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 20px;
}
.footer nav a,
.inner-footer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer nav a:hover,
.inner-footer nav a:hover {
  color: var(--cyan);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .primary-button:hover,
  .inner-primary-button:hover {
    transform: translateY(-2px);
  }
}
@media (max-width: 1199px) {
  .site-header,
  .inner-header {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 76px;
  }
  .brand,
  .inner-brand {
    margin-right: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav,
  .inner-nav {
    order: 4;
    flex: 1 0 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 16px;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open,
  .inner-nav.is-open {
    display: grid;
  }
  .nav a,
  .inner-nav a {
    white-space: normal;
  }
  .site-header:has(.nav.is-open),
  .inner-header:has(.inner-nav.is-open) {
    box-shadow: 0 20px 40px #0005;
  }
}
@media (max-width: 620px) {
  .site-header,
  .inner-header {
    padding: 12px 20px;
    gap: 10px;
  }
  .brand,
  .inner-brand {
    font-size: 1.05rem;
    gap: 7px;
  }
  .header-action,
  .inner-header-action {
    padding: 10px 12px;
    font-size: 0.75rem;
  }
  .menu-toggle {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .nav,
  .inner-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer,
  .inner-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px;
  }
  .footer nav,
  .inner-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions,
  .page-hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 359px) {
  .site-header,
  .inner-header {
    padding-inline: 14px;
    gap: 8px;
  }
  .brand img,
  .inner-brand img {
    width: 32px;
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
