/* tracker-campaign — dark campaign timeline (slate, vertical timeline) */
:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-light: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: #334155;
  --primary: #38bdf8;
  --primary-dark: #0ea5e9;
  --accent: #a78bfa;
  --max: 960px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--bg); padding: 0.5rem 1rem; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.site-main { padding-bottom: 3rem; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; min-height: 3.75rem; }
.brand { font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.88rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; border: 1px solid var(--border); background: var(--surface-light); border-radius: 8px; padding: 0.45rem; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px 0; }

.demo-banner { background: var(--surface-light); border-bottom: 1px solid var(--border); padding: 0.6rem 0; font-size: 0.85rem; color: var(--muted); }

.hero-timeline { padding: 3rem 0; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.hero-timeline h1 { margin: 0.35rem 0 0.75rem; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; font-weight: 700; }
.eyebrow { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 0; }
.lead { color: var(--muted); margin: 0; font-size: 1.02rem; max-width: 36rem; }

.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding: 0 0 2rem 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.dot { position: absolute; left: -2.45rem; top: 0.25rem; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--primary); }
.timeline-item h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--text); }
.timeline-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.section-block { padding: 2.5rem 0; }
.section-block.dark-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dark-band h2 { margin: 0 0 1rem; font-size: 1.25rem; }

.event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.event-card { background: var(--surface-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; font-size: 0.88rem; font-weight: 500; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--primary); }

.page-hero { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.page-hero.dark-hero { background: var(--surface); }
.page-hero h1 { margin: 0.35rem 0 0.75rem; font-size: clamp(1.5rem, 4vw, 2rem); }
.content-section { padding: 2rem 0; }

.prose h2 { font-size: 1.2rem; margin-top: 1.5rem; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.contact-card h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); margin: 1rem 0 0.25rem; }
.contact-card h2:first-child { margin-top: 0; }
.muted-card { background: var(--surface-light); }
.text-link { color: var(--primary); font-weight: 600; }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner { padding: 2rem 0; }
.footer-brand strong { color: var(--text); }
.footer-brand p { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 1rem 0; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { margin: 0; font-size: 0.8rem; color: var(--muted); }
.muted { color: var(--muted); }

.section-head h2 { color: var(--text); font-size: 1.25rem; margin: 0 0 0.35rem; }
.section-sub { color: var(--muted); margin: 0 0 1.25rem; font-size: 0.92rem; }
.text-link { color: var(--primary); }
.footer-inner { padding: 2rem 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.timeline-item:hover .dot { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--primary), 0 0 12px rgba(56, 189, 248, 0.4); }
.event-card:hover { border-color: var(--primary); background: var(--bg); }

.contact-card p { margin: 0; color: var(--text); }
.prose a { color: var(--primary); }
.hero-timeline .wrap { max-width: 40rem; }

@media (min-width: 721px) {
  .timeline { max-width: 36rem; margin: 0 auto; }
  .event-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 0; }
  .timeline { padding-left: 1.5rem; }
  .dot { left: -1.95rem; }
  .hero-timeline { padding: 2rem 0; }
  .dark-band { padding: 1.75rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .timeline-item:hover .dot { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--primary); }
}

.hero-timeline::after { content: ""; display: block; width: 3rem; height: 2px; background: var(--primary); margin-top: 1.25rem; opacity: 0.6; }
.dark-band .muted { font-size: 0.82rem; margin-top: 0.5rem; }
.page-hero.dark-hero .lead { color: var(--muted); }

/* Shared utilities & a11y enhancements */
.site-main { min-height: 50vh; }
.header-inner.wrap, .footer-inner.wrap { padding-left: 0; padding-right: 0; }
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.demo-banner strong { font-weight: 700; }
.content-section .prose { max-width: 42rem; }
.page-hero .eyebrow + h1 { margin-top: 0.35rem; }
.contact-grid .contact-card h2 + p { line-height: 1.5; }

@media (prefers-contrast: more) {
  :root { --border: currentColor; }
  .site-header, .site-footer, .contact-card, .deal-card, .saas-card, .catalog-card, .stat-card, .panel, .mod, .link-row { border-width: 2px; }
}

@media print {
  .skip-link, .nav-toggle, .demo-banner, .site-nav { display: none !important; }
  .site-header { position: static; border-bottom: 1px solid #000; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
