:root {
  --bg: #0d1120;
  --bg-soft: #141a2e;
  --card: #171e35;
  --line: #26304f;
  --ink: #e8edfb;
  --muted: #9aa7c7;
  --blue: #2b8cff;
  --teal: #22d3c5;
  --violet: #8b5cf6;
  --grad: linear-gradient(90deg, #2b8cff 0%, #22d3c5 50%, #8b5cf6 100%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 17, 32, .86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* min-height, not height: the nav wraps on a narrow screen, and a fixed height would let it run
   out of the bar. */
header.top .wrap {
  display: flex; align-items: center; gap: 20px; min-height: 74px; padding: 8px 0;
}
header.top img { height: 55px; }
header.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
header.top nav a { color: var(--muted); font-size: 15px; }
header.top nav a:hover { color: var(--ink); text-decoration: none; }

.hero { padding: 72px 0 48px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 0 0 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 auto 28px; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 9px; font-weight: 600;
  border: 1px solid var(--line); color: var(--ink);
}
.btn:hover { text-decoration: none; border-color: var(--teal); }
.btn.primary { background: var(--grad); color: #06101f; border: none; }

pre.run {
  margin: 30px auto 0; max-width: 760px; text-align: left; overflow-x: auto;
  background: #0a0e1b; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; font-size: 13.5px; color: #cdd7f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
pre.run .c { color: #6b7ba6; }

.engines { padding: 34px 0 8px; }
.engines h2, section h2 { font-size: 26px; margin: 0 0 6px; }
.engines p.sub, section p.sub { color: var(--muted); margin: 0 0 22px; }
.engine-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.engine {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.engine img { width: 26px; height: 26px; }
.engine span { font-size: 14px; }

section { padding: 44px 0; border-top: 1px solid var(--line); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

figure { margin: 22px 0 0; }
figure img {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; display: block;
}
figure figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

.shots { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

table.compare {
  width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 18px;
  display: block; overflow-x: auto; white-space: nowrap;
}
table.compare th, table.compare td {
  border: 1px solid var(--line); padding: 9px 12px; text-align: left;
}
table.compare th { background: var(--bg-soft); font-weight: 600; }
table.compare td.yes { color: #4ade80; }
table.compare td.no { color: #f87171; }
table.compare td.part { color: #fbbf24; }
table.compare tr:first-child th:first-child { position: sticky; left: 0; }

.note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
/* A note that leads with a logo: the icon sits on the first line, the text wraps under itself. */
.note.with-icon { display: flex; gap: 10px; align-items: flex-start; }
.note.with-icon img { width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px; }

/* --- lightbox ------------------------------------------------------------------ */
figure.zoomable img { cursor: zoom-in; transition: border-color .15s, transform .15s; }
figure.zoomable img:hover,
figure.zoomable img:focus-visible { border-color: var(--teal); transform: translateY(-2px); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 24px;
  background: rgba(6, 9, 18, .92);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0; max-width: min(1600px, 92vw); max-height: 90vh;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.lightbox-figure img {
  max-width: 100%; max-height: calc(90vh - 40px);
  object-fit: contain;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
}
.lightbox-figure figcaption { color: var(--muted); font-size: 14px; text-align: center; }

.lightbox-nav, .lightbox-close {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; line-height: 1;
}
.lightbox-nav { width: 44px; height: 64px; font-size: 26px; flex-shrink: 0; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; font-size: 22px; }
.lightbox-nav:hover, .lightbox-close:hover { border-color: var(--teal); color: var(--teal); }

@media (max-width: 700px) {
  /* The wordmark gives up its size before the navigation gives up its place. */
  header.top img { height: 34px; }
  .lightbox { padding: 12px; }
  .lightbox-nav { width: 36px; height: 52px; font-size: 22px; }
}

footer {
  border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 14px;
}
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
/* The icon carries no information the text does not, so it stays out of the accessible name. */
footer .by { display: inline-flex; align-items: center; gap: 6px; }
footer .by img { width: 18px; height: 18px; display: block; }
footer .spacer { margin-left: auto; }

@media (prefers-color-scheme: light) {
  /* The site keeps its dark palette on purpose: it shows the product in its default theme. */
}
