:root {
  color-scheme: dark;
  --ink: #f4f8f7;
  --muted: rgba(244, 248, 247, 0.74);
  --soft: rgba(244, 248, 247, 0.58);
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(9, 20, 26, 0.68);
  --panel-light: rgba(255, 255, 255, 0.10);
  --accent: #f0a36c;
  --mint: #8fd8c8;
  --bg: #08121f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 12, 18, 0.10), #08121f 78%),
    url("./assets/hero.png") center top / cover fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: rgba(5, 10, 14, 0.42);
  backdrop-filter: blur(2px);
}

a {
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.brand span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 98px);
  display: grid;
  align-items: center;
  padding: 24px 0 76px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.button.primary {
  color: #20130d;
  border: 0;
  background: linear-gradient(135deg, #f08b62, #ffbe98);
  font-weight: 700;
}

.section {
  padding: 68px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-light), var(--panel));
  backdrop-filter: blur(18px);
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card p,
.doc p,
.doc li {
  color: var(--muted);
  line-height: 1.72;
}

.doc {
  max-width: 820px;
  padding: 56px 0 86px;
}

.doc h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.doc h2 {
  margin-top: 38px;
  font-size: 22px;
}

.doc ul {
  padding-left: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 42px;
  color: var(--soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .page {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
