/* ════════════════════════════════════════════════════════════════════
   CrackMyInterview — Stylesheet
   Brand match: gccera.com
   Primary purple #8E2684 + accent yellow #fbb319
   ════════════════════════════════════════════════════════════════════ */

:root {
  --primary: #8E2684;
  --primary-dark: #6F1A68;
  --primary-light: #B048A9;
  --accent: #fbb319;
  --accent-dark: #e5a015;
  --accent-soft: #FFF4D9;
  --ink: #0F0A18;
  --ink-soft: #4a3f5a;
  --muted: #6B7280;
  --muted-soft: #9CA3AF;
  --bg: #FFFFFF;
  --bg-alt: #FAFAF8;
  --bg-soft: #F8F4FB;
  --border: rgba(142,38,132,0.12);
  --border-soft: rgba(142,38,132,0.06);
  --error: #DC2626;
  --error-soft: #FEE2E2;
  --success: #059669;
  --success-soft: #D1FAE5;
}

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
button { font: inherit; cursor: pointer; border: none; outline: none; background: none; }
input, textarea, select { font: inherit; outline: none; }

/* ──────── HEADER ──────── */
.gh-header {
  height: 72px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(142, 38, 132, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  padding: 0 40px;
}
.gh-logo-wrap { display: flex; align-items: center; cursor: pointer; }
.gh-logo { height: 44px; width: auto; object-fit: contain; }
.gh-spacer { flex: 1; }
.gh-right { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.gh-nav { display: flex; gap: 32px; list-style: none; align-items: center; }
.gh-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 8px 0; letter-spacing: 0.01em; transition: all 0.15s; }
.gh-nav a:hover { color: var(--primary); text-decoration: none; }
.gh-nav a.active { color: var(--primary); font-weight: 600; text-decoration: none; }

/* Community nav link — visually prominent (gradient pill + live pulse) */
.gh-nav-community-li { display: flex; }
.gh-nav-community {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px !important;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(142,38,132,0.08) 0%, rgba(251,179,25,0.10) 100%);
  border: 1px solid rgba(142,38,132,0.18);
  color: var(--primary) !important;
  font-weight: 600 !important;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1) !important;
  position: relative;
}
.gh-nav-community:hover {
  background: linear-gradient(135deg, rgba(142,38,132,0.14) 0%, rgba(251,179,25,0.18) 100%);
  border-color: rgba(142,38,132,0.34);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(142,38,132,0.32);
  text-decoration: none !important;
}
.gh-nav-community-dot {
  width: 8px; height: 8px;
  background: #1E8C4C;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(30,140,76,0.6);
  animation: gccCommunityPulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes gccCommunityPulse {
  0%   { box-shadow: 0 0 0 0    rgba(30,140,76,0.55); }
  70%  { box-shadow: 0 0 0 7px  rgba(30,140,76,0);    }
  100% { box-shadow: 0 0 0 0    rgba(30,140,76,0);    }
}
.gh-nav-community-text { line-height: 1; }
.gh-nav-community-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fbb319 0%, #e5a015 100%);
  color: #1a0f00;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}
/* Mobile drawer variant — fills the row */
.gh-nav-community--mobile {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 14px !important;
}
.gh-avatar-wrap { position: relative; }
.gh-avatar-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 24px; transition: background 0.15s; background: transparent; border: 0; font: inherit; color: inherit; }
.gh-avatar-trigger:hover { background: var(--bg-soft); }
.gh-avatar-trigger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gh-avatar-name { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.gh-avatar-verify {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #1E8C4C; color: #fff;
  border: 1.5px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.gh-avatar-verify[hidden] { display: none; }
.gh-avatar-verify svg { width: 9px; height: 9px; }
.gh-avatar-verify--email { background: #2563EB; }
.gh-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #b048a9); display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 2px 12px rgba(142,38,132,0.2); border: 1.5px solid #fff; overflow: hidden; }
.gh-avatar svg { width: 18px; height: 18px; }
.gh-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.gh-avatar-initials { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: #fff; line-height: 1; }

/* Dropdown menu */
.gh-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(142, 38, 132, 0.14);
  border-radius: 12px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.18), 0 4px 12px -4px rgba(0, 0, 0, 0.06);
  padding: 6px;
  z-index: 200;
  animation: gh-menu-in 0.15s ease-out;
}
.gh-menu[hidden] { display: none; }
@keyframes gh-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gh-menu-info {
  padding: 10px 12px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 4px;
}
.gh-menu-info-name { font-weight: 700; color: #0d0d12; font-size: 14px; line-height: 1.25; }
.gh-menu-info-email { font-size: 12px; color: #6b7280; margin-top: 2px; word-break: break-all; }
.gh-menu-info-via {
  font-size: 11px; color: #15803D; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600;
}
.gh-menu-info-via.gh-menu-info-via--email { color: #1E40AF; }

/* Tier badge — shield + label inside the dropdown info block.
   Color/gradient is set inline by JS based on what the user has paid for. */
.gh-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.gh-tier[hidden] { display: none; }
.gh-tier-shield {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0a0a0c;             /* default = free (black). JS overrides. */
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.25);
}
.gh-tier-shield svg { width: 17px; height: 17px; }
.gh-tier-text { min-width: 0; flex: 1; }
.gh-tier-label {
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px;
  color: #0d0d12;
  text-transform: uppercase;
  line-height: 1.1;
}
.gh-tier-desc {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.3;
}
.gh-menu-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 12px; border: 0; background: transparent;
  cursor: pointer; font: inherit; font-size: 13.5px;
  color: #1a1a1a; border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.gh-menu-item:hover { background: rgba(142, 38, 132, 0.06); color: #5a1454; }
.gh-menu-item:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.gh-menu-item svg { color: #8E2684; flex-shrink: 0; }
.gh-menu-item--danger { color: #B91C1C; }
.gh-menu-item--danger svg { color: #B91C1C; }
.gh-menu-item--danger:hover { background: rgba(185, 28, 28, 0.08); color: #B91C1C; }
.gh-menu-divider { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.06); margin: 4px 0; }
.gh-mobile-toggle { display: none; background: none; border: none; color: var(--primary); padding: 8px; cursor: pointer; }
.gh-mobile-toggle svg { width: 26px; height: 26px; }

.gh-mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: white; z-index: 100; box-shadow: -4px 0 24px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform 0.25s ease; padding: 24px; }
.gh-mobile-menu.open { transform: translateX(0); }
.gh-mobile-menu .close-btn { position: absolute; top: 16px; right: 16px; background: var(--bg-soft); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.gh-mobile-menu ul { list-style: none; margin-top: 60px; }
.gh-mobile-menu ul li { margin-bottom: 4px; }
.gh-mobile-menu ul a { display: block; padding: 14px 16px; border-radius: 8px; color: var(--ink); font-size: 16px; font-weight: 500; }
.gh-mobile-menu ul a:hover, .gh-mobile-menu ul a.active { background: var(--bg-soft); color: var(--primary); text-decoration: none; }
.gh-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; }
.gh-overlay.open { display: block; }

/* ──────── Products mega-menu ──────── */
.gh-products-li { display: flex; align-items: center; }
.gh-products-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 0; background: transparent;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  cursor: pointer; border-radius: 8px;
}
.gh-products-trigger:hover { background: rgba(142, 38, 132, 0.06); color: var(--primary); }
.gh-products-trigger[aria-expanded="true"] { color: var(--primary); background: rgba(142, 38, 132, 0.08); }
.gh-products-chev { transition: transform 0.16s ease; }
.gh-products-trigger[aria-expanded="true"] .gh-products-chev { transform: rotate(180deg); }

.gh-mega { position: fixed; left: 0; right: 0; top: 72px; z-index: 49; }
.gh-mega[hidden] { display: none; }
.gh-mega-backdrop { position: fixed; inset: 72px 0 0 0; background: rgba(15, 14, 12, 0.35); backdrop-filter: blur(2px); animation: ghMegaFade 0.14s ease; }
.gh-mega-panel {
  position: relative; background: #fff;
  border-bottom: 1px solid rgba(142, 38, 132, 0.10);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  animation: ghMegaSlide 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes ghMegaSlide { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ghMegaFade  { from { opacity: 0; } to { opacity: 1; } }
.gh-mega-inner {
  max-width: 1100px; margin: 0 auto; padding: 20px 28px 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px;
}
.gh-mega-col { display: flex; flex-direction: column; }
.gh-mega-h {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 12px; letter-spacing: 0.2px;
  color: var(--ink, #1a1410); font-weight: 500;
  margin: 0 0 8px; padding-bottom: 7px;
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}
.gh-mega-h::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  background: #FBB319; border-radius: 50%; margin-right: 7px; vertical-align: middle;
}
.gh-mega-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 6px 8px; border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gh-mega-item:hover { background: rgba(26, 20, 16, 0.03); }
.gh-mega-item:hover .gh-mega-icon { background: linear-gradient(135deg, #FBB319 0%, #D49510 100%); color: #1a1410; border-color: rgba(251, 179, 25, 0.55); transform: translateY(-1px); }
.gh-mega-item:hover .gh-mega-title { color: #8e2684; }
.gh-mega-icon {
  flex-shrink: 0; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fafaf6;
  border: 1px solid rgba(26, 20, 16, 0.06);
  border-radius: 8px;
  color: #1a1410;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.gh-mega-icon svg { width: 17px; height: 17px; }
.gh-mega-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gh-mega-title-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.gh-mega-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.1px;
  color: var(--ink, #1a1410); line-height: 1.25;
  transition: color 0.15s ease;
}
.gh-mega-desc  { font-size: 11.5px; color: var(--muted, #6b6b66); line-height: 1.4; }
.gh-mega-badge {
  display: inline-block;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.9px;
  padding: 1.5px 6px; border-radius: 999px; line-height: 1.3;
}
.gh-mega-badge--soon   { background: rgba(251, 179, 25, 0.18); color: #6b4708; }
.gh-mega-badge--invite { background: #1a1410; color: #FBB319; }
.gh-mega-badge--trial  { background: rgba(251, 179, 25, 0.18); color: #6b1d65; border: 1px solid rgba(251, 179, 25, 0.45); }
.gh-mega-item--soon .gh-mega-title { color: var(--muted, #6b6b66); }
.gh-mega-item--soon .gh-mega-icon  { opacity: 0.7; }

/* Nested sub-items (Crack My Interview → Voice Mock / Consulting / Negotiation) */
.gh-mega-group { display: flex; flex-direction: column; }
.gh-mega-item--parent { padding-bottom: 4px; }
.gh-mega-sublist {
  display: flex; flex-direction: column;
  margin: 2px 0 4px 50px;          /* indent under the parent icon column */
  padding-left: 10px;
  border-left: 1px solid rgba(26, 20, 16, 0.10);
}
.gh-mega-subitem {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 4px 6px; border-radius: 6px;
  text-decoration: none; color: inherit;
  transition: background 0.15s ease;
}
.gh-mega-subitem:hover { background: rgba(26, 20, 16, 0.03); }
.gh-mega-subitem:hover .gh-mega-subitem-name { color: #8e2684; }
.gh-mega-subitem-dot {
  flex-shrink: 0; font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px;
  color: #FBB319; padding-top: 2px; min-width: 22px;
}
.gh-mega-subitem-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.gh-mega-subitem-name { font-size: 12.5px; font-weight: 500; color: var(--ink, #1a1410); line-height: 1.3; transition: color 0.15s ease; }
.gh-mega-subitem-sub  { font-size: 11px; color: var(--muted, #6b6b66); line-height: 1.4; }

/* Secondary heading (used when "For employers" sits inside column 2 below
   the GCC network items, instead of as a separate strip). */
.gh-mega-h--sub {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 20, 16, 0.08);
  border-bottom: 0; padding-bottom: 0; margin-bottom: 6px;
}

/* Mobile drawer Products accordion */
.gh-mobile-products { border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.gh-mobile-products-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 18px; border: 0; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink, #1a1a1a); cursor: pointer;
  text-align: left;
}
.gh-mobile-products-toggle svg { transition: transform 0.16s ease; }
.gh-mobile-products-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.gh-mobile-products-toggle[aria-expanded="true"] { color: var(--primary, #8e2684); }
.gh-mobile-products-list { display: flex; flex-direction: column; padding-bottom: 8px; }
.gh-mobile-products-list[hidden] { display: none; }
.gh-mobile-products-list a {
  display: block; padding: 9px 28px; font-size: 13.5px; color: var(--ink, #1a1a1a);
  text-decoration: none; border-radius: 0;
}
.gh-mobile-products-list a:hover { background: var(--bg-soft, #fafaf6); color: var(--primary, #8e2684); }

/* Mid-width: tighten horizontal gap. */
@media (max-width: 1100px) {
  .gh-mega-inner { gap: 14px 24px; padding: 18px 22px 16px; }
}
/* Narrow desktop: collapse main grid to single column. */
@media (max-width: 760px) {
  .gh-mega-inner { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px; }
}

@media (max-width: 900px) {
  .gh-header { padding: 0 18px; height: 70px; }
  .gh-logo { height: 44px; }
  .gh-right { gap: 12px; }
  .gh-nav { display: none; }
  .gh-avatar-name { display: none; }
  .gh-mobile-toggle { display: flex; }
}

/* ──────── Containers ──────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ──────── Buttons ──────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px;
  font-size: 14px; font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer; text-align: center;
  text-decoration: none; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(142,38,132,0.3); text-decoration: none; color: white; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); color: white; font-weight: 700; box-shadow: 0 2px 8px rgba(251,179,25,0.25); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(251,179,25,0.4); text-decoration: none; color: white; }
.btn-accent:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: white; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--bg-soft); text-decoration: none; color: var(--primary); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.btn-large { padding: 16px 32px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

/* ──────── Forms ──────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.form-input { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; background: white; color: var(--ink); transition: all 0.15s; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(142,38,132,0.1); }
.form-help { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--error); background: var(--error-soft); padding: 10px 14px; border-radius: 8px; margin: 10px 0; border: 1px solid #FCA5A5; }
.alert-success { background: var(--success-soft); color: var(--success); padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 14px; font-weight: 500; border: 1px solid #6EE7B7; }

/* ──────── Pages routing ──────── */
.page { display: none; }
.page.active { display: block; }

/* ──────── HERO ──────── */
.hero { position: relative; padding: 80px 28px 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(251,179,25,0.10) 0%, transparent 45%), radial-gradient(circle at 85% 60%, rgba(142,38,132,0.08) 0%, transparent 45%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 100px; font-size: 12.5px; font-weight: 600; color: var(--primary); letter-spacing: 0.5px; margin-bottom: 28px; }
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -2px; color: var(--ink); max-width: 920px; margin: 0 auto 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--primary); }
.hero h1 .accent { background: linear-gradient(120deg, var(--accent) 0%, #f5a623 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.hero-sub { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55; color: var(--ink-soft); max-width: 620px; margin: 0 auto 32px; }
.hero-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 32px; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 7px; }
.hero-trust-item::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }

/* ──────── Section utilities ──────── */
.section-eyebrow { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 14px; color: var(--ink); }
.section-title em { font-style: italic; color: var(--primary); }
.section-lead { font-size: 16px; color: var(--ink-soft); line-height: 1.55; max-width: 640px; }

/* ──────── Stats Strip ──────── */
.stats-strip { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 32px 28px; }
.stats-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 36px; color: var(--primary); letter-spacing: -1px; line-height: 1; }
.stat-num em { font-style: italic; color: var(--accent-dark); font-size: 28px; }
.stat-label { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .stat-num { font-size: 28px; } }

/* ──────── Why Section ──────── */
.why { padding: 64px 28px 72px; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.why-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px; transition: all 0.2s; }
.why-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(142,38,132,0.08); border-color: var(--primary-light); }
.why-card-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 36px; font-weight: 500; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.why-card h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.why-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ──────── How it works ──────── */
.how { padding: 64px 28px; background: var(--bg-alt); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.how-step { position: relative; }
.how-step-num { font-family: 'Fraunces', serif; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 10px; text-transform: uppercase; }
.how-step h4 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.how-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ──────── Personas ──────── */
.personas { padding: 72px 28px; background: var(--ink); color: white; position: relative; overflow: hidden; }
.personas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(251,179,25,0.12) 0%, transparent 40%), radial-gradient(ellipse at 100% 100%, rgba(142,38,132,0.30) 0%, transparent 50%); pointer-events: none; }
.personas-inner { position: relative; z-index: 1; }
.personas .section-title { color: white; }
.personas .section-title em { color: var(--accent); }
.personas .section-eyebrow { color: var(--accent); }
.personas .section-lead { color: rgba(255,255,255,0.7); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.persona-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 24px; transition: all 0.2s; }
.persona-card:hover { background: rgba(255,255,255,0.07); border-color: var(--accent); transform: translateY(-2px); }
.persona-name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: white; margin-bottom: 4px; }
.persona-role { font-size: 11.5px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.persona-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* ──────── Frameworks Home Section ──────── */
.fw-home { padding: 80px 28px; background: var(--bg); }
.fw-home-grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; margin-top: 36px; align-items: start; }
.fw-sidebar { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 18px; max-height: 600px; overflow-y: auto; position: sticky; top: 100px; }
.fw-sidebar h4 { font-family: 'Fraunces', serif; font-size: 15px; color: var(--primary); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.fw-type-label { font-size: 10.5px; font-weight: 700; color: var(--accent-dark); letter-spacing: 1.5px; text-transform: uppercase; margin: 14px 0 4px; padding: 0 8px; }
.fw-type-label:first-of-type { margin-top: 0; }
.fw-item { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; text-align: left; padding: 9px 12px; margin: 1px 0; background: transparent; border: none; border-radius: 7px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; transition: all 0.12s; }
.fw-item:hover { background: var(--bg-soft); color: var(--primary); }
.fw-item.active { background: var(--bg-soft); color: var(--primary); font-weight: 600; }
.fw-item.locked { color: var(--muted); }
.fw-item.locked:hover { color: var(--primary); }
.fw-item-name { flex: 1; }
.fw-item-icon { flex-shrink: 0; width: 14px; height: 14px; opacity: 0.6; }
.fw-item-icon svg { width: 100%; height: 100%; }
.fw-content { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 36px; min-height: 480px; position: relative; }
.fw-content h2 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; letter-spacing: -0.6px; margin-bottom: 6px; color: var(--ink); }
.fw-content .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.fw-content .desc { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }
.fw-when { background: var(--bg-soft); border-left: 3px solid var(--accent); border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; font-size: 13.5px; color: var(--ink-soft); }
.fw-when strong { display: block; font-size: 11px; color: var(--accent-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }

.fw-body { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
.fw-body h3 { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--ink); margin: 26px 0 10px; }
.fw-body p { margin-bottom: 12px; }
.fw-body ul, .fw-body ol { margin: 12px 0 14px 22px; }
.fw-body li { margin-bottom: 6px; }
.fw-body table { margin: 14px 0; }
.fw-body blockquote { font-style: normal; }

/* Locked / blurred frameworks */
.fw-content-locked { position: relative; min-height: 520px; }
.fw-content-locked .fw-body-blurred { filter: blur(7px); user-select: none; pointer-events: none; opacity: 0.35; max-height: 200px; overflow: hidden; }
.fw-content-locked .fw-when { filter: blur(7px); opacity: 0.35; user-select: none; pointer-events: none; }
.fw-lock-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 130px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 18%, white 35%, white 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.fw-lock-icon { font-size: 36px; margin-bottom: 14px; }
.fw-lock-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 8px; text-align: center; }
.fw-lock-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; text-align: center; max-width: 380px; line-height: 1.55; }
.fw-lock-pricing { background: var(--accent-soft); border: 1px solid #F6D783; border-radius: 10px; padding: 12px 18px; margin: 6px 0 22px; font-size: 13.5px; color: var(--ink); text-align: center; }
.fw-lock-pricing strong { color: var(--accent-dark); }

.gcc-badge { display: inline-block; font-size: 9.5px; margin-left: 8px; background: var(--accent); color: white; padding: 2px 7px; border-radius: 100px; font-weight: 700; letter-spacing: 0.5px; vertical-align: middle; }

/* ──────── CTA ──────── */
.cta-section { padding: 80px 28px; background: linear-gradient(135deg, var(--bg-soft) 0%, white 100%); text-align: center; }
.cta-card { max-width: 720px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: 20px; padding: 56px 40px; box-shadow: 0 20px 60px -20px rgba(142,38,132,0.18); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(251,179,25,0.20) 0%, transparent 70%); pointer-events: none; }
.cta-card-inner { position: relative; z-index: 1; }

/* ──────── Footer (gccera.com layout exactly) ──────── */
.gf-footer {
  background: linear-gradient(180deg, #F8F4FB 0%, #FFFFFF 100%);
  box-shadow: inset 0 20px 40px rgba(142,38,132,0.03);
  border-top: 1px solid var(--border-soft);
  padding: 56px 28px 28px; /* Increased top/bottom padding */
  position: relative;
  overflow: hidden;
}
.gf-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.6;
}
.gf-grid { max-width: 1180px; margin: 0 auto 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; }
.gf-col h3 {
  font-weight: 700; /* Bolder */
  font-size: 16px; /* Slightly larger */
  color: var(--primary-dark); /* Darker primary for contrast */
  margin-bottom: 16px; /* Increased margin */
}
.gf-col-logo { display: flex; align-items: center; margin-bottom: 14px; }
.gf-col-logo img { height: 44px; width: auto; transition: transform 0.3s ease; }
.gf-blurb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.5; }
.gf-social { display: flex; gap: 12px; align-items: center; }
.gf-social a { width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid var(--border-soft); box-shadow: 0 4px 12px rgba(142,38,132,0.06); }
.gf-social a:hover { background: var(--primary); color: white; transform: translateY(-5px); text-decoration: none; box-shadow: 0 12px 24px rgba(142,38,132,0.2); border-color: var(--primary); }
.gf-social svg { width: 24px; height: 24px; fill: currentColor; } /* Increased size by ~20% from 20px */
.gf-links { list-style: none; }
.gf-links li { padding: 4px 0; }
.gf-links a { font-size: 13.5px; color: var(--ink-soft); transition: color 0.15s; }
.gf-links a:hover { color: var(--accent-dark); text-decoration: underline; }
.gf-newsletter-form { display: flex; gap: 8px; margin-bottom: 8px; }
.gf-newsletter-form input { flex: 1; padding: 10px 12px; font-size: 13px; border: 1px solid var(--primary); border-radius: 6px; background: white; }
.gf-newsletter-form input:focus { outline: none; border-color: var(--primary-dark); box-shadow: 0 0 0 2px rgba(142,38,132,0.1); }
.gf-newsletter-form button { background: var(--primary); color: white; padding: 10px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all 0.15s; }
.gf-newsletter-form button:hover { background: var(--primary-dark); }
.gf-bottom { max-width: 1180px; margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--border-soft); text-align: center; font-size: 13px; color: var(--ink-soft); }
.gf-bottom a { color: var(--ink-soft); }
.gf-bottom a:hover { color: var(--accent-dark); }

@media (max-width: 900px) { .gf-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .gf-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ──────── Auth (Login) ──────── */
.auth-wrapper { min-height: 70vh; padding: 60px 28px; background: radial-gradient(ellipse at 50% 0%, rgba(251,179,25,0.06) 0%, transparent 60%), var(--bg-alt); }
.auth-card { max-width: 460px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: 18px; padding: 40px 36px; box-shadow: 0 14px 40px -16px rgba(142,38,132,0.15); }
.auth-card h2 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 8px; }
.auth-card .subtitle { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 24px; }

/* ──────── Dashboard ──────── */
.dashboard { padding: 48px 28px 72px; min-height: 70vh; }
.dash-greeting { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 600; letter-spacing: -0.8px; color: var(--ink); margin-bottom: 6px; }
.dash-sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 28px; }
.dash-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-bottom: 20px; }
.dash-card h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }

.session-counter { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 16px; }
.session-counter .num { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 600; color: var(--primary); line-height: 1; }
.session-counter .label { font-size: 14px; color: var(--ink-soft); }

.free-banner { background: linear-gradient(135deg, var(--accent-soft), #FFF1D1); border: 1px solid #F6D783; border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.free-banner.exhausted { background: var(--error-soft); border-color: #FCA5A5; color: var(--error); }
.free-banner-icon { flex-shrink: 0; font-size: 22px; }

/* ──────── Pricing ──────── */
.pricing { padding: 60px 28px 80px; }
.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
.price-card { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 32px 26px; display: flex; flex-direction: column; transition: all 0.2s; position: relative; }
.price-card:hover { box-shadow: 0 20px 50px -20px rgba(142,38,132,0.12); transform: translateY(-2px); }
.price-card.featured { border-color: var(--primary); background: linear-gradient(180deg, var(--bg-soft) 0%, white 50%); transform: scale(1.02); }
.price-card.featured:hover { transform: scale(1.02) translateY(-2px); }
.price-card.featured::before { content: 'BEST VALUE'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; font-size: 10.5px; font-weight: 700; padding: 5px 14px; border-radius: 100px; letter-spacing: 1px; }
.price-card h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.price-card .price-blurb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; min-height: 40px; line-height: 1.5; }
.price-card .price { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 600; color: var(--ink); letter-spacing: -1.4px; line-height: 1; }
.price-card .price-period { font-size: 13.5px; color: var(--muted); font-weight: 500; font-family: 'Inter', sans-serif; letter-spacing: 0; margin-left: 4px; }
.price-card .price-row { margin-bottom: 22px; }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card ul li { font-size: 14px; color: var(--ink-soft); padding: 7px 0; display: flex; gap: 10px; line-height: 1.5; }
.price-card ul li::before { content: "✓"; color: var(--accent-dark); font-weight: 700; flex-shrink: 0; }
.price-disclaimer { text-align: center; margin-top: 36px; font-size: 13px; color: var(--muted); }

.loading { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 14px; }

/* ──────── Mobile ──────── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .fw-home-grid { grid-template-columns: 1fr; }
  .fw-sidebar { position: static; max-height: 280px; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 22px; }
  .why, .how, .personas, .pricing, .cta-section, .fw-home { padding: 56px 22px; }
  .how-steps { grid-template-columns: 1fr; }
  .auth-card, .cta-card, .fw-content { padding: 28px 22px; }
  .dash-greeting { font-size: 28px; }
  .container, .container-narrow { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════════
   PREP PAGE — MBB-style consulting report
   ════════════════════════════════════════════════════════════════════ */

.prep-wrap { max-width: 1080px; margin: 0 auto; padding: 40px 28px 80px; position: relative; }

/* Banners (free / paid / locked) */
.prep-banner { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 10px; margin-bottom: 28px; font-size: 14px; line-height: 1.55; }
.prep-banner-free { background: var(--accent-soft); border: 1px solid #F6D783; color: var(--ink); }
.prep-banner-paid { background: var(--success-soft); border: 1px solid #6EE7B7; color: var(--success); }
.prep-banner-locked { background: var(--error-soft); border: 1px solid #FCA5A5; color: var(--error); }
.prep-banner-icon { font-size: 22px; flex-shrink: 0; }

/* Header */
.prep-header { margin-bottom: 28px; }
.prep-header .section-lead { max-width: 700px; }

/* Upload grid */
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
@media (max-width: 800px) { .prep-grid { grid-template-columns: 1fr; } }

.prep-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.prep-card-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 28px; color: var(--accent); margin-bottom: 8px; line-height: 1; }
.prep-card h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.prep-card-help { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.prep-tab-row { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--border-soft); padding-bottom: 0; }
.prep-tab { background: transparent; border: none; padding: 8px 12px; font-size: 13px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.15s; }
.prep-tab:hover { color: var(--primary); }
.prep-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.prep-pane { display: none; }
.prep-pane.active { display: block; }

.prep-file-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 18px; background: var(--bg-soft); border: 2px dashed var(--primary-light); border-radius: 10px; cursor: pointer; transition: all 0.15s; text-align: center; }
.prep-file-zone:hover, .prep-file-zone.drag { background: var(--accent-soft); border-color: var(--accent); }
.prep-file-icon { font-size: 32px; margin-bottom: 10px; }
.prep-file-main { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.prep-file-sub { font-size: 12px; color: var(--muted); }

.prep-textarea { font-family: 'Inter', sans-serif; font-size: 13.5px; resize: vertical; }

.prep-status { margin-top: 10px; min-height: 20px; }
.prep-status-loading { font-size: 13px; color: var(--primary); }
.prep-status-ok { font-size: 13px; color: var(--success); }

.prep-meta-row { display: flex; gap: 22px; margin-bottom: 22px; }
@media (max-width: 700px) { .prep-meta-row { flex-direction: column; gap: 12px; } }

.prep-trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* PROCESSING STATE */
.prep-processing { text-align: center; padding: 80px 28px; }
.prep-spinner { width: 64px; height: 64px; border: 5px solid var(--bg-soft); border-top-color: var(--primary); border-radius: 50%; margin: 0 auto 28px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prep-progress-steps { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.prep-progress-step { font-size: 13px; padding: 8px 14px; border-radius: 100px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--border-soft); }
.prep-progress-step.done { background: var(--success-soft); color: var(--success); border-color: #6EE7B7; }
.prep-progress-step.active { background: var(--accent-soft); color: var(--accent-dark); border-color: #F6D783; font-weight: 600; }

/* REPORT - WATERMARK */
.prep-watermark { position: absolute; top: 80px; right: 28px; transform: rotate(8deg); background: var(--error); color: white; font-family: 'Fraunces', serif; font-weight: 700; padding: 8px 22px; border-radius: 4px; font-size: 12px; letter-spacing: 2px; box-shadow: 0 4px 14px rgba(220,38,38,0.3); pointer-events: none; z-index: 5; opacity: 0.85; }

/* REPORT - COVER */
.prep-cover { background: linear-gradient(135deg, var(--ink) 0%, #1E1530 100%); color: white; padding: 44px 36px; border-radius: 18px; margin-bottom: 22px; position: relative; overflow: hidden; }
.prep-cover::before { content: ""; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(251,179,25,0.18) 0%, transparent 70%); pointer-events: none; }
.prep-cover-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; position: relative; z-index: 1; }
.prep-cover-title { font-family: 'Fraunces', serif; font-size: clamp(26px, 3.5vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -0.6px; margin-bottom: 12px; position: relative; z-index: 1; }
.prep-cover-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.7); flex-wrap: wrap; position: relative; z-index: 1; }

/* EXEC SUMMARY */
.prep-exec { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: 8px; margin-bottom: 28px; }
.prep-exec-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.prep-exec-body { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--ink); margin: 0; }

/* TOP ROW: Score + Verdict */
.prep-top-row { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 700px) { .prep-top-row { grid-template-columns: 1fr; } }

.prep-score-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.prep-score-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.prep-score-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: -2px; }
.prep-score-label { font-size: 14px; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }

.prep-verdict-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.prep-verdict-body { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0; }

/* Pair grid (Profile/Role, Strengths/Gaps) */
.prep-pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 800px) { .prep-pair-grid { grid-template-columns: 1fr; } }

.prep-half-card, .prep-strengths, .prep-gaps { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.prep-half-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.prep-half-title { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 14px; line-height: 1.3; }
.prep-list { list-style: none; padding: 0; }
.prep-list li { font-size: 14px; padding: 6px 0; color: var(--ink-soft); line-height: 1.5; border-bottom: 1px solid var(--border-soft); }
.prep-list li:last-child { border-bottom: none; }

.prep-sub-section { margin-top: 14px; }
.prep-sub-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* Strengths / Gaps items */
.prep-sg-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.prep-sg-item:last-child { border-bottom: none; }
.prep-sg-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 24px; font-weight: 500; color: var(--success); flex-shrink: 0; line-height: 1; }
.prep-sg-num.gap { color: var(--error); }
.prep-sg-body h4 { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; line-height: 1.3; }
.prep-sg-evidence { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 6px; line-height: 1.55; }
.prep-sg-match { font-size: 12.5px; color: var(--primary); margin: 0; line-height: 1.5; font-weight: 500; }

/* Questions */
.prep-questions-section { margin-bottom: 28px; }
.prep-q-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-bottom: 12px; transition: all 0.15s; }
.prep-q-card:hover { border-color: var(--primary-light); box-shadow: 0 8px 22px rgba(142,38,132,0.06); }
.prep-q-header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.prep-q-num { font-family: 'Fraunces', serif; font-weight: 600; color: var(--accent); font-size: 14px; letter-spacing: 1px; }
.prep-q-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.prep-q-tag { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 100px; letter-spacing: 0.5px; }
.prep-q-cat { background: var(--bg-soft); color: var(--primary); }
.prep-q-fw { background: var(--accent-soft); color: var(--accent-dark); }
.prep-q-text { font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.prep-q-meta p { font-size: 13px; color: var(--ink-soft); margin: 4px 0; line-height: 1.55; }
.prep-q-meta strong { color: var(--ink); font-weight: 600; }

/* Upgrade prompt */
.prep-upgrade-card { background: linear-gradient(135deg, var(--accent-soft), white); border: 1px solid #F6D783; border-radius: 14px; padding: 26px 28px; text-align: center; margin-bottom: 28px; }
.prep-upgrade-card h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.prep-upgrade-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }

/* Practice block */
.prep-practice-block { text-align: center; padding: 36px 28px; background: var(--bg-soft); border-radius: 16px; margin-bottom: 22px; }
.prep-practice-block .section-title { margin-bottom: 10px; }
.prep-practice-block .section-lead { max-width: 540px; margin: 0 auto 22px; }

.prep-actions-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Error state */
.prep-error { text-align: center; padding: 80px 28px; }
.prep-error-icon { font-size: 48px; margin-bottom: 16px; }

/* Progress bar */
.prep-progress-track { height: 6px; background: var(--bg-soft); border-radius: 100px; max-width: 480px; margin: 0 auto; overflow: hidden; }
.prep-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0%; transition: width 0.3s ease; border-radius: 100px; }
.prep-progress-meta { display: flex; justify-content: space-between; max-width: 480px; margin: 8px auto 28px; font-size: 12.5px; color: var(--muted); }
.prep-progress-step { transition: all 0.3s; }
.prep-tip { max-width: 540px; margin: 32px auto 0; padding: 14px 18px; background: var(--bg-soft); border-radius: 10px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); border-left: 3px solid var(--accent); text-align: left; }
.prep-tip strong { color: var(--ink); }

/* Recent plans cards */
.prep-recent { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: 28px; }
.prep-recent-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.prep-recent-header h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; }
.prep-recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); gap: 12px; max-width: 100%; }
@media (min-width: 600px) { .prep-recent-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.prep-recent-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 10px; cursor: pointer; transition: all 0.15s; text-align: left; }
.prep-recent-card:hover { border-color: var(--primary-light); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(142,38,132,0.08); background: white; }
.prep-recent-score { font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; color: var(--primary); min-width: 36px; text-align: center; line-height: 1; }
.prep-recent-body { flex: 1; min-width: 0; }
.prep-recent-role { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; margin-bottom: 2px; }
.prep-recent-company { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.prep-recent-date { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Dashboard counters strip */
.dash-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.dash-counter { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 16px 14px; text-align: center; }
.dash-counter-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; color: var(--primary); line-height: 1; letter-spacing: -0.6px; }
.dash-counter-label { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; letter-spacing: 0.3px; text-transform: uppercase; font-weight: 500; }
@media (max-width: 600px) { .dash-counters { grid-template-columns: 1fr; } }

/* Counter pills next to banner */
.prep-counter-pills { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.prep-counter-pill { background: rgba(255,255,255,0.6); padding: 4px 10px; border-radius: 100px; font-size: 12px; color: var(--ink); border: 1px solid var(--border-soft); }
.prep-counter-pill strong { color: var(--primary); }

/* Dimensions breakdown */
.prep-dimensions { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 26px; margin-bottom: 28px; }
.prep-dim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.prep-dim-card { background: var(--bg-soft); border-radius: 10px; padding: 14px; }
.prep-dim-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.prep-dim-label { font-size: 12px; font-weight: 600; color: var(--ink); }
.prep-dim-weight { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.prep-dim-score { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; line-height: 1; }
.prep-dim-bar { height: 5px; background: white; border-radius: 100px; margin: 8px 0; overflow: hidden; }
.prep-dim-bar-fill { height: 100%; transition: width 0.6s ease; border-radius: 100px; }
.prep-dim-note { font-size: 12px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════════
   VOICE MOCK INTERVIEW PAGE
   ════════════════════════════════════════════════════════════════════ */

.voice-header { margin-bottom: 28px; }
.voice-mode-banner { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

/* Role picker */
.voice-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 22px; }
.voice-role-card { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 18px 20px; background: white; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; transition: all 0.15s; }
.voice-role-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(142,38,132,0.1); }
.voice-role-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.voice-role-body { flex: 1; min-width: 0; }
.voice-role-body h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.voice-role-name { font-size: 12.5px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.voice-role-desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.5; }
.voice-role-meta { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* Active session */
.voice-active { max-width: 800px; margin: 0 auto; }
.voice-progress-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.voice-progress-label { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.voice-progress-track { width: 280px; height: 5px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; }
.voice-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width 0.6s ease; }
.voice-interviewer-tag { display: flex; gap: 10px; align-items: center; }
.voice-interviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600; font-size: 14px; letter-spacing: 1px; flex-shrink: 0; }
.voice-interviewer-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.voice-interviewer-role { font-size: 11.5px; color: var(--muted); }

.voice-intro-bubble { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 8px; margin-bottom: 22px; }
.voice-bubble-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.voice-intro-bubble p { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; }

.voice-question-card { background: white; border: 1.5px solid var(--primary-light); border-radius: 14px; padding: 28px; margin-bottom: 20px; }
.voice-q-tags { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.voice-question-text { font-family: 'Fraunces', serif; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.4; color: var(--ink); margin: 0; }

.voice-answer-area { margin-bottom: 18px; }
.voice-textarea { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; resize: vertical; min-height: 180px; }
.voice-answer-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.voice-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Final report */
.voice-report-header { margin-bottom: 28px; }
.voice-summary-section { margin-top: 12px; }
.voice-summary-section:first-child { margin-top: 0; }
.voice-summary-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.voice-summary-section p { font-size: 14px; line-height: 1.55; color: var(--ink); margin: 0; }

.voice-q-detail-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-bottom: 12px; }
.voice-q-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.voice-q-detail-text { font-family: 'Fraunces', serif; font-size: 16px; font-style: italic; font-weight: 500; color: var(--ink); margin: 8px 0 0; line-height: 1.4; }
.voice-q-detail-score { font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; line-height: 1; flex-shrink: 0; }
.voice-q-detail-content { margin-top: 10px; }
.voice-q-detail-content summary { cursor: pointer; font-size: 13px; color: var(--primary); font-weight: 600; padding: 6px 0; }
.voice-q-detail-content summary:hover { text-decoration: underline; }
.voice-q-detail-section { margin-top: 14px; }
.voice-q-detail-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.voice-q-detail-quote { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; padding: 10px 14px; background: var(--bg-soft); border-radius: 6px; border-left: 3px solid var(--border); }
.voice-q-detail-section p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ════════════════════════════════════════════════════════════════════
   VOICE I/O — Session 2
   ════════════════════════════════════════════════════════════════════ */

/* Question header row with replay button */
.voice-q-header-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.voice-replay-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: white; border: 1px solid var(--border); border-radius: 100px; font-size: 12px; color: var(--ink-soft); cursor: pointer; transition: all 0.15s; font-weight: 500; }
.voice-replay-btn:hover { border-color: var(--primary); color: var(--primary); }

/* TTS status */
.voice-tts-status { margin-top: 10px; min-height: 20px; font-size: 12.5px; }
.voice-tts-loading { color: var(--muted); }
.voice-tts-playing { color: var(--primary); font-weight: 600; }
.voice-tts-done { color: var(--success); }
.voice-tts-error { color: var(--error); }

/* Voice/Text mode toggle */
.voice-mode-toggle { display: flex; gap: 6px; margin-bottom: 16px; padding: 4px; background: var(--bg-soft); border-radius: 100px; width: fit-content; }
.voice-mode-btn { padding: 8px 18px; border: none; background: transparent; border-radius: 100px; font-size: 13px; color: var(--ink-soft); cursor: pointer; font-weight: 500; transition: all 0.15s; }
.voice-mode-btn.active { background: white; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); font-weight: 600; }
.voice-mode-btn:hover:not(.active) { color: var(--ink); }

/* Record zone */
.voice-record-zone { background: white; border: 1.5px solid var(--border); border-radius: 14px; padding: 32px 20px; text-align: center; }
.voice-record-btn { background: transparent; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto; }
.voice-record-circle { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 36px; color: white; transition: all 0.2s; box-shadow: 0 8px 24px rgba(142,38,132,0.25); }
.voice-record-btn:hover .voice-record-circle { transform: scale(1.05); box-shadow: 0 12px 32px rgba(142,38,132,0.35); }
.voice-record-circle.recording { background: linear-gradient(135deg, #dc2626, #ef4444); animation: voicePulse 1.2s ease-in-out infinite; }
@keyframes voicePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.6); } 50% { box-shadow: 0 0 0 18px rgba(220,38,38,0); } }
.voice-record-label { font-size: 14px; color: var(--ink); font-weight: 600; }

.voice-meter { margin-top: 14px; height: 44px; display: flex; align-items: flex-end; justify-content: center; }
.voice-meter-bars { display: flex; gap: 3px; align-items: flex-end; height: 40px; }
.voice-meter-bar { width: 4px; background: linear-gradient(to top, var(--primary), var(--accent)); border-radius: 2px; height: 3px; transition: height 0.08s ease-out; }

.voice-record-timer { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--primary); margin-top: 10px; min-height: 26px; letter-spacing: 1px; }
.voice-record-status { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* Transcript zone */
.voice-transcript-zone { background: white; border: 1.5px solid var(--success); border-radius: 14px; padding: 18px 20px; }
.voice-transcript-zone .form-label { color: var(--success); font-weight: 600; }
.voice-transcript-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; justify-content: space-between; }

/* Answer panel containers (used for fade or just toggle) */
.voice-answer-panel { margin-bottom: 18px; }

/* ════════════════════════════════════════════════════════════════════
   PAST SESSIONS — dashboard panel + audio playback
   ════════════════════════════════════════════════════════════════════ */

.dash-sessions-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; margin-bottom: 22px; }
.dash-session-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: white; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: all 0.15s; text-align: left; width: 100%; }
.dash-session-card:hover { border-color: var(--primary); transform: translateX(2px); box-shadow: 0 4px 14px rgba(142,38,132,0.06); }
.dash-session-score { font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; min-width: 48px; text-align: center; line-height: 1; }
.dash-session-body { flex: 1; min-width: 0; }
.dash-session-role { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.dash-session-target { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; margin-bottom: 4px; }
.dash-session-meta { font-size: 11.5px; color: var(--muted); }
.dash-session-arrow { font-size: 18px; color: var(--muted); flex-shrink: 0; }

/* Audio playback buttons in report */
.voice-q-audio-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.voice-audio-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 100px; font-size: 12.5px; color: var(--ink); cursor: pointer; transition: all 0.15s; font-weight: 500; }
.voice-audio-btn:hover { border-color: var(--primary); background: white; color: var(--primary); }

/* Follow-up question styling */
.voice-question-card.is-followup { border-left: 4px solid var(--accent); padding-left: calc(28px - 4px); }
.voice-followup-tag { background: var(--accent-soft) !important; color: var(--accent-dark) !important; font-weight: 700 !important; }

/* ════════════════════════════════════════════════════════════════════
   PHASE 2D — Auto-flow conversation UI
   ════════════════════════════════════════════════════════════════════ */

/* Mic state — different colors per phase */
.voice-record-circle {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white;
  transition: all 0.25s ease;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(142,38,132,0.25);
}
.voice-record-circle[data-state="idle"] {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 24px rgba(142,38,132,0.25);
}
.voice-record-circle[data-state="counting"] {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
  animation: voiceCountPulse 1s ease-in-out infinite;
}
@keyframes voiceCountPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.voice-record-circle[data-state="recording"] {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  animation: voicePulse 1.2s ease-in-out infinite;
}
.voice-record-circle[data-state="processing"] {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  box-shadow: 0 8px 24px rgba(107,114,128,0.3);
}

/* Countdown overlay */
.voice-countdown-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 10, 24, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  animation: voiceFadeIn 0.2s ease;
}
@keyframes voiceFadeIn { from { opacity: 0; } to { opacity: 1; } }

.voice-countdown-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 96px; font-weight: 700;
  box-shadow: 0 24px 64px rgba(245,158,11,0.5);
  animation: voiceCountdownBeat 1s ease-in-out infinite;
}
@keyframes voiceCountdownBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.voice-countdown-label {
  margin-top: 24px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Silence prompt during recording */
.voice-silence-prompt {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--accent-dark);
  font-weight: 500;
  animation: voiceFadeIn 0.3s ease;
}

/* Auto-submit zone (shown briefly between recording and next question) */
.voice-autosubmit-zone {
  background: white;
  border: 1.5px solid var(--success);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  animation: voiceFadeIn 0.2s ease;
}
.voice-autosubmit-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 12px;
}
.voice-autosubmit-transcript {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 8px;
  margin-top: 8px;
  text-align: left;
}

/* End-session modal */
.voice-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 10, 24, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: voiceFadeIn 0.2s ease;
}
.voice-modal-content {
  background: white;
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 480px; width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: voiceModalRise 0.25s ease;
}
@keyframes voiceModalRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.voice-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}
.voice-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.voice-modal-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border-soft);
}
.voice-modal-list li:last-child { border-bottom: none; }
.voice-modal-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.voice-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

/* Frameworks CTA at end of report */
.voice-frameworks-cta {
  margin-top: 36px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, white 100%);
  border: 1px solid var(--accent);
  border-radius: 14px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.voice-frameworks-icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}
.voice-frameworks-body {
  flex: 1;
  min-width: 0;
}
.voice-frameworks-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.voice-frameworks-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

/* Response time chip */
.voice-response-time-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
   PAYWALL CARD — premium, on-brand
   ════════════════════════════════════════════════════════════════════ */

.paywall-card {
  max-width: 520px;
  margin: 32px auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  box-shadow:
    0 24px 64px rgba(142, 38, 132, 0.12),
    0 4px 12px rgba(15, 10, 24, 0.04);
  overflow: hidden;
  position: relative;
}

/* Top accent strip — brand gradient */
.paywall-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.paywall-card-inner {
  padding: 32px 32px 24px;
}

/* Icon — circle with brand accent */
.paywall-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft) 0%, white 100%);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(251, 179, 25, 0.22);
}

