:root {
  --night: #0a0a0e;
  --night-soft: #15131a;
  --paper: #f4f0e8;
  --paper-deep: #e9e2d6;
  --ink: #19171b;
  --ink-soft: #615b61;
  --line: rgba(25, 23, 27, 0.14);
  --line-dark: rgba(255, 255, 255, 0.13);
  --white: #fffdf8;
  --orange: #f97316;
  --orange-bright: #fb923c;
  --orange-soft: #fed7aa;
  --violet: #a78bfa;
  --green: #34d399;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--orange-soft);
  color: var(--ink);
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(10, 10, 14, 0.88);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.site-header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  box-shadow: 0 7px 20px rgba(249, 115, 22, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--line-dark);
}

.publication {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 600;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: #fff;
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.blog-hero,
.article-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.blog-hero::before,
.article-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -30%;
  background:
    radial-gradient(circle at 17% 20%, rgba(249, 115, 22, 0.42), transparent 32%),
    radial-gradient(circle at 82% 62%, rgba(139, 92, 246, 0.29), transparent 33%),
    radial-gradient(circle at 48% 120%, rgba(249, 115, 22, 0.12), transparent 38%);
}

.blog-hero::after,
.article-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.blog-hero-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 590px;
  margin: 0 auto;
  padding: 112px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 80px;
  align-items: end;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--orange-bright);
}

