/* finance/finance.css */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #071f19;
  --bg-surface: #0B2B22;
  --bg-card: rgba(11, 43, 34, 0.65);
  --bg-card-hover: rgba(16, 61, 48, 0.8);
  --bg-glass-heavy: rgba(7, 31, 25, 0.88);
  --border-subtle: rgba(16, 185, 129, 0.16);
  --border-glow: rgba(16, 185, 129, 0.45);
  --border-gold: rgba(245, 196, 81, 0.35);

  --emerald: #10B981;
  --emerald-light: #34D399;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.22);

  --gold: #F5C451;
  --gold-light: #FDE08D;
  --gold-glow: rgba(245, 196, 81, 0.18);

  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --danger-border: rgba(239, 68, 68, 0.35);

  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-glass: 0 16px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  --shadow-hover: 0 22px 48px -12px rgba(0, 0, 0, 0.75), 0 0 28px 0 rgba(16, 185, 129, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 12% 8%, rgba(16, 185, 129, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(245, 196, 81, 0.07) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.09) 0%, transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul, ol {
  list-style: none;
}

.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  display: grid;
  place-items: center;
  color: #04130f;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.brand-logo span.gold {
  color: var(--gold);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--emerald-light);
}

.nav-search {
  position: relative;
  flex: 0 1 260px;
}

.nav-search input {
  width: 100%;
  background: rgba(7, 31, 25, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.nav-search input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}

.nav-search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Trust Strip */
.trust-strip {
  background: rgba(11, 43, 34, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.75rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.trust-item.gold-badge .trust-dot {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.25rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--emerald-light);
}

.breadcrumb .sep {
  opacity: 0.4;
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: 600;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.glass-card.interactive:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

/* Hero Section (Hub) */
.hero-section {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.hero-title .highlight-emerald {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: #031510;
  box-shadow: 0 8px 25px -4px rgba(16, 185, 129, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.7);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-glass:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Mini SIP Card in Hero */
.mini-sip-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  border-color: rgba(16, 185, 129, 0.32);
}

.mini-sip-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.mini-sip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.live-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-light);
  animation: pulse 1.8s infinite;
}

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

.mini-result-banner {
  background: rgba(7, 31, 25, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-result-val {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold);
}

/* Directory Section */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.85rem;
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.calc-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
  position: relative;
}

.calc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.calc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: grid;
  place-items: center;
  color: var(--emerald-light);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

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

.status-soon {
  background: rgba(245, 196, 81, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 196, 81, 0.3);
}

.calc-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.calc-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.calc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--emerald-light);
}

.calc-card.soon-card {
  opacity: 0.86;
}

.calc-card.soon-card .calc-card-footer {
  color: var(--text-muted);
}

/* Calculator Workspace Layout */
.calc-page-header {
  padding: 1rem 0 2rem;
}

.calc-page-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.calc-page-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 760px;
}

.calc-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.controls-panel, .results-panel {
  padding: 1.75rem;
}

/* Input Controls & Sliders */
.control-group {
  margin-bottom: 1.6rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.control-label {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(7, 31, 25, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.input-pill:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.input-pill .prefix, .input-pill .suffix {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--emerald-light);
  font-weight: 600;
  user-select: none;
}

.input-pill input[type="number"] {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  width: 105px;
  text-align: right;
  padding: 0 0.25rem;
  -moz-appearance: textfield;
}

.input-pill input[type="number"]:focus {
  outline: none;
}

.input-pill input[type="number"]::-webkit-outer-spin-button,
.input-pill input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Custom Range Slider */
input[type="range"].rc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--emerald) 0%, var(--emerald) var(--progress, 30%), rgba(255, 255, 255, 0.12) var(--progress, 30%), rgba(255, 255, 255, 0.12) 100%);
  outline: none;
  cursor: pointer;
  margin: 0.45rem 0;
}

input[type="range"].rc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #071f19;
  box-shadow: 0 0 14px rgba(245, 196, 81, 0.75);
  cursor: grab;
  transition: transform 0.15s ease;
}

input[type="range"].rc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"].rc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #071f19;
  box-shadow: 0 0 14px rgba(245, 196, 81, 0.75);
  cursor: grab;
}

/* Preset Chips */
.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald);
  color: var(--text-main);
}

/* Toggle Switch */
.toggle-box {
  background: rgba(7, 31, 25, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-top: 1.25rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.toggle-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.toggle-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-toggle {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.14);
  transition: 0.25s;
  border-radius: 34px;
}

.slider-toggle::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

.switch input:checked + .slider-toggle {
  background-color: var(--emerald);
}

.switch input:checked + .slider-toggle::before {
  transform: translateX(20px);
  background-color: #04130f;
}

/* Results Metrics */
.hero-metric-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(7, 31, 25, 0.85) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.35rem;
  position: relative;
}

.hero-metric-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 700;
}

.hero-metric-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.18;
  margin: 0.25rem 0;
}

.hero-metric-sub {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--emerald-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.metric-tile {
  background: rgba(7, 31, 25, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
}

.metric-tile-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.metric-tile-val {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-tile-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Charts Container */
.charts-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.chart-box {
  background: rgba(7, 31, 25, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.chart-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.canvas-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Callout & Insight Banners */
.insight-card {
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.12) 0%, rgba(11, 43, 34, 0.7) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-top: 1.25rem;
}

.insight-card h4 {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.insight-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.warning-banner {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: #FCA5A5;
  font-size: 0.88rem;
  display: none;
}

.warning-banner.show {
  display: block;
}

/* Cashflow Table */
.table-section {
  margin-bottom: 3rem;
  padding: 1.75rem;
}

.table-scroll {
  overflow-x: auto;
  max-height: 460px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.rc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.88rem;
}

.rc-table th {
  position: sticky;
  top: 0;
  background: #08231c;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.rc-table th:first-child,
.rc-table td:first-child {
  text-align: left;
}

.rc-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.rc-table tr:hover td {
  background: rgba(16, 185, 129, 0.06);
}

/* Deep-Dive Editorial & Formula Section */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.editorial-card {
  padding: 2rem;
}

.editorial-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.editorial-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald-light);
  margin: 1.35rem 0 0.5rem;
}

.editorial-card p, .editorial-card li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.editorial-card ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.formula-block {
  background: #051612;
  border: 1px solid var(--border-glow);
  border-left: 4px solid var(--gold);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--gold-light);
  margin: 1rem 0;
  overflow-x: auto;
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--emerald-light);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.35rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #041410;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--emerald-light);
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .calc-workspace {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
}