.paywall-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.paywall-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto 24px;
  max-width: 420px;
}

/* Bundle card */
.paywall-bundle {
  background: linear-gradient(180deg, rgba(251, 179, 25, 0.08) 0%, white 60%);
  border: 1.5px solid rgba(251, 179, 25, 0.45);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  overflow: hidden;
}

/* Price block */
.paywall-bundle-priceblock {
  text-align: center;
  padding: 22px 24px 18px;
  border-bottom: 1px dashed rgba(251, 179, 25, 0.4);
}

.paywall-bundle-price {
  font-family: 'Fraunces', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
}

.paywall-bundle-price-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 8px;
}

.paywall-bundle-list {
  list-style: none;
  padding: 14px 22px 18px;
  margin: 0;
}

.paywall-bundle-list li {
  padding: 9px 0 9px 32px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}

.paywall-bundle-list li + li {
  border-top: 1px solid rgba(142, 38, 132, 0.06);
}

.paywall-bundle-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 18px;
  height: 18px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

.paywall-bundle-list li::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 10px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 12px;
  text-align: center;
  line-height: 18px;
}

/* CTA — brand purple, full-width, premium */
.paywall-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #7B2D8E 100%) !important;
  color: white !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  padding: 14px 22px !important;
  font-size: 15.5px !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 8px 24px rgba(142, 38, 132, 0.28) !important;
  transition: all 0.18s ease !important;
  cursor: pointer;
}

