/* ==========================================================================
   Aven — Gen Z App Theme (v2)
   Overrides the brand tokens in style.css / native-app.css. Loaded AFTER
   both, site-wide, so every page (marketing, quiz, dashboard) re-skins in
   one place instead of touching 100+ templates individually. Nothing here
   deletes existing classes — it restyles the same hooks so structure and
   backend logic stay exactly as they were.
   ========================================================================== */

:root {
  /* Softer, punchier pastel palette. Kept the same variable NAMES the
     rest of the site already uses (--pink/--lime/--amber/--teal) so every
     existing component picks this up automatically. */
  --bg: #FFF9F4;
  --bg-soft: #FDF1FF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFBFE;
  --line: rgba(60, 20, 90, 0.07);

  --pink: #8B5CF6;          /* violet — primary */
  --pink-light: #C4B5FD;
  --pink-dim: rgba(139, 92, 246, 0.12);
  --lime: #14B88A;          /* mint */
  --lime-dim: rgba(20, 184, 138, 0.12);
  --amber: #FF8A5B;         /* coral */
  --amber-dim: rgba(255, 138, 91, 0.14);
  --teal: #3EC6E0;          /* sky */
  --teal-dim: rgba(62, 198, 224, 0.12);
  --sunny: #FFC94D;         /* accent yellow, new */

  --text: #241830;
  --text-dim: #6B5F80;
  --text-faint: #A79BB8;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 10px rgba(60, 20, 90, 0.05), 0 18px 40px -18px rgba(139, 92, 246, 0.28);
}

body { font-family: var(--font-body); }
h1, h2, h3, h4, .brand-mark { font-family: var(--font-display); letter-spacing: -0.01em; }

/* ---- Buttons: chunky pill shape, tactile press, no ambiguous overlap ---- */
.btn-primary, .btn-outline, .btn-secondary, button[type="submit"] {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .12s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease, filter .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, #A855F7 55%, var(--amber) 130%) !important;
  color: #fff !important;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 10px 24px -8px rgba(139, 92, 246, 0.55);
  border: none !important;
}
.btn-primary:hover, .btn-primary:visited, .btn-primary:active, .btn-primary:focus { color: #fff !important; }
.btn-primary:active, .btn-outline:active, .btn-secondary:active { transform: scale(0.96); }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }
}
.btn-outline {
  border: 2px solid var(--line) !important;
  background: var(--bg-card) !important;
}

/* ---- Cards / tiles: bigger radius, softer shadow, breathing room so
   nothing visually overlaps or crowds on small screens ---- */
.tile, .sheet, .card, .quiz-card {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--line);
}
.tile-grid { gap: 14px !important; }

/* ---- App bar: friendlier, brand-tinted ---- */
.app-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.app-bar-title { font-family: var(--font-display); font-weight: 800; }

/* ---- Bottom nav: the core "Gen Z app" chrome ----
   Five equal-width tap targets (flex:1 each) so they can never overlap
   regardless of label length or screen width; active tab gets a filled
   pastel pill behind the icon instead of a thin underline, which reads
   more like a native app tab bar than a website nav. */
.bottom-nav {
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(60, 20, 90, 0.18);
  padding-left: 6px;
  padding-right: 6px;
  gap: 2px;
}
.bottom-nav-item {
  color: var(--text-faint);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.64rem;
  padding: 6px 2px;
  gap: 2px;
  border-radius: var(--radius-md);
  margin: 6px 2px;
  transition: color .15s ease;
}
.bottom-nav-item svg { width: 24px; height: 24px; transition: transform .18s cubic-bezier(.34,1.56,.64,1); }
.bottom-nav-item .nav-icon-badge {
  width: 40px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  transition: background .18s ease;
  position: relative;
}
.bottom-nav-item.active { color: var(--pink); }
.bottom-nav-item.active .nav-icon-badge { background: var(--pink-dim); }
.bottom-nav-item.active svg { transform: translateY(-1px) scale(1.06); }
.bottom-nav-item.active::before { display: none; } /* replace old underline with the pill above */
.bottom-nav-item:active .nav-icon-badge { transform: scale(0.9); }

