:root {
  /* Base colours */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --ghost: #F7F9FA;
  --cloud: #F0F3F5;
  --silver: #E4E8EB;
  --slate: #CBD2D9;
  
  --ink-900: #0A0D14;
  --ink-800: #1A1F29;
  --ink-700: #2E3642;
  --ink-600: #4A5568;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --ink-300: #D1D5DB;
  
  /* Brand colours */
  --cobalt: #1E4FFF;
  --cobalt-dark: #0035E0;
  --cobalt-light: #E8EEFF;
  --cobalt-glow: rgba(30, 79, 255, 0.15);
  
  --lime: #D4FF3A;
  --lime-dark: #B5E610;
  --lime-glow: rgba(212, 255, 58, 0.2);
  
  --coral: #FF5D3B;
  --coral-dark: #E63E1C;
  --coral-light: #FFE8E3;
  
  --amber: #FFB020;
  --amber-light: #FFF4E0;
  
  --mint: #00D9A3;
  --mint-light: #D8FFF4;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1E4FFF 0%, #00D9A3 100%);
  --gradient-accent: linear-gradient(135deg, #D4FF3A 0%, #00D9A3 100%);
  --gradient-warm: linear-gradient(135deg, #FF5D3B 0%, #FFB020 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 13, 20, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 13, 20, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 13, 20, 0.12);
  --shadow-xl: 0 24px 64px rgba(10, 13, 20, 0.16);
  
  /* Timings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  background: var(--off-white);
  color: var(--ink-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

button { 
  font-family: inherit; 
  cursor: pointer;
}

/* ============= TOP BAR ============= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--silver);
  transition: background 0.2s var(--ease-out);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 720px) { 
  .topbar-inner { padding: 12px 16px; } 
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-decoration: none;
  transition: transform 0.2s var(--ease-out);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-tax {
  background: var(--ink-900);
  color: var(--lime);
  padding: 6px 10px 6px 12px;
  border-radius: 8px 0 0 8px;
}

.logo-window {
  background: var(--lime);
  color: var(--ink-900);
  padding: 6px 12px 6px 10px;
  border-radius: 0 8px 8px 0;
}

.nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-600);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px;
  transition: all 0.2s var(--ease-out);
  position: relative;
}

.nav-tab:hover { 
  background: var(--cloud); 
  color: var(--ink-900); 
}

.nav-tab.active {
  background: var(--ink-900);
  color: var(--white);
}

@media (max-width: 860px) {
  .topbar-inner { flex-wrap: wrap; }
  .nav-tabs { 
    order: 3; 
    width: 100%; 
    padding-top: 8px; 
    border-top: 1px solid var(--silver); 
    margin-top: 8px; 
  }
}

/* ============= PAGE ============= */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

@media (max-width: 720px) { 
  .page { padding: 20px 16px; } 
}

.view { 
  display: none; 
}

.view.active { 
  display: block; 
  animation: fadeSlideUp 0.5s var(--ease-out); 
}

@keyframes fadeSlideUp {
  from { 
    opacity: 0; 
    transform: translateY(16px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* ============= HERO ============= */
.hero {
  background: var(--ink-900);
  color: var(--white);
  border-radius: 24px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

@media (max-width: 720px) { 
  .hero { 
    padding: 56px 32px; 
    border-radius: 20px; 
  } 
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--cobalt);
}

.hero-glow-2 {
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: var(--lime);
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

.hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 800px; 
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 255, 58, 0.12);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(212, 255, 58, 0.2);
  margin-bottom: 24px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
  max-width: 640px;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink-900);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(212, 255, 58, 0.3);
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 255, 58, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s var(--ease-spring);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--cobalt);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border: 2px solid var(--cobalt);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.btn-secondary:hover {
  background: var(--cobalt);
  color: var(--white);
  transform: translateY(-1px);
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--coral);
  color: white;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.countdown-pulse {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.hero-stats {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat-item { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero-stats { gap: 32px; }
  .stat-number { font-size: 32px; }
}

/* ============= TOOLS GRID ============= */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .tools-grid { grid-template-columns: 1fr; }
}

.tool-card {
  background: var(--white);
  border: 1.5px solid var(--silver);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card-primary {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
}

.tool-card-primary::before {
  background: var(--lime);
  opacity: 1;
}

.tool-card-secondary {
  background: var(--lime);
  color: var(--ink-900);
  border-color: var(--lime);
}

.tool-card-secondary::before {
  background: var(--cobalt);
  opacity: 1;
}

.tool-card-accent {
  background: var(--mint-light);
  border-color: var(--mint);
}

.tool-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.tool-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tool-desc {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 20px;
  flex: 1;
}

.tool-arrow {
  align-self: flex-start;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.5;
  transition: all 0.3s var(--ease-spring);
}

.tool-card:hover .tool-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ============= PAGE HEADS ============= */
.page-head { 
  margin-bottom: 40px; 
  max-width: 800px; 
}

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  background: var(--cobalt-light);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.page-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--ink-900);
}

.page-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 680px;
}

/* ============= CARDS ============= */
.card-elevated {
  background: var(--white);
  border: 1.5px solid var(--silver);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}

.card-elevated:hover {
  box-shadow: var(--shadow-md);
}

.card-dark {
  background: var(--ink-900);
  border: none;
  border-radius: 20px;
  padding: 32px 28px;
  color: var(--white);
}

.card-cta {
  background: var(--lime);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 40px;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-900);
  color: var(--lime);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-900);
}

.cta-desc {
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
  color: var(--ink-700);
}

/* ============= GRIDS ============= */
.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  margin-bottom: 32px;
}

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

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ============= INPUTS ============= */
.input-card {
  background: var(--ghost);
  border-color: var(--cloud);
}

