/* ============================================
   KPI DECISIONS — Premium Design System
   Aesthetic: Editorial Data Intelligence
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ---- TOKENS ---- */
:root {
  --ink:       #ffffff;
  --ink-soft:  #f8f9fb;
  --surface:   #f3f4f6;
  --glass:     #ffffff;
  --glass-h:   #ffffff;
  --border:    #dde1e8;
  --border-h:  #b0b8c8;

  --cyan:      #A6192C;
  --cyan-dim:  #fae8ea;
  --cyan-dim-h: #f5d0d4;
  --amber:     #f59e0b;
  --amber-dim: #fef3c7;
  --rose:      #ef4444;
  --rose-dim:  #fee2e2;
  --lime:      #84cc16;
  --lime-dim:  #ecfccb;

  --text-1: #111827;
  --text-2: #4b5563;
  --text-3: #6b7280;

  --f-display: 'Bebas Neue', sans-serif;
  --f-body:    'DM Sans', sans-serif;
  --f-mono:    'DM Mono', monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-glow-cyan: 0 4px 12px rgba(166,25,44,0.35);
  --shadow-glow-amb:  0 4px 12px rgba(245,158,11,0.35);
  --shadow-card: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 16px 40px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--surface);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink-soft); }
::-webkit-scrollbar-thumb { background: var(--border-h); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }



/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ---- TYPOGRAPHY ---- */
.display-xl {
  font-family: var(--f-display);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 900;
}
.display-lg {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 900;
}
.display-md {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 900;
}
.label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.label-accent { 
  color: var(--cyan); 
  font-weight: 700;
}

/* ---- BADGES ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--glass);
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.badge-cyan  { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); font-weight: 600; }
.badge-amber { border-color: var(--amber); color: #d97706; background: var(--amber-dim); font-weight: 600; }
.badge-rose  { border-color: var(--rose); color: #dc2626; background: var(--rose-dim); font-weight: 600; }
.badge-lime  { border-color: var(--lime); color: #65a30d; background: var(--lime-dim); font-weight: 600; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  cursor: pointer;
}


.btn-primary {
  background: var(--cyan);
  color: #ffffff;
  font-weight: 700;
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  background: #8d1524;
  border-color: #8d1524;
  box-shadow: var(--shadow-card);
}

.btn-outline {
  border: 2px solid var(--border-h);
  color: var(--text-1);
  background: var(--glass);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { 
  border-color: var(--cyan); 
  color: var(--cyan); 
  background: var(--cyan-dim);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ---- CARDS ---- */
.card {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--cyan);
  background: var(--glass-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all 0.3s ease;
  background: #ffffff;
  border-bottom: 2px solid transparent;
}
.nav.scrolled {
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--cyan);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  font-family: var(--f-display);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.nav-logo:hover .nav-logo-mark {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.nav-logo-text {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--text-1);
}
.nav-logo-text span { color: var(--cyan); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.nav-links a:hover { 
  color: var(--text-1); 
  background: var(--glass-h);
  box-shadow: var(--shadow-sm);
}
.nav-links a.active { 
  color: var(--cyan); 
  background: var(--cyan-dim);
  font-weight: 600;
}

.nav-cta { display: flex; gap: 8px; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 32px; padding: 4px;
}
.nav-mobile-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text-1);
  transition: all 0.3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px;
  position: relative; overflow: hidden;
}

/* Hero accent block */
.hero-orb {
  display: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 40px; height: 2px;
  background: var(--cyan);
}

.hero-title { margin-bottom: 28px; }
.hero-title .line-1 { color: var(--text-1); display: block; font-weight: 900; }
.hero-title .line-2 { color: var(--cyan); display: block; font-weight: 900; }
.hero-title .line-3 { color: var(--text-2); display: block; font-weight: 900; }

.hero-desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: 42px;
  color: var(--cyan);
  line-height: 1;
  font-weight: 900;
}
.hero-stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 4px;
}

/* Hero dashboard mockup */
.hero-visual {
  position: relative;
}
.hero-dashboard {
  background: var(--glass);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}
.hero-dashboard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.dashboard-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #febc2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }
.dashboard-title-bar {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.08em;
}

.dashboard-kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 16px;
}
.dash-kpi {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  transition: all 0.3s ease;
}
.dash-kpi:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.dash-kpi-val {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text-1);
}
.dash-kpi-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.dash-kpi-delta {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}
.delta-up   { color: #65a30d; font-weight: 700; }
.delta-down { color: #dc2626; font-weight: 700; }

.dash-chart {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  height: 130px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.dash-chart:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-sm);
}
.dash-chart-label {
  font-family: var(--f-mono);
  font-size: 10px; 
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 80px;
}
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--cyan);
  position: relative;
  animation: bar-grow 1s ease forwards;
  transform-origin: bottom;
}
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.chart-bar.amber { background: var(--amber); }
.chart-bar.rose  { background: var(--rose); }

