/* ============================================================================
 *  onboarding.css
 *  Redesigned to share the same design language as the dashboard
 *  (job-search.html / saved-jobs.html / dashboard.html):
 *
 *   - Gray outer frame (#ebebeb) + white inner surface with rounded corners
 *   - Cards separated by COLOR (light gray on white), not by borders
 *   - SF Pro / Apple-system typography
 *   - Green gradient pill for the primary CTA (matches .job-search-submit)
 *   - Blue gradient button for secondary actions (matches .nl-btn-primary)
 *   - Soft-shadow rounded inputs (matches .input-wrapper)
 *   - Subtle pill chips (matches .nl-tag / .dropdown-trigger)
 *   - Fluid sizing so mobile <-> desktop transitions smoothly
 * ========================================================================== */

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

:root {
  /* Surfaces */
  --bg:           #ebebeb;          /* outer gray frame */
  --surface:      #ffffff;          /* main inner white area */
  --card:         #f4f6f8;          /* light gray cards on the surface */
  --card-2:       #f3f4f6;          /* alternative gray (matches aa-stat-card) */
  --card-3:       #f8f8fa;          /* slightly lighter (matches social proof) */
  --card-hover:   #eceef2;          /* card hover */

  /* Lines (used sparingly) */
  --line-soft:    rgba(15, 16, 32, 0.06);
  --line:         rgba(15, 16, 32, 0.08);
  --line-strong:  rgba(15, 16, 32, 0.14);

  /* Text */
  --text:         #0f1020;
  --text-2:       #1a1a1a;
  --text-medium:  #374151;
  --muted:        #6b7280;
  --muted-2:      #94a3b8;

  /* Brand accents (same as dashboard.css) */
  --purple:       #6254f3;
  --purple-soft:  #f3f1ff;
  --purple-tint:  rgba(98, 84, 243, 0.08);

  /* Green CTA (matches .job-search-submit) */
  --green:        #16a34a;
  --green-top:    #2ad66d;
  --green-border: #15803d;
  --green-glow:   rgba(22, 163, 74, 0.38);

  /* Blue secondary (matches .nl-btn-primary) */
  --blue:         #3b66cf;
  --blue-top:     #5b82e8;
  --blue-bot:     #2d52b8;
  --blue-border:  #2547a3;
  --blue-glow:    rgba(59, 102, 207, 0.42);

  /* Radii / shadows */
  --r-card:       18px;
  --r-pill:       999px;
  --r-input:      14px;
  --shadow-card:  none;
  --shadow-soft:  0 1px 3px rgba(15, 16, 32, 0.04);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------------------------------------------
 * Page / Shell
 * Mirrors dashboard's "gray frame around white surface" structure.
 * -------------------------------------------------------------------------- */

.page {
  min-height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* Top bar — flush with the white surface (no glass / no fixed) */
.topbar {
  position: relative;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
  z-index: 10;
}

.topbar-back {
  justify-self: start;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-back:hover {
  background: var(--card);
  color: var(--text);
}

.topbar-right {
  justify-self: end;
}

.logo {
  justify-self: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--purple);
  user-select: none;
  display: inline-flex;
  align-items: flex-start;
}

.logo::after {
  content: "✦";
  font-size: 12px;
  margin-left: 2px;
  color: #8c7bff;
}

.logo sup {
  display: none; /* the ::after replaces the "+" so we keep the look consistent */
}

/* Main scrollable content area */
.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px) clamp(120px, 14vh, 160px);
  position: relative;
}

/* Progress bar — subtle, purple (same accent as dashboard nav active) */
.progress-wrap {
  width: min(460px, 100%);
  margin: 0 auto clamp(20px, 4vh, 36px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.progress-wrap.show {
  opacity: 1;
  transform: translateY(0);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--card);
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8c7bff, var(--purple));
  transition: width 0.5s cubic-bezier(.2, .8, .2, 1);
}