/* "Coming soon" nav tab (e.g. Chat before the Mentor Program is turned
   on) — stays in place and tappable (so it doesn't look broken/missing)
   but visually muted, with a small badge explaining why. */
.bottom-nav-item-soon { opacity: 0.55; }
.nav-soon-badge {
  position: absolute; top: -4px; right: -10px;
  background: var(--amber, #E8875B); color: #fff;
  font-size: 0.52rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 1px 5px; border-radius: 999px; line-height: 1.4;
  white-space: nowrap;
}

/* ---- FAB restyle to match new palette ---- */
.fab { background: linear-gradient(135deg, var(--pink), var(--sunny)); }

/* ---- Trait chips / badges: playful pastel fills instead of plain outline ---- */
.trait-chip {
  background: var(--pink-dim);
  color: var(--pink);
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* ---- Signup / auth screens ---- */
.auth-shell {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  max-width: 440px; margin: 0 auto;
}
.auth-blob {
  width: 84px; height: 84px; border-radius: 28px;
  background: linear-gradient(135deg, var(--pink-dim, rgba(124,111,240,.12)), var(--amber-dim, rgba(232,135,91,.12)));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: var(--shadow-card);
  padding: 8px;
}
.auth-blob img { width: 100%; height: 100%; object-fit: contain; }
.auth-shell h1 { font-size: 1.6rem; margin: 0 0 6px; }
.auth-shell p.auth-sub { color: var(--text-dim); margin: 0 0 24px; font-size: 0.94rem; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
.auth-field input {
  width: 100%; padding: 14px 16px; border-radius: 16px;
  border: 2px solid var(--line); font-size: 1rem; font-family: var(--font-body);
  background: var(--bg-card); color: var(--text);
}
.auth-field input:focus { outline: none; border-color: var(--pink); }
.auth-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--text-dim); margin: 6px 0 20px; }
.auth-consent input { margin-top: 3px; }
.auth-consent a { color: var(--pink); text-decoration: underline; font-weight: 600; }
.auth-error { background: var(--amber-dim); color: #B4501F; padding: 12px 14px; border-radius: 14px; font-size: 0.85rem; margin-bottom: 16px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.86rem; color: var(--text-dim); }
.auth-switch a { color: var(--pink); font-weight: 700; text-decoration: none; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 8px 0 20px; }
.otp-inputs input {
  width: 46px; height: 56px; text-align: center; font-size: 1.4rem; font-weight: 800;
  border-radius: 14px; border: 2px solid var(--line); font-family: var(--font-display);
}
.otp-inputs input:focus { outline: none; border-color: var(--pink); }

/* ---- Resume upload dropzone ---- */
.dropzone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--pink); background: var(--pink-dim); }
.dropzone.is-dragover { border-color: var(--pink); background: var(--pink-dim); transform: scale(1.01); }
.dropzone-input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dropzone-icon { color: var(--pink); margin-bottom: 8px; }
.dropzone-icon svg { width: 32px; height: 32px; }
.dropzone-title { font-weight: 700; font-family: var(--font-display); margin: 0 0 2px; color: var(--text); }
.dropzone-sub { font-size: 0.82rem; color: var(--text-faint); margin: 0; }
.dropzone-filled { display: flex; align-items: center; gap: 12px; text-align: left; }
.dropzone-file-icon { color: var(--pink); flex: 0 0 auto; }
.dropzone-file-icon svg { width: 30px; height: 30px; }
.dropzone-file-meta { flex: 1; min-width: 0; }
.dropzone-file-name { font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone-file-size { margin: 2px 0 0; font-size: 0.78rem; color: var(--text-faint); }
.dropzone-remove {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--text-dim);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.dropzone-remove:hover { color: var(--amber); border-color: var(--amber); }
.dropzone-remove svg { width: 14px; height: 14px; }
.dropzone.has-file { cursor: default; border-style: solid; }

/* Dark mode is left intentionally minimal here — the site's own
   data-theme toggle already governs dark mode elsewhere. */

/* ==========================================================================
   Feature: Dream career input + compatibility score
   ========================================================================== */
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 6px;
  line-height: 1.4;
}

