* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0f1e3d;
  --navy-light: #1a2f5a;
  --gold: #e8a020;
  --gold-light: #f5c060;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --mid-gray: #d1d5db;
  --text: #1f2937;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

/* ===================== SIDEBAR ===================== */
#sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-brand {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  display: block;
}
.sidebar-brand .name {
  font-size: 15px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.5px;
}
.sidebar-brand .title {
  font-size: 11px; color: rgba(255,255,255,0.5);
  margin-top: 5px; line-height: 1.5;
}

.sidebar-nav { padding: 16px 0; flex: 1; }

.nav-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 12px 24px 6px;
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.nav-item.active {
  background: rgba(232,160,32,0.12);
  color: var(--gold);
  border-left-color: var(--gold);
}
.nav-item .num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.nav-item.active .num { background: var(--gold); color: var(--navy); }
.nav-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); flex-shrink: 0;
}
.nav-item.active .dot { background: var(--gold); }

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px; color: rgba(255,255,255,0.3);
  line-height: 1.6;
}
.sidebar-footer a { color: var(--gold); text-decoration: none; }
.sidebar-footer a:hover { text-decoration: underline; }

/* ===================== MAIN ===================== */
#main { margin-left: 260px; flex: 1; min-height: 100vh; }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 56px 52px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(232,160,32,0.06);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 14px;
}
.hero h1 {
  font-size: 40px; font-weight: 800;
  line-height: 1.1; margin-bottom: 18px;
}
.hero h2 {
  font-size: 30px; font-weight: 700;
  line-height: 1.15; margin-bottom: 16px;
}
.hero p {
  font-size: 16px; color: rgba(255,255,255,0.72);
  max-width: 660px; line-height: 1.75;
}

.pillar-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.35);
  border-radius: 8px; padding: 6px 16px;
  margin-bottom: 20px;
}
.pillar-badge .num { font-size: 24px; font-weight: 900; color: var(--gold); }
.pillar-badge .label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.55);
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

/* ===================== CONTENT ===================== */
.content { padding: 48px 56px; }

.section-header { margin-bottom: 24px; }
.section-header h2 { font-size: 20px; font-weight: 700; color: var(--navy); }
.section-header p { font-size: 14px; color: var(--gray); margin-top: 5px; }

/* ===================== GRID ===================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.full-width { margin-bottom: 32px; }

/* ===================== CARD ===================== */
.card {
  background: var(--white);
  border-radius: 12px; padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--light-gray);
}
.card-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 18px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ===================== LISTS ===================== */
.kpi-list { list-style: none; }
.kpi-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 13.5px;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.kpi-list li:last-child { border-bottom: none; }
.kpi-list li::before {
  content: '◆'; font-size: 7px; color: var(--gold);
  margin-top: 6px; flex-shrink: 0;
}
.kpi-list .new-kpi {
  background: rgba(232,160,32,0.08);
  border-radius: 4px;
  padding: 9px 10px;
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 10px;
}
.kpi-added {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold);
  margin-left: 6px;
}

.activity-list { list-style: none; }
.activity-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5; color: var(--text);
}
.activity-list li:last-child { border-bottom: none; }
.activity-list li::before {
  content: '→'; color: var(--gold);
  font-weight: 700; flex-shrink: 0;
}

/* ===================== TOOLS ===================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.tool-card {
  background: var(--white);
  border-radius: 10px; padding: 18px 20px;
  border: 1px solid var(--light-gray);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tool-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(232,160,32,0.12);
}
.tool-cat {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold);
  margin-bottom: 5px; font-weight: 700;
}
.tool-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tool-desc { font-size: 12.5px; color: var(--gray); line-height: 1.5; }

/* ===================== USE CASE ===================== */
.use-case-card {
  background: linear-gradient(135deg, #0f1e3d 0%, #1a3060 100%);
  color: var(--white); border-radius: 12px;
  padding: 36px 40px; position: relative; overflow: hidden;
}
.use-case-card::before {
  content: '"';
  position: absolute; right: 28px; top: 8px;
  font-size: 140px; color: rgba(232,160,32,0.12);
  font-family: Georgia, serif; line-height: 1;
  pointer-events: none;
}
.uc-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 12px;
}
.use-case-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.use-case-card p {
  font-size: 15px; color: rgba(255,255,255,0.78);
  line-height: 1.75; margin-bottom: 12px;
}
.results-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.use-case-result {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.4);
  border-radius: 8px; padding: 12px 20px;
}
.result-num { font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1; }
.result-label { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.4; }

