*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0f1419;
  --bg-elevated: #1a2332;
  --text: #e8ecf1;
  --text-muted: #8b9cb3;
  --accent: #4ecdc4;
  --accent-soft: rgba(78, 205, 196, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(78, 205, 196, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(78, 205, 196, 0.06), transparent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.8;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  margin-bottom: 4rem;
}

.logo {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
}

.logo-dot {
  color: var(--accent);
}

.main {
  flex: 1;
}

.hero {
  margin-bottom: 4rem;
}

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

.title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.title em {
  font-style: italic;
  color: var(--text-muted);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  border-color: rgba(78, 205, 196, 0.25);
  background: rgba(26, 35, 50, 0.8);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 1.25rem 2.5rem;
  }

  .header {
    margin-bottom: 3rem;
  }

  .hero {
    margin-bottom: 3rem;
  }
}
