:root {
  --ink: #10110f;
  --paper: #f4f4ee;
  --muted: #787a72;
  --line: #d8d9d0;
  --lime: #d8f865;
  --orange: #ff6b4a;
  --white: #fff;
  --card-bg: #e9e9df;
  --card-dark: #191a17;
}

/* Custom enhancements for IB Academic Coach cards while preserving exact SpeakOne design */
.ib-hero-panel {
  width: 100%;
  max-width: 440px;
  background: var(--ink);
  border: 1px solid #2e302a;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 15px 25px 50px rgba(40, 42, 32, 0.2);
  color: var(--paper);
}

.ib-hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2e302a;
  padding-bottom: 16px;
  margin-bottom: 20px;
  font: 500 11px 'DM Mono', monospace;
  color: var(--orange);
}

.ib-hero-panel-header span {
  color: #858a7d;
}

.ib-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.ib-stat-item {
  background: #232520;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #32352d;
}

.ib-stat-num {
  font: 700 24px Manrope, sans-serif;
  color: var(--lime);
  display: block;
}

.ib-stat-label {
  font-size: 11px;
  color: #9da394;
  margin-top: 4px;
  display: block;
}

.ib-pill-badge {
  display: inline-block;
  background: var(--lime);
  color: #17200f;
  font: 700 10px 'DM Mono', monospace;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.sub-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

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