.dream-match-card {
  max-width: 900px;
  margin: 0 auto 48px;
  background: linear-gradient(135deg, var(--pink-dim), var(--bg-card) 55%);
  border: 1.5px solid var(--pink-dim);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(20px, 4vw, 32px);
}
.dream-match-row { display: flex; gap: 24px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.dream-match-ring {
  flex: 0 0 96px;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dream-match-ring span {
  width: 74px; height: 74px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.dream-match-body { flex: 1; min-width: 240px; }
.dream-match-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.dream-match-body h3 em { font-style: normal; color: var(--pink); }
.dream-verdict {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.dream-match-body p { margin: 8px 0 0; color: var(--text-dim); font-size: 0.92rem; }
.dream-alt { color: var(--text) !important; }

/* ==========================================================================
   Feature: AI-Disruption Index + Augmentation Action Plan (inside Roadmap)
   ========================================================================== */
.disruption-panel {
  margin: 8px 0 36px;
  background: linear-gradient(160deg, #1B1730, #241E44);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(20px, 4vw, 32px);
  color: #F1EEFC;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease-out, ease), transform .55s var(--ease-out, ease);
}
.disruption-panel.is-in { opacity: 1; transform: translateY(0); }
.disruption-panel .eyebrow { color: #B9AEFF; }
.disruption-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.disruption-head h3 { margin: 6px 0 0; color: #fff; font-size: 1.2rem; }
.disruption-risk-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
}
.disruption-risk-badge.risk-low { color: #6EE7B7; border-color: rgba(110,231,183,.35); background: rgba(110,231,183,.12); }
.disruption-risk-badge.risk-moderate { color: #FFD166; border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.12); }
.disruption-risk-badge.risk-high { color: #FF9B71; border-color: rgba(255,155,113,.35); background: rgba(255,155,113,.12); }
.disruption-risk-badge.risk-very-high { color: #FF7A93; border-color: rgba(255,122,147,.35); background: rgba(255,122,147,.12); }

.disruption-explainer {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
  color: #D8D3EE;
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0 0 16px;
}
.disruption-explainer strong { color: #fff; }
.disruption-meter { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; margin-bottom: 16px; }
.disruption-meter-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #6EE7B7, #FFD166, #FF9B71, #FF7A93); }

.disruption-summary { color: #D8D3EE; font-size: 0.95rem; margin: 0 0 20px; }

.disruption-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 700px) { .disruption-cols { grid-template-columns: 1fr; } }
.disruption-col { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 16px 18px; }
.disruption-col h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: 0.88rem; color: #fff; }
.disruption-col h4 .icon { width: 15px; height: 15px; color: #B9AEFF; }
.disruption-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.disruption-col li {
  font-size: 0.85rem; color: #C9C3E3; padding-left: 14px; position: relative;
}
.disruption-col li::before { content: '—'; position: absolute; left: 0; color: #7E75B0; }

.augmentation-plan { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.augmentation-plan h4 { display: flex; align-items: center; gap: 7px; margin: 0; color: #fff; font-size: 1rem; }
.augmentation-plan h4 .icon { width: 16px; height: 16px; color: #FFD166; }
.augmentation-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .augmentation-cards { grid-template-columns: 1fr; } }
.augmentation-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px 16px 16px;
}
.augmentation-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #8B7FFF, #FF9B71);
  color: #17102A; font-weight: 800; font-size: 0.75rem;
  margin-bottom: 10px;
}
.augmentation-card h5 { margin: 0 0 8px; font-size: 0.95rem; color: #fff; }
.augmentation-card p { margin: 0 0 12px; font-size: 0.82rem; color: #C9C3E3; line-height: 1.5; }
.augmentation-start { font-size: 0.78rem; color: #B9AEFF; border-top: 1px dashed rgba(255,255,255,0.15); padding-top: 10px; }
.augmentation-start strong { color: #fff; }

/* Small badge used on career result cards linking to the AI-proof roadmap */
.ai-proof-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--pink);
  text-decoration: none;
}
.ai-proof-link:hover { text-decoration: underline; }

/* ==========================================================================
   Feature: Career Sim (GenAI Day-in-the-Life roleplay)
   ========================================================================== */
.career-card-links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sim-link { color: var(--teal); }

.career-sim-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}
.sim-intro { padding: 60px 20px; }

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sim-back-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
}
.sim-back-link:hover { color: var(--pink); }
.sim-pricing-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* Error banner with an inline "Try again" action — used wherever a failed
   fetch shouldn't be a dead end (career sim start/reply, network hiccups). */
.error-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.error-banner.visible { display: flex; }
.sim-retry-inline-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.sim-chat-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 12px 32px -12px rgba(23,16,42,0.08));
}
.sim-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.sim-persona { display: flex; align-items: center; gap: 12px; }
.sim-persona-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  flex-shrink: 0;
}
.sim-persona-name { display: block; font-weight: 700; font-family: var(--font-display); font-size: 0.95rem; }
.sim-persona-title { display: block; font-size: 0.78rem; color: var(--text-faint); }
.sim-turn-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-dim);
  white-space: nowrap;
}
.sim-setting { display: block; padding: 10px 20px 0; font-size: 0.8rem; color: var(--text-faint); }

.sim-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
  max-height: 55vh;
}
.sim-bubble { max-width: 82%; }
.sim-bubble p { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; }
.sim-bubble-assistant { align-self: flex-start; }
.sim-bubble-assistant p { background: var(--bg-soft); border-bottom-left-radius: 4px; color: var(--text); }
.sim-bubble-user { align-self: flex-end; }
.sim-bubble-user p { background: linear-gradient(135deg, var(--pink), var(--pink-light, var(--pink))); color: #fff; border-bottom-right-radius: 4px; }
.sim-bubble-in { animation: simBubbleIn .3s var(--ease-out, ease) both; }
@keyframes simBubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.sim-typing p { display: none; }
.sim-typing { display: flex; gap: 4px; padding: 14px 16px; background: var(--bg-soft); border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; }
.sim-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint);
  animation: simTypingDot 1.2s infinite ease-in-out;
}
.sim-typing span:nth-child(2) { animation-delay: .15s; }
.sim-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes simTypingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.sim-reply-form {
  display: flex; gap: 10px; align-items: flex-end;
  padding: 14px 16px; border-top: 1px solid var(--line);
}
.sim-reply-form textarea {
  flex: 1; resize: none;
  border: 1.5px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.92rem;
  background: var(--bg-soft); color: var(--text);
}
.sim-reply-form textarea:focus { outline: none; border-color: var(--pink); }
.sim-reply-form button { flex-shrink: 0; padding: 12px 20px; }

.sim-score-wrap { padding: 20px 0; }
.sim-score-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-card, 0 12px 32px -12px rgba(23,16,42,0.08));
}
.sim-score-card h2 { margin: 8px 0 20px; font-size: 1.3rem; }
.sim-score-ring {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.sim-score-ring span {
  width: 86px; height: 86px; border-radius: 50%; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
}
.sim-score-verdict {
  display: inline-block; font-weight: 700; font-family: var(--font-display);
  color: var(--pink); margin-bottom: 16px;
}
.sim-standout { text-align: left; background: var(--pink-dim); border-radius: 14px; padding: 12px 16px; font-size: 0.88rem; margin: 0 0 20px; }
.sim-score-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; margin-bottom: 20px; }
@media (max-width: 600px) { .sim-score-cols { grid-template-columns: 1fr; } }
.sim-score-cols h4 { margin: 0 0 10px; font-size: 0.85rem; }
.sim-score-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--text-dim); }
.sim-score-note { font-size: 0.78rem; margin: 0 0 22px; }
.sim-score-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Landing: comparison table (Aven vs generic quizzes vs 1:1 counselling)
   ========================================================================== */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 20px);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  background: var(--bg-soft);
  white-space: nowrap;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}
