:root {
  color-scheme: dark;
  --ink: #effff9;
  --muted: #9bb9b0;
  --muted-strong: #bad0c9;
  --surface: rgba(12, 35, 32, 0.76);
  --surface-strong: #102d29;
  --line: rgba(193, 255, 231, 0.13);
  --line-strong: rgba(193, 255, 231, 0.24);
  --aqua: #60f3c0;
  --aqua-soft: #9cf9dc;
  --blue: #5fc7ef;
  --lime: #b9f27c;
  --deep: #071716;
  --deepest: #04100f;
  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 24px 80px rgba(0, 7, 7, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, #123f38 0, var(--deep) 32rem, var(--deepest) 70rem);
  background-size: 48px 48px, 48px 48px, auto;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.38));
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--aqua-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--deepest);
  background: var(--aqua-soft);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.42;
  pointer-events: none;
}

.page-glow--one {
  top: 7rem;
  right: -12rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(59, 218, 177, 0.15), transparent 68%);
}

.page-glow--two {
  top: 48rem;
  left: -14rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(52, 142, 180, 0.12), transparent 70%);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 236, 186, 0.4);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 5, 12, 0.28);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 31, 29, 0.6);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.social-link--placeholder {
  color: var(--muted);
  cursor: not-allowed;
}

.social-link__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--aqua-soft);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.social-link__icon-image {
  display: block;
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 36rem;
  padding-block: clamp(4.4rem, 12vw, 8.4rem) 3rem;
}

.hero::after {
  position: absolute;
  top: clamp(3rem, 8vw, 6rem);
  right: clamp(0rem, 5vw, 5rem);
  z-index: -1;
  width: clamp(12rem, 28vw, 20rem);
  aspect-ratio: 1;
  border: 1px solid rgba(126, 246, 210, 0.13);
  border-radius: 44% 56% 59% 41% / 50% 40% 60% 50%;
  background:
    radial-gradient(circle at 58% 29%, rgba(187, 255, 234, 0.65) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 19%, rgba(187, 255, 234, 0.4) 0 4px, transparent 5px),
    linear-gradient(145deg, rgba(81, 226, 188, 0.09), rgba(67, 153, 185, 0.04));
  box-shadow: inset 0 0 60px rgba(63, 210, 172, 0.05), 0 0 90px rgba(44, 160, 139, 0.06);
  content: "";
  transform: rotate(-8deg);
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--aqua-soft);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(185, 242, 124, 0.08);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 10vw, 7.3rem);
  font-weight: 860;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

h1 span {
  color: transparent;
  background: linear-gradient(95deg, var(--aqua-soft), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__description {
  max-width: 580px;
  margin-bottom: 2.25rem;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  line-height: 1.7;
}

.category-nav {
  display: flex;
  width: 100%;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.25rem 0.2rem 0.75rem;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(8, 26, 24, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.category-pill__icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--aqua-soft);
  background: rgba(96, 243, 192, 0.08);
}

.featured-section,
.resource-section {
  scroll-margin-top: 1.5rem;
}

.featured-section {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(126, 246, 210, 0.19);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(95, 199, 239, 0.1), transparent 28rem),
    linear-gradient(145deg, rgba(17, 56, 50, 0.92), rgba(7, 26, 25, 0.94));
  box-shadow: var(--shadow);
}

.featured-section::before {
  position: absolute;
  top: -6rem;
  right: -5rem;
  width: 17rem;
  height: 17rem;
  border: 1px solid rgba(164, 255, 225, 0.08);
  border-radius: 50%;
  content: "";
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading .section-kicker {
  max-width: 36rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.section-heading--featured .section-kicker {
  color: var(--aqua-soft);
}

.section-number {
  color: rgba(208, 255, 239, 0.23);
  font-size: clamp(2.4rem, 8vw, 5.25rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.featured-grid,
.resource-grid {
  display: grid;
  gap: 0.75rem;
}

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

.resource-directory {
  padding-block: clamp(4.5rem, 10vw, 8rem) 2rem;
}

.resource-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.resource-section .section-heading {
  align-self: start;
}

.resource-section .section-heading {
  flex-direction: column;
  align-items: flex-start;
}

.resource-section .section-number {
  order: -1;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

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

.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  min-height: 130px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a.resource-card:hover,
.category-pill:hover,
a.social-link:hover {
  border-color: var(--line-strong);
  background-color: rgba(20, 61, 55, 0.85);
}

a.resource-card:hover {
  transform: translateY(-2px);
}

.resource-card--featured {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: stretch;
  padding: 1.2rem;
  background: rgba(8, 30, 28, 0.67);
}

.resource-card--featured .resource-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.resource-card--featured .resource-card__meta {
  margin-bottom: auto;
}

.resource-card--featured .resource-card__title {
  margin-top: 2rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.resource-card--featured .resource-card__visual {
  width: 50px;
  height: 50px;
}

.resource-card__visual {
  display: grid;
  width: 54px;
  height: 54px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(139, 255, 218, 0.18);
  border-radius: 17px;
  color: var(--aqua-soft);
  background:
    linear-gradient(145deg, rgba(96, 243, 192, 0.12), rgba(95, 199, 239, 0.05));
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.resource-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card__copy {
  min-width: 0;
}

.resource-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.badge,
.availability {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge {
  color: var(--aqua-soft);
  background: rgba(94, 240, 190, 0.09);
}

.availability {
  color: #d5dec4;
  background: rgba(214, 227, 180, 0.08);
}

.resource-card__title {
  margin-bottom: 0.42rem;
  overflow-wrap: anywhere;
  font-size: 1.04rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.resource-card__description {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.resource-card__action {
  display: grid;
  align-self: start;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--aqua-soft);
  font-size: 0.94rem;
}

.resource-card--featured .resource-card__action {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
}

.resource-card--placeholder .resource-card__action {
  color: var(--muted);
  opacity: 0.45;
}

.noscript-card {
  margin-bottom: 4rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.noscript-card h2 {
  font-size: 1.3rem;
}

.noscript-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.data-error [data-featured-links]::before {
  color: var(--muted);
  content: "The resource list could not be loaded.";
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand p,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 236, 186, 0.32);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 5, 12, 0.22);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .resource-card--featured {
    min-height: 210px;
  }

  .resource-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-section .section-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .resource-section .section-heading > div {
    grid-column: 1;
  }

  .resource-section .section-number {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .site-header {
    padding-block: 0.75rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name,
  .social-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .social-link {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
  }

  .social-link__icon {
    border: 0;
  }

  .hero {
    min-height: auto;
    padding-block: 4.8rem 3.25rem;
  }

  .hero::after {
    top: 2.4rem;
    right: -4rem;
    width: 14rem;
    opacity: 0.76;
  }

  h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero__description {
    max-width: 34ch;
    margin-bottom: 1.7rem;
    font-size: 1rem;
  }

  .featured-section {
    padding: 1rem;
    border-radius: 23px;
  }

  .featured-section > .section-heading {
    padding: 0.5rem 0.35rem 0;
  }

  .section-number {
    font-size: 2.6rem;
  }

  .resource-directory {
    padding-top: 4rem;
  }

  .resource-section {
    padding-block: 3.7rem;
  }

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

  .resource-card {
    min-height: 124px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .back-to-top {
    justify-self: start;
  }
}

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