/* Screens — single screen visible at a time, fades in */
.screen {
  display: none;
  animation: fadeUp 0.42s ease;
}

.screen.active {
  display: block;
}

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

/* ----------------------------------------------------------------------------
 * Typography
 * Headline tokens taken straight from .search-jobs-title / .search-jobs-description
 * -------------------------------------------------------------------------- */

.question-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.6vw + 1rem, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.hero-subtitle,
.question-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  color: var(--text-medium);
  font-weight: 500;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto clamp(20px, 3vh, 32px);
}

.mini-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ----------------------------------------------------------------------------
 * Cards
 * Light gray on white surface (dashboard pattern: .nl-job-card / .aa-stat-card)
 * No borders, color is the separator.
 * -------------------------------------------------------------------------- */

.card,
.form-card,
.center-card {
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 28px);
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.center-card { text-align: center; }

/* Name screen */
.name-hero {
  text-align: center;
  margin-bottom: clamp(16px, 3vh, 24px);
}

.name-icon {
  margin-bottom: 12px;
  line-height: 1;
}

.custom-icon {
  height: clamp(70px, 12vw, 130px);
  width: auto;
  object-fit: contain;
  display: inline-block;
}

.name-card { padding: clamp(20px, 3vw, 28px); }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-row.phone-row {
  grid-template-columns: 180px 1fr;
}

@media (max-width: 600px) {
  .input-row.phone-row {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------------------
 * Inputs
 * Soft-shadow rounded pill — same vocabulary as .input-wrapper on Job Search.
 * -------------------------------------------------------------------------- */

.field,
.search-box {
  width: 100%;
  min-height: 52px;
  border-radius: var(--r-input);
  border: none;
  background: var(--surface);
  box-shadow: 1px 1px 3px #b8bcc8;
  padding: 0 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: box-shadow 0.2s ease;
}

.field::placeholder,
.search-box::placeholder {
  color: var(--muted-2);
}

.field:focus,
.search-box:focus {
  box-shadow: 1px 1px 8px #778899;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

/* ----------------------------------------------------------------------------
 * Buttons
 *  .primary-btn  -> Green gradient pill (matches .job-search-submit)
 *  .ghost-btn    -> Outline / subtle
 *  .outline-btn  -> White rounded with soft shadow
 *  .asap-btn     -> Small chip
 *  .add-btn      -> Soft purple chip
 *  .yellow modifier -> Blue gradient (matches .nl-btn-primary)
 * -------------------------------------------------------------------------- */

.primary-btn,
.ghost-btn,
.outline-btn,
.asap-btn,
.add-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background-color 0.2s ease;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 220px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid var(--green-border);
  border-radius: var(--r-pill);
  background-color: var(--green);
  background-image: linear-gradient(var(--green-top), var(--green));
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px var(--green-glow);
  white-space: nowrap;
}

.primary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.primary-btn:active {
  transform: translateY(1px);
  filter: brightness(0.97);
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.32);
}

.primary-btn:disabled {
  cursor: not-allowed;
  filter: brightness(0.88) saturate(0.95);
  transform: none;
}

/* .primary-btn.yellow keeps the same hook name used in JS, but renders the
   blue gradient (the same as .nl-btn-primary on Job Search). */
.primary-btn.yellow {
  background-color: var(--blue);
  background-image: linear-gradient(180deg, var(--blue-top) 0%, var(--blue) 55%, var(--blue-bot) 100%);
  border-color: var(--blue-border);
  box-shadow: 0 4px 14px var(--blue-glow);
  color: #ffffff;
}

.primary-btn.yellow:hover {
  box-shadow: 0 6px 18px rgba(59, 102, 207, 0.5);
}

.ghost-btn {
  background: transparent;
  color: var(--text-medium);
  border: none;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
}

.ghost-btn:hover {
  background: var(--card);
  color: var(--text);
}

.outline-btn {
  width: 100%;
  min-height: 52px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  padding: 0 22px;
}

.outline-btn:hover {
  background: var(--card-3);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.asap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
}

.asap-btn:hover {
  background: var(--purple-soft);
  color: var(--purple);
  border-color: transparent;
}

.add-btn {
  width: 100%;
  min-height: 48px;
  border-radius: var(--r-pill);
  background: var(--purple-tint);
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}

.add-btn:hover {
  background: var(--purple);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Layout for screen-level CTAs.
 *
 *  - .cta-center  ->  inline "Continue" used on form screens.
 *                     Hidden globally: the sticky .bottombar handles those.
 *  - .bottom-nav-outside  ->  inline CTA used on the FIRST (name) screen and
 *                             on goalScreen / industryScreen. Visible by
 *                             default because the JS hides the sticky
 *                             .bottombar on those screens.
 *  - .goal-desktop-btn  ->  modifier used by goal/industry: only on desktop
 *                           (mobile uses the sticky bottombar instead). */

.cta-center { display: none; }

.bottom-nav-outside {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 4vh, 36px);
}

.bottom-nav-outside.goal-desktop-btn {
  margin-top: clamp(24px, 4vh, 40px);
}

@media (max-width: 600px) {
  .bottom-nav-outside.goal-desktop-btn { display: none; }
}

/* ----------------------------------------------------------------------------
 * Bottom bar — sticky CTA at the bottom (mobile-first, but visible on desktop
 * too for one consistent flow).
 * -------------------------------------------------------------------------- */

.bottombar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 24px;
  z-index: 50;
  box-shadow: 0 -6px 24px rgba(15, 16, 32, 0.04);
}