.compare-table .compare-col-aven {
  background: var(--pink-dim);
  font-weight: 700;
  color: var(--text);
}
.compare-table .compare-col-aven .icon {
  color: var(--pink);
  width: 16px; height: 16px;
  vertical-align: -2px;
  margin-right: 4px;
}

/* ==========================================================================
   Feature: Parent-Student AI Mediator + Harmony Report
   ========================================================================== */
.parent-hero { grid-template-columns: 1fr; text-align: center; max-width: 800px; padding-bottom: 10px; }
.parent-hero .lede { margin: 0 auto; }
.parent-hero h1 { text-align: center; }
.parent-section { max-width: 640px; }
.parent-success { text-align: center; padding: 20px 10px; }
.parent-success h2 { margin: 0 0 10px; }

.mediator-card {
  max-width: 720px;
  margin: 0 auto 48px;
  background: linear-gradient(150deg, var(--teal-dim), var(--bg-card) 60%);
  border: 1.5px solid var(--teal-dim);
  border-radius: var(--radius-lg, 24px);
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
}
.mediator-card h2 { margin: 8px 0 10px; }
.mediator-card > p.muted { max-width: 52ch; margin: 0 auto 22px; }
#mediator-body { max-width: 460px; margin: 0 auto; }
.mediator-link-row { display: flex; gap: 8px; margin-bottom: 14px; }
.mediator-link-row input {
  flex: 1; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--text-dim);
  font-family: var(--font-mono, monospace); font-size: 0.8rem;
}
.mediator-actions-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.harmony-score-band {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.harmony-ring {
  flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.harmony-ring span {
  width: 74px; height: 74px; background: var(--bg-card); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.harmony-score-band h2 { margin: 6px 0 0; font-size: 1.25rem; }

.harmony-sides, .harmony-talk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 700px) { .harmony-sides, .harmony-talk-grid { grid-template-columns: 1fr; } }
.harmony-side-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md, 20px);
  padding: 18px 20px;
}
.harmony-side-card h4 { margin: 0 0 10px; font-size: 0.9rem; }
.harmony-side-card p { margin: 0; font-size: 0.88rem; color: var(--text-dim); }
.harmony-side-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--text-dim); }

