:root {
  color-scheme: dark;
  --background: #07111f;
  --surface: #101d2f;
  --surface-hover: #14243a;
  --text: #f7f9fc;
  --muted: #aebcd0;
  --accent: #74d7c4;
  --accent-dark: #062d2a;
  --line: rgba(255, 255, 255, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, rgba(116, 215, 196, 0.14), transparent 30rem),
    radial-gradient(circle at 0 85%, rgba(93, 129, 224, 0.12), transparent 30rem),
    var(--background);
}

a { color: inherit; }

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

.shell {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--background);
  background: var(--accent);
  border-radius: 0.6rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

nav ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover { color: var(--text); }

.hero {
  display: grid;
  min-height: calc(100vh - 11rem);
  align-content: center;
  padding: 4rem 0 7rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

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

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

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

.button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.button.primary:hover {
  border-color: #9de8da;
  background: #9de8da;
}

.info-grid {
  display: grid;
  gap: 1rem;
  padding-bottom: 7rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(16, 29, 47, 0.72);
}

.card h2 { margin: 0 0 0.55rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; }
.card a { color: var(--accent); font-weight: 700; }

.page { max-width: 48rem; padding: 4rem 0 7rem; }
.page h1 { max-width: none; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.page h2 { margin-top: 2.5rem; }
.page p, .page li { color: var(--muted); line-height: 1.7; }
.page a { color: var(--accent); }
.updated { margin-top: 1rem; font-size: 0.9rem; }

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.footer-links { display: flex; gap: 1.25rem; }

@media (min-width: 42rem) {
  .shell { width: min(100% - 4rem, 70rem); }
  nav ul { gap: 1.5rem; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 2rem; }
}

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