.bottombar .primary-btn {
  width: 100%;
  max-width: 420px;
}

@media (min-width: 601px) {
  .bottombar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 28px));
  }
  /* Screens that show their own large CTA can hide the bottombar */
  body[data-current-screen="goalScreen"] .bottombar,
  body[data-current-screen="industryScreen"] .bottombar {
    display: none;
  }
}

@media (max-width: 600px) {
  body { padding: 0; }
  .page { border-radius: 0; min-height: 100vh; }
  .topbar { height: 60px; padding: 0 16px; border-radius: 0; }
  .logo { font-size: 20px; }
  .back-text-span { display: none; }
  .topbar-back { padding: 8px; }
  .shell { padding: 20px 16px 110px; }
  .bottombar { left: 0; right: 0; bottom: 0; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; height: 88px; padding-bottom: env(safe-area-inset-bottom, 0); }
  .bottombar .primary-btn { max-width: none; }
}

/* ----------------------------------------------------------------------------
 * Welcome screen
 * -------------------------------------------------------------------------- */

.welcome-panel {
  position: relative;
  background: var(--card);
  color: var(--text);
  border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.welcome-title {
  font-size: clamp(1.7rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text);
}
.welcome-title strong { font-weight: 800; }

.welcome-sub {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text);
}

.welcome-copy {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-medium);
  font-weight: 500;
}

.welcome-actions { display: none; }

.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 1.9s infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  15%      { transform: rotate(16deg); }
  30%      { transform: rotate(-8deg); }
  45%      { transform: rotate(12deg); }
  60%      { transform: rotate(-4deg); }
}

.shield {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--purple-tint);
  font-size: 2.6rem;
}

/* ----------------------------------------------------------------------------
 * "Mode grid" — Build / Auto Apply / Interview Buddy showcase cards
 * -------------------------------------------------------------------------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.select-card {
  position: relative;
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 360px;
  transition: background-color 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.select-card:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
}

.select-card.active {
  background: var(--purple-soft);
  box-shadow: none;
}

.select-card-featured {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.select-card-featured.active {
  background: var(--purple-soft);
  box-shadow: none;
}

.select-card-featured:hover {
  background: var(--surface);
  transform: translateY(-3px);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6b5ae0, #8874f5);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(107, 90, 224, 0.35);
  white-space: nowrap;
  z-index: 3;
}

/* Radio dot used inside select-card and welcome screens */
.radio,
.hear-radio,
.edu-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #cfd3df;
  background: var(--surface);
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.edu-check { border-radius: 6px; }

