:root {
  --panel: #ffffff;
  --ink: #132238;
  --muted: #53657a;
  --line: #dbe8f5;
  --brand: #2358a6;
  --brand-dark: #173f79;
  --accent: #0f766e;
  --soft: #edf6ff;
  --soft-2: #effaf6;
  --shadow: 0 18px 48px rgba(19, 34, 56, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 88, 166, 0.14), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f8fbff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover, a:focus { color: var(--brand-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  color: var(--ink);
  font-weight: 850;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 82px 0 42px;
}

.hero-inner,
.content-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.hero-copy,
.section-heading p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(35, 88, 166, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}

.content-shell {
  padding: 34px 0;
}

.intro-grid,
.directory-grid,
.item-type-grid {
  display: grid;
  gap: 1rem;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.item-type-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.directory-card {
  min-height: 100%;
  padding: 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.07);
}

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.directory-card.strong {
  border-color: #cfe4ff;
  background: var(--soft);
}

.directory-card p,
.feature-card p {
  color: var(--muted);
}

.directory-card a,
.feature-card a {
  font-weight: 850;
}

.section-heading {
  margin-bottom: 1.1rem;
}

.study-steps {
  margin: 0;
  padding: 1.2rem 1.2rem 1.2rem 2.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.study-steps li {
  margin: 0.65rem 0;
}

.trust-section {
  padding-bottom: 72px;
}

.site-footer {
  padding: 32px 16px 48px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .intro-grid,
  .directory-grid,
  .item-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .intro-grid,
  .directory-grid,
  .item-type-grid {
    grid-template-columns: 1fr;
  }
}