@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: #94a3b8;
  --soft: #d9e2f1;
  --paper: #0a0e1a;
  --paper-elevated: #0f172a;
  --panel: #111827;
  --panel-hover: #162033;
  --line: #1e2d4a;
  --line-strong: #2563eb;
  --accent: #2563eb;
  --accent-strong: #3b82f6;
  --accent-alt: #60a5fa;
  --accent-alt-soft: rgba(37, 99, 235, 0.16);
  --deep: #020617;
  --blue-shadow: rgba(37, 99, 235, 0.24);
  --green-shadow: rgba(34, 197, 94, 0.2);
  --bg: var(--paper);
  --surface: var(--paper-elevated);
  --surface-raised: var(--panel);
  --border: var(--line);
  --accent-light: var(--accent-strong);
  --accent-gradient: #2563eb;
  --success: var(--accent-alt);
  --warning: #ffb800;
  --error: #ff3b3b;
  --text-primary: var(--ink);
  --text-muted: var(--muted);
  --text-dim: rgba(148, 163, 184, 0.68);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  --radius: 12px;
  --max: 1240px;
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-mono: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  background: #0a0e1a;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::selection {
  background: rgba(96, 165, 250, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100svh;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-copy {
  max-width: 680px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.mono {
  font-family: var(--font-mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.26) 0%, rgba(17, 24, 39, 0.98) 100%),
    #111827;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 800;
}

.brand__banner {
  width: clamp(150px, 16vw, 220px);
  height: auto;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 8px;
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 14px 34px var(--blue-shadow);
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  letter-spacing: 0;
}

.brand__powered {
  margin-top: 4px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .site-header {
    top: 0;
    width: 100%;
    margin-top: 0;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .top-nav {
    gap: 2px;
  }

  .top-nav a:not(.button) {
    display: none;
  }

  .brand__powered {
    display: none;
  }

  .brand__banner {
    width: clamp(126px, 36vw, 172px);
  }

  .section {
    padding: 52px 0;
  }
}