.paywall-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(142, 38, 132, 0.4) !important;
}

/* Secondary actions — subtle */
.paywall-secondary {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.paywall-secondary .btn {
  font-size: 12.5px !important;
  padding: 6px 12px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.paywall-secondary .btn:hover {
  color: var(--primary) !important;
}

/* Trust strip */
.paywall-trust {
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* Mobile */
@media (max-width: 600px) {
  .paywall-card { margin: 18px auto; border-radius: 16px; }
  .paywall-card-inner { padding: 24px 22px 20px; }
  .paywall-title { font-size: 22px; }
  .paywall-lead { font-size: 14px; }
  .paywall-bundle-price { font-size: 38px; }
  .paywall-icon { width: 58px; height: 58px; font-size: 26px; }
}

/* ════════════════════════════════════════════════════════════════════
   BRAND LOADER (gold three-bar logo for major loading moments)
   ════════════════════════════════════════════════════════════════════ */

.brand-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  min-height: 480px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.brand-loader-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(251, 179, 25, 0.18));
}

.brand-loader-label {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.2px;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

.brand-loader-sub {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 420px;
  line-height: 1.55;
  margin: 0 auto;
}

/* Mobile: smaller but still proportionate */
@media (max-width: 600px) {
  .brand-loader {
    padding: 40px 18px;
    min-height: 360px;
  }
  .brand-loader-img {
    width: 90px;
    height: 90px;
    margin-bottom: 18px;
  }
  .brand-loader-label { font-size: 18px; }
  .brand-loader-sub { font-size: 13px; }
}

/* Silence prompt warning variant (no speech detected → mic check) */
.voice-silence-prompt-warning {
  background: #fff7ed !important;
  border-color: #f59e0b !important;
  color: #92400e !important;
}

/* ════════════════════════════════════════════════════════════════════
   RESUME SESSION BANNER (dashboard)
   ════════════════════════════════════════════════════════════════════ */

.dash-resume-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  margin: 18px 0 24px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, white 60%);
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(251, 179, 25, 0.12);
}