.select-card .radio {
  position: absolute;
  top: 18px;
  right: 18px;
}

.select-card.active .radio,
.select-card-featured.active .radio {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.hear-card.active .hear-radio {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.edu-card.active .edu-check {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 3px #ffffff;
}

/* ----------------------------------------------------------------------------
 * Generic selectable cards (employment, education, hear-about, gender, etc.)
 * Light gray card -> hover slightly darker -> active subtle purple tint
 * No visible borders — separation done via background color.
 * -------------------------------------------------------------------------- */

.choice-line,
.check-row,
.hear-card,
.edu-card,
.option-btn,
.experience-card,
.employment-option {
  background: var(--surface);
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  min-height: 60px;
  line-height: 1.4;
  box-shadow: none;
}

.choice-line:hover,
.check-row:hover,
.hear-card:hover,
.edu-card:hover,
.option-btn:hover,
.experience-card:hover,
.employment-option:hover {
  background: var(--card-3);
}

.choice-line.active,
.check-row.active,
.hear-card.active,
.edu-card.active,
.option-btn.active,
.experience-card.active,
.employment-option.active {
  background: var(--purple-soft);
  box-shadow: none;
}

.option-btn { justify-content: center; text-align: center; }
.choice-line { justify-content: flex-start; }
.hear-card,
.edu-card { justify-content: flex-start; }

/* Hear-about icons (Google / LinkedIn / TikTok ...) */
.hear-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hear-icon {
  color: var(--muted);
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  margin-right: 2px;
}

/* Education grid */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Employment list (single column) */
.employment-option {
  justify-content: flex-start;
}

.employment-option .employment-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.employment-option .employment-text {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  flex: 1;
}

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

.experience-card {
  align-items: center;
  text-align: left;
}

.exp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-2);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.experience-card:hover .exp-icon-wrap {
  background: var(--card);
  color: var(--text-medium);
}

.experience-card.active .exp-icon-wrap {
  background: var(--surface);
  color: var(--purple);
}

.exp-text-wrap { display: flex; flex-direction: column; gap: 2px; }

.experience-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.experience-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Worktype (check stack) */
.button-row,
.check-stack {
  display: grid;
  gap: 10px;
}

.fake-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cfd3df;
  background: var(--surface);
  flex: 0 0 auto;
  transition: all 0.2s ease;
}

.check-row.active .fake-check,
.choice-line.active .fake-check {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 3px #ffffff;
}

/* ----------------------------------------------------------------------------
 * Industry preference
 * -------------------------------------------------------------------------- */

.industry-card { padding: clamp(16px, 2.5vw, 24px); }

.industry-any-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 14px;
}

.industry-any-option:hover { background: var(--card-3); }

.industry-any-option.active {
  background: var(--purple-soft);
  box-shadow: none;
}

.industry-any-option span {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
}

.checkbox-square {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cfd3df;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.industry-any-option.active .checkbox-square {
  background: var(--purple);
  border-color: var(--purple);
}

.checkbox-square i {
  color: #ffffff;
  font-size: 0.75rem;
  opacity: 0;
}

.industry-any-option.active .checkbox-square i { opacity: 1; }

.industry-search-container {
  position: relative;
  margin-bottom: 14px;
}

.industry-search-container .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.industry-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-shadow: 1px 1px 3px #b8bcc8;
  transition: box-shadow 0.2s ease;
  font-family: inherit;
}

.industry-search-input::placeholder { color: var(--muted-2); }

.industry-search-input:focus { box-shadow: 1px 1px 8px #778899; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.industry-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 60px;
  box-shadow: none;
}

