:root {
  --bg: #ffffff;
  --bg-muted: #f6f7f9;
  --surface: #ffffff;
  --text: #1c2024;
  --text-soft: #565f6b;
  --accent: #3b5bdb;
  --accent-hover: #2f49b0;
  --border: #e6e8ec;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 14px;
  --maxw: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* Visible focus for keyboard users */
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(59, 91, 219, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  padding: clamp(4rem, 12vw, 7rem) 1.5rem clamp(3.5rem, 10vw, 6rem);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--text-soft);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero__name {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__tagline {
  margin: 0.75rem auto 2rem;
  max-width: 34ch;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-soft);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.01em;
}

.section__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--text-soft);
}

/* Cards */
.cards {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06),
    0 14px 34px rgba(16, 24, 40, 0.1);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card__body {
  margin: 0;
  color: var(--text-soft);
}

/* Footer */
.footer {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer__contact,
.footer__copy {
  margin: 0;
  color: var(--text-soft);
}

.footer__contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.footer__contact a:hover {
  text-decoration: underline;
}

/* Responsive: stack cards */
@media (max-width: 760px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

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