:root {
  --accent: #e8a849;
  --accent-dim: rgba(232,168,73,0.15);
  --cream: #f0ebe0;
  --muted: #888888;
  --fg: #f0ebe0;
  --fg-dim: rgba(240,235,224,0.55);
  --line: rgba(240,235,224,0.08);
  --bg: #111111;
  --bg-card: #1c1c1c;
  --bg-section: #141414;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cs-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,17,17,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
}
.cs-nav-inner {
  max-width: 880px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.cs-nav-actions { display: flex; align-items: center; gap: 16px; }
.cs-nav-back { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cs-nav-back:hover { color: var(--cream); text-decoration: none; }
.cs-print-btn {
  background: var(--accent); color: #111; border: none; border-radius: 4px;
  padding: 8px 18px; font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem; font-weight: 600; cursor: pointer; letter-spacing: 0.02em;
}
.cs-print-btn:hover { background: #d4953e; }

.cs-page {
  max-width: 880px; margin: 0 auto; padding: 40px 32px 48px;
}

.cs-breadcrumb {
  margin-bottom: 28px; font-size: 0.78rem; color: var(--fg-dim);
}
.cs-breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
  list-style: none;
}
.cs-breadcrumb li { display: inline-flex; align-items: center; }
.cs-breadcrumb li + li::before {
  content: '›'; color: var(--muted); margin: 0 10px;
}
.cs-breadcrumb a { color: var(--accent); }
.cs-breadcrumb [aria-current="page"] { color: var(--fg-dim); }

.cs-header { margin-bottom: 32px; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.cs-kicker {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.cs-title {
  font-family: 'Fraunces', Georgia, serif; font-size: 2.2rem; font-weight: 300;
  letter-spacing: -0.02em; color: var(--cream); line-height: 1.15; margin-bottom: 10px;
}
.cs-sub { font-size: 0.9rem; color: var(--fg-dim); max-width: 640px; }

.cs-panel {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 6px; padding: 28px;
  margin: 24px 0;
}
.cs-panel-heading {
  font-family: 'Fraunces', Georgia, serif; font-size: 1rem; font-weight: 500;
  color: var(--cream); margin-bottom: 4px;
}
.cs-panel-meta {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}

.cs-block { margin: 18px 0; }
.cs-block-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 6px;
}
.cs-block-body { font-size: 0.95rem; line-height: 1.65; color: var(--fg); }
.cs-block-body strong { color: var(--cream); font-weight: 600; }

.cs-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px;
  margin: 18px 0 24px;
}
.cs-stat {
  background: var(--bg-section); border: 1px solid var(--line);
  border-radius: 4px; padding: 18px 12px; text-align: center;
}
.cs-stat--hero {
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,73,0.35);
}
.cs-stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem; font-weight: 700; color: var(--accent);
  margin-bottom: 6px; line-height: 1;
}
.cs-stat--hero .cs-stat-value { font-size: 1.75rem; }
.cs-stat-label {
  font-size: 0.72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  line-height: 1.35;
}

.cs-quote-wrap {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  align-items: start;
}
.cs-quote-mark {
  font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem;
  color: var(--accent); line-height: 1; font-weight: 700;
}
.cs-quote-body { font-size: 0.88rem; line-height: 1.55; }
blockquote.cs-quote {
  font-style: italic; color: var(--cream); margin: 0 0 12px;
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
}
.cs-attribution {
  font-size: 0.78rem; color: var(--fg-dim); line-height: 1.4;
}
.cs-attribution strong { color: var(--cream); font-weight: 600; }
.cs-detail-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; font-size: 0.9rem; font-weight: 600;
}
.cs-detail-link:hover { gap: 12px; }

.cs-install-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px;
}
.cs-install-cta-copy { min-width: 0; }
.cs-install-cta-copy p { margin-top: 4px; font-size: 0.85rem; color: var(--fg-dim); }
.cs-install-cta .btn { flex-shrink: 0; }

.cs-cta {
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.cs-cta-label {
  font-family: 'Fraunces', Georgia, serif; font-size: 1rem; font-weight: 500;
  color: var(--cream); margin-bottom: 6px;
}
.cs-cta-links {
  font-size: 0.9rem; color: var(--fg-dim); display: flex; flex-direction: column; gap: 6px;
}
.cs-cta-links a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); text-decoration: none; font-size: 0.9rem;
}
.cs-cta-badge {
  font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line);
  border-radius: 4px; padding: 6px 14px; white-space: nowrap;
}

@media print {
  body { background: #fff; color: #111; }
  .cs-nav, .cs-print-btn { display: none; }
  .cs-page { padding: 0; max-width: 100%; }
  .cs-panel { background: #fff; border-color: #ddd; break-inside: avoid; }
  .cs-panel-heading { color: #111; }
  .cs-panel-meta { color: #8b6914; border-bottom-color: #ddd; }
  .cs-title { color: #111; }
  .cs-sub, .cs-kicker { color: #555; }
  .cs-stat { background: #fff; border-color: #ddd; }
  .cs-stat--hero { background: #faf3e0; border-color: #c9a84c; }
  .cs-stat-value { color: #8b6914; }
  .cs-stat-label { color: #555; }
  .cs-block-body { color: #111; }
  .cs-block-body strong { color: #111; }
  .cs-quote-wrap { border-top-color: #ddd; }
  .cs-quote-mark { color: #c9a84c; }
  blockquote.cs-quote { color: #111; }
  .cs-attribution { color: #555; }
  .cs-attribution strong { color: #111; }
  .cs-install-cta { break-inside: avoid; }
  .cs-install-cta-copy p { color: #111; }
  .cs-install-cta .btn-primary { background: #faf3e0; border-color: #c9a84c; color: #111; }
  .cs-cta { border-top-color: #ddd; }
  .cs-header { border-bottom-color: #ddd; }
  .cs-cta-links, .cs-cta-badge { color: #555; }
}

@media (max-width: 768px) {
  .cs-page { padding: 24px 20px 32px; }
  .cs-breadcrumb { margin-bottom: 24px; font-size: 0.75rem; }
  .cs-title { font-size: 1.7rem; }
  .cs-stat-grid { grid-template-columns: 1fr 1fr; }
  .cs-quote-wrap { grid-template-columns: 24px 1fr; }
  .cs-install-cta { align-items: stretch; flex-direction: column; gap: 16px; }
  .cs-install-cta .btn { width: 100%; justify-content: center; }
  .cs-cta { flex-direction: column; align-items: flex-start; }
}