.dash-resume-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  background: white;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.dash-resume-body { flex: 1; min-width: 0; }

.dash-resume-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.dash-resume-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.dash-resume-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════════
   DELETE BUTTONS — past sessions and recent plans
   ════════════════════════════════════════════════════════════════════ */

/* Card wrappers act as grid/flex items so cards stay aligned */
.dash-session-card-wrap,
.prep-recent-card-wrap {
  position: relative;
  display: block;
  width: 100%;
}

/* Make the card take the full width of its wrap, with right padding for the delete button */
.dash-session-card-wrap .dash-session-card,
.prep-recent-card-wrap .prep-recent-card {
  width: 100%;
  padding-right: 48px;  /* space for delete button so text doesn't run under it */
}

/* Prevent long titles from overflowing */
.prep-recent-role,
.prep-recent-company,
.dash-session-role,
.dash-session-target {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Delete button — clearly visible, red, properly contrasted */
.dash-session-delete-btn,
.prep-recent-delete-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: white;
  border: 1.5px solid #fecaca;        /* light red border */
  border-radius: 8px;
  color: #dc2626;                     /* red-600 — visible immediately */
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.15s ease;
  z-index: 2;
  padding: 0;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06);
}

.dash-session-card-wrap:hover .dash-session-delete-btn,
.prep-recent-card-wrap:hover .prep-recent-delete-btn {
  opacity: 1;
}

