:root {
  --bg: #f4f4f5;
  --text: #111827;
  --muted: #6b7280;
  --accent: #38bdf8;
  --accent2: #a78bfa;
  --panel: #ffffff;
  --border: rgba(17, 24, 39, 0.08);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --max: 920px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(1200px 600px at 90% -10%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(900px 500px at 0% 20%, rgba(167, 139, 250, 0.1), transparent),
    var(--bg);
  line-height: 1.55;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0ea5e9;
}

.page {
  padding-bottom: 3rem;
}

.hero--centered-stack {
  display: grid;
  gap: var(--pad);
  padding: var(--pad);
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  text-align: center;
}

.hero__visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
  border: 1px solid var(--border);
}

.hero__art {
  width: 100%;
  object-fit: cover;
  min-height: 200px;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.hero__title-accent {
  color: var(--accent2);
}

.hero__tagline {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 auto 1.25rem;
}

.hero__inline-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.hero__inline-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.hero__inline-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--pad);
}

.band--align-right .band__intro {
  text-align: right;
  margin-left: auto;
  max-width: 34rem;
}

.band--align-left .band__intro {
  max-width: 34rem;
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.section-title--center {
  text-align: center;
}

.section-lede {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.feat-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.feat-list__item:last-child {
  border-bottom: none;
}

.feat-list__code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  padding-top: 0.2rem;
}

.feat-list__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.feat-list__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.screens--stacked-full {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.screens__shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.screens__shot img {
  width: 100%;
}

.gallery-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 2rem;
}

.gallery-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-band__grid img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem var(--pad) 2.5rem;
}

.legal__prose p {
  margin: 0 0 1rem;
  color: var(--text);
}

.legal--dropcap .legal__dropcap::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 0.85;
  padding-right: 0.5rem;
  font-weight: 700;
  color: var(--accent2);
}

.support-line a {
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .gallery-band__grid {
    grid-template-columns: 1fr;
  }

  .band--align-right .band__intro {
    text-align: left;
  }
}