:root {
  color-scheme: light dark;
  --sky: #78a7ff;
  --grass: #3c8527;
  --grass-dark: #2d661d;
  --card: #f4f4f4;
  --card-inner: #e8e8e8;
  --text: #1b1b1b;
  --muted: #444;
  --border: #1b1b1b;
  --gold: #ffaa00;
  --max-width: 900px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --card: #2b2b2b;
    --card-inner: #353535;
    --text: #f4f4f4;
    --muted: #c6c6c6;
    --border: #f4f4f4;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--sky);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    var(--sky);
}

a {
  color: var(--grass);
  font-weight: 700;
}

a:hover {
  color: var(--grass-dark);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--card);
  border: 3px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max-width) + 2.5rem);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.site-nav a {
  padding: 0.35rem 0.55rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.18);
}

.page-shell {
  width: 100%;
  max-width: calc(var(--max-width) + 2.5rem);
  margin: 1.25rem auto 2.5rem;
  padding: 0 1.25rem;
  min-width: 0;
}

.card {
  max-width: 100%;
  min-width: 0;
  padding: 1.5rem 1.35rem;
  background: var(--card);
  border: 4px solid var(--border);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.18);
}

.card + .card {
  margin-top: 1rem;
}

.hero-card {
  padding: 1.75rem 1.35rem 1.5rem;
}

.hero-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-head h1 {
  margin-bottom: 0.35rem;
}

.hero-head .tagline {
  margin-bottom: 0;
}

.hero-icon {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border: 4px solid var(--border);
  border-radius: 22px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  background: var(--sky);
  object-fit: cover;
}

.hero-shot,
.shot-scroller figure {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero-shot {
  margin: 1.35rem 0 0;
}

.hero-shot img,
.shot-scroller img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-width: 0;
  box-sizing: border-box;
  border: 3px solid var(--border);
  background: var(--card-inner);
}

.shot-scroller {
  display: flex;
  gap: 0.85rem;
  margin: 0;
  padding: 0.15rem 0 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-scroller:focus-visible {
  outline: 3px solid var(--border);
  outline-offset: 4px;
}

.shot-scroller figure {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.shot-scroller figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
}

h2 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.15rem;
}

h2:first-child {
  margin-top: 0;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.tagline {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pill-row li {
  padding: 0.35rem 0.65rem;
  background: var(--card-inner);
  border: 2px solid var(--border);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-list,
.mode-list {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-list li + li,
.mode-list li + li {
  margin-top: 0.35rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: var(--grass);
  border: 3px solid var(--border);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--grass-dark);
  color: #fff;
}

.button--secondary {
  background: var(--card-inner);
  color: var(--text);
}

.button--secondary:hover {
  background: var(--card);
  color: var(--text);
}

.meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

code {
  padding: 0.1rem 0.35rem;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.92em;
}

.site-footer {
  max-width: calc(var(--max-width) + 2.5rem);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--text);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

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

.error-code {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card,
  .hero-card {
    padding: 1.25rem 1rem;
  }

  .hero-icon {
    width: 84px;
    height: 84px;
    border-radius: 16px;
  }

  .shot-scroller figure {
    flex-basis: 100%;
  }
}
