:root {
  --bg: #19191a;
  --surface: #262629;
  --surface-soft: #2c2d2f;
  --accent: #0077ff;
  --button-hover: #eeeeee;
  --text: #e7e8ea;
  --muted: #e7e8ea;
  --subtle: #a3a8b3;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  --page-width: 1150px;
  --content-width: 856px;
  --radius-md: 12px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-variablefont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 350;
  line-height: 24px;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #060607;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: clip;
  background: rgba(25, 25, 26, 0.94);
  backdrop-filter: blur(18px);
}

.site-header-inner,
.page-inner {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  min-width: 0;
  flex-wrap: nowrap;
}

.site-logo {
  flex: 0 0 auto;
  width: 200px;
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #060607;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.site-header-cta:hover,
.site-header-cta:focus-visible {
  background: var(--button-hover);
}

.site-header-cta:active {
  background: #e7e7e7;
}

.page-inner {
  padding: 48px 0 44px;
}

.page-hero,
.content-section {
  width: min(100%, var(--content-width));
}

.page-hero {
  margin-bottom: 56px;
}

.page-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.page-back:hover,
.page-back:focus-visible {
  color: var(--text);
  text-decoration-color: currentColor;
}

.blog-footer {
  width: min(100%, var(--content-width));
  margin-top: 60px;
}

.blog-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.blog-footer .page-back {
  margin: 0;
}

.page-title {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: 0;
}

.page-lead {
  margin: 0;
  max-width: 708px;
  font-size: 20px;
  font-weight: 350;
  line-height: 28px;
  color: var(--text);
}

.content-section + .content-section {
  margin-top: 48px;
}

.section-title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.section-subtitle {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 400;
  line-height: 36px;
}

.eyebrow-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.note-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  color: var(--text);
}

.section-text,
.section-list,
.comparison-card figcaption,
.caption-note,
.media-note,
.note-card p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 350;
  line-height: 24px;
}

.section-text-muted,
.comparison-card figcaption,
.caption-note,
.media-note,
.bullet-list,
.note-card p {
  color: var(--muted);
}

.section-copy > * + *,
.section-stack > * + * {
  margin-top: 20px;
}

.content-section > .section-text + .section-copy,
.content-section > .section-copy:first-of-type {
  margin-top: 28px;
}

.content-section > .section-copy + .section-copy {
  margin-top: 40px;
}

.media-card {
  margin: 20px 0 0;
}

.media-card img,
.comparison-card img {
  border-radius: 24px;
  background: var(--surface-soft);
}

.media-card-shadow img {
  box-shadow: none;
}

.media-card-top {
  margin-top: 20px;
}

.section-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #060607;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.site-header-cta,
.section-button {
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.article-cta {
  width: min(100%, var(--content-width));
  margin-top: 72px;
  padding: 32px;
  border-radius: 28px;
  background: var(--surface-soft);
}

.article-cta .section-title {
  max-width: 650px;
}

.article-cta .section-text {
  max-width: 650px;
}

.section-button:hover,
.section-button:focus-visible {
  background: var(--button-hover);
}

.section-button:active {
  background: #e7e7e7;
}

.section-list {
  padding-left: 22px;
}

.media-card + .section-list {
  margin-top: 20px;
}

.section-list li + li {
  margin-top: 4px;
}

.section-list-spaced li + li {
  margin-top: 10px;
}

.section-text-after-list {
  margin-top: 20px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.comparison-card {
  margin: 0;
}

.comparison-card figcaption {
  margin-top: 14px;
}

.comparison-grid-wide .comparison-card img {
  border-radius: 26px;
}

.note-card {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.note-card p {
  margin-top: 8px;
}

.footer-gap {
  height: 0;
}

@media (max-width: 1080px) {
  .site-header-inner {
    min-height: auto;
    padding: 14px 0;
    gap: 16px;
  }

  .page-inner {
    padding-top: 36px;
    padding-bottom: 32px;
  }
}

@media (max-width: 820px) {
  .site-header-inner,
  .page-inner {
    width: min(calc(100% - 30px), var(--page-width));
  }

  .site-logo {
    width: 176px;
  }

  .site-header-inner {
    gap: 14px;
    min-height: 70px;
  }

  .site-header-cta {
    padding: 9px 14px;
    font-size: 17px;
    line-height: 24px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content-section > .section-text + .section-copy,
  .content-section > .section-copy:first-of-type {
    margin-top: 24px;
  }

  .content-section > .section-copy + .section-copy {
    margin-top: 32px;
  }

  .media-card img,
  .comparison-card img {
    border-radius: 24px;
  }

  .page-title {
    font-size: 34px;
    line-height: 40px;
  }

  .page-lead {
    font-size: 20px;
    line-height: 28px;
  }

  .section-title {
    font-size: 30px;
    line-height: 38px;
  }

  .section-subtitle {
    font-size: 24px;
    line-height: 32px;
  }

  .article-cta {
    margin-top: 56px;
    padding: 24px;
    border-radius: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
