:root {
  --bg-soft: #e1f5fe;
  --bg-strong: #c6e7fb;
  --primary: #03a9f4;
  --primary-ink: #01579b;
  --ink: #0b1b2b;
  --muted: #2b3b4d;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 60px rgba(1, 87, 155, 0.18);
  --shadow-lg: 0 32px 80px rgba(1, 87, 155, 0.24);
  --radius: 18px;
  color-scheme: light;
}

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

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(
    140deg,
    var(--bg-soft) 0%,
    var(--bg-strong) 28%,
    #b3e5fc 55%,
    var(--bg-soft) 100%
  );
}

a {
  color: var(--primary-ink);
}

.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
}

.bg-orb--1 {
  width: 75vw;
  height: 75vw;
  background: radial-gradient(circle, rgba(3, 169, 244, 0.38) 0%, transparent 70%);
  filter: blur(70px);
  top: -20%;
  right: -15%;
  animation: orb-drift 14s ease-in-out infinite;
}

.bg-orb--2 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.32) 0%, transparent 70%);
  filter: blur(60px);
  bottom: -10%;
  left: -15%;
  animation: orb-drift 17s ease-in-out infinite reverse;
  animation-delay: -4s;
}

.bg-orb--3 {
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(1, 87, 155, 0.18) 0%, transparent 70%);
  filter: blur(55px);
  top: 38%;
  right: 18%;
  animation: orb-drift 20s ease-in-out infinite;
  animation-delay: -9s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -50px) scale(1.06);
  }

  66% {
    transform: translate(-25px, 28px) scale(0.96);
  }
}

.page {
  position: relative;
  overflow-x: hidden;
  padding-bottom: 64px;
}

.shell {
  max-width: 1200px;
  padding: 32px 22px;
  margin: 0 auto;
}

.topnav-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 6px 0;
  background: rgba(220, 242, 254, 0.82);
  box-shadow: 0 1px 0 rgba(1, 87, 155, 0.1), 0 4px 24px rgba(1, 87, 155, 0.07);
  -webkit-backdrop-filter: blur(22px) saturate(1.9);
  backdrop-filter: blur(22px) saturate(1.9);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.topnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
}

.topnav__link,
.footer__link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav__link:hover,
.footer__link:hover {
  color: var(--primary-ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(3, 169, 244, 0.14);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pill--brand {
  gap: 8px;
}

.pill--soft {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(1, 87, 155, 0.12);
}

.pill__icon {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 5px;
}

.articles-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: clamp(42px, 8vw, 92px);
  padding-bottom: 36px;
}

.articles-hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
}

.lede {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

.articles-hero__badge {
  width: min(240px, 24vw);
  min-width: 168px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid rgba(1, 87, 155, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
}

.articles-hero__badge img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: block;
  box-shadow: 0 16px 40px rgba(1, 87, 155, 0.18);
}

.articles-hero__badge span {
  color: var(--primary-ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-top: 34px;
  padding-bottom: 48px;
}

.articles-card {
  min-height: 430px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(1, 87, 155, 0.12);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.noscript {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #4fc3f7 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.logo-mark__icon {
  width: 24px;
  height: 24px;
  display: block;
}

.footer p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-self: end;
}

.creator-credit {
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: color-mix(in srgb, var(--muted), transparent 22%);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.creator-credit__icon {
  width: 24px;
  height: 12px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .articles-hero {
    grid-template-columns: 1fr;
  }

  .articles-hero__badge {
    width: 160px;
    min-width: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer__links {
    justify-self: start;
  }

  .creator-credit {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .topnav,
  .topnav__links {
    justify-content: flex-start;
  }

  .articles-card {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
