:root {
  --bg-top: #f4f6fb;
  --bg-mid: #fbf8f4;
  --bg-bottom: #edf1fb;
  --text: #171a21;
  --muted: #596273;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 120% 72% at 50% -14%, rgba(255, 255, 255, 0.98), transparent 58%),
    linear-gradient(165deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
}

.explore-shell {
  max-width: 40rem;
  margin: 0 auto;
  padding: max(0.75rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
}

.explore-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.9rem;
  margin: 0.35rem 0 0.85rem;
}

.explore-nav a {
  color: #2f4780;
  font-weight: 650;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.explore-nav a:hover,
.explore-nav a:focus-visible {
  text-decoration: underline;
}

.explore-nav__sep {
  color: var(--muted);
}

.explore-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  letter-spacing: -0.03em;
}

.explore-lede {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.explore-group {
  margin: 0 0 1.15rem;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 34, 56, 0.08);
  scroll-margin-top: 0.75rem;
}

.explore-group h2 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
}

.explore-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.explore-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  background: rgba(244, 246, 251, 0.9);
  border: 1px solid rgba(22, 34, 56, 0.08);
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
}

.explore-links a:hover,
.explore-links a:focus-visible {
  background: #fff;
  outline: 2px solid rgba(67, 97, 200, 0.35);
  outline-offset: 1px;
}

.explore-footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem max(1.5rem, env(safe-area-inset-bottom));
  font-size: 0.9rem;
}

.explore-footer a {
  color: #2f4780;
  font-weight: 650;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.explore-footer a:hover,
.explore-footer a:focus-visible {
  text-decoration: underline;
}

.explore-footer__sep {
  color: var(--muted);
  margin: 0 0.4rem;
}

@media (max-width: 420px) {
  .explore-links {
    grid-template-columns: 1fr;
  }
}
