/* ==========================================================================
   UK Solar & Battery Payback Estimator - Clean Modern Design System 2026
   ========================================================================== */

:root {
  --bg-dark: #090d16;
  --bg-surface: #101726;
  --bg-surface-elevated: #162035;
  --bg-card: rgba(18, 26, 43, 0.85);
  --bg-card-hover: rgba(26, 38, 62, 0.95);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(245, 158, 11, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --solar-gold: #f59e0b;
  --solar-gold-light: #fbbf24;
  --solar-gold-glow: rgba(245, 158, 11, 0.25);

  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
  --shadow-glow: 0 0 35px var(--solar-gold-glow);
  --shadow-emerald-glow: 0 0 35px var(--emerald-glow);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Global SVG Safety Rules */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--solar-gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Helper Utilities */
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-green { color: var(--emerald-light); }
.text-muted { color: var(--text-secondary); }
.desktop-only { display: inline; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #090d16;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
}

.brand-title strong {
  color: var(--solar-gold);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #090d16;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
  color: #090d16;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.pulse-glow {
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(245, 158, 11, 0.65); }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 56px 0 36px;
  text-align: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--solar-gold-light);
  margin-bottom: 18px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--solar-gold);
  box-shadow: 0 0 8px var(--solar-gold);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 30px;
}

.hero-highlights {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 26px;
  gap: 26px;
  box-shadow: var(--shadow-card);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.highlight-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.highlight-divider {
  width: 1px;
  height: 34px;
  background: var(--border-color);
}

/* Calculator Grid */
.main-content {
  padding: 36px 0 60px;
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
  align-items: stretch;
}

.calc-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.step-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: var(--text-secondary);
}

.status-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.status-verified {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid var(--border-emerald);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.slider-display {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--solar-gold-light);
}

.form-control {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--solar-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.field-hint {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* System Size Pill Selector */
.toggle-pill-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pill-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.pill-btn strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: #fff;
}

.pill-btn span {
  font-size: 0.74rem;
  margin-top: 2px;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pill-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--solar-gold);
  color: #fff;
}

.pill-btn.active strong {
  color: var(--solar-gold-light);
}

/* Range Sliders */
.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--solar-gold);
  box-shadow: 0 0 10px var(--solar-gold-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Battery Cards Group */
.battery-cards-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.battery-card {
  position: relative;
  display: flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.battery-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.battery-card-content {
  width: 100%;
}

.battery-card .b-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.battery-card .b-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
}

.battery-card .b-cost {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--solar-gold-light);
}

.battery-card .b-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.battery-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.battery-card.active {
  background: rgba(245, 158, 11, 0.09);
  border-color: var(--solar-gold);
}

/* Left Column Snapshot Strip (Balances height with right column) */
.system-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-top: auto;
}

.summary-chip {
  display: flex;
  flex-direction: column;
}

.chip-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.chip-val {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: #fff;
  margin-top: 1px;
}

/* Results Card Styles */
.results-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.banner-stat .banner-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.banner-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.banner-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--solar-gold-light);
  line-height: 1.1;
}

.banner-unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.banner-sub {
  display: block;
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-top: 4px;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.metric-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon svg {
  width: 18px;
  height: 18px;
}

.icon-solar { background: rgba(245, 158, 11, 0.15); color: var(--solar-gold); }
.icon-save { background: rgba(16, 185, 129, 0.15); color: var(--emerald-light); }
.icon-export { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.icon-cost { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 1px 0;
}

.metric-foot {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Grid Independence Card (Clean, Sleek & Compact) */
.independence-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.independence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.independence-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.ind-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-light);
  flex-shrink: 0;
}

.ind-icon-wrap svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

.independence-pct {
  background: var(--emerald);
  color: #090d16;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.independence-note {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Cumulative 25-Year Bar */
.cumulative-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.cumul-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cumul-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--emerald-light);
}

.progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.cumul-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cumul-foot strong {
  color: #cbd5e1;
}