.industry-item:hover { background: var(--card-3); }

.industry-item.active {
  background: var(--purple-soft);
  box-shadow: none;
}

.industry-item .industry-icon {
  font-size: 1.05rem;
  color: var(--muted);
  flex-shrink: 0;
}

.industry-item.active .industry-icon { color: var(--purple); }

.industry-item .industry-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  flex-grow: 1;
}

.industry-item .check-mark {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.65rem;
  color: var(--purple);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.industry-item.active .check-mark { opacity: 1; }

.industry-more-toggle {
  text-align: center;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  cursor: pointer;
  padding: 8px;
}

.industry-more-toggle i {
  font-size: 0.75rem;
  margin-left: 4px;
}

/* ----------------------------------------------------------------------------
 * Salary slider
 * -------------------------------------------------------------------------- */

.salary-card {
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 36px);
  text-align: center;
}

.salary-display { margin-bottom: 28px; }

.salary-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.salary-currency {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--muted);
}

.salary-bubble {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.salary-per {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.slider-wrap { padding: 0 4px; }

.slider-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--card-2);
}

.slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8c7bff, var(--purple));
}

.slider-thumb {
  position: absolute;
  left: calc(34% - 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid var(--purple);
  box-shadow: 0 4px 14px rgba(98, 84, 243, 0.30);
  cursor: grab;
  touch-action: none;
  transition: box-shadow 0.15s ease;
}

.slider-thumb:hover { box-shadow: 0 6px 20px rgba(98, 84, 243, 0.40); }
.slider-thumb:active { cursor: grabbing; }

.salary-range {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.salary-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.currency-pill {
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* ----------------------------------------------------------------------------
 * Message screens (emoji + title + copy)
 * -------------------------------------------------------------------------- */

.message-screen {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(12px, 4vh, 24px) 0;
}

#employmentMessageScreen {
  min-height: clamp(420px, 60vh, 720px);
}

#employmentMessageScreen .message-screen {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emoji-art {
  width: 160px;
  height: 160px;
  margin: 0 auto 22px;
  font-size: 5.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--card);
  animation: floaty 3s ease-in-out infinite;
}

@keyframes floaty {
  50% { transform: translateY(-6px); }
}

.message-title {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}

.message-copy {
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  line-height: 1.65;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 28px;
  font-weight: 500;
}

/* ----------------------------------------------------------------------------
 * Date / location / tags
 * -------------------------------------------------------------------------- */

.date-card,
.relocate-card,
.location-card,
.auth-card,
.worktype-card,
.education-card {
  max-width: 780px;
  margin: 0 auto;
}

.label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.dateish {
  min-height: 52px;
  border-radius: var(--r-input);
  background: var(--surface);
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  box-shadow: 1px 1px 3px #b8bcc8;
  transition: box-shadow 0.2s ease;
}

.dateish:focus-within { box-shadow: 1px 1px 8px #778899; }

.date-input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  outline: none;
  flex: 1;
  cursor: pointer;
}

/* Tags (used in location toggles and "+ Add job title") */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-medium);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tag:hover { border-color: var(--line-strong); }

.tag.active {
  background: var(--purple-tint);
  border-color: transparent;
  color: var(--purple);
}

#jobTagList {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#jobTagList:not(:empty) { margin-bottom: 14px; }

.tag-pyramid-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  background: var(--purple-tint);
  border: none;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.82rem;
  animation: fadeUp 0.3s ease;
}

.job-tag .remove-tag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: none;
  background: var(--purple);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background-color 0.18s ease;
  line-height: 1;
}

.job-tag .remove-tag:hover {
  background: #5245c2;
  transform: scale(1.12);
}

/* Location blocks */
.location-block {
  padding: 18px;
  background: var(--surface);
  border-radius: 14px;
  margin-bottom: 12px;
}

.location-block .remove-location {
  float: right;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.18s ease;
}

