:root {
  color-scheme: dark;
  --bg: #02090a;
  --panel: #071415;
  --panel-2: #0b1f21;
  --text: #f3fbfb;
  --muted: #adc0c1;
  --line: rgba(0, 190, 191, 0.24);
  --brand: #00bebf;
  --brand-2: #46e0d7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--brand-2);
}

.nav-cta,
.primary,
.secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 800;
}

.nav-cta,
.primary {
  background: var(--brand);
  color: #001011;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  padding: 72px 0 42px;
}

.eyebrow {
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 740px;
  color: var(--muted);
  font-size: 19px;
  margin: 22px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.summary-panel {
  align-self: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.summary-panel h2,
.faq h2,
.related h2 {
  margin-top: 0;
}

.summary-panel ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0 36px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0 36px;
}

article,
.faq,
.related,
.longform {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 22px;
}

article h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

article h2 a {
  color: var(--text);
  text-decoration: none;
}

article h2 a:hover {
  color: var(--brand-2);
}

.longform {
  margin-top: 48px;
  padding: clamp(22px, 4vw, 44px);
}

.longform h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.longform section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
  padding-top: 24px;
}

article p,
.faq p,
footer p {
  color: var(--muted);
}

.faq,
.related {
  margin: 18px 0;
}

details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

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

.related a {
  color: var(--brand-2);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
}

footer {
  padding: 34px 0 48px;
}

footer nav {
  margin-top: 14px;
}

.updated {
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header,
  .hero {
    align-items: flex-start;
  }

  .site-header,
  .hero,
  .content-grid,
  .article-list,
  .related div {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    padding: 18px 0;
  }

  h1 {
    font-size: 42px;
  }
}
