:root {
  color-scheme: dark;
  --ink: #f6fbfb;
  --muted: #a9bcc0;
  --dark: #071012;
  --line: rgba(214, 236, 238, 0.16);
  --cyan: #43d9e8;
  --green: #75d38a;
  --paper: #f5f8f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(67, 217, 232, 0.16), transparent 30rem),
    radial-gradient(circle at 12% 36%, rgba(117, 211, 138, 0.12), transparent 30rem),
    #071012;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(211, 232, 234, 0.12);
  background: rgba(7, 16, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
}

.nav {
  gap: clamp(14px, 2vw, 26px);
  color: rgba(246, 251, 251, 0.76);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover {
  color: #fff;
}

.primary-cta,
.secondary-cta {
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-cta {
  padding: 0 16px;
  color: #071012;
  background: #f7fbfb;
}

.secondary-cta {
  padding: 0 14px;
  color: #e9fbfb;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 58px);
}

.hero-inner,
.article,
.cta,
.related {
  width: min(980px, 100%);
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #aaf3ec;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  color: #d0e1e4;
  font-size: clamp(1.05rem, 1.55vw, 1.34rem);
  line-height: 1.65;
}

.hero-image {
  width: min(980px, 100%);
  margin: 34px auto 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.hero-image img,
.inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article {
  color: #102023;
  background: var(--paper);
  border-radius: 8px 8px 0 0;
  padding: clamp(30px, 5vw, 58px);
}

.article h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.article h3 {
  margin: 24px 0 8px;
  font-size: 1.28rem;
}

.article p,
.article li {
  color: #526467;
  font-size: 1.02rem;
  line-height: 1.76;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.inline-image {
  margin: 28px 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(16, 32, 35, 0.12);
  background: #071012;
}

.callout {
  margin: 28px 0;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(31, 108, 114, 0.18);
  background: rgba(67, 217, 232, 0.08);
}

.callout strong {
  color: #102023;
}

.source-list a {
  color: #176971;
  font-weight: 850;
}

.related {
  padding: 44px clamp(18px, 4vw, 56px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.related-card span {
  color: #8fe8e7;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 42px clamp(18px, 4vw, 56px) 64px;
  border-top: 1px solid var(--line);
}

.cta h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.cta p {
  margin: 0;
  color: #c7dadd;
  line-height: 1.65;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  color: #9fb4b7;
  border-top: 1px solid rgba(214, 236, 238, 0.12);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 800;
}

@media (max-width: 780px) {
  .site-header {
    height: 64px;
    padding-inline: 14px;
  }

  .brand span,
  .nav a:not(.primary-cta) {
    display: none;
  }

  .article {
    border-radius: 0;
  }

  .related-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}