.location-block .remove-location:hover { color: #dc2626; }

.autocomplete-wrap { position: relative; }

.autocomplete-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 12px 28px rgba(15, 16, 32, 0.08);
}

.autocomplete-list.open { display: block; }

.autocomplete-item {
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.12s ease, color 0.12s ease;
  color: var(--text);
}

.autocomplete-item:hover {
  background: var(--purple-tint);
  color: var(--purple);
}

.city-input-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 52px;
  padding: 8px 14px;
  border-radius: var(--r-input);
  background: var(--surface);
  box-shadow: 1px 1px 3px #b8bcc8;
  cursor: text;
  transition: box-shadow 0.2s ease;
}

.city-input-wrap:focus-within { box-shadow: 1px 1px 8px #778899; }

.city-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  min-width: 120px;
  padding: 4px 0;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 6px 5px 12px;
  background: var(--purple-tint);
  border: none;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  animation: fadeUp 0.3s ease;
}

.city-tag .remove-city {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: none;
  background: var(--purple);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.city-tag .remove-city:hover {
  background: #5245c2;
  transform: scale(1.12);
}

.city-suggestions {
  position: relative;
  top: 0;
  border-radius: 14px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.selected-country-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--purple-tint);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.95rem;
}

.selected-country-label button {
  background: none;
  border: none;
  color: var(--purple);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0 2px;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.selected-country-label button:hover { transform: scale(1.2); }

/* ----------------------------------------------------------------------------
 * Auth / work-permit rows
 * -------------------------------------------------------------------------- */

.info-panel {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 16px;
}

.select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.flag {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2b78ff 0 50%, #ffd743 50% 100%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.78);
  flex: 0 0 auto;
}

.auth-rows { display: grid; gap: 12px; }

.auth-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  align-items: center;
}

.auth-country-name {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: var(--purple-tint);
  border-radius: var(--r-input);
  font-weight: 700;
  color: var(--purple);
  font-size: 0.95rem;
}

.auth-country-name .auth-flag { font-size: 1.2rem; }

.auth-select {
  min-height: 52px;
  width: 100%;
  padding: 0 44px 0 18px;
  background: var(--surface);
  border-radius: var(--r-input);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  box-shadow: 1px 1px 3px #b8bcc8;
  transition: box-shadow 0.2s ease;
}

.auth-select:focus { box-shadow: 1px 1px 8px #778899; }

.auth-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px 0;
  line-height: 1.55;
}

.auth-cities {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .auth-row { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------------
 * Phone country code dropdown
 * -------------------------------------------------------------------------- */

.phone-code-wrap { position: relative; }

.phone-code-selected {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: var(--r-input);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  user-select: none;
  box-shadow: 1px 1px 3px #b8bcc8;
  transition: box-shadow 0.2s ease;
}

.phone-code-selected:hover { box-shadow: 1px 1px 8px #778899; }

.phone-code-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 16, 32, 0.10);
  overflow: hidden;
}

.phone-code-dropdown.open { display: block; }

.phone-code-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  background: transparent;
}

.phone-code-list {
  max-height: 220px;
  overflow-y: auto;
}

.phone-code-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.phone-code-item:hover {
  background: var(--purple-tint);
  color: var(--purple);
}

.phone-code-item .pci-code {
  color: var(--muted);
  font-weight: 600;
}

/* ----------------------------------------------------------------------------
 * Signup screen (last step)
 * -------------------------------------------------------------------------- */

.email-shell {
  max-width: 520px;
  margin: 0 auto;
}

.email-card {
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 30px);
}

.google-signin-btn,
.apple-signin-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0 22px;
  box-shadow: var(--shadow-soft);
}

.apple-signin-btn { margin-top: 10px; }

.google-signin-btn:hover,
.apple-signin-btn:hover {
  background: var(--card-3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 16, 32, 0.06);
}