.harmony-section-title { text-align: center; margin: 0 0 20px; font-size: 1.15rem; }
.bridge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 820px) { .bridge-grid { grid-template-columns: 1fr; } }
.bridge-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md, 20px);
  padding: 20px 18px; box-shadow: var(--shadow-card, 0 12px 32px -12px rgba(23,16,42,0.08));
}
.bridge-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--lime));
  color: #fff; font-weight: 800; font-size: 0.78rem; margin-bottom: 10px;
}
.bridge-card h3 { margin: 0 0 8px; font-size: 1rem; }
.bridge-card p { margin: 0 0 12px; font-size: 0.85rem; color: var(--text-dim); }
.bridge-fit-row { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 10px; }
.bridge-fit-row strong { color: var(--text); }
.bridge-earning { font-size: 0.8rem !important; color: var(--text) !important; border-top: 1px dashed var(--line); padding-top: 10px; margin: 0 !important; }

.harmony-next-step {
  background: var(--pink-dim); border-radius: var(--radius-md, 20px);
  padding: 18px 22px; font-size: 0.9rem; text-align: center; margin-top: 8px;
}
.harmony-share-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-md, 20px); padding: 14px 18px;
  margin: 0 0 18px; font-size: 0.85rem; color: var(--text-dim);
}
.harmony-share-row .btn-outline { flex: 0 0 auto; white-space: nowrap; padding: 9px 16px; font-size: 0.82rem; }
@media (max-width: 560px) { .harmony-share-row { flex-direction: column; align-items: stretch; text-align: center; } }
