/* ==== Fresh, minimal, credible download page ==== */
:root {
  --bg: #f9f5f2;
  --text: #111;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #111;
  --accent-hover: #374151;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --text: #f9f5f2;
    --muted: #9ca3af;
    --card: #1f2937;
    --border: #374151;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}


/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Featured image */
.featured {
  margin: 1.5rem auto 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Download Section */
.download-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.download-section h2 {
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.download-option {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.download-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.download-option.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.download-option.primary:hover {
  background: var(--accent-hover);
}

.download-option .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.download-option.primary .icon {
  background: rgba(249, 245, 242, 0.2);
}

.download-option h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 400;
}

.download-option .description {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 300;
}

.download-option.primary .description {
  color: rgba(249, 245, 242, 0.8);
}

.download-option .file-info {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.download-option.primary .file-info {
  color: rgba(249, 245, 242, 0.7);
}

/* macOS Chip Selection */
.mac-options {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.mac-options h4 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.chip-options {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.chip-option {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
}

.chip-option:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.chip-option.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}


/* FAQ (minimal) */
.faq h2 {
  text-align: center;
}
.faq.minimal { margin: 3rem 0; }
.faq.minimal h2 { margin: 0 0 2rem; }

.faq-list { display: grid; gap: 0.75rem; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
}

details[open] summary:after { content: '\f077'; }

.faq-list .answer { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.brand-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 0.5rem;
  line-height: 1;
  padding-top: 0.5rem;
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-brand-link:hover { color: var(--text); }

.footer-brand-logo {
  height: 2rem;
  width: auto;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .download-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .nav a {
    margin-left: 1rem;
  }
  
  .chip-options {
    flex-direction: column;
    align-items: center;
  }
  .brand {
    flex-wrap: wrap;
  }
  .brand-subtitle {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 0.8rem;
  }
}

/* Utility classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
