:root {
  color-scheme: light;
  --bg: #f8f5f1;
  --surface: #ffffff;
  --text: #1d1b1a;
  --muted: #605a56;
  --accent: #cc6d32;
  --accent-dark: #a75728;
  --border: #e4ddd6;
  --shadow: 0 12px 24px rgba(29, 27, 26, 0.08);
  --radius: 16px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --max-width: 960px;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(var(--max-width), 100% - 2rem);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  padding: var(--space-6) 0 var(--space-4);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 var(--space-2);
}

.lead {
  font-size: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-4);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-5);
}

.panel-inner h2 {
  margin-top: 0;
}

.section-heading {
  margin-bottom: var(--space-3);
}

.downloads h2 {
  margin: 0 0 var(--space-1);
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.download-item h3 {
  margin: 0 0 var(--space-1);
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(204, 109, 50, 0.2);
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(204, 109, 50, 0.4);
}

.site-footer {
  padding: var(--space-5) 0 var(--space-6);
}

@media (max-width: 720px) {
  .download-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }
}

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

  .button {
    transition: none;
  }
}
