:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --panel-2: #111827;
  --line: #253247;
  --text: #e5eefb;
  --muted: #9fb0c7;
  --accent: #38bdf8;
  --green: #22c55e;
  --link: #7dd3fc;
}

* {
  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.55;
}

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

a:hover {
  text-decoration: underline;
}

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

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.hero {
  padding: 20px min(5vw, 64px) 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, var(--bg) 100%);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 44px;
}

.topbar a,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  background: rgba(15, 23, 42, 0.76);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.25fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.button.primary {
  border-color: rgba(56, 189, 248, 0.7);
  background: #075985;
}

.hero-shot,
.wide-shot {
  margin: 0;
}

.hero-shot img,
.wide-shot img,
.app-card img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1220;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 56px min(5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.section-heading.subsection {
  margin-top: 32px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.panel,
.readme-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.panel p,
.app-card p,
.timeline p,
.readme-panel p {
  color: var(--muted);
}

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

.app-card {
  display: grid;
  grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.app-card p {
  margin: 8px 0;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.timeline div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.timeline span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #0c4a6e;
  color: white;
  font-weight: 800;
}

.timeline p {
  margin: 0;
}

.readme-panel pre {
  overflow: auto;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #030712;
  padding: 18px;
}

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

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  color: white;
  background: var(--panel-2);
}

td {
  color: var(--muted);
}

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

@media (max-width: 980px) {
  .hero-grid,
  .grid.three,
  .app-grid,
  .app-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-content: flex-start;
  }
}