.dash-session-delete-btn:hover,
.prep-recent-delete-btn:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #b91c1c;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.dash-session-delete-btn:active,
.prep-recent-delete-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* On mobile, always fully visible */
@media (max-width: 600px) {
  .dash-session-delete-btn,
  .prep-recent-delete-btn {
    opacity: 1;
  }
}

/* Mobile resume banner */
@media (max-width: 600px) {
  .dash-resume-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    align-items: stretch;
  }
  .dash-resume-icon {
    align-self: center;
    width: 48px; height: 48px;
    font-size: 26px;
  }
  .dash-resume-body { text-align: center; }
  .dash-resume-actions {
    justify-content: center;
  }
  .dash-resume-actions .btn {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════════════
   GOOGLE OAUTH BUTTON + DIVIDER
   ════════════════════════════════════════════════════════════════════ */

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  color: #1f1f1f;
  border: 1.5px solid #dadce0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-google:hover {
  background: #f8f9fa;
  border-color: #c4c7c5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn-google:active {
  transform: translateY(0);
}

.btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-google svg {
  flex-shrink: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 500;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

/* ════════════════════════════════════════════════════════════════════
   ADMIN DASHBOARD
   ════════════════════════════════════════════════════════════════════ */

.admin-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}

.admin-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.admin-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-soft);
}