.blog-hero h1 {
  max-width: 790px;
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.blog-hero h1 em {
  color: var(--orange-soft);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-note {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-note p {
  max-width: 35ch;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.hero-note a {
  display: inline-flex;
  margin-top: 22px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note a::after {
  content: '↗';
  margin-left: 8px;
  color: var(--orange-bright);
}

.section-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.latest {
  padding: 90px 0 112px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

.post-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 42px;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.post-meta {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.post-meta span {
  display: block;
  margin-top: 7px;
  color: rgba(25, 23, 27, 0.45);
  font-weight: 500;
  text-transform: none;
}

.post-card h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.post-card h2 a {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 250ms ease;
}

.post-card:hover h2 a {
  background-size: 100% 2px;
}

.post-card p {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.post-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.post-card:hover .post-arrow {
  transform: translate(3px, -3px);
  background: var(--ink);
  color: var(--white);
}

.pillars {
  padding: 74px 0 84px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-index {
  display: block;
  margin-bottom: 56px;
  color: rgba(25, 23, 27, 0.4);
  font-family: var(--display);
  font-size: 12px;
}

.pillar h3 {
  margin-bottom: 11px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.pillar p {
  max-width: 34ch;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

.article-hero-inner {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 96px;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.65);
}

.article-hero h1 {
  max-width: 1000px;
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: clamp(50px, 7.4vw, 92px);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.article-dek {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.45;
}

.article-byline {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.author-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.article-byline strong {
  color: #fff;
  font-weight: 600;
}

.article-byline .dot {
  color: rgba(255, 255, 255, 0.28);
}

.article-shell {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 104px;
  display: grid;
  grid-template-columns: 190px minmax(0, 700px);
  gap: 84px;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 30px;
}

.article-aside-label {
  margin-bottom: 16px;
  color: rgba(25, 23, 27, 0.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-aside nav {
  display: grid;
  gap: 12px;
}

.article-aside a {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.3;
  transition: color 150ms ease;
}

.article-aside a:hover {
  color: var(--orange);
}

.article-aside-rule {
  width: 42px;
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.rss-link {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rss-link:hover {
  color: var(--orange);
}

.prose {
  min-width: 0;
}

.prose > p:first-child {
  font-size: 22px;
  line-height: 1.7;
}

.prose p,
.prose li {
  color: #332f34;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.78;
}

.prose p + p {
  margin-top: 24px;
}

.prose h2 {
  margin: 70px 0 22px;
  scroll-margin-top: 30px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.prose h3 {
  margin: 44px 0 14px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.prose em {
  color: #201d21;
}

.prose strong {
  color: #151216;
  font-weight: 700;
}

.prose blockquote {
  margin: 44px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--orange);
}

.prose blockquote p {
  color: var(--ink);
  font-size: 25px;
  font-style: italic;
  line-height: 1.5;
}

.prose ol,
.prose ul {
  margin: 24px 0 30px 24px;
}

.prose li {
  padding-left: 7px;
  margin-bottom: 12px;
}

.prose a {
  color: #9a4310;
  text-decoration: underline;
  text-decoration-color: rgba(154, 67, 16, 0.35);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.article-note {
  margin: 54px 0;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.article-note .note-label {
  display: block;
  margin-bottom: 8px;
  color: #a34812;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-note p {
  font-size: 18px;
  line-height: 1.65;
}

.article-end {
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-end p {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.article-end a {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.closing-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: var(--night-soft);
  color: var(--white);
}

.closing-cta::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -100px;
  bottom: -260px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(85px);
  opacity: 0.2;
}

.closing-cta-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.closing-cta h2 {
  max-width: 650px;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.closing-cta p {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--serif);
  font-size: 19px;
}

.button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  color: #fff;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--night);
  color: rgba(255, 255, 255, 0.48);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}

.site-footer nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .blog-hero-inner {
    min-height: auto;
    padding: 90px 0 72px;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-note {
    max-width: 520px;
  }

  .post-card {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 28px;
  }

  .post-arrow {
    display: none;
  }

  .pillar-grid {
    gap: 24px;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-aside {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header-inner,
  .section-wrap,
  .blog-hero-inner,
  .article-hero-inner,
  .article-shell,
  .site-footer-inner,
  .closing-cta-inner {
    width: min(100% - 32px, 1180px);
  }

  .site-header-inner {
    min-height: 62px;
  }

  .brand-divider,
  .publication,
  .nav-cta {
    display: none;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .latest {
    padding: 64px 0 80px;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .post-meta span {
    display: inline;
    margin-left: 8px;
  }

  .post-card h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .pillar-index {
    margin-bottom: 18px;
  }

  .article-hero-inner {
    padding: 64px 0 72px;
  }

  .article-byline {
    align-items: flex-start;
  }

  .article-byline .dot {
    display: none;
  }

  .article-byline-text {
    display: grid;
  }

  .article-shell {
    padding: 58px 0 76px;
  }

  .prose > p:first-child,
  .prose p,
  .prose li {
    font-size: 18px;
  }

  .prose blockquote {
    margin-left: 0;
  }

  .prose blockquote p {
    font-size: 22px;
  }

  .article-note {
    padding: 24px;
  }

  .article-end,
  .closing-cta-inner,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

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

/* Comparison article */
.comparison-hero .article-hero-inner {
  max-width: 1040px;
}

.comparison-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7.4vw, 92px);
}

.comparison-cover {
  width: min(1080px, calc(100% - 48px));
  margin: -54px auto 74px;
  position: relative;
  z-index: 4;
}

.comparison-cover img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(10, 10, 14, 0.28);
}

.fact-note {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.disclosure {
  margin: 38px 0 48px;
  padding: 20px 22px;
  border: 1px solid rgba(25, 23, 27, 0.13);
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 44px;
}

.choice-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
}

.choice-ariv {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(254, 215, 170, 0.2);
}

.choice-obsidian {
  border-color: rgba(139, 92, 246, 0.28);
}

.choice-label {
  display: block;
  margin-bottom: 9px;
  color: #7b7178;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.choice-card h3 {
  margin: 0 0 18px;
  font-size: 25px;
}

.choice-card ul {
  margin: 0 0 0 18px;
}

.choice-card li {
  margin-bottom: 9px;
  padding-left: 2px;
  font-size: 15px;
  line-height: 1.55;
}

.comparison-table-wrap {
  margin: 34px 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.comparison-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  color: #332f34;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.comparison-table th,
.comparison-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: rgba(25, 23, 27, 0.055);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table thead th:nth-child(2) {
  color: #9a4310;
}

.comparison-table tbody th {
  width: 20%;
  color: var(--ink);
  font-weight: 700;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  color: var(--ink-soft) !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.source-list a {
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .comparison-cover {
    margin-top: -34px;
    margin-bottom: 54px;
  }
}

@media (max-width: 640px) {
  .comparison-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .comparison-cover {
    width: calc(100% - 28px);
    margin-top: -24px;
    margin-bottom: 42px;
  }

  .comparison-cover img {
    border-radius: 12px;
  }

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

  .choice-card {
    padding: 23px;
  }
}
