:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #10141c;
  --panel-strong: #151b26;
  --text: #f4f7fb;
  --muted: #a8b3c2;
  --soft: #d5dde8;
  --line: #252d3a;
  --line-strong: #394355;
  --accent: #8fb3ff;
  --accent-strong: #c6d7ff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(143, 179, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #0c1119 0%, var(--bg) 42%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

a {
  color: inherit;
  text-decoration-color: rgba(143, 179, 255, 0.55);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible {
  outline: 3px solid rgba(143, 179, 255, 0.75);
  outline-offset: 4px;
  border-radius: 6px;
}

p,
dd {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.75rem, 7vw, 6.6rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  flex: 1;
}

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav,
.site-footer nav,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.site-nav a,
.site-footer a {
  color: var(--soft);
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

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

.hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 72px 0 96px;
}

.page {
  padding: 72px 0 96px;
}

.page-header {
  max-width: 820px;
  margin-bottom: 42px;
}

.page-header h1 {
  margin-bottom: 22px;
}

.eyebrow,
.panel-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy,
.page-header p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: rgba(143, 179, 255, 0.75);
  background: rgba(143, 179, 255, 0.11);
  color: var(--text);
}

.button.primary {
  border-color: rgba(143, 179, 255, 0.75);
  background: var(--accent);
  color: #08101f;
}

.section-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section-grid.compact {
  margin-top: 12px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.content-card,
.feature-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.panel {
  padding: 26px;
}

.panel h2 {
  margin-bottom: 14px;
}

.panel p:last-child,
.content-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-strong);
  font-weight: 700;
}

.content-card {
  max-width: 840px;
  padding: 30px;
}

.content-card h2 {
  margin-bottom: 16px;
}

.content-list {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.feature-row.muted {
  background: rgba(255, 255, 255, 0.025);
}

.feature-row p:last-child {
  margin-bottom: 0;
}

.details {
  display: grid;
  gap: 18px;
  margin: 0;
}

.details div {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.details div:first-child {
  padding-top: 0;
  border-top: 0;
}

.details dt {
  color: var(--soft);
  font-weight: 750;
}

.details dd {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer nav {
  justify-content: flex-end;
}

@media (max-width: 820px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header,
  .site-footer,
  .feature-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 72px;
  }

  .page {
    padding: 54px 0 72px;
  }

  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.6rem;
  }

  .site-nav a {
    padding: 8px 9px;
  }

  .panel,
  .content-card,
  .feature-row {
    padding: 22px;
  }
}