/* ===================== INSIGHT ===================== */
.insight {
  background: rgba(232,160,32,0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px; font-size: 14px;
  color: var(--text); line-height: 1.75;
  margin-top: 22px; font-style: italic;
}

/* ===================== PILLAR GRID (home) ===================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.pillar-tile {
  background: var(--white); border-radius: 12px;
  padding: 26px; border: 1px solid var(--light-gray);
  box-shadow: var(--card-shadow);
  text-decoration: none; color: inherit;
  display: block; position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pillar-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
  border-color: var(--gold);
}
.pillar-tile .t-num {
  font-size: 42px; font-weight: 900;
  color: rgba(232,160,32,0.18);
  position: absolute; right: 16px; top: 10px;
}
.pillar-tile .t-icon { font-size: 26px; margin-bottom: 12px; }
.pillar-tile .t-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.pillar-tile .t-desc { font-size: 12.5px; color: var(--gray); line-height: 1.55; }

/* ===================== FRAMEWORK PILLS ===================== */
.framework-ring {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  padding: 32px;
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--light-gray);
  box-shadow: var(--card-shadow); margin-bottom: 32px;
}
.ring-item {
  background: var(--navy); color: var(--white);
  border-radius: 8px; padding: 10px 18px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.18s;
}
.ring-item:hover { background: var(--gold); color: var(--navy); }
.ring-item .rn {
  font-size: 11px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px; padding: 1px 6px;
}
.ring-item:hover .rn { background: rgba(15,30,61,0.15); }

/* ===================== NAV CTA (bottom of pillar pages) ===================== */
.pillar-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 56px; border-top: 1px solid var(--light-gray);
  background: var(--white);
}
.pillar-nav a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--navy); text-decoration: none;
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid var(--light-gray);
  transition: all 0.15s;
}
.pillar-nav a:hover { border-color: var(--gold); color: var(--gold); }
.pillar-nav .home-link {
  font-size: 12px; color: var(--gray);
  text-decoration: none; font-weight: 500;
}
.pillar-nav .home-link:hover { color: var(--gold); }

/* ===================== FEEDBACK ===================== */
.feedback-section {
  padding: 56px 56px 48px;
  border-top: 1px solid var(--light-gray);
  background: var(--white);
}
.feedback-section h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feedback-section .fb-intro { font-size: 14px; color: var(--gray); margin-bottom: 36px; line-height: 1.6; }

/* Alert banners */
.fb-alert {
  padding: 14px 20px; border-radius: 8px;
  font-size: 14px; margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.fb-alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #16a34a; }
.fb-alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }

/* Approved comments */
.fb-comments { margin-bottom: 40px; }
.fb-comment {
  padding: 20px 24px;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--off-white);
}
.fb-comment-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.fb-comment-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.fb-comment-company { font-size: 12px; color: var(--gold); font-weight: 600; }
.fb-comment-date { font-size: 12px; color: var(--gray); margin-left: auto; }
.fb-comment-body { font-size: 14px; color: var(--text); line-height: 1.7; }

/* Form */
.fb-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 32px;
}
.fb-form-wrap h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field.full { grid-column: 1 / -1; }
.fb-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray); }
.fb-field input,
.fb-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  width: 100%;
}
.fb-field input:focus,
.fb-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,0.1); }
.fb-field textarea { resize: vertical; min-height: 100px; }
.fb-field .req { color: var(--gold); }
.fb-honeypot { display: none; }
.fb-submit-row { display: flex; align-items: center; gap:16px; margin-top: 20px; }
.fb-submit { background: var(--navy); color: var(--white); border: none; padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.fb-submit:hover { background: var(--navy-light); }
.fb-note { font-size: 12px; color: var(--gray); }

@media (max-width: 768px) {
  .feedback-section { padding: 40px 28px; }
  .fb-grid { grid-template-columns: 1fr; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #sidebar { width: 220px; min-width: 220px; }
  #main { margin-left: 220px; }
  .hero { padding: 36px 28px; }
  .hero h1 { font-size: 30px; }
  .hero h2 { font-size: 24px; }
  .content { padding: 32px 28px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .pillar-nav { padding: 20px 28px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  #sidebar { display: none; }
  #main { margin-left: 0; }
  .tools-grid { grid-template-columns: 1fr; }
}
