:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);

  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.15);
  
  --accent-gold: #fbbf24;
  --accent-orange: #ea580c;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --danger: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --info: #38bdf8;
  --info-bg: rgba(56, 189, 248, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.18);
}

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

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

body {
  font-family: 'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Lights */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}
.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f59e0b 0%, rgba(245, 158, 11, 0) 70%);
  top: -100px;
  left: 20%;
}
.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ea580c 0%, rgba(234, 88, 12, 0) 70%);
  top: 40%;
  right: -100px;
}
.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  bottom: 10%;
  left: -50px;
  opacity: 0.25;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  font-size: 2rem;
  line-height: 1;
}
.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  max-width: 750px;
  margin: 0 auto 3rem;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.kpi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}
.kpi-card.highlight-card {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(17, 24, 39, 0.9));
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-glow);
}
.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.kpi-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.icon-rev { background: rgba(56, 189, 248, 0.15); color: var(--info); }
.icon-exp { background: rgba(244, 63, 94, 0.15); color: var(--danger); }
.icon-profit { background: rgba(245, 158, 11, 0.2); color: var(--accent-gold); }
.icon-tax { background: rgba(16, 185, 129, 0.15); color: var(--success); }

.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.kpi-value .unit {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 400;
}
.highlight-val {
  color: var(--accent-gold);
}
.kpi-caption {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-primary { color: var(--primary) !important; }
.text-warning { color: var(--accent-gold) !important; }

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: rgba(17, 24, 39, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Statement Table Styling */
.statement-wrapper {
  max-width: 950px;
  margin: 0 auto;
}
.statement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.statement-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.corp-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.corp-doc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
}
.financial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.financial-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}
.financial-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.financial-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.text-right { text-align: right; }
.text-center { text-align: center; }
.num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 600;
}
.group-header td {
  background: rgba(245, 158, 11, 0.07);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding-top: 1.15rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}
.subtotal-row td {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}
.summary-row td {
  background: rgba(255, 255, 255, 0.015);
}
.total-row td {
  border-top: 2px solid var(--border-subtle);
  border-bottom: 3px double rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}
.text-large {
  font-size: 1.25rem !important;
}
.font-bold {
  font-weight: 700;
}
.badge-mini {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.badge-success {
  background: var(--success-bg);
  color: var(--success);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.link-ref {
  color: var(--info);
  text-decoration: none;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--info-bg);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.link-ref:hover {
  background: rgba(56, 189, 248, 0.25);
}

/* Charts Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.chart-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.chart-box {
  position: relative;
  height: 250px;
  width: 100%;
}
.chart-caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
}

/* Accordion Breakdown */
.accordion-list {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.accordion-item.active {
  border-color: var(--border-focus);
}
.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}
.accordion-header:hover {
  background: rgba(255, 255, 255, 0.04);
}
.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.step-badge {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.accordion-title h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.accordion-title .sub-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}
.accordion-arrow {
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}
.accordion-content {
  display: none;
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 14, 23, 0.4);
}
.accordion-item.active .accordion-content {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sub-table th {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sub-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sub-table-total td {
  background: rgba(245, 158, 11, 0.08);
  font-weight: 700;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.bullet-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
.formula-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.25rem;
}
.formula-title {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.calc-highlight {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.95rem;
  margin-top: 0.85rem;
  color: #fff;
}
.alert-box {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-success {
  background: var(--success-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}
.alert-icon {
  font-size: 1.5rem;
  color: var(--success);
  flex-shrink: 0;
}
.my-3 { margin: 1rem 0; }
.text-sm { font-size: 0.82rem; }

/* Tax Info Cards */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
}
.info-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
.info-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.tag-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
}
.tag-pass {
  background: var(--success-bg);
  color: var(--success);
}
.tag-info {
  background: var(--info-bg);
  color: var(--info);
}

/* Simulator Section */
.simulator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.simulator-header {
  text-align: center;
  margin-bottom: 2rem;
}
.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .simulator-grid {
    grid-template-columns: 1fr;
  }
}
.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.control-val {
  color: var(--accent-gold);
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 700;
}
input[type="range"] {
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  cursor: pointer;
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.hint {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.btn-reset {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}
.btn-reset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sim-output {
  background: rgba(10, 14, 23, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.sim-output-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sim-res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sim-res-row.divider {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-weight: 600;
}
.sim-res-row.highlight-sim {
  border-top: 2px solid var(--border-subtle);
  border-bottom: none;
  padding: 1rem 0;
  background: rgba(16, 185, 129, 0.05);
  margin: 0.5rem -1rem -0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: var(--radius-sm);
}
.sim-status-note {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #a7f3d0;
}

/* Footer */
.footer {
  background: #070a10;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1rem;
  line-height: 1.7;
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .kpi-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Ratio display card (Slide 3 Page 71) */
.ratio-display {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 0;
}
.ratio-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}
.ratio-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ratio-val {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', monospace;
  letter-spacing: -0.02em;
}
.ratio-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}
/* Math equation and fraction styling */
.math-eq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-family: 'Plus Jakarta Sans', 'Prompt', sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0;
}
.math-term {
  font-weight: 600;
  color: var(--text-main);
}
.math-op {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.math-frac {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  padding: 0 0.25rem;
}
.frac-top {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.frac-bottom {
  padding-top: 0.2rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-align: center;
}
.justify-center {
  justify-content: center;
}