.admin-tab {
  background: transparent;
  border: none;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  font-family: inherit;
  margin-bottom: -1px;
}

.admin-tab:hover { color: var(--ink); }

.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.admin-content {
  min-height: 400px;
}

/* KPI grid */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.admin-kpi {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.15s;
}

.admin-kpi:hover {
  border-color: var(--primary-light);
  box-shadow: 0 6px 18px rgba(142, 38, 132, 0.06);
  transform: translateY(-1px);
}

.admin-kpi-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-kpi-value {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.admin-kpi-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Section blocks */
.admin-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-section-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}

/* Activity feed */
.admin-activity {
  display: flex;
  flex-direction: column;
}

.admin-activity-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}

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

.admin-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-activity-signup { background: #3b82f6; }
.admin-activity-payment { background: #22c55e; }
.admin-activity-session { background: var(--primary); }

.admin-activity-label { flex: 1; color: var(--ink); }
.admin-activity-time { color: var(--muted); font-size: 12px; }

/* Tables */
.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1.5px solid var(--border-soft);
  white-space: nowrap;
  background: #fafafa;
}

.admin-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.admin-table tbody tr:hover { background: #fafafa; }

.admin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.admin-badge-success { background: #dcfce7; color: #15803d; }
.admin-badge-warn { background: #fef3c7; color: #b45309; }
.admin-badge-muted { background: #f3f4f6; color: #6b7280; }

@media (max-width: 700px) {
  .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-title { font-size: 22px; }
  .admin-kpi-value { font-size: 24px; }
  .admin-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .admin-tab { white-space: nowrap; }
}
/* ════════════════════════════════════════════════════════════════════
   OAUTH BUTTONS — Google, LinkedIn, Microsoft (Phase 4)
   ════════════════════════════════════════════════════════════════════ */

.btn-oauth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 10px;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-oauth:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-oauth:active {
  transform: translateY(0);
}

.btn-oauth:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-oauth svg {
  flex-shrink: 0;
}

.btn-oauth-google {
  background: white;
  color: #1f1f1f;
  border-color: #dadce0;
}
.btn-oauth-google:hover {
  background: #f8f9fa;
  border-color: #c4c7c5;
}

.btn-oauth-linkedin {
  background: #0A66C2;
  color: white;
  border-color: #0A66C2;
}
.btn-oauth-linkedin:hover {
  background: #084c93;
  border-color: #084c93;
}

.btn-oauth-microsoft {
  background: white;
  color: #1f1f1f;
  border-color: #8c8c8c;
}
.btn-oauth-microsoft:hover {
  background: #f5f5f5;
  border-color: #5e5e5e;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 500;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

@media (max-width: 480px) {
  .btn-oauth {
    font-size: 13.5px;
    padding: 12px 14px;
  }
}

/* ═════════════ GCC NEWS — Tagembed LinkedIn feed page ═════════════ */
.gccnews-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  position: relative;
}
.gccnews-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  max-width: 680px;
  height: 320px;
  background: radial-gradient(ellipse at top left,
    rgba(251,179,25,0.22) 0%,
    rgba(251,179,25,0.07) 38%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.gccnews-hero {
  text-align: left;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  animation: gccnewsHeroIn 0.6s ease-out both;
}
@keyframes gccnewsHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gccnews-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.gccnews-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent) 0%, #f5a623 60%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gccnews-title-text {
  flex: 0 1 auto;
}

/* Live badge — inline pill that sits in front of the H1 */
.gccnews-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #c62828;
  padding: 8px 14px 8px 12px;
  background: linear-gradient(135deg, #fff1f1 0%, #ffe5e5 100%);
  border: 1px solid rgba(226,59,59,0.35);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.6),
    0 4px 14px -4px rgba(226,59,59,0.25);
  animation: gccnewsBadgeBreathe 2.6s ease-in-out infinite;
  flex-shrink: 0;
  vertical-align: middle;
}
@keyframes gccnewsBadgeBreathe {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.6),
      0 4px 14px -4px rgba(226,59,59,0.25);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.8),
      0 6px 22px -4px rgba(226,59,59,0.45);
  }
}
.gccnews-live-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%, transparent 38%,
    rgba(255,255,255,0.7) 50%,
    transparent 62%, transparent 100%);
  transform: translateX(-100%);
  animation: gccnewsBadgeShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gccnewsBadgeShimmer {
  0%, 55%   { transform: translateX(-110%); }
  82%, 100% { transform: translateX(110%); }
}
.gccnews-live-label {
  position: relative;
  z-index: 2;
}

/* The pulsing dot — beefed up with a stacked outer halo + inner core pulse */
.gccnews-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff5252 0%, #d31a1a 70%);
  box-shadow:
    0 0 0 0 rgba(226,59,59,0.7),
    0 0 0 0 rgba(226,59,59,0.45),
    0 0 0 0 rgba(226,59,59,0.25);
  animation: gccnewsLivePulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite,
             gccnewsLiveCore 1.5s ease-in-out infinite;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
@keyframes gccnewsLivePulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(226,59,59,0.7),
      0 0 0 0 rgba(226,59,59,0.45),
      0 0 0 0 rgba(226,59,59,0.25);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(226,59,59,0.18),
      0 0 0 12px rgba(226,59,59,0.08),
      0 0 0 18px rgba(226,59,59,0);
  }
  100% {
    box-shadow:
      0 0 0 10px rgba(226,59,59,0),
      0 0 0 16px rgba(226,59,59,0),
      0 0 0 22px rgba(226,59,59,0);
  }
}
@keyframes gccnewsLiveCore {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

@media (max-width: 768px) {
  .gccnews-title { gap: 10px 12px; }
  .gccnews-live-badge { font-size: 10.5px; padding: 6px 12px 6px 10px; }
}
.gccnews-lead {
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
}
.gccnews-feed-frame {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15,10,24,0.04),
    0 18px 48px -22px rgba(15,10,24,0.18);
}
.gccnews-feed-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(180deg, #fafafd 0%, #f4f3f8 100%);
  border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.gccnews-feed-frame-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-transform: uppercase;
}
.gccnews-feed-wrap {
  min-height: 680px;
  padding: 6px;
  background: #fff;
}
.gccnews-empty {
  margin-top: 40px;
  padding: 44px 28px;
  background: #fff8e6;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  text-align: center;
}
.gccnews-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.gccnews-empty-sub {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.gccnews-empty-sub code {
  font-family: monospace;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
}
@media (max-width: 768px) {
  .gccnews-wrap { padding: 40px 18px 64px; }
  .gccnews-feed-wrap { min-height: 540px; }
  .gccnews-feed-frame-bar { padding: 11px 14px; }
}

/* ═════════════ GCC COMMUNITY — premium MBB style ═════════════ */
.cmty-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 96px;
  position: relative;
}
.cmty-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 720px;
  height: 220px;
  background: radial-gradient(ellipse at center,
    rgba(142,38,132,0.06) 0%,
    rgba(251,179,25,0.05) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cmty-hero {
  text-align: center;
  margin: 8px 0 18px;
  position: relative;
  z-index: 1;
}
.cmty-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 0;
}
.cmty-hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmty-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Avatar image (Google/LinkedIn OAuth photo or uploaded) */
.cmty-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.cmty-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; color: white;
}
.cmty-profile-avatar,
.cmty-post-avatar,
.cmty-conn-avatar,
.cmty-comment-avatar,
.cmty-profile-view-avatar {
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 0; /* the gradient is for the letter fallback; an <img> covers it */
}
.cmty-post-avatar,
.cmty-conn-avatar {
  background: linear-gradient(135deg, #8E2684 0%, #4A0F44 100%);
}
.cmty-comment-avatar {
  background: linear-gradient(135deg, #8E2684, #4A0F44);
}

/* Inline search + range row (new layout) */
.cmty-filter-row-inline {
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap;
}
.cmty-search-wrap {
  flex: 1; min-width: 240px;
  position: relative;
}
.cmty-range-chips { flex-shrink: 0; }

/* Topic suggestion dropdown */
.cmty-topic-suggest {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 18px 48px -22px rgba(15,10,24,0.28);
  padding: 12px 14px;
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
}
.cmty-topic-suggest[hidden] { display: none; }
.cmty-topic-suggest-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ink-soft); text-transform: uppercase;
  margin-bottom: 10px;
}
.cmty-topic-suggest-loading,
.cmty-topic-suggest-empty {
  font-size: 13px; color: var(--ink-soft); padding: 6px 0;
}
.cmty-topic-suggest-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cmty-topic-chip {
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  cursor: pointer; padding: 5px 11px;
  border-radius: 999px;
  display: inline-flex; align-items: baseline; gap: 6px;
  font: inherit; transition: all 0.12s;
}
.cmty-topic-chip:hover {
  background: var(--ink); color: white; border-color: var(--ink);
}
.cmty-topic-chip-tag { font-size: 12.5px; font-weight: 600; }
.cmty-topic-chip-count { font-size: 11px; color: var(--ink-soft); }
.cmty-topic-chip:hover .cmty-topic-chip-count { color: rgba(255,255,255,0.6); }

