/* Inner-Intelligence Design System - Dark Theme (Default)
   Tone: Warm Human, colorful, engaging
   Audience: Collaborators, future employees, partners
   Adopted: 2026-06-10 | Updated: dark with hover effects
*/

:root {
  --bg: #0f1210;
  --paper: #1a1f1c;
  --paper-hover: #222a26;
  --ink: #e8e4df;
  --muted: #8a9690;
  --green: #5cb88a;
  --green-2: #315f53;
  --green-glow: rgba(92, 184, 138, .15);
  --gold: #c59b45;
  --gold-glow: rgba(197, 155, 69, .12);
  --red: #e06b56;
  --blue: #6ba3c2;
  --line: #2a332e;
  --shadow: 0 18px 50px rgba(0, 0, 0, .4);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, .55);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image: radial-gradient(circle at top left, rgba(92,184,138,.08) 0, transparent 40%), radial-gradient(circle at bottom right, rgba(197,155,69,.06) 0, transparent 40%);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--green); font-weight: 700; text-decoration: none; transition: color 0.2s; }
a:hover { color: #7ddbab; text-decoration: underline; }

/* Layout */
.layout { display: grid; grid-template-columns: 290px minmax(0,1fr); min-height: 100vh; }

aside {
  position: sticky; top: 0; height: 100vh; padding: 28px 20px;
  background: rgba(26,31,28,.85); backdrop-filter: blur(20px) saturate(1.2);
  border-right: 1px solid var(--line); overflow-y: auto;
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, #c59b45 0 20%, #5cb88a 22% 50%, #315f53 52%);
  box-shadow: 0 0 20px rgba(92,184,138,.3), inset 0 0 0 4px rgba(255,255,255,.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.brand-mark:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 30px rgba(92,184,138,.5), inset 0 0 0 4px rgba(255,255,255,.15); }
.brand h1 { font-size: 18px; line-height: 1.1; margin: 0; color: var(--ink); }
.brand span { color: var(--muted); font-size: 12px; display:block; margin-top: 3px; }

nav a {
  display: block; padding: 10px 12px; margin: 4px 0; border-radius: 12px;
  color: var(--muted); font-weight: 650; font-size: 14px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
nav a:hover { background: var(--green-glow); color: var(--green); text-decoration: none; transform: translateX(4px); }

.side-note { margin-top: 28px; padding: 16px; border-radius: 18px; background: rgba(49,95,83,.15); color: var(--muted); font-size: 13px; line-height: 1.5; border: 1px solid var(--line); }

main { padding: 36px clamp(22px,4vw,64px) 80px; max-width: 1240px; }

/* Hero */
.hero {
  padding: 46px; border-radius: 34px;
  background: linear-gradient(135deg, rgba(26,31,28,.95), rgba(15,18,16,.95));
  box-shadow: var(--shadow); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero::before {
  content:""; position:absolute; left:-80px; top:-80px; width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(92,184,138,.2), transparent 65%);
  animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content:""; position:absolute; right:-120px; bottom:-120px; width:320px; height:320px; border-radius:50%;
  background: radial-gradient(circle, rgba(197,155,69,.15), transparent 65%);
  animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Typography */
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--gold); font-weight: 900; }
h2 { font-size: clamp(32px,5vw,58px); line-height: 1.02; margin: 14px 0 18px; letter-spacing: -.04em; color: var(--ink); }
h3 { font-size: 30px; margin: 54px 0 16px; letter-spacing: -.025em; color: var(--ink); }
h4 { font-size: 20px; margin: 26px 0 10px; color: var(--ink); }
p { margin: 0.8rem 0; color: var(--muted); }
.lead { font-size: 19px; color: #b0b8b3; max-width: 840px; }
.label { color: var(--muted); font-size: 14px; font-weight: 650; }

/* Verdict pill */
.verdict {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--green-glow); border: 1px solid var(--green-2);
  border-radius: 999px; color: var(--green); font-weight: 850; margin: 16px 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.verdict:hover { background: rgba(92,184,138,.22); box-shadow: 0 0 20px var(--green-glow); }

/* Grid and cards */
.grid { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4,minmax(0,1fr)); margin: 28px 0; }
.cards-3 { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 22px 0; }
.cards-2 { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 22px 0; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 10px 26px rgba(0,0,0,.2);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-2);
  background: var(--paper-hover);
}

/* Metrics */
.metric { font-size: 36px; font-weight: 900; letter-spacing: -.04em; color: var(--green); }
.metric small { font-size: 15px; color: var(--muted); font-weight: 700; }

/* Tags */
.tag {
  display:inline-flex; padding: 5px 10px; border-radius:999px; font-size:12px; font-weight:800;
  background: var(--green-glow); color:var(--green); margin: 2px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tag:hover { transform: scale(1.05); box-shadow: 0 0 12px var(--green-glow); }
.tag.warn { background: var(--gold-glow); color:var(--gold); }
.tag.warn:hover { box-shadow: 0 0 12px var(--gold-glow); }
.tag.risk { background:rgba(224,107,86,.12); color:var(--red); }
.tag.risk:hover { box-shadow: 0 0 12px rgba(224,107,86,.2); }
.tag.scale { background:rgba(107,163,194,.12); color:var(--blue); }
.tag.scale:hover { box-shadow: 0 0 12px rgba(107,163,194,.2); }

/* Tables */
table {
  width:100%; border-collapse: collapse; overflow:hidden; border-radius:18px;
  background:var(--paper); box-shadow: 0 8px 20px rgba(0,0,0,.2); margin: 1rem 0;
}
th, td { text-align:left; padding: 15px 16px; border-bottom:1px solid var(--line); vertical-align:top; font-size: 14px; }
th { background: rgba(49,95,83,.2); color: var(--green); font-size:13px; text-transform:uppercase; letter-spacing:.05em; }
td { color: var(--muted); }
tr:last-child td { border-bottom:0; }
tr { transition: background 0.15s; }
tr:hover td { background: rgba(92,184,138,.04); }

/* Callouts */
.callout { border-left: 5px solid var(--gold); background: rgba(197,155,69,.08); padding:18px 20px; border-radius: 0 18px 18px 0; margin:22px 0; transition: border-color 0.2s, background 0.2s; }
.callout:hover { background: rgba(197,155,69,.12); }
.insight { border-left: 5px solid var(--green); background: var(--green-glow); padding:18px 20px; border-radius: 0 18px 18px 0; margin:22px 0; transition: border-color 0.2s, background 0.2s; }
.insight:hover { background: rgba(92,184,138,.2); }
.risk-box { border-left: 5px solid var(--red); background: rgba(224,107,86,.08); padding:18px 20px; border-radius: 0 18px 18px 0; margin:22px 0; transition: background 0.2s; }
.risk-box:hover { background: rgba(224,107,86,.12); }

/* Decision steps */
.decision { display:grid; grid-template-columns: repeat(5,1fr); gap: 12px; align-items: stretch; margin: 26px 0; }
.step {
  background: var(--paper); border:1px solid var(--line); border-radius:18px;
  padding:16px; position:relative; min-height:130px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-3px); border-color: var(--green-2); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.step strong { display:block; color:var(--green); margin-bottom:6px; }
.step::after { content:"\2192"; position:absolute; right:-14px; top:45%; font-size:24px; color:var(--gold); font-weight:900; }
.step:last-child::after { display:none; }

/* Bar charts */
.chart-wrap { background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow: 0 10px 26px rgba(0,0,0,.2); margin: 1rem 0; }
.bar-row { display:grid; grid-template-columns:100px 1fr 100px; align-items:center; gap:12px; margin:13px 0; font-size: 14px; }
.bar-track { height:18px; background: rgba(42,51,46,.8); border-radius:999px; overflow:hidden; }
.bar { height:100%; border-radius:999px; background:linear-gradient(90deg, var(--green-2), var(--green)); transition: width 0.6s cubic-bezier(.4,0,.2,1); }
.bar.bv { background:linear-gradient(90deg, #4d7287, var(--blue)); }
.bar.na { background: repeating-linear-gradient(45deg, #2a2a2a, #2a2a2a 6px, #333 6px, #333 12px); }

/* Risk grid */
.risk-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin-top: 18px; }
.risk-card {
  border-radius:18px; padding:18px; border:1px solid var(--line); background:var(--paper);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.risk-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,.35); }
.risk-card.high { border-color: rgba(224,107,86,.4); background: rgba(224,107,86,.06); }
.risk-card.high:hover { border-color: var(--red); }
.risk-card.med { border-color: rgba(197,155,69,.4); background: rgba(197,155,69,.06); }
.risk-card.med:hover { border-color: var(--gold); }
.risk-card.low { border-color: rgba(92,184,138,.3); background: rgba(92,184,138,.04); }
.risk-card.low:hover { border-color: var(--green); }

/* Persona cards */
.persona { display:grid; grid-template-columns: 90px 1fr; gap:18px; align-items:start; }
.avatar {
  width:72px; height:72px; border-radius:22px;
  background:linear-gradient(135deg, rgba(49,95,83,.3), rgba(197,155,69,.2));
  display:grid; place-items:center; font-size:32px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.avatar:hover { transform: scale(1.08) rotate(3deg); box-shadow: 0 8px 20px rgba(92,184,138,.2); }

/* Lists */
ul, ol { margin: 0.6rem 0 0.6rem 1.4rem; font-size: 15px; color: var(--muted); }
li { margin: 0.4rem 0; }
.checklist { list-style: none; margin-left: 0; }
.checklist li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--muted); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.6rem; width: 14px; height: 14px; border: 2px solid var(--green-2); border-radius: 3px; transition: border-color 0.2s; }
.checklist li:hover::before { border-color: var(--green); }

/* Source list */
.source-list { columns:2; column-gap: 34px; font-size:14px; }
.source-list a { transition: color 0.2s, transform 0.1s; display: inline-block; }
.source-list a:hover { transform: translateX(3px); }

/* Footer */
.footer { margin-top:70px; padding:22px; color:var(--muted); border-top:1px solid var(--line); font-size:13px; }

/* Print button */
.print-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 10; border:0;
  background: var(--green); color: #0f1210; padding:12px 18px; border-radius:999px;
  font-weight:850; box-shadow: 0 12px 30px rgba(92,184,138,.3); cursor:pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.print-btn:hover { transform: scale(1.05); box-shadow: 0 16px 40px rgba(92,184,138,.45); }

/* Responsive */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  aside { position: relative; height:auto; }
  .cards-4, .cards-3, .cards-2, .decision, .risk-grid { grid-template-columns: 1fr; }
  .step::after { display:none; }
  .source-list { columns:1; }
  .hero { padding:28px; }
}

@media print {
  aside, .print-btn { display:none; }
  .layout { display:block; }
  main { max-width:none; padding:0; }
  body { background:white; color: #1a1a1a; }
  .card, .hero, .chart-wrap, table { box-shadow:none; background: white; border: 1px solid #ddd; }
  .metric, .green, nav a:hover, .verdict { color: #315f53; }
  th { background: #f0f0f0; color: #333; }
}
