:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #111820;
  --bg-panel: #161f28;
  --bg-panel-2: #1a2430;
  --text: #f7fbff;
  --muted: #a7b3c2;
  --quiet: #758294;
  --line: rgba(139, 148, 158, 0.22);
  --line-strong: rgba(0, 82, 255, 0.42);
  --blue: #0052ff;
  --blue-2: #7aa2ff;
  --green: #00d4aa;
  --red: #ff5b5a;
  --amber: #ffa726;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(13, 17, 23, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #0d172d;
  border: 1px solid rgba(0, 82, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 4px rgba(0, 82, 255, 0.08), 0 0 22px rgba(0, 82, 255, 0.2);
  font-size: 17px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  display: none;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin-left: 32px;
  padding: 72px 0 86px;
}

.status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.status-row span,
.stage-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  color: #d9e5ff;
  background: rgba(0, 82, 255, 0.12);
  border: 1px solid rgba(0, 82, 255, 0.38);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.preview-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 76px;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-kicker,
.preview-subtitle {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-copy,
.preview-copy {
  max-width: 690px;
  margin: 18px 0 0;
  color: #d4deea;
  font-size: 18px;
}

.hero-state {
  margin: 16px 0 0;
  color: var(--blue-2);
  font-size: 15px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 34px rgba(0, 82, 255, 0.24);
}

.btn.primary:hover {
  background: #1f6bff;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.btn.secondary:hover {
  border-color: var(--line-strong);
}

.section {
  padding: 88px 32px;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section.muted,
.intro-band {
  background: var(--bg-soft);
}

.base-band {
  background:
    linear-gradient(180deg, rgba(0, 82, 255, 0.08), rgba(0, 82, 255, 0)),
    var(--bg);
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 56px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  color: var(--text);
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

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

.section p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.card-grid,
.timeline-grid {
  display: grid;
  gap: 16px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.stage-card {
  min-height: 230px;
  padding: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.feature-card h3,
.stage-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p {
  font-size: 14px;
}

.stage-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.stage-card li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
}

.stage-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--blue-2);
}

.stage-label {
  margin-bottom: 16px;
}

.stage-label.current {
  color: #d9fff7;
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.34);
}

.stage-label.next {
  color: #ffe8bd;
  background: rgba(255, 167, 38, 0.1);
  border-color: rgba(255, 167, 38, 0.34);
}

.stage-label.later {
  color: #ffd7d7;
  background: rgba(255, 91, 90, 0.1);
  border-color: rgba(255, 91, 90, 0.34);
}

.signal-list {
  display: grid;
  gap: 10px;
}

.signal-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.signal-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.signal-list strong {
  color: var(--text);
  font-size: 15px;
  text-align: right;
}

.callout {
  padding: 18px 20px;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.28);
  color: #d9e5ff !important;
  font-weight: 700;
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 30px;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-weight: 700;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--blue-2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  color: var(--muted);
  background: #090d12;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
}

.site-footer div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.preview-hero {
  padding: 86px 32px 64px;
  background:
    linear-gradient(180deg, rgba(0, 82, 255, 0.12), rgba(0, 82, 255, 0)),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.preview-subtitle {
  color: var(--blue-2);
}

.screenshot-stack {
  display: grid;
  gap: 28px;
}

.screenshot-card {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screenshot-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.screenshot-trigger picture {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #111820;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screenshot-hint {
  display: none;
}

.screenshot-card figcaption {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(320px, 0.68fr);
  gap: 18px;
  padding: 20px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.screenshot-card figcaption strong {
  color: var(--text);
  font-size: 18px;
}

.screenshot-card figcaption span {
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(3, 7, 12, 0.84);
  border: 0;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  max-height: min(820px, 92vh);
}

.lightbox-image {
  width: 100%;
  max-height: min(820px, 92vh);
  object-fit: contain;
  background: #111820;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(13, 17, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.lightbox-close:hover {
  border-color: var(--blue-2);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .card-grid.four,
  .timeline-grid,
  .two-column {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid.four .feature-card:last-child,
  .two-column > *:only-child {
    grid-column: auto;
  }

  .hero h1,
  .preview-hero h1 {
    font-size: 58px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: calc(100svh - 240px);
    align-items: flex-start;
  }

  .hero-content {
    width: auto;
    margin: 0 20px;
    padding: 44px 0 54px;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero h1,
  .preview-hero h1 {
    font-size: 44px;
    line-height: 1;
  }

  .hero-kicker,
  .preview-subtitle {
    font-size: 20px;
  }

  .hero-copy,
  .preview-copy {
    font-size: 16px;
  }

  .section,
  .preview-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section h2 {
    font-size: 30px;
  }

  .card-grid.four,
  .timeline-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-links {
    align-items: flex-start;
  }

  .screenshot-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: #d9e5ff;
    background: rgba(13, 17, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 750;
    pointer-events: none;
  }

  .screenshot-card figcaption {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 430px) {
  .site-nav a {
    padding: 0 9px;
    font-size: 13px;
  }

  .hero h1,
  .preview-hero h1 {
    font-size: 38px;
  }

  .btn {
    width: 100%;
  }

  .signal-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-list strong {
    text-align: left;
  }
}
