:root {
  --orange:        #B35000;
  --orange-light:  #D4600A;
  --orange-faint:  rgba(191,87,0,0.07);
  --orange-border: rgba(191,87,0,0.22);
  --charcoal:      #111111;
  --slate:         #1B2A3B;
  --slate-mid:     #243447;
  --warm-gray:     #F5F3F0;
  --off-white:     #FAF9F7;
  --white:         #FFFFFF;
  --border:        #E2DDD8;
  --border-mid:    #D0CAC3;
  --text-primary:  #1a1a1a;
  --text-secondary:#4a4a4a;
  --text-muted:    #696969;
  --blue:          #1d4ed8;
  --blue-faint:    rgba(29,78,216,0.06);
  --blue-border:   rgba(29,78,216,0.18);
  --green:         #15803d;
  --green-faint:   rgba(21,128,61,0.06);
  --green-border:  rgba(21,128,61,0.18);
  --purple:        #6d28d9;
  --purple-faint:  rgba(109,40,217,0.06);
  --purple-border: rgba(109,40,217,0.18);
  --teal:          #0f766e;
  --teal-faint:    rgba(15,118,110,0.06);
  --teal-border:   rgba(15,118,110,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text-primary); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── SYSTEM BAR ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1926 0%, #111111 50%, #0f1e30 100%);
  color: #fff;
  padding: 4.5rem 3rem 4rem;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(191,87,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--orange); }
.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 15px; line-height: 1.76;
  color: rgba(255,255,255,0.62);
  max-width: 560px; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 10px 20px; border-radius: 6px;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(191,87,0,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.75);
  font-size: 13.5px; font-weight: 500;
  padding: 10px 20px; border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: #fff; }

/* Hero right — category count cards */
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  min-width: 100px;
}
.hero-stat-val {
  font-family: 'Sora', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--orange); line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.45);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── QUICK JUMP ── */
.quickjump-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}
.quickjump-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
}
.qj-label-text {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  white-space: nowrap; margin-right: 6px;
}
.qj-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.qj-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-faint); }
.qj-icon { font-size: 13px; }

/* ── MAIN CONTENT ── */
.main { max-width: 1160px; margin: 0 auto; padding: 56px 48px 80px; }

/* ── CATEGORY SECTIONS ── */
.cat-section {
  margin-bottom: 56px;
  scroll-margin-top: 80px;
}
.cat-section:last-child { margin-bottom: 0; }
.cat-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.cat-header-left { display: flex; align-items: center; gap: 14px; }
.cat-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cat-title {
  font-family: 'Sora', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}
.cat-desc {
  font-size: 13px; color: var(--text-muted);
  margin-top: 3px; max-width: 480px; line-height: 1.5;
}
.cat-sn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  border: 1px solid var(--orange-border);
  background: var(--orange-faint);
  padding: 6px 14px; border-radius: 5px;
  white-space: nowrap;
  transition: all 0.15s; flex-shrink: 0;
}
.cat-sn-link:hover { background: rgba(191,87,0,0.12); border-color: rgba(191,87,0,0.35); }

/* Items grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.item-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: flex; align-items: flex-start; gap: 14px;
  transition: all 0.15s;
}
.item-card:hover {
  border-color: var(--orange-border);
  background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}
.item-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border);
}
.item-body {}
.item-name {
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px; line-height: 1.3;
}
.item-desc {
  font-size: 12.5px; color: var(--text-muted);
  line-height: 1.5;
}
.item-arrow {
  margin-left: auto; color: var(--text-muted);
  font-size: 16px; flex-shrink: 0;
  align-self: center; opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.item-card:hover .item-arrow { opacity: 1; transform: translateX(2px); }

/* Placeholder card for categories with no items listed */
.items-empty {
  background: var(--off-white);
  border: 1px dashed var(--border-mid);
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
}

/* ── DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* ── FOOTER CALLOUT ── */
.footer-callout {
  background: var(--slate);
  border-radius: 14px;
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
}
.fc-left {}
.fc-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.footer-callout .fc-eyebrow { color: #f5a461; }
.fc-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.fc-desc { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 460px; line-height: 1.65; }
.fc-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── PAGE FOOTER ── */
.footer-brand { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); }
.footer-brand span { color: var(--orange); }