/* Sidebar */
.cmty-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.cmty-profile-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.cmty-profile-avatar {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.cmty-profile-handle {
  font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.cmty-profile-bio {
  font-size: 13.5px; color: var(--ink-soft); margin: 10px 0 14px; line-height: 1.5;
}
.cmty-profile-edit {
  margin-top: 6px; width: 100%;
}

.cmty-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 2px;
}
.cmty-badge-0 { background: #f3f3f5; color: #6b6280; }
.cmty-badge-1 { background: #e8f5e9; color: #1b5e20; }
.cmty-badge-2 { background: #fff4d9; color: #7a4d00; }
.cmty-badge-official {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #fbb319 0%, #e5a015 100%);
  color: #1a0f00; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(26,15,0,0.06), 0 2px 6px -2px rgba(251,179,25,0.5);
}
.cmty-handle-badge-official {
  background: linear-gradient(135deg, #fbb319 0%, #e5a015 100%);
  color: #1a0f00; font-weight: 800;
  box-shadow: 0 0 0 1px rgba(26,15,0,0.06);
}
.cmty-handle-label-official {
  font-weight: 700;
  color: var(--accent-dark);
}

.cmty-composer-toggle {
  background: linear-gradient(135deg, rgba(251,179,25,0.08), rgba(251,179,25,0.02));
  border: 1px solid rgba(251,179,25,0.25);
  border-radius: 14px;
  padding: 16px 14px;
}
.cmty-side-note {
  font-size: 11.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.45;
  text-align: center;
}

/* Main column */
.cmty-main { min-width: 0; }

.cmty-filters {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.cmty-filter-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.cmty-filter-row + .cmty-filter-row { border-top: 1px dashed var(--border-soft); margin-top: 6px; padding-top: 12px; }
.cmty-filter-label {
  font-size: 10.5px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.14em; min-width: 56px;
}
.cmty-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cmty-chip {
  font-size: 12.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  background: #f6f5f8; color: var(--ink-soft);
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.12s;
}
.cmty-chip-sm { font-size: 12px; padding: 5px 11px; }
.cmty-chip:hover { background: #ece9f1; color: var(--ink); }
.cmty-chip-on {
  background: var(--ink); color: white;
}
.cmty-search {
  flex: 1;
  font: inherit;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fafafd;
  color: var(--ink);
}
.cmty-search:focus { background: #fff; border-color: var(--accent); outline: none; }

/* Feed */
.cmty-feed { display: flex; flex-direction: column; gap: 14px; }
.cmty-feed-loading {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 40px 24px; text-align: center;
  color: var(--ink-soft);
}

.cmty-post {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.12s;
}
.cmty-post:hover { border-color: rgba(15,10,24,0.16); }
.cmty-post-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.cmty-post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2684 0%, #4A0F44 100%);
  color: white;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cmty-post-meta { flex: 1; min-width: 0; }
.cmty-post-handle {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.cmty-handle-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 999px; line-height: 1.4;
}
.cmty-handle-badge-0 { background: #f3f3f5; color: #6b6280; }
.cmty-handle-badge-1 { background: #e8f5e9; color: #1b5e20; }
.cmty-handle-badge-2 { background: #fff4d9; color: #7a4d00; }
.cmty-handle-label {
  font-size: 11.5px; font-weight: 500; color: var(--ink-soft);
}
.cmty-post-time { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; letter-spacing: 0.02em; }
.cmty-post-body {
  font-size: 15px; line-height: 1.55; color: var(--ink);
  word-wrap: break-word; white-space: pre-wrap;
}
.cmty-post-foot {
  display: flex; gap: 18px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.cmty-react {
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-soft);
  padding: 4px 8px; border-radius: 6px; transition: all 0.12s;
}
.cmty-react:hover { background: var(--bg-soft); color: var(--ink); }
.cmty-react-on { color: #e23b3b; }
.cmty-react-icon { font-size: 16px; }

.cmty-empty {
  background: #fff; border: 1px dashed var(--border-soft);
  border-radius: 14px; padding: 56px 24px; text-align: center;
}
.cmty-empty-icon { font-size: 40px; margin-bottom: 12px; }
.cmty-empty h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.cmty-empty p  { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.cmty-empty-small { font-size: 13px; color: var(--ink-soft); padding: 12px; }

/* Onboard */
.cmty-onboard {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 36px 32px;
}
.cmty-onboard-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent-dark); margin-bottom: 14px;
}
.cmty-onboard-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 600; color: var(--ink);
  margin: 0 0 12px; line-height: 1.15;
}
.cmty-onboard-lead {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 22px;
}
.cmty-onboard-form { display: flex; flex-direction: column; gap: 14px; }
.cmty-onboard-label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.cmty-onboard-label small { font-weight: 400; color: var(--ink-soft); }
.cmty-onboard-label input {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 14.5px; background: #fafafd; color: var(--ink);
}
.cmty-onboard-label input:focus { background: #fff; border-color: var(--accent); outline: none; }
.cmty-onboard-foot { display: flex; justify-content: flex-end; margin-top: 8px; }

/* Buttons */
.cmty-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer; transition: all 0.15s;
}
.cmty-btn-block { width: 100%; }
.cmty-btn-primary {
  background: var(--ink); color: white; border-color: var(--ink);
}
.cmty-btn-primary:hover { background: #221731; }
.cmty-btn-ghost {
  background: transparent; color: var(--ink-soft); border-color: var(--border);
}
.cmty-btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

/* Modal */
.cmty-modal-bg {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,10,24,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: cmtyModalIn 0.18s ease-out both;
}
@keyframes cmtyModalIn { from { opacity: 0; } to { opacity: 1; } }
.cmty-modal {
  background: #fff; border-radius: 14px;
  max-width: 560px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 22px 24px;
  box-shadow: 0 32px 80px -32px rgba(15,10,24,0.5);
}
.cmty-modal-wide { max-width: 720px; }
.cmty-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cmty-modal-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 600; color: var(--ink); margin: 0;
}
.cmty-modal-x {
  background: transparent; border: 0; font-size: 24px;
  cursor: pointer; color: var(--ink-soft);
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.cmty-modal-x:hover { background: var(--bg-soft); color: var(--ink); }

.cmty-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.cmty-field-half { flex: 1; }
.cmty-field-row { display: flex; gap: 12px; }
.cmty-field-label {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.cmty-field textarea,
.cmty-field input,
.cmty-field select {
  font: inherit; font-size: 14.5px;
  padding: 10px 12px;
  background: #fafafd;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
}
.cmty-field textarea { resize: vertical; min-height: 110px; }
.cmty-field textarea:focus,
.cmty-field input:focus,
.cmty-field select:focus { background: #fff; border-color: var(--accent); outline: none; }
.cmty-field-help { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }

.cmty-modal-foot {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px;
}

/* Comments */
.cmty-post-embedded {
  border: 1px solid var(--border-soft);
  background: var(--bg-soft);
  margin-bottom: 16px;
}
.cmty-comments-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cmty-comment {
  display: flex; gap: 10px; padding: 10px 12px;
  background: var(--bg-soft); border-radius: 10px;
}
.cmty-comment-avatar {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2684, #4A0F44);
  color: white; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.cmty-comment-body { flex: 1; min-width: 0; }
.cmty-comment-head { display: flex; gap: 8px; align-items: baseline; }
.cmty-comment-handle { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cmty-comment-time { font-size: 11px; color: var(--ink-soft); }
.cmty-comment-text { font-size: 13.5px; color: var(--ink); line-height: 1.5; margin-top: 3px; word-wrap: break-word; }
.cmty-comment-form { display: flex; gap: 10px; align-items: flex-start; }
.cmty-comment-form textarea {
  flex: 1; font: inherit; font-size: 14px;
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  background: #fafafd; color: var(--ink); resize: vertical;
}
.cmty-comment-form textarea:focus { background: #fff; border-color: var(--accent); outline: none; }
.cmty-error { color: #a02f24; font-size: 13px; padding: 12px; }

/* Loading */
.cmty-loading-screen {
  text-align: center; padding: 80px 20px;
}
.cmty-loading-spinner {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  border: 3px solid var(--border-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cmtySpin 0.9s linear infinite;
}
@keyframes cmtySpin { to { transform: rotate(360deg); } }
.cmty-loading-label { font-size: 13px; color: var(--ink-soft); }

/* Side nav (Phase 2) */
.cmty-side-nav {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 8px;
  display: flex; flex-direction: column;
}
.cmty-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; transition: background 0.12s;
  position: relative;
}
.cmty-nav-link:hover { background: var(--bg-soft); text-decoration: none; }
.cmty-nav-link-active { background: var(--bg-soft); font-weight: 600; }
.cmty-nav-icon { font-size: 16px; }
.cmty-nav-count {
  margin-left: auto;
  background: #e23b3b; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  min-width: 20px; text-align: center;
}

/* Profile view (Phase 2) */
.cmty-back-link {
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink-soft); font-size: 13px; font-weight: 500;
  padding: 6px 8px; margin-bottom: 14px; border-radius: 6px;
}
.cmty-back-link:hover { background: var(--bg-soft); color: var(--ink); }

.cmty-profile-view-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 24px;
}
.cmty-profile-view-head {
  display: flex; gap: 18px; align-items: flex-start;
}
.cmty-profile-view-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cmty-profile-view-meta { flex: 1; min-width: 0; }
.cmty-profile-view-handle {
  font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
  font-family: 'Fraunces', Georgia, serif;
}
.cmty-profile-view-bio {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 10px 0 8px;
}
.cmty-profile-view-stats {
  display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-soft); margin-top: 6px;
}
.cmty-profile-view-actions { flex-shrink: 0; }
.cmty-profile-view-posts h3 { margin-bottom: 12px; }

.cmty-section-h {
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin: 0;
}
.cmty-section-h-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 600;
  margin: 0 0 18px;
}

.cmty-action-row { display: flex; gap: 8px; }

/* Find people view */
.cmty-find-lead {
  font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.55; margin: -8px 0 18px; max-width: 640px;
}
.cmty-find-searchbar {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 4px 12px 4px 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 0 rgba(15,10,24,0.03);
  transition: border-color 0.15s;
}
.cmty-find-searchbar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251,179,25,0.18);
}
.cmty-find-search-icon { font-size: 16px; color: var(--ink-soft); }
.cmty-find-input {
  flex: 1; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 15px; padding: 12px 0;
  color: var(--ink);
}
.cmty-find-results {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.cmty-find-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  transition: border-color 0.12s, transform 0.12s;
}
.cmty-find-card:hover { border-color: rgba(15,10,24,0.16); transform: translateY(-1px); }
.cmty-find-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2684 0%, #4A0F44 100%);
  color: white; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.cmty-find-avatar:hover { opacity: 0.9; }
.cmty-find-meta { flex: 1; min-width: 0; }
.cmty-find-handle {
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  text-decoration: none; display: block; margin-bottom: 4px;
}
.cmty-find-handle:hover { color: var(--accent-dark); text-decoration: underline; }
.cmty-find-bio {
  font-size: 12.5px; color: var(--ink-soft); line-height: 1.5;
  margin: 6px 0 0; display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cmty-find-actions { flex-shrink: 0; }


/* Connections list */
.cmty-conn-section {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.cmty-conn-section-title {
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.cmty-conn-count {
  background: var(--bg-soft); color: var(--ink-soft);
  font-size: 11px; font-weight: 700;
  padding: 1px 8px; border-radius: 999px;
}
.cmty-conn-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.cmty-conn-row + .cmty-conn-row { border-top: 1px solid var(--border-soft); }
.cmty-conn-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E2684 0%, #4A0F44 100%);
  color: white; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cmty-conn-meta { flex: 1; min-width: 0; }
.cmty-conn-meta .cmty-handle-text {
  font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.cmty-conn-meta .cmty-handle-text:hover { color: var(--accent-dark); }
.cmty-conn-actions { flex-shrink: 0; }
.cmty-conn-status {
  font-size: 12px; color: var(--ink-soft);
  font-style: italic;
}
.cmty-conn-status-ok { color: var(--success); font-style: normal; font-weight: 600; }

/* Make in-feed @handle clickable */
.cmty-handle-text {
  color: var(--ink); text-decoration: none;
  transition: color 0.12s;
}
a.cmty-handle-text:hover { color: var(--accent-dark); text-decoration: underline; }

/* Phase 3 — Triad threads */
.cmty-btn-triad {
  background: linear-gradient(135deg, #059669 0%, #D97706 50%, #E11D48 100%);
  color: white; border-color: transparent;
  font-weight: 700;
}
.cmty-btn-triad:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cmty-btn-adopt { background: #059669; color: white; border-color: #059669; }
.cmty-btn-adopt:hover { background: #047857; }
.cmty-btn-adapt { background: #D97706; color: white; border-color: #D97706; }
.cmty-btn-adapt:hover { background: #B45309; }
.cmty-btn-argue { background: #E11D48; color: white; border-color: #E11D48; }
.cmty-btn-argue:hover { background: #BE123C; }

.cmty-thread-card {
  border-left: 3px solid #D97706;
  background: linear-gradient(180deg, #fffaef 0%, #ffffff 24%);
}
/* .cmty-thread-tag is fully styled inline in js/community.js (gold-pill chip).
   The previous gradient-text rule here clipped `-webkit-text-fill-color: transparent`,
   which carried over and made the chip text invisible. */
.cmty-thread-claim {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 600;
  color: var(--ink); line-height: 1.35;
  margin: 4px 0 12px;
  word-wrap: break-word;
}
.cmty-thread-body {
  font-size: 14px; color: var(--ink-soft); margin-bottom: 14px;
}
.cmty-pillar-counts {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0;
}
.cmty-pillar-pill {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid transparent;
}
.cmty-pillar-adopt { background: #E8F5EE; color: #059669; border-color: #D1FAE5; }
.cmty-pillar-adapt { background: #FEF3DD; color: #D97706; border-color: #FED7AA; }
.cmty-pillar-argue { background: #FEE7EA; color: #E11D48; border-color: #FECDD3; }
.cmty-thread-open {
  margin-top: 8px;
}

/* Thread detail view */
.cmty-thread-detail {
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fffaef 0%, #ffffff 18%);
  border-left: 3px solid #D97706;
}
.cmty-thread-detail-claim {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px); font-weight: 600;
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin: 8px 0 12px;
}
.cmty-thread-detail-body {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
}

.cmty-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.cmty-pillar {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-top: 3px solid;
  border-radius: 10px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.cmty-pillar-adopt { border-top-color: #059669; }
.cmty-pillar-adapt { border-top-color: #D97706; }
.cmty-pillar-argue { border-top-color: #E11D48; }

.cmty-pillar-head { display: flex; flex-direction: column; gap: 4px; }
.cmty-pillar-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.cmty-pillar-count-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  background: var(--bg-soft); color: var(--ink-soft);
  padding: 2px 8px; border-radius: 999px;
  margin-left: auto;
}
.cmty-pillar-headline { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }

.cmty-pillar-summary {
  background: linear-gradient(135deg, rgba(251,179,25,0.05), rgba(251,179,25,0.02));
  border: 1px solid rgba(251,179,25,0.18);
  border-radius: 8px;
  padding: 10px 12px;
}
.cmty-pillar-summary-pending { background: var(--bg-soft); border-style: dashed; }
.cmty-pillar-summary-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent-dark); margin-bottom: 4px;
}
.cmty-pillar-summary-text {
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.cmty-link-btn {
  background: transparent; border: 0; cursor: pointer;
  color: var(--accent-dark); font: inherit; font-weight: 600;
  text-decoration: underline;
}

.cmty-pillar-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 9px 14px; border-radius: 8px;
  border: 1px solid;
  cursor: pointer; transition: all 0.15s;
  text-align: center;
}
.cmty-pillar-cta-adopt { background: white; border-color: #059669; color: #059669; }
.cmty-pillar-cta-adopt:hover { background: #059669; color: white; }
.cmty-pillar-cta-adapt { background: white; border-color: #D97706; color: #D97706; }
.cmty-pillar-cta-adapt:hover { background: #D97706; color: white; }
.cmty-pillar-cta-argue { background: white; border-color: #E11D48; color: #E11D48; }
.cmty-pillar-cta-argue:hover { background: #E11D48; color: white; }

.cmty-pillar-already {
  font-size: 12.5px; color: var(--ink-soft);
  padding: 8px 12px; background: var(--bg-soft); border-radius: 8px;
  text-align: center;
}

.cmty-pillar-responses { display: flex; flex-direction: column; gap: 10px; }

.cmty-resp {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
}
.cmty-resp-best {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fffaef 0%, var(--bg-soft) 100%);
}
.cmty-resp-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.cmty-resp-head .cmty-handle-text { font-size: 12.5px; font-weight: 600; }
.cmty-resp-time { font-size: 11px; color: var(--ink-soft); margin-left: auto; }
.cmty-resp-best-badge {
  font-size: 10.5px; font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft); padding: 2px 8px; border-radius: 999px;
}
.cmty-resp-body { display: flex; flex-direction: column; gap: 8px; }
.cmty-resp-field {
  font-size: 12.5px; line-height: 1.5; color: var(--ink); white-space: pre-wrap;
}
.cmty-resp-field-label {
  display: block; font-size: 10px; font-weight: 700;
  color: var(--ink-soft); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 2px;
}
.cmty-resp-foot { display: flex; gap: 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border-soft); }
.cmty-react-label { font-size: 11.5px; }

.cmty-req { color: #E11D48; }

/* Pillar-specific modal accents */
.cmty-modal-adopt { border-top: 4px solid #059669; }
.cmty-modal-adapt { border-top: 4px solid #D97706; }
.cmty-modal-argue { border-top: 4px solid #E11D48; }

@media (max-width: 900px) {
  .cmty-wrap { padding: 36px 18px 72px; }
  .cmty-grid { grid-template-columns: 1fr; }
  .cmty-side { position: static; }
  .cmty-field-row { flex-direction: column; }
  .cmty-profile-view-head { flex-direction: column; align-items: stretch; }
  .cmty-profile-view-avatar { margin: 0 auto 12px; }
  .cmty-profile-view-actions { margin-top: 12px; }
  .cmty-pillars { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GLOBAL MOBILE POLISH (2026-05-14)
   ─────────────────────────────────────────────────────────────────────
   Site-wide responsive defaults that apply across every page. Each page's
   own JS file may add finer-grained rules; these are the safety net so
   nothing overflows, no tap targets are tiny, and no text is too small to
   read on phones. CSS-only, no markup changes anywhere.
   ═══════════════════════════════════════════════════════════════════ */

/* — Universal: never overflow horizontally, never zoom on input focus — */
html, body { -webkit-text-size-adjust: 100%; }
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  /* Container padding shrinks gracefully */
  .container,
  .container-narrow,
  .hcmi-container,
  .cir-container,
  .si-wrap,
  .cmty-wrap,
  .prep-wrap,
  .dash-wrap,
  .admin-wrap { padding-left: 18px; padding-right: 18px; }

  /* Universal heading scale-down — pages can override per-section */
  h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.4px; }
  h2 { font-size: 22px; line-height: 1.2;  letter-spacing: -0.3px; }
  h3 { font-size: 18px; line-height: 1.25; letter-spacing: -0.2px; }

  /* Buttons + CTAs: minimum 44px tap target (Apple HIG / Android Material) */
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .cir-btn-primary,
  .cir-btn-outline,
  .hcmi-btn-primary,
  .hcmi-btn-secondary,
  .cmty-btn,
  .prep-cta,
  button[type="submit"] {
    min-height: 44px;
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 14px;
  }

  /* Form inputs at 16px font to prevent iOS zoom-on-focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="password"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;   /* override per-page rules that are too small */
    min-height: 44px;
    padding: 10px 12px;
  }
  textarea { min-height: auto; padding: 10px 12px; }

  /* Tables that don't fit → horizontal scroll instead of overflow */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

  /* Modal / dialog defaults — keep them on-screen on phones */
  .modal,
  .gh-modal,
  .cir-modal,
  .cmty-modal,
  .admin-modal {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    margin: 12px;
  }

  /* Generic grid downgrades — pages with their own rules will win */
  .stats-grid,
  .benefits-grid,
  .features-grid,
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Hero sections — reduce vertical padding so users see content quickly */
  .hero,
  .hcmi-hero,
  .cir-hero,
  .si-hero-card,
  .prep-hero { padding-top: 32px !important; padding-bottom: 32px !important; }

  /* Section padding — common patterns */
  section { padding-left: 0; padding-right: 0; }
}

@media (max-width: 480px) {
  /* Phone-only refinements: tighter containers, single-col grids */
  .container,
  .container-narrow,
  .hcmi-container,
  .cir-container,
  .si-wrap,
  .cmty-wrap,
  .prep-wrap,
  .dash-wrap,
  .admin-wrap { padding-left: 14px; padding-right: 14px; }

  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }

  /* Single column for any 2-up grid that survived the 768px breakpoint */
  .stats-grid,
  .benefits-grid,
  .features-grid,
  .pillars-grid,
  .form-row { grid-template-columns: 1fr; flex-direction: column; }
}

/* — Print-style: stack everything vertically on very narrow screens — */
@media (max-width: 360px) {
  body { font-size: 14px; }
}

/* — Touch device: disable hover-only animations that cause stuck states — */
@media (hover: none) {
  .hcmi-product-card:hover { transform: none; }
  .gh-mega-item:hover .gh-mega-icon { background: inherit; transform: none; }
}