.input-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.label-hint {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 400;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-500);
  pointer-events: none;
}

.tw-input {
  width: 100%;
  padding: 14px 16px 14px 36px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  background: var(--white);
  border: 2px solid var(--silver);
  border-radius: 12px;
  transition: all 0.2s var(--ease-out);
}

.tw-input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px var(--cobalt-glow);
}

.tw-input::placeholder {
  color: var(--ink-400);
  font-weight: 500;
}

/* ============= SEGMENTED CONTROL ============= */
.seg {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--cloud);
  border-radius: 12px;
}

.seg-btn {
  flex: 1;
  padding: 10px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-600);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.seg-btn:hover {
  color: var(--ink-900);
}

.seg-btn.active {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

/* ============= RESULT CARD ============= */
.result-card {
  background: var(--white);
  border: 2px solid var(--cobalt);
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 32px;
  animation: resultSlideIn 0.5s var(--ease-out);
}

@keyframes resultSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.result-icon {
  font-size: 48px;
  line-height: 1;
}

.result-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  margin-bottom: 8px;
}

.result-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink-900);
}

.result-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-600);
  margin-bottom: 24px;
}

.result-meta {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--silver);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.meta-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

/* ============= WAVES VIZ ============= */
.waves-viz {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.wave-bar {
  background: var(--cloud);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.wave-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.wave-date {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}

.wave-threshold {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-600);
  font-weight: 600;
}

.wave-progress {
  height: 8px;
  background: var(--silver);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.wave-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gradient-primary);
  border-radius: 8px;
  transition: width 0.8s var(--ease-out);
}

.wave-bar[data-wave="1"].active .wave-progress::after { width: 100%; }
.wave-bar[data-wave="2"].active .wave-progress::after { width: 100%; }
.wave-bar[data-wave="3"].active .wave-progress::after { width: 100%; }

/* ============= TIMELINE ============= */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--silver);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s var(--ease-out);
  animation: fadeSlideUp 0.5s var(--ease-out);
  animation-fill-mode: both;
}

.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.15s; }
.timeline-item:nth-child(4) { animation-delay: 0.2s; }
.timeline-item:nth-child(5) { animation-delay: 0.25s; }
.timeline-item:nth-child(6) { animation-delay: 0.3s; }

.timeline-item:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.timeline-marker.q1 { background: #E8F4FF; color: #0066CC; }
.timeline-marker.q2 { background: #F0E8FF; color: #6B35D6; }
.timeline-marker.q3 { background: #FFE8F4; color: #CC0066; }
.timeline-marker.q4 { background: #FFF4E8; color: #CC6600; }
.timeline-marker.final { background: var(--lime); color: var(--ink-900); }
.timeline-marker.poa { background: var(--mint-light); color: #008866; }

.timeline-content {
  flex: 1;
}

.timeline-date {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--ink-500);
}

/* ============= SUMMARY CARD ============= */
.summary-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.summary-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.summary-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
}

.summary-total .summary-label {
  font-weight: 700;
  font-size: 16px;
}

.summary-total .summary-value {
  font-size: 36px;
}

.summary-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.meta-row span:last-child {
  font-weight: 600;
  color: var(--lime);
}

/* ============= BREAKDOWN ============= */
.breakdown-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 16px;
  color: var(--ink-900);
}

.band-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 100px;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--silver);
  align-items: center;
  font-size: 14px;
}

.band-row:last-child {
  border-bottom: none;
}

.band-rate {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--cobalt);
}

.band-range {
  color: var(--ink-600);
  font-weight: 500;
}

.band-amt {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-align: right;
  font-size: 15px;
  color: var(--ink-900);
}

@media (max-width: 720px) {
  .band-row { 
    grid-template-columns: 60px 1fr 90px; 
    gap: 12px; 
    padding: 14px; 
    font-size: 13px; 
  }
  .band-row > .band-amt:first-of-type { display: none; }
}

/* ============= ALERTS ============= */
.alert {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 2px solid;
  animation: fadeSlideUp 0.4s var(--ease-out);
}

.alert-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.alert-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.alert-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}

