:root {
  --bg: #f3f4f1;
  --surface: #ffffff;
  --surface-2: #eaebe6;
  --ink: #1b1e1d;
  --ink-muted: #5b615e;
  --ink-faint: #8a8f8b;
  --line: #d8d9d4;
  --line-strong: #b9bbb4;
  --accent: #2f6672;
  --accent-ink: #f3f4f1;
  --accent-soft: #e3ecec;

  --font-display: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171a;
    --surface: #1c1f20;
    --surface-2: #24272a;
    --ink: #e7e9e5;
    --ink-muted: #9ea39c;
    --ink-faint: #6e736c;
    --line: #33362f;
    --line-strong: #454940;
    --accent: #7cbcc4;
    --accent-ink: #0f1415;
    --accent-soft: #1f2f31;
  }
}
:root[data-theme="dark"] {
  --bg: #15171a;
  --surface: #1c1f20;
  --surface-2: #24272a;
  --ink: #e7e9e5;
  --ink-muted: #9ea39c;
  --ink-faint: #6e736c;
  --line: #33362f;
  --line-strong: #454940;
  --accent: #7cbcc4;
  --accent-ink: #0f1415;
  --accent-soft: #1f2f31;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */
.site-nav {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand svg { width: 22px; height: 22px; flex: none; }
.nav-links {
  display: flex;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-muted);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 64px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
  text-wrap: balance;
  max-width: 16ch;
}
.lede {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero-shot {
  margin-top: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.08);
}
.hero-shot img { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- feature blocks ---------- */
.features {
  padding: 40px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature:nth-child(even) .feature-shot { order: 2; }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-shot { order: 0; }
}
.feature-shot {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-shot img { width: 100%; height: 100%; object-fit: cover; }
.feature-shot .placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  padding: 16px;
}
.feature h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0;
  max-width: 42ch;
}

/* ---------- updates (changelog) ---------- */
.page-head {
  padding: 64px 0 12px;
}
.page-head h1 { max-width: none; font-size: clamp(28px, 4vw, 36px); }
.page-head .lede { margin-bottom: 0; }

.updates-list {
  padding: 32px 0 80px;
  display: flex;
  flex-direction: column;
}
.update {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.update:first-child { border-top: none; }
@media (max-width: 640px) {
  .update { grid-template-columns: 1fr; gap: 8px; }
}
.update-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  padding-top: 2px;
}
.update-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 10px;
}
.update h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.update p {
  font-size: 14.5px;
  color: var(--ink-muted);
  margin: 0 0 16px;
  max-width: 56ch;
}
.update .feature-shot {
  aspect-ratio: 16 / 9;
  max-width: 480px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer, .site-footer a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--ink); }
