:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #9aa8bd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8cf0ca;
  --surface: #101827;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #09101b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 12%, rgba(45, 124, 114, 0.32), transparent 32rem),
    linear-gradient(145deg, #09101b 0%, var(--surface) 58%, #0b1620 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(140, 240, 202, 0.5);
  border-radius: 11px;
  color: #07130f;
  background: var(--accent);
}

.nav-link,
footer a {
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 5px;
}

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

.nav-link:hover,
footer a:hover {
  color: var(--ink);
}

.hero {
  max-width: 900px;
  padding: clamp(96px, 14vw, 172px) 0 clamp(88px, 12vw, 148px);
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(58px, 9vw, 116px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.intro {
  max-width: 650px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding: 15px 19px;
  border-radius: 999px;
  color: #07130f;
  background: var(--accent);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 230px;
  padding: 32px;
}

.principles article + article {
  border-left: 1px solid var(--line);
}

.number {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

h2 {
  margin: 52px 0 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.principles p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 0 52px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    min-height: 78px;
  }

  .hero {
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

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

  .principles article {
    min-height: 180px;
  }

  .principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  h2 {
    margin-top: 32px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
