:root {
  --background: #0b1020;
  --surface: #11182c;
  --text: #f4f7ff;
  --muted: #aeb9d3;
  --accent: #70e1c2;
  --accent-dark: #092e29;
  --line: rgba(174, 185, 211, 0.18);
  --max-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 15%, rgba(112, 225, 194, 0.12), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: 0.25rem;
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header,
main,
footer {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.menu {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
}

.menu a,
footer a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.menu a:hover,
footer a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  min-height: calc(100vh - 5.5rem);
  align-content: center;
  padding-block: 6rem;
}

.eyebrow,
.section-number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin-top: 0.5rem;
  font-size: clamp(3.25rem, 11vw, 7rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-description {
  max-width: 42rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-dark);
}

.button-primary:hover {
  background: #9af0d8;
}

.button-secondary {
  color: var(--accent);
}

.button-secondary:hover {
  background: rgba(112, 225, 194, 0.08);
}

.content-section {
  display: grid;
  grid-template-columns: minmax(2.5rem, 0.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-block: clamp(4rem, 10vw, 7rem);
}

.content-section > div {
  max-width: 43rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.content-section p:not(.section-number) {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 0.3rem;
}

footer {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .site-header {
    min-height: 4.75rem;
  }

  .menu {
    gap: 0.9rem;
  }

  .menu a {
    font-size: 0.82rem;
  }

  .hero {
    min-height: calc(100vh - 4.75rem);
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  footer {
    gap: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
