: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;
  /* Training accent — teal */
  --teal:          #0f766e;
  --teal-light:    #14b8a6;
  --teal-faint:    rgba(15,118,110,0.06);
  --teal-border:   rgba(15,118,110,0.20);
  /* Section palettes */
  --blue:          #1d4ed8;
  --blue-faint:    rgba(29,78,216,0.06);
  --blue-border:   rgba(29,78,216,0.18);
  --violet:        #7c3aed;
  --violet-faint:  rgba(124,58,237,0.06);
  --violet-border: rgba(124,58,237,0.18);
  --amber:         #b45309;
  --amber-faint:   rgba(217,119,6,0.06);
  --amber-border:  rgba(217,119,6,0.18);
  --green:         #15803d;
  --green-faint:   rgba(21,128,61,0.06);
  --green-border:  rgba(21,128,61,0.18);
}

* { 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;
  padding: 4.6rem 2rem 4.15rem;
  background:
    radial-gradient(circle at top left, rgba(15,118,110,0.2), transparent 32%),
    radial-gradient(circle at bottom right, rgba(29,78,216,0.12), transparent 24%),
    linear-gradient(135deg, #0c151d 0%, #132331 54%, #1c3447 100%);
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 3rem; align-items: flex-start; flex-wrap: wrap; position: relative; }
.hero-left { flex: 1; min-width: 320px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: ''; width: 20px; height: 2px; background: var(--teal-light); display: inline-block;
}
.hero-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 1rem;
}
.hero-title span { color: var(--teal-light); }
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.68); line-height: 1.7;
  max-width: 520px; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 6px;
  background: var(--teal); color: #fff; text-decoration: none;
  font-size: 0.875rem; font-weight: 600; transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-light); }
.btn-ghost {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 6px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.hero-stats {
  display: flex; flex-direction: column; gap: 0.75rem; min-width: 200px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(8,18,28,0.22);
}
.hero-stat-val { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 0.15rem; font-weight: 500; letter-spacing: 0.03em; }
.hero-stat { padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-stat:last-child { padding-bottom: 0; border-bottom: none; }

/* ── QUICK JUMP ── */
.quickjump-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 2rem; position: sticky; top: 63px; z-index: 50;
}
.quickjump-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.35rem; overflow-x: auto;
  scrollbar-width: none; padding: 0.6rem 0;
}
.quickjump-inner::-webkit-scrollbar { display: none; }
.qj-label-text {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-right: 0.5rem; white-space: nowrap;
}
.qj-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.38rem 0.85rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  text-decoration: none; color: var(--text-secondary);
  border: 1px solid var(--border); background: var(--white);
  transition: all 0.15s;
}
.qj-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-faint); }
.qj-icon { font-size: 0.85rem; }

/* ── AUDIENCE SHORTCUT BAR ── */
.audience-bar {
  background: var(--off-white); border-bottom: 1px solid var(--border);
  padding: 0.85rem 2rem;
}
.audience-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.audience-label {
  font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-right: 0.25rem;
}
.audience-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.85rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-secondary); transition: all 0.15s;
}
.audience-chip:hover { border-color: var(--orange); color: var(--orange); }

/* ── MAIN ── */
.main { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; }

/* ── CATEGORY SECTION ── */
.cat-section { margin-bottom: 3.5rem; }
.cat-section:last-of-type { margin-bottom: 0; }
.cat-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
  padding-bottom: 1.25rem; border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}
.cat-header-left { display: flex; align-items: flex-start; gap: 1rem; }
.cat-icon-wrap {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0; border: 1px solid transparent;
}
.cat-title {
  font-size: 1.15rem; font-weight: 800; color: var(--text-primary);
  margin-bottom: 0.25rem; line-height: 1.3;
}
.cat-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; max-width: 560px; }
.cat-sn-link {
  font-size: 0.8rem; font-weight: 600; color: var(--teal);
  text-decoration: none; white-space: nowrap; padding-top: 0.2rem;
}
.cat-sn-link:hover { text-decoration: underline; }

/* ── ITEM CARDS GRID ── */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.item-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white);
  text-decoration: none; color: var(--text-primary);
  transition: all 0.18s;
}
.item-card:hover { border-color: var(--teal-border); box-shadow: 0 3px 12px rgba(15,118,110,0.1); transform: translateY(-1px); }
.item-icon {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; border: 1px solid transparent;
}
.item-body { flex: 1; }
.item-name { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem; line-height: 1.35; }
.item-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
.item-tag {
  display: inline-block; margin-top: 0.4rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.12rem 0.45rem; border-radius: 3px;
}
.tag-free { background: var(--green-faint); color: var(--green); border: 1px solid var(--green-border); }
.tag-eid { background: var(--blue-faint); color: var(--blue); border: 1px solid var(--blue-border); }
.tag-new { background: var(--teal-faint); color: var(--teal); border: 1px solid var(--teal-border); }
.tag-staff { background: var(--amber-faint); color: var(--amber); border: 1px solid var(--amber-border); }
.tag-external { background: rgba(0,0,0,0.04); color: var(--text-muted); border: 1px solid var(--border); }
.item-arrow {
  font-size: 1.2rem; color: var(--text-muted); opacity: 0.35;
  transition: all 0.15s; align-self: center;
}
.item-card:hover .item-arrow { opacity: 1; transform: translateX(2px); color: var(--teal); }

/* ── CALLOUT STRIP ── */
.callout-strip {
  background: linear-gradient(135deg, var(--teal-faint), rgba(15,118,110,0.02));
  border: 1px solid var(--teal-border);
  border-left: 4px solid var(--teal);
  border-radius: 8px; padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.cs-icon { font-size: 1.4rem; flex-shrink: 0; }
.cs-body { flex: 1; }
.cs-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.cs-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.6; }
.cs-link { display: inline-block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.cs-link:hover { text-decoration: underline; }

/* ── AUDIENCE PATHS ── */
.audience-paths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 700px) { .audience-paths { grid-template-columns: 1fr; } }
.ap-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 1.5rem; background: var(--white); text-decoration: none;
  color: var(--text-primary); transition: all 0.18s;
}
.ap-card:hover { border-color: var(--teal-border); box-shadow: 0 4px 16px rgba(15,118,110,0.08); }
.ap-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.ap-title { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.3rem; }
.ap-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.85rem; }
.ap-link { font-size: 0.8rem; font-weight: 600; color: var(--teal); }

/* ── FOOTER CALLOUT ── */
.footer-callout {
  background: var(--slate); border-radius: 12px;
  padding: 2.5rem 2rem; margin-top: 4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.fc-left { flex: 1; min-width: 260px; }
.fc-eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 0.5rem;
}
.fc-title { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.fc-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.fc-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer-brand { font-weight: 600; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

@media (max-width: 720px) {
  .hero,
  .quickjump-bar,
  .audience-bar,
  .main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