.dash-bottom-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 12px;
}
.dash-mini {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  transition: all 0.3s ease;
}
.dash-mini:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-sm);
}
.dash-mini-head {
  font-family: var(--f-mono);
  font-size: 10px; 
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}
.progress-bar-wrap { margin-bottom: 8px; }
.progress-label {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px; 
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 4px;
}
.progress-track {
  height: 6px; border-radius: 99px;
  background: var(--ink-soft);
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%; border-radius: 99px;
  background: var(--cyan);
  animation: fill-in 1.5s ease forwards;
  transform-origin: left;
}
@keyframes fill-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Floating badge */
.hero-float-badge {
  position: absolute;
  top: -16px; right: -20px;
  background: var(--amber);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid #d97706;
  box-shadow: var(--shadow-card);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ============================================
   CONCEPTS SECTION
   ============================================ */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.concept-card {
  padding: 32px 28px;
}
.concept-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}
.concept-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.concept-card:hover .concept-icon {
  transform: scale(1.1) rotate(5deg);
}
.concept-icon.cyan  { background: var(--cyan-dim);  border: 2px solid var(--cyan); }
.concept-icon.amber { background: var(--amber-dim); border: 2px solid var(--amber); }
.concept-icon.rose  { background: var(--rose-dim);  border: 2px solid var(--rose); }
.concept-icon.lime  { background: var(--lime-dim);  border: 2px solid var(--lime); }

.concept-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px; color: var(--text-1);
}
.concept-card p {
  font-size: 14px; color: var(--text-2); line-height: 1.7;
}

/* Formula box */
.formula-block {
  background: var(--glass);
  border: 2px solid var(--cyan);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  box-shadow: var(--shadow-sm);
}
.formula-block .formula-label {
  font-size: 10px; 
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 4px;
}

/* ============================================
   SECTOR TABS
   ============================================ */
