:root {
  --bg:        #F2F4F0;
  --surface:   #DDE8D8;
  --accent:    #6B8F5E;
  --accent-d:  #4A7A3A;
  --text:      #1E2A1A;
  --muted:     #5A6E54;
  --border:    #C8D4C0;

  --finish-bg: #D8EDE8; --finish-fg: #3A8070;
  --drop-bg:   #F0E6D8; --drop-fg:   #9A6030;
  --pause-bg:  #EAE2F0; --pause-fg:  #7A5898;
  --step-bg:   #DDE8D8; --step-fg:   #4A7A3A;

  --font:   -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 14px;
}

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

html { -webkit-font-smoothing: antialiased; }

/* Reset list and definition-list defaults used for semantic markup */
ul, dl { list-style: none; }
dd { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* ─── Nav ─────────────────────────────────── */

header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ─── Main shell ──────────────────────────── */

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Scene ───────────────────────────────── */

.scene {
  margin: 3rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.scene svg { display: block; width: 100%; height: auto; }

/* ─── Hero ────────────────────────────────── */

.hero {
  padding: 3rem 0 3.5rem;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.82; }

.btn-dark    { background: var(--text); color: var(--bg); }
.btn-surface { background: var(--surface); color: var(--text); }

/* ─── Actions ─────────────────────────────── */

.actions {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.actions-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.actions-row {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.chip-finish { background: var(--finish-bg); color: var(--finish-fg); }
.chip-drop   { background: var(--drop-bg);   color: var(--drop-fg);   }
.chip-pause  { background: var(--pause-bg);  color: var(--pause-fg);  }
.chip-step   { background: var(--step-bg);   color: var(--step-fg);   }

.actions-sub {
  margin-top: 1.125rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

/* ─── Features ────────────────────────────── */

.features {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature {
  display: flex;
  gap: 2.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }

.feature-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  min-width: 180px;
  flex-shrink: 0;
}

.feature-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Quote ───────────────────────────────── */

.pull-quote {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.pull-quote p {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 560px;
}

/* ─── Footer ──────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy { font-size: 0.8125rem; color: var(--muted); }

.footer-links { display: flex; gap: 1.75rem; }

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

/* ─── Inner pages ─────────────────────────── */

.page {
  padding: 4rem 0 6rem;
  max-width: 640px;
}

.page h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.page .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.5rem;
}

.page p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.625rem;
}

.page a { color: var(--accent); text-underline-offset: 3px; }

/* ─── Responsive ──────────────────────────── */

@media (max-width: 640px) {
  header, footer { padding: 1.25rem 1.25rem; }
  main { padding: 0 1.25rem; }

  .feature { flex-direction: column; gap: 0.375rem; }
  .feature-title { min-width: unset; }

  footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
