/* opencorelegacypatcher.us static v1.1 — Light + OCLP-blue theme, macOS-adjacent
   Palette sampled from the real OpenCore Legacy Patcher app icon:
   primary blue #017CE9, cyan-teal #08E2CC, deep blue #0A5BA0, light cyan #7FD1E6
*/
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Light defaults */
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f3f7fb;
  --bg-nav: rgba(14, 20, 34, 0.96);
  --bg-stats: #eef6fc;
  /* OCLP brand blues */
  --accent: #017CE9;
  --accent-hover: #0A5BA0;
  --accent-glow: rgba(1, 124, 233, 0.10);
  --accent-border: rgba(1, 124, 233, 0.28);
  --accent-dark: #0A5BA0;
  --accent-secondary: #08E2CC;
  --text: #131826;
  --text-secondary: #4f5566;
  --text-muted: #868c99;
  --border: rgba(15, 20, 34, 0.08);
  --border-hover: rgba(1, 124, 233, 0.45);
  --header-bg: #0e1422;
  --header-text: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1100px;
  --nav-h: 64px;
  --glow: 0 0 16px rgba(1, 124, 233, 0.14);
  --glow-strong: 0 0 32px rgba(1, 124, 233, 0.22);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }
:target, section[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--header-text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-brand img, .nav-brand svg { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: var(--glow-strong);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ── HERO (homepage) ── */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef6fc 0%, #fafdff 55%, #ffffff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(1, 124, 233, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 20, 34, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 20, 34, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 42%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 42%, #000 25%, transparent 72%);
  pointer-events: none;
}

.hero-rays {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(1, 124, 233, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(8, 226, 204, 0.12) 0%, transparent 45%);
  pointer-events: none;
  animation: heroRaysDrift 18s ease-in-out infinite alternate;
}

@keyframes heroRaysDrift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(-2%, 1%, 0) scale(1.04); opacity: 1; }
}

.hero-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 124, 233, 0.28) 0%, rgba(1, 124, 233, 0.08) 40%, transparent 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  mix-blend-mode: multiply;
  z-index: 0;
}

.hero:hover .hero-glow { opacity: 1; }

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #017CE9;
  opacity: 0;
  pointer-events: none;
  animation: particleFade 1.6s ease-out forwards;
  box-shadow: 0 0 6px rgba(1, 124, 233, 0.5);
}

@keyframes particleFade {
  0%   { opacity: 0.85; transform: translate(0, 0) scale(1); }
  100% { opacity: 0;    transform: translate(var(--dx), var(--dy)) scale(0); }
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 28px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--glow-strong);
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--accent-glow);
  color: var(--accent-dark);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg { width: 14px; height: 14px; opacity: 0.6; }

/* ── SECTION ── */
.section { padding: 80px 24px; background: #ffffff; }
.section-alt { background: linear-gradient(180deg, #f3f9fd 0%, #e6f1fa 100%); position: relative; }
.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(1, 124, 233, 0.20), transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.section-alt .feature-card { background: #ffffff; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, #0e1422 0%, #1c2640 100%);
  padding: 60px 24px;
  color: #fff;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--accent-secondary);
  letter-spacing: -1px;
  margin-bottom: 4px;
  white-space: nowrap;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── FAQ ── */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.faq-item[open] { border-color: var(--accent-border); }

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* ── FOOTER ── */
.footer {
  background: #0e1422;
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 32px;
}

.footer-disclaimer a { color: rgba(255,255,255,0.75); }
.footer-disclaimer a:hover { color: #fff; }

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 120px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf3fb 0%, #ffffff 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(1, 124, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 14px;
  position: relative;
}

.page-hero .breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  position: relative;
}

.page-hero .breadcrumbs a { color: var(--text-muted); }
.page-hero .breadcrumbs a:hover { color: var(--accent); }

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── DOWNLOAD CARDS ── */
.download-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.download-card.primary { border-color: var(--accent-border); }

.download-card.primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.download-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-2px);
}

.dl-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.dl-badge.legacy {
  background: rgba(107, 114, 128, 0.12);
  border-color: rgba(107, 114, 128, 0.25);
  color: var(--text-muted);
}

.download-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.download-card .dl-filename {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  word-break: break-all;
  margin-bottom: 16px;
}

.download-card .dl-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.download-card .btn-primary {
  width: 100%;
  justify-content: center;
}

.download-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 28px auto 0;
  line-height: 1.75;
}

/* ── INSTALL STEPS ── */
.steps-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.step-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-item p strong { color: var(--text); }

/* ── PROSE PAGE ── */
.prose-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.prose-page h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 44px 0 16px;
  letter-spacing: -0.3px;
}

.prose-page h2:first-child { margin-top: 0; }

.prose-page h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}

.prose-page p {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.prose-page ul, .prose-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose-page li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 8px;
}

.prose-page li::marker { color: var(--accent); }

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

.prose-page a:hover { color: var(--accent); }

.prose-page code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.92em;
  color: var(--accent-dark);
}

.prose-page strong { color: var(--text); font-weight: 600; }

/* ── CONTACT PAGE ── */
.contact-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  color: var(--accent-dark);
  font-weight: 600;
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  margin-bottom: 32px;
}

/* ── RELEASES ── */
.releases-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.release-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.release-card.latest {
  border-color: var(--accent-border);
}

.release-card.latest .release-version { color: var(--accent-dark); }

.release-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.release-version {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.release-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.release-card ul { padding-left: 22px; }

.release-card li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.release-card li::marker { color: var(--accent); }

.release-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── INLINE DOWNLOAD ROW ── */
.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.dl-row:hover {
  box-shadow: var(--shadow-md), var(--glow);
  transform: translateY(-1px);
}

.dl-row.legacy { border-color: var(--border); }

.dl-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.dl-row-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.dl-row-icon svg { width: 22px; height: 22px; }

.dl-row-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.dl-row-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.dl-row .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── HASH / CODE BOX (download page SHA256) ── */
.hash-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  word-break: break-all;
  margin: 20px 0;
}

.hash-box .hash-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  margin-right: 8px;
  font-family: 'Inter', sans-serif;
}

/* ── SUPPORTED MACS TABLE ── */
.macs-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.macs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--bg-card);
}

.macs-table thead { background: var(--bg-elevated); }

.macs-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.macs-table td {
  padding: 14px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.macs-table tr:last-child td { border-bottom: none; }

.macs-table tr:hover td { background: rgba(1, 124, 233, 0.03); }

.macs-table .mac-model {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.macs-table .mac-year {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.macs-table .mac-os-pill {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(14, 20, 34, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open a { padding: 8px 0; }
  .nav-toggle { display: block; }
  .nav-cta.desktop-only { display: none; }

  .hero { padding: 110px 20px 60px; }
  .section { padding: 60px 20px; }
  .page-hero { padding: 100px 20px 36px; }
  .prose-page { padding: 36px 20px 60px; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-primary, .btn-secondary { justify-content: center; }

  .dl-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dl-row .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-links { gap: 16px; }

  .macs-table th, .macs-table td { padding: 10px 12px; font-size: 13px; }
}

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 32px; }

/* Print */
@media print {
  .nav, .footer, .nav-cta, .hero-ctas { display: none; }
  body { background: #fff; color: #000; }
}
