:root {
  color-scheme: dark;
  --background: #071521;
  --surface: #0b1d2b;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --text: #f4f7f9;
  --muted: #a9b7c2;
  --accent: #61dbc8;
  --line: rgba(255, 255, 255, 0.13);
  --content: 76rem;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 76% 10%, rgba(51, 171, 188, 0.18), transparent 30rem),
    linear-gradient(155deg, #071521 0%, #0a1b29 48%, #071521 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 3rem, var(--content));
  margin: 0 auto;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 21, 33, 0.76);
  backdrop-filter: blur(18px);
}

.wordmark {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.site-header nav a,
.profile-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.profile-links a:hover,
.profile-links a:focus-visible {
  color: var(--text);
}

main {
  width: min(100% - 3rem, var(--content));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.eyebrow,
.section-kicker,
.card-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 1.2rem 0 0;
  font-size: clamp(3.8rem, 9vw, 8.2rem);
  font-weight: 640;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.lede {
  max-width: 43rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.25vw, 1.55rem);
  line-height: 1.55;
}

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

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 3.15rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.actions a:hover,
.actions a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.actions .primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #041017;
  font-weight: 760;
}

.role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 2.3fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.section-copy h2 {
  max-width: 16ch;
  margin: 0 0 1.6rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-copy > p {
  max-width: 48rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.cards article {
  min-height: 17rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface-soft);
}

.cards h3 {
  margin: 3rem 0 0.8rem;
  font-size: 1.35rem;
}

.cards article p:last-child {
  margin: 0;
  color: var(--muted);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3rem, var(--content));
  margin: 0 auto;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }

@media (max-width: 52rem) {
  .section {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

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

  .cards article {
    min-height: auto;
  }
}

@media (max-width: 40rem) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    gap: 0.8rem;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .actions {
    flex-direction: column;
  }

  .actions a {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    gap: 0.3rem;
  }
}

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