@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --paper: #EFEEE6;
  --surface: #FBFAF6;
  --ink: #1B2A22;
  --ink-soft: #4A5750;
  --pine: #2F6B4F;
  --pine-dark: #234F3A;
  --mustard: #C79A2E;
  --line: #D8D4C6;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.4em; }
h3 { font-size: 1.15rem; margin-top: 1.8em; }

p { max-width: 68ch; }
a { color: var(--pine-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--mustard); }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.85em;
  letter-spacing: 0.01em;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}

.wordmark {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark:hover { color: var(--ink); }

.wordmark-mark {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--pine-dark);
}

/* ---------- Layout containers ---------- */

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prose {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.prose section + section { margin-top: 2rem; }

/* ---------- Hero (index only) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--pine);
  color: #fff;
}
.btn-primary:hover { background: var(--pine-dark); color: #fff; }

.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--mustard); color: var(--ink); background: transparent; }

.hero-art { width: 100%; height: auto; }

/* ---------- Ticket illustration ---------- */

.ticket-shadow {
  filter: drop-shadow(0 18px 30px rgba(27, 42, 34, 0.12));
}

/* ---------- Sections ---------- */

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.products-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 1.6rem;
}

.products-list li {
  padding-left: 1.2rem;
  border-left: 3px solid var(--mustard);
}

.products-list h3 { margin-top: 0; }
.products-list p { color: var(--ink-soft); margin: 0.3em 0 0; }

/* ---------- Legal pages ---------- */

.prose h2:first-of-type { margin-top: 0.5em; }
.prose ul, .prose ol { max-width: 68ch; }
.prose li { margin-bottom: 0.4em; }

.updated-note {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 1.5rem 3rem;
}

.footer-line {
  max-width: 980px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.footer-line a { color: var(--ink-soft); }
.footer-line a:hover { color: var(--pine-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

/* ---------- Accessibility ---------- */

a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--pine-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
