:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #121621;
  --surface-2: #171d29;
  --text: #ffffff;
  --muted: #a9b0c0;
  --border: #2a3242;
  --accent: #f47a0a;
  --accent-strong: #ff941f;
  --blue: #6f97ff;
  --success: #2eea7a;
  --warning: #ffb020;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--blue);
}

a:hover {
  color: #a8beff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--warning);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.96);
}

.nav,
.section-inner,
.legal-main,
.site-footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand span {
  color: var(--accent-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 68px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-shot {
  position: absolute;
  z-index: 0;
  right: clamp(-90px, 3vw, 36px);
  top: 34px;
  width: min(48vw, 520px);
  height: calc(100% - 68px);
  object-fit: contain;
  object-position: center top;
  opacity: 0.38;
  filter: saturate(0.9) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 13, 16, 0.3);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 76px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 30px;
  color: #d1d6e0;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #130b04;
  text-decoration: none;
  font-weight: 800;
}

.button:hover {
  background: var(--accent-strong);
  color: #130b04;
}

.button.secondary {
  border-color: var(--border);
  background: rgba(18, 22, 33, 0.92);
  color: var(--text);
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}

.section.alt {
  background: #0f1218;
}

.section-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.section h2,
.legal-main h1 {
  margin-bottom: 12px;
  font-size: 34px;
}

.section-head p,
.legal-lead,
.muted {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature-mark {
  width: 36px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.feature:nth-child(2) .feature-mark {
  background: var(--blue);
}

.feature:nth-child(3) .feature-mark {
  background: var(--success);
}

.feature:nth-child(4) .feature-mark {
  background: var(--warning);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.support-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 38px;
  align-items: start;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-link {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
}

.support-link:hover {
  border-color: #505c73;
  color: var(--text);
}

.legal-main {
  max-width: 850px;
  padding-top: 70px;
  padding-bottom: 90px;
}

.legal-main h1 {
  font-size: 44px;
}

.legal-main h2 {
  margin-top: 42px;
  font-size: 24px;
}

.legal-main h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-main p,
.legal-main li {
  color: #c2c8d4;
}

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.legal-main th,
.legal-main td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-main th {
  background: var(--surface-2);
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--warning);
  background: #17181a;
  color: #e8e1d4;
}

.site-footer {
  padding: 34px 0;
  background: #080a0d;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shot {
    right: -130px;
    width: 620px;
    opacity: 0.25;
  }
}

@media (max-width: 680px) {
  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    padding: 64px 0 88px;
  }

  .hero-shot {
    right: -205px;
    top: 86px;
    width: 590px;
    height: 610px;
    opacity: 0.18;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .feature-grid,
  .support-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .legal-main {
    padding-top: 48px;
  }

  .legal-main h1 {
    font-size: 36px;
  }

  .legal-main table {
    display: block;
    overflow-x: auto;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