.google-logo,
.apple-logo { flex-shrink: 0; }

.divider-line {
  display: flex;
  align-items: center;
  margin: 18px 0;
  gap: 14px;
}

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

.divider-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.email-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-form-group + .email-form-group { margin-top: 10px; }

.email-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-medium);
}

.email-field {
  min-height: 48px;
  border-radius: 12px !important;
  border: none;
  box-shadow: 1px 1px 3px #b8bcc8;
  background: var(--surface);
  font-size: 15px;
  transition: box-shadow 0.2s ease;
  padding: 0 16px;
}

.email-field:focus {
  box-shadow: 1px 1px 8px #778899;
}

.signup-email-btn {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--green-border);
  border-radius: var(--r-pill);
  margin-top: 16px;
  background-color: var(--green);
  background-image: linear-gradient(var(--green-top), var(--green));
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: 0 4px 14px var(--green-glow);
}

.signup-email-btn:disabled {
  background: #d1d5db;
  background-image: none;
  border-color: #d1d5db;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

.signup-email-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.consent {
  display: grid;
  margin-top: 16px;
  gap: 10px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent-check {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex-shrink: 0;
  cursor: pointer;
}

.muted-link {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}

.muted-link:hover { text-decoration: underline; }

.secure-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

#signupScreen .question-subtitle {
  max-width: none;
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 22px;
}

/* ----------------------------------------------------------------------------
 * Social proof screen (Before / After + stats)
 * -------------------------------------------------------------------------- */

.proof-card-shell {
  padding: 0;
  background: transparent;
  border: none;
  max-width: 980px;
  margin: 0 auto;
}

.proof-hero {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px auto 0;
}

.proof-card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 30px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: none;
}

.proof-card.after {
  background: var(--purple-soft);
}

.feature-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.proof-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  align-self: flex-start;
}

.before-badge {
  background: var(--card-2);
  color: var(--text-medium);
}

.after-badge {
  background: var(--purple);
  color: #ffffff;
}

.proof-title {
  font-size: clamp(1.1rem, 1.3vw + 0.7rem, 1.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.proof-logo-text {
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.04em;
}

.proof-logo-text sup { font-size: 0.6em; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
}

.feature-icon.ai-icon {
  background: var(--surface);
  color: var(--purple);
}

.feature-icon--logo {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.feature-icon--logo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.ai-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 12px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-text strong {
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 700;
}

.feature-text span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 500;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.proof-stats-title {
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  margin: 36px 0 18px;
  font-size: 0.9rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.proof-stat {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-icon.purple-light {
  background: var(--purple-soft);
  color: var(--purple);
}

.stat-text {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.4;
  font-weight: 500;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}

.company-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.company-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-role,
.stat-person-info {
  flex: 1;
  font-weight: 600;
  color: var(--text);
}

.stat-person-info {
  display: flex;
  flex-direction: column;
}

.stat-person-info span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.time-ago {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.text-purple { color: var(--purple); }

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

/* ----------------------------------------------------------------------------
 * Responsive — fluid transitions
 *
 * Layouts that need to collapse on narrow screens. We rely on `clamp(...)` and
 * `grid-template-columns` rules above for everything else, so the only places
 * we need explicit breakpoints are the multi-column grids.
 * -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .select-card { min-height: auto; }
  .select-card-featured { transform: none; }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hear-grid,
  .edu-grid,
  .industry-grid,
  .input-row,
  .select-row {
    grid-template-columns: 1fr;
  }

  .input-row { gap: 10px; }

  .industry-item .industry-text { text-align: left; }
  .industry-item { padding: 12px 14px; }
}

/* Hide auto-advance/secondary big CTAs on mobile since the bottombar is always
   present and provides the primary action. */
@media (max-width: 600px) {
  body[data-current-screen="goalScreen"] .bottombar,
  body[data-current-screen="industryScreen"] .bottombar {
    display: flex;
  }
}