.alert-warning { 
  background: var(--amber-light); 
  border-color: var(--amber); 
}
.alert-warning .alert-icon { 
  background: var(--amber); 
  color: var(--ink-900); 
}
.alert-warning .alert-title { 
  color: var(--ink-900); 
}

.alert-info { 
  background: var(--cobalt-light); 
  border-color: var(--cobalt); 
}
.alert-info .alert-icon { 
  background: var(--cobalt); 
  color: var(--white);
}
.alert-info .alert-title { 
  color: var(--cobalt-dark); 
}

/* ============= TRIAGE ============= */
.triage-card {
  max-width: 800px;
  margin: 0 auto;
}

.triage-step {
  padding: 32px 0;
  border-bottom: 1.5px solid var(--silver);
}

.triage-step:last-child { 
  border-bottom: none; 
}

.triage-step.hidden { 
  display: none; 
}

.triage-q {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.triage-q em { 
  font-style: italic; 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.triage-choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.triage-btn {
  padding: 12px 24px;
  border-radius: 100px;
  border: 2px solid var(--silver);
  background: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.triage-btn:hover {
  border-color: var(--cobalt);
  background: var(--cobalt-light);
  transform: translateY(-1px);
}

.triage-btn.selected {
  background: var(--ink-900);
  color: var(--lime);
  border-color: var(--ink-900);
}

/* ============= QUIZ ============= */
.quiz-card {
  max-width: 800px;
  margin: 0 auto;
}

.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.step-dot {
  height: 4px;
  flex: 1;
  background: var(--silver);
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
}

.step-dot.done, 
.step-dot.active { 
  background: var(--ink-900); 
}

.quiz-count {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.quiz-q {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink-900);
}

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 2px solid var(--silver);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  width: 100%;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink-900);
}

.quiz-opt:hover {
  border-color: var(--cobalt);
  background: var(--cobalt-light);
  transform: translateX(4px);
}

.quiz-opt.selected {
  border-color: var(--ink-900);
  background: var(--lime);
}

.quiz-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
}

.quiz-opt.selected .quiz-bullet {
  border-color: var(--ink-900);
  background: var(--ink-900);
  color: var(--lime);
}

/* ============= POT ============= */
.pot-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 32px;
}

.pot-label-top {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.pot-wrap {
  position: relative;
  aspect-ratio: 1;
  max-width: 200px;
  width: 100%;
  margin: 16px auto;
}

.pot-wrap svg { 
  width: 100%; 
  height: 100%; 
}

.pot-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.pot-pct {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.pot-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  font-weight: 500;
}

.pot-example {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  text-align: center;
}

.pot-amount {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--lime);
  margin-top: 6px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}

.pot-footer {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============= STAT CARDS ============= */
.stat-card {
  padding: 28px 24px;
}

.stat-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}

.card-dark .stat-card-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat-card-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: 8px;
}

.card-dark .stat-card-value {
  color: var(--white);
}

.stat-card-value.huge {
  font-size: 52px;
}

.stat-card-hint {
  font-size: 13px;
  color: var(--ink-500);
}

.card-dark .stat-card-hint {
  color: rgba(255, 255, 255, 0.6);
}

.stat-card-total {
  border: 2px solid var(--lime);
}

/* ============= FAQ ============= */
.faq-section {
  margin-top: 64px;
  max-width: 900px;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink-900);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--silver);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-color: var(--cobalt);
}

.faq-item summary {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-600);
}

.faq-item strong {
  font-weight: 700;
  color: var(--ink-900);
}

/* ============= INFO CARD ============= */
.info-card {
  display: flex;
  gap: 16px;
  background: var(--mint-light);
  border: 2px solid var(--mint);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
}

.info-icon {
  font-size: 32px;
  line-height: 1;
}

.info-card h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink-900);
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}

/* ============= CTA CARD ============= */
.cta-card {
  background: var(--cobalt-light);
  border: 2px solid var(--cobalt);
  border-radius: 20px;
  padding: 32px;
  margin-top: 32px;
}

.cta-card h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
  margin-bottom: 20px;
  max-width: 600px;
}

/* ============= ADS ============= */
.ad-slot {
  margin: 32px 0;
}

.ad-inner {
  background: var(--cloud);
  border: 1.5px dashed var(--silver);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  margin-bottom: 8px;
  font-weight: 600;
}

.ad-placeholder {
  font-size: 13px;
  color: var(--ink-500);
  font-family: 'JetBrains Mono', monospace;
}

/* ============= FOOTER ============= */
.site-footer {
  margin-top: 80px;
  padding: 48px 24px;
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 720px) {
  .footer-inner { 
    grid-template-columns: 1fr 1fr; 
    gap: 32px; 
  }
}

.footer-inner p { 
  max-width: 360px; 
  line-height: 1.7;
}

.footer-col-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.footer-link {
  display: block;
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.6);
  font: inherit;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: left;
  transition: color 0.2s var(--ease-out);
  text-decoration: none;
}

.footer-link:hover { 
  color: var(--lime); 
}

.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