/* Action Box */
.calc-cta-box {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-top: auto;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.cta-text h4 {
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 2px;
}

.cta-text p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-guarantees {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  color: var(--emerald-light);
  font-weight: 500;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

/* Market Overview Section */
.section-installers {
  padding: 56px 0;
  background: #0d121e;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.installer-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.installer-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.installer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.installer-card.featured {
  border-color: var(--border-active);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-surface) 100%);
}

.card-tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--solar-gold);
  color: #090d16;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-tag.neutral {
  background: #3b82f6;
  color: #fff;
}

.card-tag.premium {
  background: var(--emerald);
  color: #090d16;
}

.inst-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  margin-top: 4px;
}

.inst-brand h3 {
  font-size: 1.3rem;
}

.inst-cat {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.inst-rating {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--solar-gold-light);
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.inst-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.45;
}

.inst-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.inst-features li strong {
  color: var(--solar-gold-light);
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.inst-pros-cons {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.inst-pros-cons .pro strong {
  color: #fff;
}

/* Mid CTA Banner */
.mid-cta-banner {
  background: linear-gradient(135deg, #162035 0%, #101726 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mid-cta-content h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.mid-cta-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 680px;
}

/* Smart Tariffs Section */
.section-smart-tariffs {
  padding: 56px 0;
}

.tariff-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.tariff-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px;
}

.tariff-box.advanced {
  border-color: var(--border-emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-surface) 100%);
}

.t-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.t-badge.highlight {
  color: var(--emerald-light);
}

.tariff-box h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.t-rate {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.t-rate span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.t-rate small {
  display: block;
  font-size: 0.78rem;
  color: var(--emerald-light);
  margin-top: 2px;
}

.t-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.t-list li {
  position: relative;
  padding-left: 16px;
}

.t-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--solar-gold);
}

.tariff-box.advanced .t-list li::before {
  color: var(--emerald);
}

/* Article Prose Section */
.section-article {
  padding: 56px 0 76px;
  background: var(--bg-dark);
}

.article-container {
  max-width: 820px;
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.article-meta {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.article-main-title {
  font-size: 2.1rem;
  line-height: 1.3;
}

.prose-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.prose-content p {
  margin-bottom: 20px;
}

.prose-content .lead-text {
  font-size: 1.15rem;
  color: #f8fafc;
  line-height: 1.65;
}

.prose-content h3 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
  color: #fff;
}

.prose-content h4 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--solar-gold-light);
}

.prose-content ul, .prose-content ol {
  margin: 0 0 20px 22px;
}

.prose-content li {
  margin-bottom: 8px;
}

.article-callout {
  display: flex;
  gap: 14px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--solar-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 28px 0;
}

.callout-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.callout-content {
  font-size: 0.92rem;
  color: #e2e8f0;
}

.article-conclusion-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 40px;
}

.article-conclusion-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.pt-3 { padding-top: 14px; }

/* Footer & Legal */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #060910;
  padding: 44px 0 36px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer-disclosure {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--solar-gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-disclosure p {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-nav span {
  color: var(--border-color);
}

.footer-disclaimer {
  max-width: 920px;
  line-height: 1.6;
  font-size: 0.76rem;
}

/* Legal Pages Styling */
.legal-page-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.legal-card h1 {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

.legal-card .legal-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.legal-card h2 {
  font-size: 1.3rem;
  margin: 24px 0 10px;
  color: var(--solar-gold-light);
}

.legal-card p, .legal-card li {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.legal-card ul {
  margin: 10px 0 18px 22px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .installer-cards-grid {
    grid-template-columns: 1fr;
  }
  .tariff-comparison-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-highlights {
    flex-direction: column;
    gap: 14px;
    padding: 14px 18px;
  }
  .highlight-divider {
    width: 100%;
    height: 1px;
  }
  .mid-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-header .nav-links {
    display: none;
  }
  .results-banner {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-btn {
    width: 100%;
  }
  .cta-guarantees {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .system-summary-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
