/* Maintainers: every byte under worker/site/ is uploaded and served, so the reasoning behind this
   stylesheet lives OUTSIDE it, in docs/site/site.css.md. The `why:` pointers below name its
   sections. Relocated 2026-08-07; nothing was deleted. */

/* why: #palette, #accent, #faint, #spacing, #destructive */
:root {
  --bg: #F7F4EF;
  --card: #FFFFFF;
  --ink: #2B2724;
  --ink-soft: #6B635B;
  --ink-faint: #6E645A;
  --hairline: #E7E1D8;
  --accent: #7A6050;

  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

/* why: #column */
body {
  margin: 0;
  max-width: 720px;
  padding: var(--sp-3xl) var(--sp-lg);
  margin-left: auto;
  margin-right: auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 0 0 var(--sp-md);
}

/* why: #links */
a {
  color: var(--accent);
}

/* why: #display, #heading, #label */
.display {
  margin: 0 0 var(--sp-md);
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1,
h2,
.heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 var(--sp-md);
}

.label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--sp-sm);
}

.lead {
  color: var(--ink-soft);
}

.hero {
  margin-bottom: var(--sp-3xl);
}

section {
  margin-bottom: var(--sp-2xl);
}

section > .label + h2 {
  margin-bottom: var(--sp-xl);
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: var(--sp-lg);
}

/* why: #proof, #grid, #captures */
figure {
  margin: 0;
}

.shots:has(img) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-md);
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: var(--sp-lg);
}

.shots figcaption {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .shots:has(img) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.shots img {
  display: block;
  max-width: 330px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

figcaption {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* why: #features */
.features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--hairline);
}

.features li:last-child {
  border-bottom: 0;
}

/* why: #faq, #question */
.faq {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: var(--sp-lg);
}

h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: var(--sp-lg) 0 var(--sp-sm);
}

.faq h3:first-of-type {
  margin-top: 0;
}

.faq p:last-child {
  margin-bottom: 0;
}

/* why: #cta */
.cta {
  display: inline-block;
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  text-decoration: none;
  background: var(--accent);
  color: var(--card);
}

.cta-disabled {
  background: var(--hairline);
  color: var(--ink-soft);
  cursor: default;
}

/* why: #nav, #underline */
nav {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

nav a:hover,
nav a:focus-visible {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

@media (max-width: 480px) {
  body {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }

  .hero {
    margin-bottom: var(--sp-2xl);
  }
}
