/* ============================================================
   S3 Reports — shared stylesheet
   Inspired by sellersynergyservices.com
   Black + amber + cream, Poppins headers + Inter body,
   pill CTAs, amber accent underlines, subtitle pills.
   ============================================================ */

:root {
  --ink: #0F0F0F;
  --ink-soft: #2D2A26;
  --ink-mute: #6B6B6B;
  --amber: #F59E0B;
  --amber-deep: #B45309;
  --amber-tint: #FEF3C7;
  --cream: #FAF7F2;
  --paper: #FFFCF7;
  --warm-50: #F5F0E8;
  --warm-100: #EBE3D5;
  --line: #E5DCC8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: var(--amber-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER (dark bar with amber accent line)
   ============================================================ */
header.site-header {
  background: var(--ink);
  color: white;
  padding: 22px 0;
  position: relative;
}
header.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-mark {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.brand-mark-dot {
  width: 10px; height: 10px;
  background: var(--amber);
  border-radius: 2px;
}
.site-header-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Breadcrumb (used on inner pages) */
.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs a { color: rgba(255, 255, 255, 0.7); }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { opacity: 0.4; padding: 0 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow,
.subtitle-pill {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber-deep);
  background: var(--amber-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 18px;
  font-weight: 700;
  max-width: 820px;
}
.hero h1 .accent {
  color: var(--amber-deep);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  max-width: 680px;
  line-height: 1.55;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: none; }

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 28px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--amber);
}
.section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================================================
   BRAND / GROUP CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.brand-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.brand-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.06);
}
.brand-card:hover::before { transform: scaleX(1); }

.brand-card .brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}
.brand-card .brand-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.brand-card .brand-desc {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}
.brand-card .brand-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.brand-card .stat-pill {
  background: var(--warm-50);
  color: var(--ink-soft);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.brand-card .brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: auto;
}
.brand-card:hover .brand-cta { color: var(--amber-deep); }
.brand-card .brand-cta .arrow {
  transition: transform .15s;
}
.brand-card:hover .brand-cta .arrow {
  transform: translateX(3px);
}

/* Empty card (for "no leads yet") */
.empty-card {
  background: transparent;
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.9375rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

/* ============================================================
   REPORT LIST (per-brand pages: 3 categories)
   ============================================================ */
.category-block {
  margin-bottom: 40px;
}
.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.category-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-name::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--amber);
  border-radius: 2px;
}
.category-count {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.report-list {
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.report-list li {
  border-bottom: 1px solid var(--warm-50);
}
.report-list li:last-child { border-bottom: none; }
.report-list a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background .12s;
}
.report-list a:hover {
  background: var(--warm-50);
  color: var(--ink);
}
.report-list .report-date {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.report-list .report-arrow {
  color: var(--amber);
  font-weight: 700;
}

.empty-list {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.9375rem;
  font-style: italic;
}

/* ============================================================
   BUTTONS (pill style from S3 site)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover {
  background: var(--amber-deep);
  color: white;
}
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: white;
}

/* ============================================================
   NOTICE BOXES
   ============================================================ */
.notice {
  background: var(--amber-tint);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 24px 0;
}
.notice strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 36px 0;
  margin-top: 48px;
  text-align: center;
  font-size: 0.8rem;
}
footer.site-footer .brand-mark { justify-content: center; margin-bottom: 10px; }
footer.site-footer p { margin: 0; }
footer.site-footer a { color: var(--amber); }
footer.site-footer a:hover { color: white; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 40px 0; }
  .report-list a { grid-template-columns: 1fr auto; }
  .report-list .report-arrow { display: none; }
}

/* Print */
@media print {
  header.site-header, footer.site-footer { display: none; }
  body { background: white; }
}