.sector-tabs-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.tab-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tab-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: 2px solid var(--border);
  background: var(--glass);
  color: var(--text-2);
  font-family: var(--f-mono);
  font-size: 12px; 
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover { 
  border-color: var(--border-h); 
  color: var(--text-1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.tab-btn.active {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.tab-icon { font-size: 16px; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.kpi-table-wrap {
  background: var(--glass);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.kpi-table {
  width: 100%;
  border-collapse: collapse;
}
.kpi-table th {
  background: var(--ink-soft);
  padding: 14px 20px;
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.kpi-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-2);
  vertical-align: top;
}
.kpi-table tr:last-child td { border-bottom: none; }
.kpi-table tr:hover td { 
  background: var(--ink-soft); 
  color: var(--text-1);
}
.kpi-table .kpi-name {
  font-weight: 700; color: var(--text-1);
  font-size: 14px;
  white-space: nowrap;
}
.kpi-table .kpi-formula-cell {
  font-family: var(--f-mono);
  font-size: 12px; 
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}
.kpi-table .kpi-bench {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
}
.bench-good  { color: #65a30d; font-weight: 700; }
.bench-warn  { color: #d97706; font-weight: 700; }
.bench-bad   { color: #dc2626; font-weight: 700; }

.kpi-category-header td {
  padding: 10px 20px 6px;
  font-family: var(--f-mono);
  font-size: 10px; 
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--ink-soft);
  border-bottom: 2px solid var(--border);
}

/* ============================================
   CALCULATOR
   ============================================ */
.calc-section { background: transparent; }
.calc-wrapper {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 32px; align-items: start;
}
.calc-selector {
  background: var(--glass);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.calc-selector-header {
  padding: 16px 20px;
  border-bottom: 2px solid var(--border);
  background: var(--ink-soft);
}
.calc-selector-header h3 {
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
}
.calc-kpi-list { list-style: none; }
.calc-kpi-list li {
  border-bottom: 1px solid var(--border);
}
.calc-kpi-list button {
  width: 100%; padding: 14px 20px;
  text-align: left;
  font-size: 13px; 
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.calc-kpi-list button:hover { 
  background: var(--ink-soft); 
  color: var(--text-1);
  font-weight: 600;
}
.calc-kpi-list button.active {
  background: var(--cyan-dim-h);
  color: var(--cyan);
  border-right: 4px solid var(--cyan);
  font-weight: 700;
}
.calc-kpi-list .kpi-sector-tag {
  font-family: var(--f-mono);
  font-size: 9px; 
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-left: auto;
  padding: 2px 6px;
  background: var(--ink-soft);
  border-radius: 4px;
}

.calc-panel {
  background: var(--glass);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.calc-panel-title {
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-1);
}
.calc-panel-desc {
  font-size: 14px; 
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px; line-height: 1.6;
}
.calc-formula-display {
  background: var(--ink-soft);
  border: 2px solid var(--border-h);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: var(--f-mono);
  font-size: 14px; 
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.calc-formula-display .formula-lbl {
  font-size: 10px; 
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 6px;
}
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.calc-input-group { display: flex; flex-direction: column; gap: 6px; }
.calc-input-group label {
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.calc-input-group input {
  background: var(--ink);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text-1);
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.calc-input-group input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
  transform: translateY(-2px);
}

.calc-result {
  background: var(--cyan-dim);
  border: 3px solid var(--cyan);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
}
.calc-result-val {
  font-family: var(--f-display);
  font-size: 52px;
  color: var(--cyan);
  line-height: 1;
  font-weight: 700;
}
.calc-result-context {
  font-size: 13px; 
  font-weight: 500;
  color: var(--text-1);
  max-width: 240px; line-height: 1.5;
}
.calc-result-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px;
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  background: var(--ink);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-sm);
}

.calc-btn {
  width: 100%; margin-bottom: 16px;
  justify-content: center;
  padding: 16px;
}

/* ============================================
   ARTICLES
   ============================================ */
.articles-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}
.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.article-featured {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  transition: all 0.4s ease;
}
.article-featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.article-featured-img {
  height: 300px;
  background: var(--surface);
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--border);
}
.article-featured-img .art-bg {
  position: absolute; inset: 0;
  background: var(--cyan-dim);
}
.article-featured-img .art-number {
  position: absolute;
  right: -20px; bottom: -30px;
  font-family: var(--f-display);
  font-size: 180px; line-height: 1;
  color: var(--border);
  letter-spacing: -0.05em;
}
.article-featured-body { padding: 28px; background: var(--glass); }
.article-featured-body h3 {
  font-size: 22px; font-weight: 700;
  color: var(--text-1); line-height: 1.3;
  margin: 12px 0;
}
.article-featured-body p {
  font-size: 14px; 
  font-weight: 500;
  color: var(--text-2); 
  line-height: 1.7;
  margin-bottom: 20px;
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.article-meta .dot { 
  width: 4px; height: 4px; 
  border-radius: 50%; 
  background: var(--text-3); 
}

.articles-sidebar { display: flex; flex-direction: column; gap: 16px; }
.article-card-sm {
  padding: 20px;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--glass);
  border: 1.5px solid transparent;
}
.article-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border);
  background: var(--glass-h);
}
.article-card-sm h4 {
  font-size: 15px; font-weight: 700;
  color: var(--text-1); line-height: 1.3;
  margin: 10px 0 8px;
}
.article-card-sm p {
  font-size: 13px; 
  font-weight: 500;
  color: var(--text-2); 
  line-height: 1.6;
}

/* ============================================
   NEWSLETTER / CTA BAND
   ============================================ */
.cta-band {
  background: var(--cyan-dim);
  border: 2px solid var(--cyan);
  border-radius: var(--r-xl);
  padding: 64px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cta-band h2 { margin: 16px 0 12px; font-weight: 900; }
.cta-band p { 
  color: var(--text-2); 
  font-size: 17px; 
  font-weight: 500;
  max-width: 480px; 
  margin: 0 auto 36px; 
}

.subscribe-form {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.subscribe-input {
  background: var(--ink);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 20px;
  color: var(--text-1);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  width: 300px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.subscribe-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
  transform: translateY(-2px);
}
.subscribe-input::placeholder { color: var(--text-3); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 2px solid var(--border);
  padding: 60px 0 32px;
  background: var(--ink-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px; 
  font-weight: 500;
  color: var(--text-2); 
  line-height: 1.7;
  max-width: 260px; margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: var(--text-2);
  font-weight: 500;
  transition: all 0.2s;
}
.footer-col ul a:hover { 
  color: var(--cyan);
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 2px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-family: var(--f-mono);
  font-size: 11px; 
  font-weight: 500;
  color: var(--text-3); 
  letter-spacing: 0.08em;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 12px; font-weight: 600; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 17px; 
  font-weight: 500;
  color: var(--text-2); 
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  background: var(--cyan-dim);
  padding: 12px 0;
  position: relative; z-index: 1;
}
.ticker-inner {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 32px;
  font-family: var(--f-mono);
  font-size: 12px; 
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-item strong { 
  color: var(--cyan); 
  font-weight: 700;
}
.ticker-sep {
  color: var(--border-h);
  font-size: 18px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-selector { max-height: 300px; overflow-y: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .section { padding: 64px 0; }
  .concepts-grid { grid-template-columns: 1fr; }
  .dashboard-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .calc-inputs { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .kpi-table { font-size: 13px; }
  .kpi-table th, .kpi-table td { padding: 12px 14px; }
}
