:root {
  --bg: #07090d;
  --surface: #0d1117;
  --surface-2: #111821;
  --line: rgba(244, 246, 251, 0.12);
  --line-strong: rgba(244, 246, 251, 0.22);
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.66);
  --quiet: rgba(244, 246, 251, 0.44);
  --green: #34e39b;
  --pink: #ff5a7e;
  --yellow: #ffd84f;
  --blue: #7aa2f7;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(122, 162, 247, 0.7);
  text-underline-offset: 3px;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--blue);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: #05070a;
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.wordmark img {
  width: 26px;
  height: 26px;
}

.wordmark-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wordmark-copy strong {
  font-size: 16px;
  letter-spacing: 0;
}

.wordmark-copy span {
  margin-top: 4px;
  color: var(--quiet);
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.live-link,
.primary-link,
.secondary-link {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.live-link,
.primary-link {
  background: var(--text);
  color: #07090d;
  border: 1px solid var(--text);
}

.live-link:hover,
.primary-link:hover {
  color: #07090d;
  background: #ffffff;
}

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

.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 227, 155, 0.7);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumbs {
  padding-top: 28px;
  color: var(--quiet);
  font-size: 12px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(244, 246, 251, 0.24);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 82px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.compact .hero-inner {
  min-height: 430px;
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: 64px;
  font-weight: 880;
}

h2 {
  font-size: 34px;
  font-weight: 820;
}

h3 {
  font-size: 18px;
  font-weight: 780;
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-line {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.proof-line li {
  position: relative;
  padding-left: 14px;
}

.proof-line li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.product-visual {
  padding: 0 0 64px;
  border-bottom: 1px solid var(--line);
}

.product-visual figure {
  width: min(var(--max), calc(100% - 40px));
  margin: -36px auto 0;
}

.product-visual img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

figcaption {
  margin-top: 12px;
  color: var(--quiet);
  font-size: 12px;
}

.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p,
.prose p {
  color: var(--muted);
}

.section-head p {
  margin: 16px 0 0;
  font-size: 18px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 58px;
  margin-bottom: 18px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 36px;
  margin-bottom: 10px;
}

.prose p,
.prose li {
  font-size: 16px;
}

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

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.aside-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.aside-note span {
  display: block;
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.aside-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.market-grid.single {
  max-width: 760px;
  grid-template-columns: minmax(0, 1fr);
}

.feature,
.market-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature .num {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.feature p,
.market-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.comparison th {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.comparison td {
  color: var(--muted);
  font-size: 14px;
}

.comparison td:first-child {
  color: var(--text);
  font-weight: 750;
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline-step {
  min-height: 148px;
  padding: 20px;
  background: var(--surface);
}

.timeline-step span {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline-step strong {
  display: block;
  margin-top: 26px;
  font-size: 18px;
}

.timeline-step p {
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 750;
}

.spec-list dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.callout {
  padding: 28px;
  border-left: 3px solid var(--yellow);
  background: var(--surface);
}

.callout strong {
  display: block;
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.market-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.market-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.market-card h2,
.market-card h3 {
  margin-top: 32px;
}

.market-card .market-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.faq {
  max-width: 860px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 21px 36px 21px 0;
  position: relative;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 2px;
  color: var(--quiet);
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  max-width: 700px;
  margin: -4px 0 22px;
  color: var(--muted);
}

.article-meta {
  margin-top: 26px;
  color: var(--quiet);
  font-size: 12px;
}

.source-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.site-footer {
  padding: 42px 0 54px;
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-copy p {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a {
  text-decoration: none;
}

.risk-note {
  margin-top: 22px;
  color: var(--quiet);
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-links a:not(.live-link) {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-grid,
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .nav-wrap,
  .shell,
  .hero-inner,
  .product-visual figure,
  .footer-grid {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 58px;
  }

  .wordmark-copy span {
    display: none;
  }

  .live-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-inner,
  .hero.compact .hero-inner {
    min-height: 430px;
    padding: 58px 0 42px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .lede {
    font-size: 18px;
  }

  .product-visual {
    padding-bottom: 46px;
  }

  .product-visual figure {
    margin-top: -24px;
  }

  .product-visual img {
    aspect-ratio: 4 / 3;
  }

  .section {
    padding: 56px 0;
  }

  .feature-grid,
  .market-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 180px;
  }

  .comparison-wrap {
    overflow-x: auto;
  }

  .comparison {
    min-width: 660px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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