/* app/assets/stylesheets/admin.css
   Minimal utility classes for the admin analytics view.
   The dashboard uses Tailwind inline — these supplement the analytics page. */

/* ── Card ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 0;
}
.card-title {
  font-size: .8125rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ── Stat card ─────────────────────────────────────────── */
.stat { }
.stat-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
  margin-bottom: .375rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #111827;
  margin-bottom: .375rem;
}
.stat-meta {
  font-size: .75rem;
  color: #9ca3af;
}
.stat-chip {
  display: inline-block;
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: .25rem;
  padding: .125rem .375rem;
  margin-top: .25rem;
}

/* ── KPI mini ──────────────────────────────────────────── */
.kpi-mini {
  background: #f9fafb;
  border-radius: .625rem;
  padding: .75rem 1rem;
}
.kpi-label {
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #9ca3af;
  margin-bottom: .25rem;
}
.kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
}

/* ── Table ─────────────────────────────────────────────── */
.table {
  width: 100%;
  font-size: .8125rem;
  border-collapse: collapse;
}
.table thead th {
  text-align: left;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #9ca3af;
  padding-bottom: .5rem;
  border-bottom: 1px solid #f3f4f6;
}
.table thead th.text-right { text-align: right; }
.table tbody td {
  padding: .4rem 0;
  color: #374151;
  border-bottom: 1px solid #f9fafb;
  vertical-align: middle;
}
.table tbody td.text-right { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #f9fafb; }

/* ── Misc ──────────────────────────────────────────────── */
.divider { height: 1px; background: #f3f4f6; }
.progress { overflow: hidden; border-radius: 9999px; }
.bg-primary { background: #4f46e5; }

/* ── Sparkline container ───────────────────────────────── */
.sparkline {
  width: 100%;
  height: 64px;
  color: #6366f1;
  display: block;
}
.sparkline-ready svg { display: block; }

/* ── Truncate helpers ──────────────────────────────────── */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ============================================================
   ApplyGlide — Marketing CSS
   No inline styles. No Tailwind dependency.
   ============================================================ */

/* === ATS Tooltip ============================================ */
.ats-tip {
  position: relative;
  border-bottom: 1px dashed #6b7280;
  cursor: help;
  white-space: nowrap;
}
.ats-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  width: max-content;
  max-width: 280px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ats-tip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 50;
}
.ats-tip:hover::after,
.ats-tip:hover::before,
.ats-tip:focus::after,
.ats-tip:focus::before {
  opacity: 1;
}

/* === Base ================================================= */
body {
  min-height: 100vh;
  background: white;
  color: #111;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }
summary { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* === Layout helpers ======================================= */
.ag-container  { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.ag-container-mid { max-width: 960px;  margin: 0 auto; padding: 0 20px; }
.ag-container-sm  { max-width: 720px;  margin: 0 auto; padding: 0 20px; }
.ag-container-xs  { max-width: 640px;  margin: 0 auto; padding: 0 20px; }

/* === Flash notices ======================================== */
.flash-notice { padding: 12px 16px; background: #ecfdf5; border-bottom: 1px solid #a7f3d0; font-size: 14px; color: #065f46; text-align: center; }
.flash-alert  { padding: 12px 16px; background: #fef2f2; border-bottom: 1px solid #fecaca; font-size: 14px; color: #991b1b; text-align: center; }

/* === Buttons ============================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; border-radius: 12px; text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer; border: none; font-family: inherit;
  font-size: 15px; padding: 14px 28px;
}
.btn-primary   { background: #111;   color: white;   }
.btn-primary:hover  { background: #333; }
.btn-secondary { background: white;  color: #374151; border: 1px solid #e5e7eb; }
.btn-secondary:hover { background: #f9fafb; }
.btn-white     { background: white;  color: #111;    }
.btn-white:hover  { background: #f3f4f6; }
.btn-ghost-dark { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.06); }
.btn-outline    { background: white; color: #4b5563; border: 1px solid #e5e7eb; }
.btn-outline:hover { background: #f9fafb; border-color: #d1d5db; }
.btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* === Form block helper (for button_to forms) ============= */
.form-block { display: block; }
.form-block button, .form-block input[type=submit] { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: white; border-bottom: 1px solid #f3f4f6;
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo__icon {
  width: 28px; height: 28px; border-radius: 8px; background: #111;
  display: flex; align-items: center; justify-content: center;
}
.site-logo__name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 17px; color: #111; letter-spacing: -0.01em;
}
.site-nav { display: none; align-items: center; gap: 2px; }
.site-nav__link {
  display: inline-block; padding: 7px 12px; border-radius: 8px;
  font-size: 14px; color: #4b5563; text-decoration: none;
  transition: background 0.15s;
}
.site-nav__link:hover { background: #f9fafb; }

.site-actions { display: flex; align-items: center; gap: 8px; }
.site-btn-ghost {
  display: none; padding: 7px 12px; border-radius: 8px;
  font-size: 14px; color: #4b5563; text-decoration: none;
  background: none; border: none; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.site-btn-ghost:hover { background: #f9fafb; }
.site-btn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: #111; color: white;
  font-size: 14px; font-weight: 600; border-radius: 8px;
  text-decoration: none; transition: background 0.15s;
}
.site-btn-cta:hover { background: #333; }

/* Nav dropdowns */
.nav-dd { position: relative; }
.nav-dd__trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px; border-radius: 8px; font-size: 14px;
  color: #4b5563; background: none; border: none;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.nav-dd__trigger:hover { background: #f9fafb; color: #111; }
.nav-dd__chevron { transition: transform 0.2s; flex-shrink: 0; }
.nav-dd__menu {
  position: absolute; left: 0; top: calc(100% + 8px);
  min-width: 300px; border-radius: 14px; border: 1px solid #e5e7eb;
  background: white; box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  overflow: hidden; opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 50;
}
.nav-dd__menu.nav-dropdown--open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dd__section { padding: 8px 0; }
.nav-dd__section--alt { background: #f8fafc; border-top: 1px solid #f1f5f9; }
.nav-dd__section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: #9ca3af; margin: 0;
  padding: 6px 16px 8px;
}
.nav-dd__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 16px; text-decoration: none; transition: background 0.15s;
}
.nav-dd__item:hover { background: #f1f5f9; }
.nav-dd__icon {
  width: 32px; height: 32px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.nav-dd__icon--blue   { background: #eff6ff; color: #2563eb; }
.nav-dd__icon--purple { background: #f5f3ff; color: #7c3aed; }
.nav-dd__icon--green  { background: #ecfdf5; color: #059669; }
.nav-dd__icon--amber  { background: #fffbeb; color: #d97706; }
.nav-dd__name { font-size: 14px; font-weight: 500; color: #111; margin: 0; }
.nav-dd__desc { font-size: 12px; color: #6b7280; margin: 2px 0 0; }
.nav-dd__divider { border-top: 1px solid #f1f5f9; margin: 4px 16px; }
.nav-dd__bundle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; text-decoration: none; transition: background 0.15s;
}
.nav-dd__bundle:hover { background: #f1f5f9; }
.nav-dd__badge {
  font-size: 11px; font-weight: 700; background: #111; color: white;
  padding: 3px 10px; border-radius: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a0a0a; color: #9ca3af; margin-top: 80px; }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: 64px 20px; }
.footer-main { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand__logo  { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand__icon  { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.footer-brand__name  { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 17px; color: white; }
.footer-brand__desc  { font-size: 14px; color: #6b7280; line-height: 1.6; max-width: 280px; }
/* Footer newsletter signup */
.footer-newsletter { margin-top: 20px; margin-bottom: 8px; }
.footer-newsletter__title { font-size: 13px; font-weight: 600; color: #d1d5db; margin: 0 0 8px; }
.footer-newsletter__form { display: flex; gap: 6px; max-width: 320px; }
.footer-newsletter__input {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: white;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.footer-newsletter__input::placeholder { color: #6b7280; }
.footer-newsletter__input:focus { border-color: #2563eb; }
.footer-newsletter__btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.footer-newsletter__btn:hover { background: #1d4ed8; }
.footer-newsletter__note { font-size: 11px; color: #4b5563; margin: 6px 0 0; }

/* Product Hunt launch banner */
.ph-banner {
  background: linear-gradient(135deg, #da552f 0%, #ea8a52 100%);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100;
  position: relative;
}
.ph-banner a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ph-banner a:hover { text-decoration-thickness: 2px; }
.ph-banner__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.ph-banner__close:hover { color: white; }

.footer-social       { display: flex; gap: 12px; margin-top: 20px; }
.footer-social__link { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background 0.15s; text-decoration: none; }
.footer-social__link:hover { background: rgba(255,255,255,0.14); }
.footer-nav          { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-nav__title   { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #6b7280; margin: 0 0 16px; }
.footer-nav__list    { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav__link    { font-size: 14px; color: #9ca3af; text-decoration: none; transition: color 0.15s; }
.footer-nav__link:hover { color: white; }
.footer-bottom   { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 48px; padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-copy     { font-size: 12px; color: #4b5563; margin: 0; }
.footer-studio-link { color: #6b7280; text-decoration: none; transition: color 0.15s; }
.footer-studio-link:hover { color: white; }
.footer-disc     { font-size: 12px; color: #374151; margin: 0; max-width: 480px; line-height: 1.5; }
.footer-usa      { font-size: 0.75rem; color: #6b7280; letter-spacing: 0.5px; margin-top: 4px; }

/* ============================================================
   SHARED SECTION ATOMS
   ============================================================ */
.section-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #9ca3af; margin: 0 0 12px; }
.section-eyebrow--dim { color: #4b5563; }
.section-title    { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 800; color: #111; letter-spacing: -0.02em; margin: 0; }
.section-title--white  { color: white; }
.section-title--sm { font-size: clamp(24px, 3vw, 36px); }
.section-head     { text-align: center; margin-bottom: 56px; }
.section-lead     { font-size: 16px; color: #9ca3af; line-height: 1.5; margin: 12px 0 0; }

.badge-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  padding: 5px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: #065f46;
}
.badge-green__dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; display: inline-block; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero-section { background: white; padding: 80px 20px 64px; overflow: hidden; }
.hero-inner   { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge   { display: inline-flex; align-items: center; gap: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 6px 14px; border-radius: 100px; margin-bottom: 28px; }
.hero-badge__dot  { width: 6px; height: 6px; border-radius: 50%; background: #10b981; display: inline-block; animation: ag-pulse 2s infinite; }
.hero-badge__text { font-size: 13px; font-weight: 500; color: #065f46; }
.hero-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(40px,5vw,68px); font-weight: 800; color: #111; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 20px; }
.hero-sub     { font-size: 18px; color: #6b7280; line-height: 1.6; max-width: 480px; margin: 0 0 36px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-feature  { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b7280; }

/* Hero mockup */
.hero-mockup        { position: relative; }
.hero-mockup__shadow { position: absolute; top: 16px; left: 16px; right: -4px; bottom: -16px; border-radius: 16px; background: #f3f4f6; }
.hero-mockup__card   { position: relative; background: white; border-radius: 16px; border: 1px solid #e5e7eb; box-shadow: 0 20px 60px rgba(0,0,0,0.1); overflow: hidden; }
.hero-mockup__bar    { background: #f9fafb; border-bottom: 1px solid #f3f4f6; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.hero-mockup__dots   { display: flex; gap: 6px; }
.hero-mockup__dot    { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup__dot--r { background: #fca5a5; }
.hero-mockup__dot--y { background: #fde68a; }
.hero-mockup__dot--g { background: #6ee7b7; }
.hero-mockup__label  { font-size: 12px; color: #9ca3af; font-weight: 500; }
.hero-mockup__score  { font-size: 11px; font-weight: 700; color: #059669; background: #ecfdf5; padding: 3px 10px; border-radius: 20px; }
.hero-mockup__body   { padding: 0; position: relative; overflow: hidden; max-height: 480px; }
.hero-mockup__img    { display: block; width: 100%; height: auto; }
.hero-mockup__fade   { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top, white, transparent); }
.hero-mockup__stat   { position: absolute; bottom: -12px; right: -12px; background: #111; color: white; padding: 12px 16px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.hero-mockup__stat-label { font-size: 11px; color: #9ca3af; margin: 0 0 2px; }
.hero-mockup__stat-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: white; margin: 0; }

/* ============================================================
   HOME — STATS BAR
   ============================================================ */
.stats-section { border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; background: #fafafa; padding: 32px 20px; }
.stats-inner   { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item     { text-align: center; }
.stat-num      { font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; font-weight: 800; color: #111; margin: 0 0 2px; }
.stat-label    { font-size: 13px; color: #9ca3af; margin: 0; }

/* ============================================================
   HOME — HOW IT WORKS
   ============================================================ */
.steps-section { padding: 96px 20px; background: white; }
.steps-inner   { max-width: 1280px; margin: 0 auto; }
.steps-head    { text-align: center; margin-bottom: 56px; }
.steps-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card     { position: relative; background: white; border: 1px solid #f3f4f6; border-radius: 20px; padding: 28px; overflow: hidden; }
.step-card__bg   { position: absolute; top: 16px; right: 16px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 60px; font-weight: 900; color: #f3f4f6; line-height: 1; pointer-events: none; user-select: none; }
.step-card__icon { width: 44px; height: 44px; border-radius: 12px; background: #111; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-card__num  { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 800; color: white; }
.step-card__title { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 10px; }
.step-card__body  { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0 0 20px; }
.step-card__tag   { display: inline-flex; align-items: center; gap: 6px; background: #f3f4f6; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; color: #374151; }

/* ============================================================
   HOME — TEMPLATE GALLERY PREVIEW (dark section)
   ============================================================ */
.tpl-preview-section { background: #111; padding: 96px 20px; overflow: hidden; }
.tpl-preview-inner   { max-width: 1280px; margin: 0 auto; }
.tpl-preview-head    { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.tpl-preview-link    { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 14px; font-weight: 500; border-radius: 10px; text-decoration: none; transition: border-color 0.15s; }
.tpl-preview-link:hover { border-color: rgba(255,255,255,0.4); }
.tpl-preview-grid    { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }

.tpl-mini { border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); aspect-ratio: 3/4; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.15s; }
.tpl-mini:hover { transform: scale(1.04); }
.tpl-mini--white    { background: #ffffff; }
.tpl-mini--indigo   { background: #4f46e5; }
.tpl-mini--darkgray { background: #1f2937; }
.tpl-mini--green    { background: #059669; }
.tpl-mini--red      { background: #e11d48; }
.tpl-mini__body     { padding: 10px; height: 100%; display: flex; flex-direction: column; }
/* bars for light-bg cards */
.tpl-mini__bar-h    { height: 8px; width: 60%; border-radius: 4px; background: #e5e7eb; margin-bottom: 6px; }
.tpl-mini__bar-sub  { height: 5px; border-radius: 4px; background: #f3f4f6; margin-bottom: 4px; }
.tpl-mini__bar-sub2 { height: 5px; width: 75%; border-radius: 4px; background: #f3f4f6; margin-bottom: 10px; }
.tpl-mini__bar-sec  { height: 5px; width: 35%; border-radius: 4px; background: #e5e7eb; margin-bottom: 8px; }
.tpl-mini__line     { height: 4px; border-radius: 4px; background: #f3f4f6; margin-bottom: 4px; }
/* bars for dark-bg cards */
.tpl-mini__bar-h--w  { background: rgba(255,255,255,0.3);  height: 8px; width: 60%; border-radius: 4px; margin-bottom: 6px; }
.tpl-mini__bar-sub--w { background: rgba(255,255,255,0.15); height: 5px; border-radius: 4px; margin-bottom: 4px; }
.tpl-mini__bar-sub2--w { background: rgba(255,255,255,0.15); height: 5px; width: 75%; border-radius: 4px; margin-bottom: 10px; }
.tpl-mini__bar-sec--w  { background: rgba(255,255,255,0.2); height: 5px; width: 35%; border-radius: 4px; margin-bottom: 8px; }
.tpl-mini__line--w  { background: rgba(255,255,255,0.12); height: 4px; border-radius: 4px; margin-bottom: 4px; }
.tpl-mini__line--w70 { width: 70%; }
.tpl-mini__line--w85 { width: 85%; }
.tpl-mini__line--w60 { width: 60%; }
.tpl-mini__line--w90 { width: 90%; }
.tpl-mini__line--w75 { width: 75%; }
/* Real-image template cards */
.tpl-mini--img { background: #1a1a2e; }
.tpl-mini__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.3s ease; }
.tpl-mini:hover .tpl-mini__img { transform: scale(1.05); }
.tpl-mini__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 10px 8px; background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%); opacity: 0; transition: opacity 0.2s; display: flex; align-items: flex-end; }
.tpl-mini:hover .tpl-mini__overlay { opacity: 1; }
.tpl-mini__name { font-size: 11px; font-weight: 600; color: white; letter-spacing: 0.02em; }

/* ============================================================
   HOME — ATS CHECKER
   ============================================================ */
.ats-section  { padding: 96px 20px; background: white; }
.ats-inner    { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ats-stats    { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.ats-stat     { display: flex; align-items: center; gap: 12px; }
.ats-stat__dot { width: 6px; height: 6px; border-radius: 50%; background: #111; flex-shrink: 0; }
.ats-stat__text { font-size: 14px; margin: 0; }
.ats-score-card      { display: none; padding: 28px; background: #111; border-radius: 16px; }
.ats-score-card__top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ats-score-card__val { font-family: 'Bricolage Grotesque', sans-serif; font-size: 48px; font-weight: 900; color: white; }
.ats-score-card__of  { font-size: 16px; color: #9ca3af; }
.ats-score-card__bar-bg   { height: 8px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden; margin-bottom: 16px; }
.ats-score-card__bar-fill { height: 8px; border-radius: 100px; background: #10b981; transition: width 0.8s; width: 0%; }
.ats-score-card__missing  { font-size: 14px; color: #9ca3af; line-height: 1.6; }
.ats-score-card__cta { margin-top: 16px; font-size: 14px; font-weight: 600; color: white; text-decoration: underline; }
.ats-form-panel { background: #f9fafb; border-radius: 20px; padding: 28px; border: 1px solid #f3f4f6; }
.ats-form       { display: flex; flex-direction: column; gap: 16px; }
.ats-form__label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.ats-form__textarea { width: 100%; padding: 12px; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: white; resize: vertical; font-family: inherit; box-sizing: border-box; outline: none; transition: border-color 0.15s; }
.ats-form__textarea:focus { border-color: #111; }
.ats-form__submit { width: 100%; padding: 14px; background: #111; color: white; font-size: 14px; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; transition: background 0.15s; font-family: inherit; }
.ats-form__submit:hover { background: #333; }
.ats-form__note { text-align: center; font-size: 12px; color: #9ca3af; margin: 0; }
.ats-sub { font-size: 16px; color: #6b7280; line-height: 1.6; margin: 0 0 32px; }
/* ATS — PDF drop zone */
.ats-drop-zone { border: 2px dashed #e5e7eb; border-radius: 12px; padding: 20px 16px; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; background: white; }
.ats-drop-zone:hover, .ats-drop-zone--over { border-color: #2563eb; background: #eff6ff; }
.ats-drop-zone__icon { display: block; margin: 0 auto 10px; color: #9ca3af; }
.ats-drop-zone--over .ats-drop-zone__icon { color: #2563eb; }
.ats-drop-zone__title { font-size: 14px; font-weight: 600; color: #374151; margin: 0 0 4px; }
.ats-drop-zone__hint  { font-size: 12px; color: #9ca3af; margin: 0; }
.ats-drop-zone__hint label { color: #2563eb; cursor: pointer; text-decoration: underline; font-weight: 500; }
.ats-drop__hidden-input { display: none; }
.ats-drop__filename { font-size: 13px; color: #059669; font-weight: 600; margin-top: 8px; display: none; padding: 6px 10px; background: #f0fdf4; border-radius: 8px; border: 1px solid #bbf7d0; }
.ats-drop__filename.visible { display: block; }
.ats-drop__divider  { text-align: center; font-size: 12px; color: #9ca3af; margin: 10px 0 0; position: relative; }
.ats-drop__divider::before, .ats-drop__divider::after { content: ""; position: absolute; top: 50%; width: calc(50% - 48px); height: 1px; background: #e5e7eb; }
.ats-drop__divider::before { left: 0; }
.ats-drop__divider::after  { right: 0; }
.ats-form__submit:disabled { background: #9ca3af; cursor: not-allowed; }

/* ============================================================
   HOME — TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #fafafa; border-top: 1px solid #f3f4f6; padding: 96px 20px; }
.testimonials-inner   { max-width: 1280px; margin: 0 auto; }
.testimonials-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card     { background: white; border: 1px solid #f3f4f6; border-radius: 20px; padding: 28px; }
.testimonial-card__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-card__quote { font-size: 15px; color: #374151; line-height: 1.65; margin: 0 0 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.testimonial-card__avatar--blue { background: #2563eb; }
.testimonial-card__avatar--dark { background: #111; }
.testimonial-card__avatar--red  { background: #e11d48; }
.testimonial-card__name { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.testimonial-card__role { font-size: 12px; color: #9ca3af; margin: 2px 0 0; }

/* ============================================================
   HOME — PRICING TEASER
   ============================================================ */
.pricing-teaser-section { padding: 96px 20px; background: white; }
.pricing-teaser-inner   { max-width: 1280px; margin: 0 auto; }
.pricing-teaser-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 1000px; margin: 0 auto 32px; }
.pt-card { border-radius: 16px; padding: 24px; display: flex; flex-direction: column; border: 1px solid #f3f4f6; background: white; }
.pt-card--featured  { background: #111; border-color: #111; border-width: 2px; }
.pt-card__badge     { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 4px; }
.pt-card__name      { font-size: 15px; font-weight: 700; color: #111; margin: 0 0 4px; }
.pt-card__name--w   { color: white; }
.pt-card__price     { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: #111; margin: 0 0 20px; letter-spacing: -0.01em; }
.pt-card__price--w  { color: white; }
.pt-card__features  { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pt-card__feature   { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7280; }
.pt-card__feature--w { color: rgba(255,255,255,0.6); }
.pt-card__cta       { display: block; text-align: center; padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; background: #111; color: white; transition: background 0.15s; border: none; cursor: pointer; font-family: inherit; width: 100%; }
.pt-card__cta:hover { background: #333; }
.pt-card__cta--w    { background: white; color: #111; }
.pt-card__cta--w:hover { background: #f3f4f6; }
.pricing-more { text-align: center; }
.pricing-more__link { font-size: 14px; color: #9ca3af; text-decoration: none; }
.pricing-more__link:hover { color: #6b7280; }

/* ============================================================
   HOME — POPULAR ROLES
   ============================================================ */
.roles-section  { background: #fafafa; border-top: 1px solid #f3f4f6; padding: 72px 20px; }
.roles-inner    { max-width: 1280px; margin: 0 auto; }
.roles-head     { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.roles-head__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; color: #111; margin: 0; }
.roles-head__link  { font-size: 14px; color: #9ca3af; text-decoration: none; }
.roles-head__link:hover { color: #6b7280; }
.roles-grid     { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.role-card      { display: block; padding: 16px; background: white; border-radius: 12px; border: 1px solid #f3f4f6; text-decoration: none; transition: border-color 0.15s; }
.role-card:hover { border-color: #e5e7eb; }
.role-card__title { font-size: 14px; font-weight: 500; color: #111; margin: 0 0 2px; }
.role-card__sub   { font-size: 12px; color: #9ca3af; margin: 0; }

/* ============================================================
   ROLES INDEX PAGE
   ============================================================ */

/* Hero */
.roles-idx-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); padding: 80px 20px 64px; text-align: center; }
.roles-idx-hero__inner { max-width: 680px; margin: 0 auto; }
.roles-idx-hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #60a5fa; margin-bottom: 20px;
}
.roles-idx-hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: white;
  line-height: 1.15; margin: 20px 0 12px; letter-spacing: -0.02em;
}
.roles-idx-hero__sub { font-size: 17px; color: #94a3b8; max-width: 520px; margin: 0 auto; line-height: 1.6; }
.roles-idx-hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.roles-idx-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; color: #cbd5e1;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px; border-radius: 999px;
}

/* Body */
.roles-idx-body { padding: 48px 20px 72px; background: #f9fafb; }
.roles-idx-body__inner { max-width: 1280px; margin: 0 auto; }

/* Search */
.roles-idx-search {
  position: relative; max-width: 560px; margin: 0 auto 32px;
}
.roles-idx-search__icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: #9ca3af; pointer-events: none;
}
.roles-idx-search__input {
  width: 100%; padding: 14px 16px 14px 44px;
  font-size: 15px; font-family: inherit; color: #111;
  background: white; border: 1.5px solid #e5e7eb; border-radius: 14px;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.roles-idx-search__input:focus {
  border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.roles-idx-search__input::placeholder { color: #9ca3af; }

/* Count */
.roles-idx-count { font-size: 14px; color: #6b7280; margin-bottom: 20px; }

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

/* Card */
.roles-idx-card {
  display: block; padding: 20px; background: white; border-radius: 14px;
  border: 1px solid #e5e7eb; text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.roles-idx-card:hover {
  border-color: #d1d5db; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.roles-idx-card__title { font-size: 15px; font-weight: 600; color: #111; margin: 0 0 4px; }
.roles-idx-card__sub   { font-size: 13px; color: #9ca3af; margin: 0; }
.roles-idx-card__cat {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 500;
  color: #6b7280; background: #f3f4f6; padding: 3px 10px; border-radius: 999px;
  text-transform: capitalize;
}

/* Empty state */
.roles-idx-empty { text-align: center; padding: 64px 20px; }
.roles-idx-empty__text { font-size: 17px; color: #6b7280; margin-bottom: 20px; }

/* Bottom CTA */
.roles-idx-cta {
  background: linear-gradient(135deg, #111 0%, #1e3a5f 100%);
  padding: 72px 20px; text-align: center;
}
.roles-idx-cta__inner { max-width: 600px; margin: 0 auto; }
.roles-idx-cta__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; color: white;
  margin-bottom: 12px;
}
.roles-idx-cta__sub { font-size: 17px; color: #94a3b8; margin: 0 auto 28px; max-width: 480px; line-height: 1.6; }
.roles-idx-cta__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   ROLE SHOW PAGE
   ============================================================ */

/* Hero */
.rshow-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); padding: 64px 20px 56px; }
.rshow-hero__inner { max-width: 1280px; margin: 0 auto; }
.rshow-hero__top { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.rshow-hero__back {
  font-size: 14px; color: #94a3b8; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.15s;
}
.rshow-hero__back:hover { color: white; }
.rshow-hero__cat {
  display: inline-block; font-size: 11px; font-weight: 600; text-transform: capitalize;
  color: #60a5fa; background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.2);
  padding: 4px 12px; border-radius: 999px;
}
.rshow-hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: white;
  line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em;
}
.rshow-hero__sub { font-size: 17px; color: #94a3b8; max-width: 640px; line-height: 1.6; margin: 0 0 28px; }
.rshow-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Stats bar */
.rshow-stats { max-width: 1280px; margin: 0 auto; padding: 0 20px; position: relative; top: -28px; margin-bottom: -12px; }
.rshow-stats__inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #e5e7eb; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.rshow-stats__item {
  background: white; padding: 20px; text-align: center;
}
.rshow-stats__item:first-child { border-radius: 16px 0 0 16px; }
.rshow-stats__item:last-child  { border-radius: 0 16px 16px 0; }
.rshow-stats__value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; font-weight: 800; color: #111; margin: 0;
}
.rshow-stats__label { font-size: 12px; color: #9ca3af; margin: 4px 0 0; }

/* Body layout */
.rshow-body { max-width: 1280px; margin: 0 auto; padding: 32px 20px 72px; }
.rshow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.rshow-main  { display: flex; flex-direction: column; gap: 24px; }

/* Cards */
.rshow-card {
  background: white; border-radius: 16px; border: 1px solid #e5e7eb;
  padding: 28px; transition: box-shadow 0.2s;
}
.rshow-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.rshow-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rshow-card__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; font-weight: 700; color: #111; margin: 0;
}
.rshow-card__copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; color: #6b7280; background: #f9fafb;
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 12px;
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.rshow-card__copy-btn:hover { background: #111; color: white; border-color: #111; }

/* Intro card */
.rshow-intro { font-size: 15px; color: #374151; line-height: 1.7; margin: 0; }

/* Hiring manager tips */
.rshow-tips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rshow-tips li {
  display: flex; gap: 10px; font-size: 14px; color: #374151; line-height: 1.6;
}
.rshow-tips__check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: #ecfdf5; color: #059669;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 2px;
}

/* Document previews */
.rshow-docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.rshow-doc {
  background: #f9fafb; border-radius: 14px; border: 1px solid #f3f4f6;
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.rshow-doc:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.rshow-doc__badge {
  display: inline-block; margin: 12px 12px 0; font-size: 11px; font-weight: 600;
  color: #2563eb; background: #eff6ff; padding: 4px 10px; border-radius: 999px;
}
.rshow-doc__badge--purple { color: #7c3aed; background: #f5f3ff; }
.rshow-doc__badge--green  { color: #059669; background: #ecfdf5; }
.rshow-doc__img { width: 100%; display: block; padding: 8px 12px 0; }
.rshow-doc__foot { padding: 10px 12px 12px; }
.rshow-doc__link {
  font-size: 13px; font-weight: 500; color: #2563eb; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.rshow-doc__link:hover { text-decoration: underline; }
.rshow-doc a { text-decoration: none; }

/* Keywords */
.rshow-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.rshow-keywords__label { font-size: 12px; color: #9ca3af; font-weight: 500; margin-right: 4px; align-self: center; }
.rshow-keyword {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500; color: #374151;
  background: #f3f4f6; padding: 5px 12px; border-radius: 999px;
  transition: background 0.15s;
}
.rshow-keyword:hover { background: #e5e7eb; }

/* Example blocks */
.rshow-example {
  margin: 0; padding: 20px; background: #f9fafb; border: 1px solid #f3f4f6;
  border-radius: 12px; font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px; line-height: 1.75; color: #374151;
  white-space: pre-wrap; word-break: break-word;
  max-height: 320px; overflow-y: auto;
}
.rshow-example::-webkit-scrollbar { width: 6px; }
.rshow-example::-webkit-scrollbar-track { background: transparent; }
.rshow-example::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* Tabbed example switcher */
.rshow-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: #f3f4f6; border-radius: 10px; padding: 4px; }
.rshow-tab {
  flex: 1; padding: 8px 12px; border-radius: 8px; border: none;
  font-size: 13px; font-weight: 500; font-family: inherit;
  color: #6b7280; background: transparent; cursor: pointer;
  transition: all 0.15s; text-align: center;
}
.rshow-tab:hover { color: #111; }
.rshow-tab--active { background: white; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.rshow-tab-panel { display: none; }
.rshow-tab-panel--active { display: block; }

/* SEO article */
.rshow-article { font-size: 15px; line-height: 1.8; color: #374151; }
.rshow-article h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 700; color: #111; margin: 32px 0 12px;
}
.rshow-article h3 { font-size: 16px; font-weight: 700; color: #111; margin: 24px 0 8px; }
.rshow-article p { margin: 0 0 16px; }
.rshow-article ul, .rshow-article ol { margin: 0 0 16px 20px; padding: 0; list-style: disc; }
.rshow-article li { margin-bottom: 6px; }
.rshow-article strong { color: #111; font-weight: 600; }
.rshow-article a { color: #2563eb; text-decoration: underline; }

/* Sidebar */
.rshow-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.rshow-sidebar-card {
  background: white; border-radius: 16px; border: 1px solid #e5e7eb; padding: 20px;
}
.rshow-sidebar-card__label { font-size: 13px; color: #6b7280; margin: 0 0 12px; }
.rshow-sidebar-card__img { width: 100%; border-radius: 10px; border: 1px solid #f3f4f6; }
.rshow-sidebar-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

/* Recommended templates grid */
.rshow-recs-label { font-size: 13px; color: #6b7280; margin: 0 0 12px; }
.rshow-recs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rshow-rec {
  display: block; text-decoration: none; border-radius: 10px;
  border: 1px solid #f3f4f6; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s;
}
.rshow-rec:hover { border-color: #d1d5db; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.rshow-rec__img { width: 100%; display: block; }
.rshow-rec__name { padding: 8px 10px; font-size: 12px; font-weight: 500; color: #374151; }

/* Info cards (languages, certs, github) */
.rshow-info-item { margin-bottom: 16px; }
.rshow-info-item:last-child { margin-bottom: 0; }
.rshow-info-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #9ca3af; margin: 0 0 6px;
}
.rshow-info-value { font-size: 14px; color: #374151; line-height: 1.5; margin: 0; }
.rshow-info-link { color: #2563eb; text-decoration: none; }
.rshow-info-link:hover { text-decoration: underline; }

/* ATS sidebar CTA (dark card) */
.rshow-ats-cta { background: #0f172a; border-color: #1e293b; }
.rshow-ats-cta__eyebrow { color: #60a5fa; }
.rshow-ats-cta__title { color: white; font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.rshow-ats-cta__sub { color: #94a3b8; font-size: 13px; margin: 0 0 16px; line-height: 1.5; }
.rshow-ats-cta .btn { width: 100%; justify-content: center; }

/* Bottom CTA */
.rshow-bottom-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   HOME — FAQ
   ============================================================ */
.faq-section { padding: 96px 20px; background: white; }
.faq-inner   { max-width: 720px; margin: 0 auto; }
.faq-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(28px,4vw,40px); font-weight: 800; color: #111; margin: 0 0 48px; text-align: center; letter-spacing: -0.02em; }
.faq-list    { border-top: 1px solid #f3f4f6; }
.faq-item    { border-bottom: 1px solid #f3f4f6; padding: 20px 0; }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: #111; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex-shrink: 0; margin-top: 2px; }
.faq-item p  { margin: 12px 0 0; font-size: 14px; color: #6b7280; line-height: 1.65; }

/* ============================================================
   HOME / SHARED — FINAL CTA SECTION
   ============================================================ */
/* Email capture section */
.email-capture-section { background: #f8fafc; padding: 72px 20px; text-align: center; }
.email-capture-inner { max-width: 520px; margin: 0 auto; }
.email-capture__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #2563eb; margin: 0 0 12px; }
.email-capture__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #111; margin: 0 0 12px; }
.email-capture__sub { font-size: 15px; color: #6b7280; margin: 0 0 24px; line-height: 1.6; }
.email-capture__form { display: flex; gap: 8px; justify-content: center; max-width: 420px; margin: 0 auto; }
.email-capture__input {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.email-capture__input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.email-capture__btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  font-family: inherit;
}
.email-capture__btn:hover { background: #1d4ed8; }
.email-capture__note { font-size: 12px; color: #9ca3af; margin: 12px 0 0; }
@media (max-width: 480px) {
  .email-capture__form { flex-direction: column; }
}

.cta-section   { background: #111; padding: 96px 20px; }
.cta-inner     { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-title     { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px,5vw,56px); font-weight: 800; color: white; margin: 0 0 16px; letter-spacing: -0.02em; }
.cta-sub       { font-size: 18px; color: #6b7280; margin: 0 0 40px; line-height: 1.5; }
.cta-buttons   { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-fine      { margin: 24px 0 0; font-size: 13px; color: #374151; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-hero   { background: white; padding: 80px 20px 64px; text-align: center; }
.pricing-hero__inner { max-width: 640px; margin: 0 auto; }
.pricing-hero__title  { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(36px,5vw,60px); font-weight: 800; color: #111; letter-spacing: -0.02em; margin: 24px 0 16px; line-height: 1.06; }
.pricing-hero__sub    { font-size: 18px; color: #6b7280; line-height: 1.6; margin: 0; }

.pricing-cards-section { padding: 0 20px 24px; }
.pricing-cards-inner   { max-width: 1100px; margin: 0 auto; }
.pricing-cards-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

.pc-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 20px; background: white; padding: 28px; transition: box-shadow 0.2s; }
.pc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.pc-card--featured { position: relative; border: 2px solid #111; background: #111; }
.pc-card__icon  { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.pc-card__icon--blue   { background: #eff6ff; }
.pc-card__icon--purple { background: #f5f3ff; }
.pc-card__icon--green  { background: #ecfdf5; }
.pc-card__icon--dim    { background: rgba(255,255,255,0.1); }
.pc-card__type  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af; margin: 0 0 4px; }
.pc-card__type--faded  { color: rgba(255,255,255,0.4); }
.pc-card__price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 40px; font-weight: 800; color: #111; margin: 0 0 2px; line-height: 1; }
.pc-card__price--w { color: white; }
.pc-card__freq  { font-size: 13px; color: #9ca3af; margin: 0 0 24px; }
.pc-card__price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.pc-card__price-old { font-size: 14px; color: rgba(255,255,255,0.3); text-decoration: line-through; margin: 0; }
.pc-card__save  { font-size: 13px; color: #34d399; font-weight: 600; margin: 0 0 24px; }
.pc-card__features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-card__feature  { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #4b5563; }
.pc-card__feature--w { color: rgba(255,255,255,0.7); }
.pc-card__cta   { display: block; text-align: center; padding: 12px 16px; background: #111; color: white; font-size: 14px; font-weight: 600; border-radius: 10px; text-decoration: none; border: none; cursor: pointer; width: 100%; box-sizing: border-box; transition: background 0.15s; font-family: inherit; }
.pc-card__cta:hover { background: #333; }
.pc-card__cta--light { background: white; color: #111; }
.pc-card__cta--light:hover { background: #f3f4f6; }

.pc-best-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  background: white; color: #111; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; padding: 5px 14px;
  border-radius: 100px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pricing-note { text-align: center; font-size: 12px; color: #9ca3af; margin: 20px 0 0; }

/* Pricing ATS panel */
.pricing-ats-section { background: #fafafa; border-top: 1px solid #f3f4f6; border-bottom: 1px solid #f3f4f6; padding: 72px 20px; margin-top: 32px; }
.pricing-ats-inner   { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pricing-ats-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: #111; margin: 20px 0 12px; letter-spacing: -0.02em; line-height: 1.1; }
.pricing-ats-sub     { font-size: 15px; color: #6b7280; line-height: 1.65; margin: 0 0 24px; }
.pricing-ats-btn     { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid #e5e7eb; background: white; color: #111; font-size: 14px; font-weight: 600; border-radius: 10px; text-decoration: none; transition: border-color 0.15s; }
.pricing-ats-btn:hover { border-color: #d1d5db; }
.pricing-ats-card    { background: white; border: 1px solid #f3f4f6; border-radius: 20px; padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); }
.pricing-ats-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pricing-ats-card__label { font-size: 14px; font-weight: 600; color: #111; }
.pricing-ats-card__live  { font-size: 12px; color: #9ca3af; }
.pricing-ats-card__gauge { display: flex; justify-content: center; padding: 16px 0 24px; }
.pricing-ats-card__circle { position: relative; width: 120px; height: 120px; }
.pricing-ats-card__score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pricing-ats-card__score-num { font-size: 28px; font-weight: 800; color: #111; line-height: 1; }
.pricing-ats-card__score-of  { font-size: 11px; color: #9ca3af; }
.pricing-ats-card__rows { display: flex; flex-direction: column; gap: 8px; }
.pricing-ats-card__row  { display: flex; justify-content: space-between; font-size: 13px; }
.pricing-ats-card__row-label { color: #6b7280; }
.pricing-ats-card__row-val   { font-weight: 600; color: #111; }
.pricing-ats-card__row-val--yellow { color: #f59e0b; }
.pricing-ats-card__row-val--green  { color: #10b981; }

/* Pricing how it works */
.pricing-hiw-section { padding: 80px 20px; background: white; }
.pricing-hiw-inner   { max-width: 800px; margin: 0 auto; text-align: center; }
.pricing-hiw-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: #111; margin: 0 0 48px; letter-spacing: -0.02em; }
.pricing-hiw-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; }
.pricing-hiw-step__icon  { width: 48px; height: 48px; border-radius: 14px; background: #111; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.pricing-hiw-step__num   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; color: white; }
.pricing-hiw-step__title { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; }
.pricing-hiw-step__body  { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

/* Pricing FAQ */
.pricing-faq-section { background: #fafafa; border-top: 1px solid #f3f4f6; padding: 80px 20px; }
.pricing-faq-inner   { max-width: 640px; margin: 0 auto; }
.pricing-faq-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: #111; margin: 0 0 40px; text-align: center; letter-spacing: -0.02em; }
.faq-card     { background: white; border: 1px solid #f3f4f6; border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.faq-card[open] .faq-summary { border-bottom: 1px solid #f3f4f6; }
.faq-summary  { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: #111; padding: 20px 24px; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary__icon { flex-shrink: 0; margin-top: 2px; }
.faq-body     { padding: 0 24px 20px; font-size: 14px; color: #6b7280; line-height: 1.65; }

/* Pricing CTA */
.pricing-cta-section { background: #111; padding: 96px 20px; }
.pricing-cta-inner   { max-width: 560px; margin: 0 auto; text-align: center; }
.pricing-cta-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px,5vw,52px); font-weight: 800; color: white; margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.08; }
.pricing-cta-sub     { font-size: 18px; color: #6b7280; margin: 0 0 40px; line-height: 1.5; }
.pricing-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pricing-cta-fine    { margin: 20px 0 0; font-size: 13px; color: #4b5563; }
.pricing-cta-btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: white; color: #111; font-size: 15px; font-weight: 700; border-radius: 12px; text-decoration: none; transition: background 0.15s; }
.pricing-cta-btn-white:hover { background: #f3f4f6; }
.pricing-cta-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 15px; font-weight: 600; border-radius: 12px; text-decoration: none; transition: border-color 0.15s; }
.pricing-cta-btn-ghost:hover { border-color: rgba(255,255,255,0.4); }

/* ============================================================
   TEMPLATES INDEX PAGE
   ============================================================ */
.templates-hero { border-bottom: 1px solid #f3f4f6; background: white; padding: 56px 20px 40px; }
.templates-hero__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.templates-hero__copy  { max-width: 560px; }
.templates-hero__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(32px,5vw,52px); font-weight: 800; color: #111; letter-spacing: -0.02em; margin: 20px 0 12px; line-height: 1.08; }
.templates-hero__sub   { font-size: 17px; color: #6b7280; line-height: 1.6; margin: 0; }
.kind-switcher  { display: flex; flex-wrap: wrap; gap: 8px; }
.kind-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.15s; }
.kind-btn--active   { background: #111; color: white; border: 1px solid #111; }
.kind-btn--inactive { background: white; color: #4b5563; border: 1px solid #e5e7eb; }
.kind-btn--inactive:hover { background: #f9fafb; border-color: #d1d5db; }

.templates-grid-section { max-width: 1280px; margin: 0 auto; padding: 40px 20px; }
.templates-count { font-size: 14px; color: #9ca3af; margin: 0 0 24px; }
.tpl-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.templates-empty { text-align: center; padding: 96px 0; }
.templates-empty__icon  { width: 64px; height: 64px; border-radius: 16px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.templates-empty__title { font-size: 17px; font-weight: 600; color: #111; margin: 0 0 6px; }
.templates-empty__sub   { font-size: 14px; color: #9ca3af; margin: 0; }

.user-resumes-section { border-top: 1px solid #f3f4f6; background: #fafafa; padding: 56px 20px; }
.user-resumes-inner   { max-width: 1280px; margin: 0 auto; }
.user-resumes-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 800; color: #111; margin: 0 0 24px; letter-spacing: -0.01em; }
.user-resumes-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.user-resume-card     { border-radius: 16px; border: 1px solid #f3f4f6; background: white; padding: 20px; transition: border-color 0.15s; }
.user-resume-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.user-resume-card__title { font-size: 15px; font-weight: 600; color: #111; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-resume-card__date  { font-size: 12px; color: #9ca3af; margin: 4px 0 0; }
.user-resume-card__icon  { width: 32px; height: 32px; border-radius: 8px; background: #eff6ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.user-resume-card__link  { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 13px; font-weight: 600; color: #374151; text-decoration: none; margin-top: 16px; transition: border-color 0.15s; }
.user-resume-card__link:hover { border-color: #d1d5db; }

.templates-cta-section { background: #111; padding: 64px 20px; text-align: center; }
.templates-cta-inner   { max-width: 560px; margin: 0 auto; }
.templates-cta-title   { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; color: white; margin: 0 0 12px; letter-spacing: -0.02em; }
.templates-cta-sub     { font-size: 16px; color: #6b7280; margin: 0 0 28px; line-height: 1.5; }
.templates-cta-btn     { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: white; color: #111; font-size: 14px; font-weight: 700; border-radius: 10px; text-decoration: none; transition: background 0.15s; }
.templates-cta-btn:hover { background: #f3f4f6; }

/* ============================================================
   TEMPLATE CARD
   ============================================================ */
.tpl-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid #f3f4f6; background: white; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.tpl-card:hover { border-color: #e5e7eb; box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.tpl-card__preview-link  { display: block; flex-shrink: 0; text-decoration: none; }
.tpl-card__preview-inner { position: relative; aspect-ratio: 3/4; background: #f9fafb; overflow: hidden; }
.tpl-card__img           { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tpl-card__placeholder   { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.tpl-card__placeholder-icon { width: 40px; height: 40px; border-radius: 10px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #9ca3af; }
.tpl-card__placeholder-text { font-size: 12px; color: #9ca3af; }
.tpl-card__badges    { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tpl-card__badge-list { display: flex; flex-wrap: wrap; gap: 4px; }
.tpl-card__badge     { font-size: 10px; font-weight: 500; padding: 3px 8px; border-radius: 100px; background: rgba(255,255,255,0.95); color: #374151; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.tpl-card__premium   { flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; background: rgba(251,191,36,0.9); color: #78350f; text-transform: uppercase; letter-spacing: 0.05em; }
.tpl-card__body      { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.tpl-card__name      { font-size: 14px; font-weight: 700; color: #111; margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-card__desc      { font-size: 12px; color: #9ca3af; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; flex: 1; }
.tpl-card__actions   { display: flex; gap: 8px; }
.tpl-card__preview-btn { flex: 1; display: block; text-align: center; padding: 9px 0; border-radius: 8px; border: 1px solid #e5e7eb; font-size: 12px; font-weight: 600; color: #4b5563; text-decoration: none; background: white; transition: background 0.15s; }
.tpl-card__preview-btn:hover { background: #f9fafb; }
.tpl-card__use-btn   { flex: 1; display: block; text-align: center; padding: 9px 0; border-radius: 8px; background: #111; color: white; font-size: 12px; font-weight: 700; text-decoration: none; transition: background 0.15s; border: none; cursor: pointer; font-family: inherit; width: 100%; }
.tpl-card__use-btn:hover { background: #333; }
.tpl-card__use-form  { flex: 1; }

/* ============================================================
   ATS CHECKER — DEDICATED PAGE (/ats-checker)
   ============================================================ */
.hidden { display: none !important; }

/* Hero */
.atsc-hero       { padding: 64px 20px 0; background: white; }
.atsc-hero__inner { max-width: 1280px; margin: 0 auto; }
.atsc-hero__head  { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.atsc-hero__copy  { max-width: 640px; }
.atsc-hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  color: #111; letter-spacing: -0.02em; line-height: 1.1;
  margin: 12px 0 12px;
}
.atsc-hero__sub  { font-size: 17px; color: #6b7280; line-height: 1.6; margin: 0; }
.atsc-badges     { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.atsc-badge      {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: #065f46;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  padding: 5px 12px; border-radius: 100px;
}

/* Stats strip */
.atsc-stats      { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; padding: 28px 0; border-top: 1px solid #f3f4f6; }
.atsc-stat__num  { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; color: #111; margin: 0; }
.atsc-stat__text { font-size: 13px; color: #9ca3af; margin: 2px 0 0; }

/* Body / Grid */
.atsc-body       { padding: 40px 20px 0; }
.atsc-body__inner { max-width: 1280px; margin: 0 auto; }
.atsc-grid       { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

/* Shared card */
.atsc-card       {
  background: white; border: 1px solid #f3f4f6; border-radius: 20px;
  padding: 24px; margin-bottom: 20px;
  transition: border-color 0.15s;
}
.atsc-card:hover { border-color: #e5e7eb; }
.atsc-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.atsc-card__label { display: block; font-size: 14px; font-weight: 600; color: #111; margin-bottom: 10px; }
.atsc-card__head .atsc-card__label { margin-bottom: 0; }
.atsc-card__hint  { font-size: 12px; color: #9ca3af; }
.atsc-card__textarea {
  width: 100%; height: 200px; padding: 14px;
  font-size: 14px; font-family: inherit; line-height: 1.6;
  border: 1px solid #e5e7eb; border-radius: 12px;
  background: #fafafa; resize: vertical; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  box-sizing: border-box;
}
.atsc-card__textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,24,39,0.06); background: white; }
.atsc-card__textarea::placeholder { color: #9ca3af; }
.atsc-card__warning {
  margin-top: 12px; padding: 10px 14px;
  font-size: 13px; color: #92400e; line-height: 1.5;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px;
}
.atsc-card__note { font-size: 12px; color: #9ca3af; margin: 12px 0 0; line-height: 1.5; }

/* Actions row */
.atsc-actions    { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }

/* Sidebar */
.atsc-sidebar    { position: sticky; top: 80px; }

/* Upload badges */
.atsc-upload-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.atsc-upload-badge  {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: #374151;
  background: #f9fafb; border: 1px solid #e5e7eb;
  padding: 3px 10px; border-radius: 100px;
}

/* Score result (dark card) */
.atsc-result     { padding: 28px; background: #111; border-radius: 20px; border: 1px solid #222; margin-bottom: 20px; }
.atsc-result__label { font-size: 13px; color: #9ca3af; font-weight: 500; margin: 0 0 4px; }
.atsc-result__score {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px; font-weight: 900; color: white;
  margin: 0 0 16px; letter-spacing: -0.01em;
}
.atsc-result__bar  { height: 8px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden; margin-bottom: 20px; }
.atsc-result__fill { height: 8px; border-radius: 100px; background: #10b981; transition: width 0.8s ease; width: 0%; }
.atsc-result__missing-title { font-size: 13px; font-weight: 600; color: #d1d5db; margin: 0 0 8px; }
.atsc-result__missing       { font-size: 13px; color: #9ca3af; line-height: 1.6; }
.atsc-result__keywords      { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.atsc-result__keyword       {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; color: #e5e7eb;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px; border-radius: 100px;
}
.atsc-result__ctas { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.atsc-result__btn-primary {
  display: block; text-align: center; padding: 12px;
  background: white; color: #111; font-size: 13px; font-weight: 700;
  border-radius: 10px; text-decoration: none; transition: background 0.15s;
  border: none; cursor: pointer; font-family: inherit; width: 100%;
}
.atsc-result__btn-primary:hover { background: #f3f4f6; }
.atsc-result__btn-secondary {
  display: block; text-align: center; padding: 12px;
  background: transparent; color: #9ca3af; font-size: 13px; font-weight: 600;
  border-radius: 10px; text-decoration: none; transition: color 0.15s, border-color 0.15s;
  border: 1px solid rgba(255,255,255,0.12);
}
.atsc-result__btn-secondary:hover { color: white; border-color: rgba(255,255,255,0.25); }

/* Bottom CTA band */
.atsc-cta        { padding: 48px 20px 0; }
.atsc-cta__inner {
  max-width: 1280px; margin: 0 auto;
  background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb; border-radius: 24px; padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.atsc-cta__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: #111; margin: 0 0 8px; }
.atsc-cta__sub   { font-size: 14px; color: #6b7280; margin: 0 0 16px; line-height: 1.5; }
.atsc-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* Adsense wrapper */
.atsc-ads { max-width: 1280px; margin: 0 auto; padding: 40px 20px; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */

/* Banner */
.consent-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: min(640px, 93vw);
  animation: consent-slide-up 0.35s ease-out;
}
.consent-banner--hiding { opacity: 0; transform: translateX(-50%) translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.consent-banner__inner {
  background: white; border: 1px solid #e5e7eb; border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12); padding: 20px 24px;
}
.consent-banner__title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.consent-banner__text { font-size: 14px; color: #4b5563; line-height: 1.6; }
.consent-banner__link { color: #2563eb; text-decoration: underline; }
.consent-banner__actions { display: flex; gap: 10px; margin-top: 14px; }
.consent-banner__btn { padding: 10px 20px; font-size: 14px; }

/* Modal */
.consent-modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.consent-modal--open { opacity: 1; visibility: visible; }
.consent-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.consent-modal__card {
  position: relative; background: white; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: min(480px, 93vw); max-height: 90vh; overflow-y: auto;
}
.consent-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #f1f5f9;
}
.consent-modal__title { font-size: 17px; font-weight: 700; color: #0f172a; }
.consent-modal__close {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center; color: #6b7280;
  transition: background 0.15s;
}
.consent-modal__close:hover { background: #f1f5f9; }
.consent-modal__body { padding: 8px 0; }
.consent-modal__footer { padding: 16px 24px; border-top: 1px solid #f1f5f9; }

/* Option rows */
.consent-opt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px;
}
.consent-opt + .consent-opt { border-top: 1px solid #f8fafc; }
.consent-opt__info { flex: 1; }
.consent-opt__name { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 2px; }
.consent-opt__desc { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* Toggle switch */
.consent-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.consent-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.consent-toggle__track {
  position: absolute; inset: 0; background: #d1d5db; border-radius: 24px;
  cursor: pointer; transition: background 0.2s;
}
.consent-toggle__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; background: white; border-radius: 50%;
  transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.consent-toggle input:checked + .consent-toggle__track { background: #111; }
.consent-toggle input:checked + .consent-toggle__track::after { transform: translateX(20px); }
.consent-toggle--locked .consent-toggle__track { background: #94a3b8; cursor: not-allowed; }
.consent-toggle--locked input:checked + .consent-toggle__track { background: #94a3b8; }

@keyframes consent-slide-up {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes ag-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes ag-spin {
  to { transform: rotate(360deg); }
}
.ag-spin { animation: ag-spin 0.7s linear infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .site-nav           { display: flex; }
  .site-btn-ghost     { display: inline-flex; align-items: center; }
  .footer-main        { grid-template-columns: 2fr 3fr; }
}

@media (max-width: 1024px) {
  .pricing-cards-grid  { grid-template-columns: 1fr 1fr; }
  .pricing-teaser-grid { grid-template-columns: 1fr 1fr; }
  .tpl-preview-grid    { grid-template-columns: repeat(3,1fr); }
  .pricing-ats-inner   { grid-template-columns: 1fr; }
  .atsc-grid           { grid-template-columns: 1fr; }
  .atsc-sidebar        { position: static; }
}

@media (max-width: 768px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-mockup         { display: none; }
  .stats-inner         { grid-template-columns: 1fr 1fr; }
  .steps-grid          { grid-template-columns: 1fr; }
  .ats-inner           { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .pricing-teaser-grid { grid-template-columns: 1fr 1fr; }
  .roles-grid          { grid-template-columns: 1fr 1fr; }
  .roles-idx-grid      { grid-template-columns: 1fr; }
  .roles-idx-hero      { padding: 56px 20px 48px; }
  .roles-idx-hero__badges { flex-direction: column; align-items: center; }
  .roles-idx-cta       { padding: 48px 20px; }
  .roles-idx-cta__actions { flex-direction: column; align-items: center; }
  .rshow-grid          { grid-template-columns: 1fr; }
  .rshow-sidebar       { position: static; }
  .rshow-hero          { padding: 48px 20px 40px; }
  .rshow-hero__actions { flex-direction: column; }
  .rshow-hero__actions .btn { width: 100%; justify-content: center; }
  .rshow-stats__inner  { grid-template-columns: 1fr; border-radius: 16px; }
  .rshow-stats__item:first-child { border-radius: 16px 16px 0 0; }
  .rshow-stats__item:last-child  { border-radius: 0 0 16px 16px; }
  .rshow-tabs          { flex-wrap: wrap; }
  .rshow-recs-grid     { grid-template-columns: repeat(2, 1fr); }
  .rshow-docs-grid     { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .rshow-bottom-cta    { flex-direction: column; }
  .rshow-bottom-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-buttons        { flex-direction: column; }
  .cta-buttons         { flex-direction: column; align-items: center; }
  .tpl-preview-grid    { grid-template-columns: repeat(2,1fr); }
  .pricing-cards-grid  { grid-template-columns: 1fr 1fr; }
  .pricing-cta-buttons { flex-direction: column; align-items: center; }
  .pricing-hiw-grid    { grid-template-columns: 1fr; }
  .kind-switcher       { flex-direction: column; align-items: stretch; }
  .atsc-hero__head     { flex-direction: column; align-items: flex-start; }
  .atsc-stats          { gap: 20px; }
  .atsc-cta__inner     { padding: 28px; }
  .atsc-cta__actions   { width: 100%; }
}

@media (max-width: 480px) {
  .pricing-cards-grid  { grid-template-columns: 1fr; }
  .pricing-teaser-grid { grid-template-columns: 1fr; }
}

@media (min-width: 640px)  { .tpl-grid { grid-template-columns: repeat(2,1fr); } .roles-idx-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px)  { .tpl-grid { grid-template-columns: repeat(3,1fr); } .roles-idx-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1200px) { .tpl-grid { grid-template-columns: repeat(4,1fr); } .roles-idx-grid { grid-template-columns: repeat(4,1fr); } }

/* ============================================================
   Blog — Posts index & show
   ============================================================ */

/* Hero */
.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%);
  padding: 80px 20px 64px;
  text-align: center;
}
.blog-hero__inner { max-width: 680px; margin: 0 auto; }
.blog-hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #60a5fa; margin-bottom: 20px;
}
.blog-hero__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: white; line-height: 1.15;
  margin-bottom: 16px;
}
.blog-hero__sub { font-size: 18px; color: #94a3b8; max-width: 520px; margin: 0 auto; }

/* Category filter bar */
.blog-cats { border-bottom: 1px solid #e5e7eb; background: white; position: sticky; top: 0; z-index: 40; }
.blog-cats__inner {
  display: flex; align-items: center; gap: 6px; padding: 14px 0;
  overflow-x: auto; scrollbar-width: none;
}
.blog-cats__inner::-webkit-scrollbar { display: none; }
.blog-cat-pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  border: 1.5px solid #e5e7eb; color: #374151; text-decoration: none;
  transition: all 0.15s; background: white;
}
.blog-cat-pill:hover { border-color: #111; color: #111; }
.blog-cat-pill--active { background: #111; color: white; border-color: #111; }

/* Category badges */
.blog-cat-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
}
.blog-cat-badge--resume             { background: #eff6ff; color: #2563eb; }
.blog-cat-badge--cover-letter       { background: #f5f3ff; color: #7c3aed; }
.blog-cat-badge--motivational-letter{ background: #ecfdf5; color: #059669; }
.blog-cat-badge--ats-tips           { background: #fff7ed; color: #c2410c; }
.blog-cat-badge--job-search         { background: #fdf4ff; color: #a21caf; }
.blog-cat-badge--career             { background: #f0fdf4; color: #15803d; }

/* Posts grid */
.blog-list-section { padding: 56px 0 80px; background: #f9fafb; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Post card */
.blog-card {
  background: white; border-radius: 16px; padding: 28px;
  border: 1px solid #e5e7eb; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 12px;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card--featured {
  grid-column: 1 / -1; flex-direction: column;
  padding: 36px;
}
.blog-card--featured .blog-card__title { font-size: 22px; }
.blog-card--featured .blog-card__excerpt { max-width: 640px; }
.blog-card__cat-bar { display: flex; align-items: center; gap: 10px; }
.blog-card__read-time { font-size: 12px; color: #9ca3af; }
.blog-card__title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0; }
.blog-card__title-link { text-decoration: none; color: #111; }
.blog-card__title-link:hover { color: #2563eb; }
.blog-card__excerpt { font-size: 14px; color: #6b7280; line-height: 1.6; flex: 1; }
.blog-card__footer { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #9ca3af; margin-top: auto; }
.blog-card__author { color: #374151; font-weight: 500; }
.blog-card__dot { color: #d1d5db; }

/* Pagination */
.blog-pagination {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 8px 0;
}
.blog-pagination__btn {
  display: inline-block; padding: 10px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600; background: white; color: #111;
  border: 1.5px solid #e5e7eb; text-decoration: none; transition: all 0.15s;
}
.blog-pagination__btn:hover { background: #111; color: white; border-color: #111; }
.blog-pagination__info { font-size: 14px; color: #9ca3af; }

/* Empty state */
.blog-empty { text-align: center; padding: 80px 20px; }
.blog-empty__text { font-size: 18px; color: #6b7280; margin-bottom: 24px; }

/* Blog CTA banner */
.blog-cta-banner {
  background: linear-gradient(135deg, #111 0%, #1e3a5f 100%);
  padding: 72px 20px; text-align: center;
}
.blog-cta-banner__title { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: white; margin-bottom: 14px; }
.blog-cta-banner__sub { font-size: 17px; color: #94a3b8; max-width: 500px; margin: 0 auto 32px; }
.blog-cta-banner__btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- Single post ---- */

.post-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 64px 20px 56px;
}
.post-header__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.post-header__read-time { font-size: 13px; color: #94a3b8; }
.post-header__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: white;
  line-height: 1.2; margin-bottom: 16px;
}
.post-header__deck { font-size: 18px; color: #94a3b8; max-width: 600px; margin-bottom: 28px; }
.post-header__byline { display: flex; align-items: center; gap: 12px; }
.post-header__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #2563eb;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.post-header__author { font-size: 14px; font-weight: 600; color: white; }
.post-header__date { font-size: 13px; color: #64748b; }

/* Post body */
.post-body-wrap { padding: 56px 20px 24px; background: white; }
.post-body {
  font-size: 17px; line-height: 1.8; color: #374151;
}
.post-body h2 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #111; margin: 40px 0 16px;
}
.post-body h3 {
  font-size: 1.15rem; font-weight: 700; color: #111; margin: 28px 0 12px;
}
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px 20px; padding: 0; list-style: disc; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: #111; font-weight: 600; }
.post-body a { color: #2563eb; text-decoration: underline; }
.post-body a:hover { color: #1d4ed8; }
.post-body blockquote {
  border-left: 4px solid #2563eb; padding: 16px 20px; background: #eff6ff;
  border-radius: 0 8px 8px 0; margin: 24px 0; color: #1e40af; font-style: italic;
}
.post-body .tip-box {
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px;
  padding: 16px 20px; margin: 24px 0;
}
.post-body .tip-box strong { color: #059669; }
.post-body code {
  background: #f3f4f6; border-radius: 4px; padding: 2px 6px;
  font-size: 0.9em; font-family: monospace; color: #7c3aed;
}

/* In-post CTA */
.post-inline-cta {
  display: flex; align-items: flex-start; gap: 20px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1.5px solid #bfdbfe; border-radius: 16px;
  padding: 28px; margin: 48px 0 32px;
}
.post-inline-cta__icon { font-size: 32px; flex-shrink: 0; line-height: 1; }
.post-inline-cta__title { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 6px; }
.post-inline-cta__sub { font-size: 14px; color: #6b7280; margin-bottom: 16px; line-height: 1.6; }

/* Back link */
.post-back { padding: 16px 0 48px; }
.post-back__link { font-size: 14px; color: #6b7280; text-decoration: none; }
.post-back__link:hover { color: #2563eb; }

/* Related posts */
.post-related { padding: 64px 0; background: #f9fafb; }
.post-related__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.5rem; font-weight: 700; color: #111; margin-bottom: 32px;
}

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-hero { padding: 56px 20px 48px; }
  .blog-hero__title { font-size: 2rem; }
  .blog-hero__sub { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid--3 { grid-template-columns: 1fr; }
  .blog-card--featured { padding: 24px; }
  .post-inline-cta { flex-direction: column; gap: 12px; }
  .blog-cta-banner { padding: 48px 20px; }
  .blog-cta-banner__btns { flex-direction: column; align-items: center; }
  .post-header { padding: 48px 20px 40px; }
  .post-body { font-size: 16px; }
}

/* ============================================================
   Legal Pages (Privacy Policy, Terms of Service)
   ============================================================ */

/* Hero */
.legal-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 20px 60px;
  text-align: center;
}
.legal-hero .section-eyebrow {
  color: #60a5fa;
}
.legal-hero__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: white;
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.legal-hero__meta {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 12px;
}
.legal-hero__lead {
  font-size: 17px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Body */
.legal-body {
  padding: 56px 20px 80px;
  background: white;
}

/* Table of Contents */
.legal-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 48px;
}
.legal-toc__heading {
  font-weight: 700;
  font-size: 14px;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.legal-toc__list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc__link {
  font-size: 15px;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.15s;
}
.legal-toc__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Sections */
.legal-section {
  padding-top: 40px;
  margin-bottom: 8px;
}
.legal-h2 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.legal-h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

/* Text */
.legal-p {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
}
.legal-p--spaced {
  margin-top: 16px;
}

/* Lists */
.legal-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.legal-list li {
  font-size: 16px;
  color: #374151;
  line-height: 1.7;
}

/* Links */
.legal-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.legal-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Contact card */
.legal-contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-contact-card__label {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
}
.legal-contact-card__email {
  color: #2563eb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.legal-contact-card__email:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Legal responsive */
@media (max-width: 768px) {
  .legal-hero { padding: 56px 20px 44px; }
  .legal-hero__title { font-size: 2rem; }
  .legal-hero__lead { font-size: 15px; }
  .legal-body { padding: 40px 16px 60px; }
  .legal-toc { padding: 20px 22px; }
  .legal-h2 { font-size: 1.2rem; }
  .legal-contact-card { padding: 20px 22px; }
}

/* ============================================================
   Role × Template Preview Page (/roles/:slug/:kind/:template)
   ============================================================ */

/* Hero */
.rtp-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%); padding: 56px 20px 48px; }
.rtp-hero__inner { max-width: 1280px; margin: 0 auto; }
.rtp-hero__breadcrumbs {
  display: flex; align-items: center; gap: 6px; margin-bottom: 20px;
  font-size: 13px; flex-wrap: wrap;
}
.rtp-hero__crumb { color: #94a3b8; text-decoration: none; transition: color 0.15s; }
.rtp-hero__crumb:hover { color: white; }
.rtp-hero__crumb--current { color: #60a5fa; }
.rtp-hero__sep { color: #475569; }
.rtp-hero__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rtp-hero__badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: #94a3b8; background: rgba(148,163,184,0.12); border: 1px solid rgba(148,163,184,0.2);
  padding: 4px 12px; border-radius: 999px; text-transform: capitalize;
}
.rtp-hero__badge--resume { color: #60a5fa; background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.2); }
.rtp-hero__badge--cover-letter { color: #a78bfa; background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.2); }
.rtp-hero__badge--motivational-letter { color: #34d399; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.2); }
.rtp-hero__badge--premium { color: #fbbf24; background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.2); }
.rtp-hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: white;
  line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em;
}
.rtp-hero__sub { font-size: 16px; color: #94a3b8; max-width: 700px; line-height: 1.6; margin: 0 0 24px; }
.rtp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Body */
.rtp-body { max-width: 1280px; margin: 0 auto; padding: 32px 20px 72px; }
.rtp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.rtp-main { display: flex; flex-direction: column; gap: 24px; }

/* Preview card */
.rtp-preview-card {
  background: white; border-radius: 20px; border: 1px solid #e5e7eb;
  overflow: hidden; transition: box-shadow 0.2s;
}
.rtp-preview-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.rtp-preview-card__frame {
  background: #f9fafb; padding: 24px; display: flex; justify-content: center;
}
.rtp-preview-card__img {
  max-width: 100%; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.rtp-preview-card__actions {
  display: flex; gap: 10px; padding: 16px 24px 20px;
}
.rtp-preview-card__actions .form-block { flex: 1; }
.rtp-preview-card__actions .btn { flex: 1; justify-content: center; text-align: center; }

/* Siblings (other doc types) */
.rtp-siblings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.rtp-sibling {
  display: block; text-decoration: none; border-radius: 14px;
  border: 1px solid #f3f4f6; overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.rtp-sibling:hover { border-color: #d1d5db; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-2px); }
.rtp-sibling__badge {
  display: inline-block; margin: 12px 12px 0; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  color: #2563eb; background: #eff6ff;
}
.rtp-sibling__badge--cover-letter { color: #7c3aed; background: #f5f3ff; }
.rtp-sibling__badge--motivational-letter { color: #059669; background: #ecfdf5; }
.rtp-sibling__img { width: 100%; display: block; padding: 8px 12px 0; }
.rtp-sibling__foot {
  padding: 10px 12px 12px; font-size: 13px; font-weight: 500;
  color: #2563eb;
}

/* Related roles */
.rtp-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.rtp-related {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 10px; border: 1px solid #f3f4f6;
  text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.rtp-related:hover { border-color: #d1d5db; background: #f9fafb; }
.rtp-related__title { font-size: 14px; font-weight: 500; color: #374151; }
.rtp-related__arrow { font-size: 14px; color: #9ca3af; }

/* Kind sections on role show page */
.rtp-kind-links { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; }
.rtp-kind-section__label {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: #9ca3af; margin: 0 0 10px;
}
.rtp-kind-section__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* RTP responsive */
@media (max-width: 768px) {
  .rtp-grid { grid-template-columns: 1fr; }
  .rtp-hero { padding: 40px 20px 36px; }
  .rtp-hero__actions { flex-direction: column; }
  .rtp-hero__actions .btn { width: 100%; justify-content: center; }
  .rtp-siblings-grid { grid-template-columns: 1fr; max-width: 320px; }
  .rtp-related-grid { grid-template-columns: 1fr; }
  .rtp-preview-card__actions { flex-direction: column; }
  .rtp-kind-section__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TEMPLATE SHOW PAGE
   ============================================================ */
.tshow { max-width: 1280px; margin: 0 auto; padding: 32px 20px 64px; }

/* Breadcrumb bar */
.tshow-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tshow-back { font-size: 14px; color: #6b7280; text-decoration: none; }
.tshow-back:hover { color: #111; }
.tshow-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tshow-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: #6b7280;
  background: white; border: 1px solid #e5e7eb;
  padding: 4px 10px; border-radius: 999px;
}
.tshow-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.tshow-badge--premium { border-color: #fde68a; background: #fffbeb; color: #92400e; }

/* Hero grid: content + sidebar */
.tshow-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-top: 24px; }

/* Left column */
.tshow-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: #111; letter-spacing: -0.02em; line-height: 1.1; margin: 0;
}
.tshow-subtitle { font-size: 17px; color: #6b7280; line-height: 1.5; margin: 8px 0 0; }

/* Trust row */
.tshow-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.tshow-trust__item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #374151;
  background: white; border: 1px solid #e5e7eb;
  padding: 6px 14px; border-radius: 999px;
}
.tshow-trust__check { color: #10b981; font-weight: 600; }

/* Mini stats */
.tshow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tshow-stat {
  background: white; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 16px; text-align: center;
}
.tshow-stat__num { font-size: 24px; font-weight: 800; color: #111; letter-spacing: -0.02em; }
.tshow-stat__label { font-size: 12px; color: #9ca3af; margin-top: 4px; }

/* Role selector carousel */
.tshow-roles { margin-top: 32px; }
.tshow-roles__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tshow-roles__title { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.tshow-roles__sub { font-size: 12px; color: #9ca3af; margin: 4px 0 0; }
.tshow-roles__link { font-size: 13px; color: #6b7280; text-decoration: none; }
.tshow-roles__link:hover { color: #111; }
.tshow-roles__scroll { margin-top: 12px; overflow-x: auto; }
.tshow-roles__list { display: flex; gap: 8px; min-width: max-content; padding-bottom: 8px; }
.tshow-role-chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: white; font-size: 13px;
  color: #374151; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.tshow-role-chip:hover { background: #f9fafb; border-color: #d1d5db; }
.tshow-role-chip--active { background: #111; color: white; border-color: #111; }
.tshow-roles__empty { margin-top: 8px; font-size: 12px; color: #9ca3af; }
.tshow-roles__empty code {
  padding: 2px 6px; border: 1px solid #e5e7eb; border-radius: 4px;
  font-size: 11px; background: #f9fafb;
}

/* Big preview */
.tshow-preview { margin-top: 24px; }
.tshow-preview__frame {
  position: relative; overflow: hidden; border-radius: 24px;
  background: #f3f4f6; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 560px; margin: 0 auto;
}
.tshow-preview__overlay {
  position: absolute; inset: 0; bottom: auto; padding: 16px;
  display: flex; align-items: flex-start; justify-content: space-between;
  z-index: 2; pointer-events: none;
}
.tshow-preview__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tshow-preview__tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.05); color: #111;
}
.tshow-preview__label {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.8); color: white;
}
.tshow-preview__aspect { position: relative; overflow: hidden; max-height: 780px; }
.tshow-preview__img { display: block; width: 100%; height: auto; }
.tshow-preview__fade { position: absolute; inset: 0; top: auto; height: 80px; background: linear-gradient(to top, rgba(0,0,0,0.25), transparent); z-index: 1; }

/* Preview caption */
.tshow-preview__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: #6b7280; }
.tshow-preview__caption span { display: inline-flex; align-items: center; gap: 4px; }

/* Feature grid */
.tshow-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.tshow-feature {
  background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 16px;
}
.tshow-feature__title { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.tshow-feature__desc { font-size: 13px; color: #6b7280; margin: 4px 0 0; line-height: 1.5; }

/* Sidebar sticky box */
.tshow-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.tshow-action-card {
  background: white; border: 1px solid #e5e7eb; border-radius: 24px;
  padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tshow-action-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tshow-action-card__eyebrow { font-size: 13px; color: #6b7280; margin: 0; }
.tshow-action-card__name { font-size: 20px; font-weight: 800; color: #111; letter-spacing: -0.02em; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tshow-action-card__kind { font-size: 13px; color: #6b7280; margin: 4px 0 0; }
.tshow-action-card__kind-sep { color: #d1d5db; margin: 0 2px; }
.tshow-premium-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid #fde68a; background: #fffbeb; color: #92400e;
}

/* CTA button */
.tshow-cta-btn {
  display: block; width: 100%; padding: 14px 16px; margin-top: 16px;
  background: #111; color: white; font-size: 15px; font-weight: 600;
  border: none; border-radius: 16px; cursor: pointer; text-align: center;
  font-family: inherit; transition: background 0.15s;
}
.tshow-cta-btn:hover { background: #333; }

/* Sub-actions */
.tshow-sub-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tshow-sub-action {
  display: block; padding: 10px 12px; text-align: center;
  border: 1px solid #e5e7eb; border-radius: 16px;
  font-size: 13px; font-weight: 600; color: #111;
  text-decoration: none; transition: background 0.15s;
}
.tshow-sub-action:hover { background: #f9fafb; }

/* What you get box */
.tshow-perks { background: #f9fafb; border-radius: 16px; padding: 16px; margin-top: 16px; }
.tshow-perks__title { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.tshow-perks__list { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tshow-perk { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #374151; }
.tshow-perk__dot { width: 6px; height: 6px; border-radius: 50%; background: #111; margin-top: 7px; flex-shrink: 0; }
.tshow-action-card__tip { font-size: 12px; color: #9ca3af; margin: 12px 0 0; }

/* Workflow card */
.tshow-workflow { background: white; border: 1px solid #e5e7eb; border-radius: 24px; padding: 20px; }
.tshow-workflow__title { font-size: 14px; font-weight: 600; color: #111; margin: 0; }
.tshow-workflow__desc { font-size: 13px; color: #6b7280; margin: 8px 0 0; line-height: 1.5; }
.tshow-workflow__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.tshow-workflow__step {
  text-align: center; padding: 12px; border: 1px solid #e5e7eb; border-radius: 16px;
}
.tshow-workflow__step-num { font-size: 16px; font-weight: 800; color: #111; }
.tshow-workflow__step-label { font-size: 11px; color: #6b7280; margin-top: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .tshow-hero { grid-template-columns: 1fr; }
  .tshow-sidebar { position: static; }
  .tshow-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tshow { padding: 20px 16px 48px; }
  .tshow-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tshow-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tshow-features { grid-template-columns: 1fr; }
  .tshow-sub-actions { grid-template-columns: 1fr; }
  .tshow-workflow__steps { grid-template-columns: 1fr; }
}

/* === Blog Post Table & CTA Box === */
.post-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
.post-table th{background:#f1f5f9;text-align:left;padding:10px 14px;font-weight:600;color:#0f172a;border-bottom:2px solid #e2e8f0}
.post-table td{padding:10px 14px;border-bottom:1px solid #f1f5f9;color:#334155}
.post-table tr:hover td{background:#f8fafc}
.post-table strong{color:#0f172a}
.post-intro{font-size:18px;line-height:1.6;color:#334155;margin-bottom:24px}
.post-cta-box{background:linear-gradient(135deg,#eff6ff,#f0fdf4);border:1px solid #bfdbfe;border-radius:12px;padding:24px;margin:32px 0}
.post-cta-box h3{margin:0 0 8px;color:#1e40af;font-size:18px}
.post-cta-box p{margin:0;color:#334155;font-size:15px;line-height:1.6}
.post-cta-box a{color:#2563eb;font-weight:600;text-decoration:underline}

/* ── Comparison table (blog posts) ────────────────── */
.comparison-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;border-radius:12px;overflow:hidden;border:1px solid #e2e8f0}
.comparison-table thead{background:#0f172a}
.comparison-table th{padding:14px 16px;color:#fff;font-weight:600;text-align:left;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.comparison-table td{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#334155}
.comparison-table tbody tr:nth-child(even){background:#f8fafc}
.comparison-table tbody tr:hover{background:#eff6ff}

/* ── Blog post CTA buttons ────────────────── */
.post-cta-box{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.post-cta-btn{display:inline-block;padding:12px 24px;border-radius:10px;font-weight:600;font-size:15px;text-decoration:none !important;text-align:center;transition:all .15s;margin-top:8px}
.post-cta-btn:first-of-type{background:#2563eb;color:#fff !important}
.post-cta-btn:first-of-type:hover{background:#1d4ed8}
.post-cta-btn--secondary{background:#f1f5f9 !important;color:#334155 !important}
.post-cta-btn--secondary:hover{background:#e2e8f0 !important}
@media(min-width:640px){.post-cta-box{flex-direction:row;flex-wrap:wrap;align-items:center}}

/* Interview Question Generator */
.iq-results { display: flex; flex-direction: column; gap: 2rem; }
.iq-category { background: #1e293b; border-radius: 12px; padding: 1.5rem; border: 1px solid #334155; }
.iq-category__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.iq-category__icon { font-size: 1.5rem; }
.iq-category__title { font-size: 1.125rem; font-weight: 700; color: #f1f5f9; margin: 0; }
.iq-category__desc { font-size: 0.8125rem; color: #94a3b8; margin: 0; }
.iq-questions { display: flex; flex-direction: column; gap: 0.75rem; }
.iq-question { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: #0f172a; border-radius: 8px; border: 1px solid #1e293b; }
.iq-question__num { flex-shrink: 0; width: 28px; height: 28px; background: #3b82f6; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: white; }
.iq-question__content { flex: 1; }
.iq-question__text { color: #e2e8f0; margin: 0 0 0.5rem 0; font-weight: 500; line-height: 1.5; }
.iq-question__tip { color: #94a3b8; margin: 0; font-size: 0.8125rem; line-height: 1.5; }
.iq-question__copy { flex-shrink: 0; padding: 4px 12px; background: #334155; border: 1px solid #475569; border-radius: 6px; color: #94a3b8; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; }
.iq-question__copy:hover { background: #475569; color: #f1f5f9; }
.iq-cta-box { background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%); border-radius: 12px; padding: 2rem; text-align: center; border: 1px solid #3b82f6; }
.iq-cta-box h3 { color: #f1f5f9; margin: 0 0 0.5rem 0; font-size: 1.25rem; }
.iq-cta-box p { color: #94a3b8; margin: 0 0 1.25rem 0; }
.iq-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.iq-output:empty { display: none; }

/* ═══════════════════════════════════════════════════════ */
/* COMPETITOR ALTERNATIVE PAGES                            */
/* ═══════════════════════════════════════════════════════ */
.competitor-page{padding:80px 0 60px}
.competitor-page__inner{max-width:800px;margin:0 auto;padding:0 24px}
.competitor-page__badge{display:inline-block;background:rgba(59,130,246,.12);color:#60a5fa;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:6px 14px;border-radius:8px;margin-bottom:16px}
.competitor-page__title{font-size:clamp(28px,5vw,42px);font-weight:800;color:#f1f5f9;line-height:1.15;margin:0 0 12px}
.competitor-page__subtitle{font-size:18px;color:#94a3b8;margin:0 0 32px}
.competitor-page__alert{background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.2);border-radius:12px;padding:20px 24px;margin-bottom:40px;color:#e2e8f0;font-size:15px;line-height:1.6}
.competitor-page__alert strong{color:#f87171}
.competitor-page__alert a{color:#60a5fa;text-decoration:underline}
.competitor-page__section-title{font-size:22px;font-weight:700;color:#f1f5f9;margin:40px 0 20px}
.comparison-table-wrap{overflow-x:auto;margin-bottom:32px;border-radius:12px;border:1px solid rgba(255,255,255,.08)}
.comparison-table{width:100%;border-collapse:collapse;font-size:14px;color:#cbd5e1}
.comparison-table thead{background:#1e293b}
.comparison-table th{padding:14px 16px;text-align:left;font-weight:600;color:#f1f5f9;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.comparison-table td{padding:12px 16px;border-top:1px solid rgba(255,255,255,.05)}
.comparison-table tbody tr:hover{background:rgba(255,255,255,.03)}
.comparison-table__highlight{background:rgba(16,185,129,.05);color:#34d399;font-weight:500}
.comparison-table thead .comparison-table__highlight{background:rgba(16,185,129,.12);color:#34d399}
.competitor-page__savings-box{background:linear-gradient(135deg,rgba(16,185,129,.1),rgba(59,130,246,.1));border:1px solid rgba(16,185,129,.2);border-radius:16px;padding:28px 32px;margin:32px 0;text-align:center}
.competitor-page__savings-box h3{font-size:20px;color:#f1f5f9;margin:0 0 12px}
.competitor-page__savings-box p{color:#94a3b8;font-size:15px;margin:0 0 20px;line-height:1.6}
.competitor-page__cta-btn{display:inline-block;background:#2563eb;color:#fff;padding:12px 28px;border-radius:10px;font-weight:600;font-size:15px;text-decoration:none;transition:background .15s,transform .1s}
.competitor-page__cta-btn:hover{background:#1d4ed8;color:#fff;transform:translateY(-1px)}
.competitor-page__cta-btn--secondary{background:transparent;border:1px solid rgba(255,255,255,.15);color:#e2e8f0;margin-left:12px}
.competitor-page__cta-btn--secondary:hover{background:rgba(255,255,255,.05);color:#fff}
.competitor-page__reasons{display:grid;gap:20px;margin-bottom:40px}
.competitor-page__reason{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:24px}
.competitor-page__reason h3{font-size:17px;color:#f1f5f9;margin:0 0 8px}
.competitor-page__reason p{color:#94a3b8;font-size:14px;line-height:1.6;margin:0}
.competitor-page__free-tools{margin:40px 0}
.competitor-page__free-tools p{color:#94a3b8;margin-bottom:16px}
.competitor-page__tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.competitor-page__tool-card{display:flex;flex-direction:column;gap:4px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:16px;text-decoration:none;transition:border-color .15s,background .15s}
.competitor-page__tool-card:hover{background:rgba(255,255,255,.05);border-color:rgba(59,130,246,.3)}
.competitor-page__tool-card strong{color:#f1f5f9;font-size:14px}
.competitor-page__tool-card span{color:#64748b;font-size:13px}
.competitor-page__final-cta{background:linear-gradient(135deg,#0f172a,#1e293b);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:40px 32px;text-align:center;margin-top:48px}
.competitor-page__final-cta h2{font-size:24px;color:#f1f5f9;margin:0 0 12px}
.competitor-page__final-cta p{color:#94a3b8;font-size:15px;margin:0 0 24px}
.competitor-page__cta-buttons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@media(max-width:640px){
  .competitor-page{padding:60px 0 40px}
  .competitor-page__title{font-size:24px}
  .comparison-table{font-size:12px}
  .comparison-table th,.comparison-table td{padding:8px 10px}
  .competitor-page__savings-box{padding:20px 16px}
  .competitor-page__cta-buttons{flex-direction:column;align-items:center}
  .competitor-page__cta-btn--secondary{margin-left:0}
}

/* ═══════════════════════════════════════════════════════ */
/* FREE TOOL PAGES                                         */
/* ═══════════════════════════════════════════════════════ */
.tool-page{padding:80px 0 60px}
.tool-page__inner{max-width:720px;margin:0 auto;padding:0 24px}
.tool-page__badge{display:inline-block;background:rgba(16,185,129,.12);color:#34d399;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;padding:6px 14px;border-radius:8px;margin-bottom:16px}
.tool-page__title{font-size:clamp(28px,5vw,38px);font-weight:800;color:#f1f5f9;line-height:1.15;margin:0 0 12px}
.tool-page__subtitle{font-size:17px;color:#94a3b8;margin:0 0 32px}
.tool-page__form{margin-bottom:32px}
.tool-page__field{margin-bottom:16px}
.tool-page__label{display:block;font-size:14px;font-weight:600;color:#e2e8f0;margin-bottom:6px}
.tool-page__textarea{width:100%;padding:12px 16px;background:#1e293b;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#e2e8f0;font-size:14px;font-family:inherit;resize:vertical;transition:border-color .15s}
.tool-page__textarea:focus{outline:none;border-color:#3b82f6}
.tool-page__submit{background:#2563eb;color:#fff;padding:14px 28px;border:none;border-radius:10px;font-weight:600;font-size:15px;cursor:pointer;transition:background .15s;width:100%}
.tool-page__submit:hover{background:#1d4ed8}
.tool-page__results{margin-top:32px}
.tool-page__results-title{font-size:22px;font-weight:700;color:#f1f5f9;margin:0 0 16px}
.tool-page__upsell{background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(139,92,246,.1));border:1px solid rgba(59,130,246,.2);border-radius:16px;padding:28px 24px;margin:32px 0;text-align:center}
.tool-page__upsell h3{font-size:18px;color:#f1f5f9;margin:0 0 8px}
.tool-page__upsell p{color:#94a3b8;font-size:14px;margin:0 0 20px}
.tool-page__upsell-buttons{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.tool-page__upsell-btn{display:inline-block;background:#2563eb;color:#fff;padding:10px 24px;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none;transition:background .15s}
.tool-page__upsell-btn:hover{background:#1d4ed8;color:#fff}
.tool-page__upsell-btn--secondary{background:transparent;border:1px solid rgba(255,255,255,.15);color:#e2e8f0}
.tool-page__upsell-btn--secondary:hover{background:rgba(255,255,255,.05);color:#fff}
.tool-page__faq{margin-top:48px}
.tool-page__faq-title{font-size:20px;font-weight:700;color:#f1f5f9;margin:0 0 20px}
/* simple shimmering block */
.ag-skeleton {
  position: relative;
  overflow: hidden;
  background: #f6f7f8;
}
.ag-skeleton::after {
  content: "";
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.6) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: ag-shimmer 1.25s infinite;
}
@keyframes ag-shimmer {
  100% { transform: translateX(100%); }
}
/* ============================================================
   ApplyGlide — Resume Base CSS
   Loaded by Export::HtmlRenderer alongside tailwind.css.
   Provides the page wrapper, print rules, and shared
   primitives that all premium template partials can rely on.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ── Page wrapper ───────────────────────────────────────────── */
.rp {
  width: 816px;          /* 8.5in @ 96dpi */
  min-height: 1056px;    /* 11in @ 96dpi */
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
  font-size: 10.5pt;
  line-height: 1.5;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

/* ── Bullet list ────────────────────────────────────────────── */
.r-bullets {
  list-style: none;
  margin: 0.3em 0 0;
  padding: 0;
}
.r-bullets li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.22em;
  line-height: 1.45;
}
.r-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: inherit;
  opacity: 0.7;
}

/* ── Skill chips ────────────────────────────────────────────── */
.r-chips { display: flex; flex-wrap: wrap; gap: 0.25em 0.35em; }
.r-chip {
  display: inline-block;
  font-size: 0.78em;
  padding: 0.15em 0.55em;
  border-radius: 2px;
  white-space: nowrap;
  line-height: 1.5;
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .rp { width: 100%; min-height: 0; margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}
/* ============================================================
   wizard.css — ApplyGlide Onboarding Wizard Design System
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --wz-bg:           #f8f9fa;
  --wz-surface:      #ffffff;
  --wz-border:       #e5e7eb;
  --wz-text:         #111827;
  --wz-muted:        #6b7280;
  --wz-accent:       #111827;
  --wz-accent-light: #f3f4f6;
  --wz-green:        #10b981;
  --wz-blue:         #2563eb;
  --wz-radius:       16px;
  --wz-radius-sm:    10px;
  --wz-shadow:       0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
}

/* ── Page wrapper ───────────────────────────────────────────── */
.wz-page {
  background: var(--wz-bg);
  min-height: 100vh;
}

/* ── Container ──────────────────────────────────────────────── */
.wz-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Progress header bar ────────────────────────────────────── */
.wz-progress-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
}

.wz-progress {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--wz-shadow);
}

.wz-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wz-progress__step-label {
  min-width: 0;
}

.wz-progress__step-label-small {
  font-size: 0.7rem;
  color: var(--wz-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.wz-progress__step-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wz-progress__step-kind {
  color: var(--wz-muted);
  font-weight: 400;
}

.wz-progress__counter {
  text-align: right;
  flex-shrink: 0;
}

.wz-progress__counter-label {
  font-size: 0.7rem;
  color: var(--wz-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.wz-progress__counter-value {
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  color: var(--wz-text);
}

.wz-progress__bar-track {
  margin-top: 0.75rem;
  height: 6px;
  width: 100%;
  border-radius: 99px;
  background: #f1f3f5;
  overflow: hidden;
}

.wz-progress__bar-fill {
  height: 6px;
  background: var(--wz-accent);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.wz-progress__footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--wz-muted);
}

/* ── Grid layout ────────────────────────────────────────────── */
.wz-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.wz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .wz-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.wz-main {
  min-width: 0;
}

.wz-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}

/* ── Step header ────────────────────────────────────────────── */
.wz-step-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wz-step-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wz-text);
  line-height: 1.15;
}

.wz-step-subtitle {
  color: var(--wz-muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ── Feature chips ──────────────────────────────────────────── */
.wz-chips {
  display: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .wz-chips {
    display: flex;
  }
}

.wz-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--wz-text);
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.wz-chip--green {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.wz-chip--blue {
  color: #1e3a8a;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.wz-chip--amber {
  color: #78350f;
  background: #fffbeb;
  border-color: #fde68a;
}

/* ── Cards ──────────────────────────────────────────────────── */
.wz-card {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  box-shadow: var(--wz-shadow);
  overflow: hidden;
}

.wz-card__body {
  padding: 1.5rem;
}

.wz-card__header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--wz-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wz-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wz-text);
}

.wz-card__label {
  font-size: 0.72rem;
  color: var(--wz-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section cards for template picker ─────────────────────── */
.wz-section-card {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1.25rem;
  box-shadow: var(--wz-shadow);
}

.wz-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wz-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wz-text);
}

.wz-section-hint {
  font-size: 0.75rem;
  color: var(--wz-muted);
}

/* ── Template grid ──────────────────────────────────────────── */
.wz-template-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .wz-template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wz-template-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wz-template-label {
  cursor: pointer;
  border-radius: var(--wz-radius);
  border: 1px solid var(--wz-border);
  padding: 0.75rem;
  display: flex;
  gap: 0.75rem;
  transition: background 0.15s, border-color 0.15s;
  background: var(--wz-surface);
}

.wz-template-label:hover {
  background: var(--wz-accent-light);
  border-color: #d1d5db;
}

.wz-template-radio {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.wz-template-meta {
  min-width: 0;
  width: 100%;
}

.wz-template-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wz-template-name {
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--wz-text);
}

.wz-template-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--wz-border);
  border-radius: 99px;
  color: var(--wz-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.wz-template-img {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: white;
  display: block;
}

/* ── Mode pills (tab switcher) ──────────────────────────────── */
.wz-mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}
.wz-mode-pills form {
  display: contents;
}

.wz-mode-pill {
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: var(--wz-surface);
  color: var(--wz-text);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}

.wz-mode-pill:hover {
  background: var(--wz-accent-light);
}

.wz-mode-pill--active {
  background: var(--wz-accent);
  color: #fff;
  border-color: var(--wz-accent);
}

/* ── Alert ──────────────────────────────────────────────────── */
.wz-alert {
  margin-top: 1rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid #fecaca;
  background: #fef2f2;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
}

/* ── Form styles ────────────────────────────────────────────── */
.wz-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wz-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .wz-field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wz-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wz-field--full {
  grid-column: 1 / -1;
}

.wz-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wz-text);
  letter-spacing: 0.01em;
}

.wz-field__required {
  color: #dc2626;
  margin-left: 0.2rem;
}

.wz-field__input {
  width: 100%;
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--wz-text);
  background: var(--wz-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  box-sizing: border-box;
}

.wz-field__input:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17,24,39,0.06);
}

.wz-field__select {
  width: 100%;
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--wz-text);
  background: var(--wz-surface);
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.wz-field__select:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17,24,39,0.06);
}

.wz-field__textarea {
  width: 100%;
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--wz-text);
  background: var(--wz-surface);
  outline: none;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  line-height: 1.55;
}

.wz-field__textarea:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17,24,39,0.06);
}

.wz-field__textarea--mono {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 0.82rem;
}

.wz-field__hint {
  font-size: 0.72rem;
  color: var(--wz-muted);
  line-height: 1.4;
}

/* ── Sub-section inside a card ──────────────────────────────── */
.wz-subsection {
  margin-top: 1.5rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  padding: 1rem;
}

.wz-subsection__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.wz-subsection__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-subsection__badge {
  font-size: 0.72rem;
  color: var(--wz-muted);
}

/* ── List items (experience / projects) ─────────────────────── */
.wz-list-item {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--wz-surface);
}

.wz-list-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.wz-list-item__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-list-item__number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wz-muted);
  background: var(--wz-bg, #f8fafc);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

.wz-list-item__remove {
  font-size: 0.8rem;
  color: var(--wz-muted);
  background: none; border: none; cursor: pointer;
  padding: 4px 8px; border-radius: var(--wz-radius-sm);
  transition: color 0.15s, background 0.15s;
}
.wz-list-item__remove:hover { color: #ef4444; background: #fef2f2; }

.wz-field--sm { max-width: 120px; }

.wz-field__label-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 0.35rem;
}
.wz-field__label-row .wz-field__label { margin-bottom: 0; }

.wz-add-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.85rem; font-weight: 500; color: var(--wz-accent);
  background: none; border: 1px dashed var(--wz-border);
  padding: 0.5rem 1rem; border-radius: var(--wz-radius-sm);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.wz-add-btn:hover { background: var(--wz-accent-light, #f0f4ff); border-color: var(--wz-accent); }

/* ── Navigation row ─────────────────────────────────────────── */
.wz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--wz-border);
  gap: 0.75rem;
  position: sticky;
  bottom: 0;
  background: var(--wz-bg, #fff);
  z-index: 10;
}

.wz-nav--space {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: sticky;
  bottom: 0;
  padding: 1rem 0;
  background: var(--wz-bg, #fff);
  z-index: 10;
  border-top: 1px solid var(--wz-border);
}

/* ── Buttons ────────────────────────────────────────────────── */
.wz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--wz-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--wz-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.wz-btn-primary:hover {
  opacity: 0.88;
}

.wz-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wz-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--wz-surface);
  color: var(--wz-text);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.wz-btn-secondary:hover {
  background: var(--wz-accent-light);
}

.wz-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--wz-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  transition: background 0.15s, color 0.15s;
}

.wz-btn-back:hover {
  background: var(--wz-accent-light);
  color: var(--wz-text);
}

.wz-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--wz-text);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: var(--wz-surface);
  cursor: pointer;
  transition: background 0.15s;
}

.wz-btn-add:hover {
  background: var(--wz-accent-light);
}

.wz-btn-remove {
  font-size: 0.8rem;
  color: var(--wz-muted);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.wz-btn-remove:hover {
  color: #dc2626;
}

.wz-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wz-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.wz-btn-link:hover {
  color: var(--wz-text);
}

/* ── Flex row for multiple buttons ──────────────────────────── */
.wz-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ── Preview card (sidebar) ─────────────────────────────────── */
.wz-preview {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  box-shadow: var(--wz-shadow);
  overflow: hidden;
}

.wz-preview__header {
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.wz-preview__label {
  font-size: 0.7rem;
  color: var(--wz-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.wz-preview__name {
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--wz-text);
}

.wz-preview__sub {
  font-size: 0.75rem;
  color: var(--wz-muted);
  margin-top: 0.2rem;
}

.wz-preview__thumb {
  position: relative;
  background: #f1f3f5;
}

.wz-preview__aspect {
  position: relative;
  aspect-ratio: 3 / 4;
}

.wz-preview__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.wz-preview__gradient {
  position: absolute;
  inset: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.32), transparent);
  top: auto;
}

.wz-preview__overlay-top {
  position: absolute;
  inset-inline: 0;
  top: 0;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wz-preview__pill {
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--wz-text);
  display: inline-block;
  margin-right: 0.3rem;
}

.wz-preview__pill--dark {
  background: rgba(0,0,0,0.78);
  color: #fff;
  border-color: transparent;
  margin-right: 0;
}

.wz-preview__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.wz-preview__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.85rem;
}

.wz-preview__stat {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  padding: 0.6rem 0.75rem;
}

.wz-preview__stat-label {
  font-size: 0.7rem;
  color: var(--wz-muted);
  margin-bottom: 0.15rem;
}

.wz-preview__stat-value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--wz-text);
}

.wz-preview__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 0.85rem;
}

.wz-preview__action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.75rem;
  border-radius: var(--wz-radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
}

.wz-preview__action--outline {
  border: 1px solid var(--wz-border);
  color: var(--wz-text);
  background: var(--wz-surface);
}

.wz-preview__action--outline:hover {
  background: var(--wz-accent-light);
}

.wz-preview__action--filled {
  background: var(--wz-accent);
  color: #fff;
  border: none;
}

.wz-preview__action--filled:hover {
  opacity: 0.88;
}

.wz-preview__tip {
  padding: 0.6rem 0.85rem 0.85rem;
  font-size: 0.72rem;
  color: var(--wz-muted);
}

.wz-preview__empty {
  padding: 0 0.85rem 0.85rem;
}

.wz-preview__empty-box {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: var(--wz-accent-light);
  padding: 1rem;
  font-size: 0.875rem;
  color: #374151;
}

/* ── Summary card (sidebar, review-like) ────────────────────── */
.wz-summary {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  box-shadow: var(--wz-shadow);
  padding: 1rem;
  position: sticky;
  top: 1.5rem;
}

.wz-summary__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wz-summary__title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--wz-text);
}

.wz-summary__sub {
  font-size: 0.72rem;
  color: var(--wz-muted);
  margin-top: 0.15rem;
}

.wz-summary__meta-label {
  font-size: 0.72rem;
  color: var(--wz-muted);
}

.wz-summary__meta-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wz-text);
  line-height: 1.2;
}

.wz-summary__meta-kind {
  font-size: 0.68rem;
  color: var(--wz-muted);
  margin-top: 0.15rem;
}

.wz-summary__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.wz-summary__stat {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  padding: 0.5rem 0.6rem;
}

.wz-summary__stat-label {
  font-size: 0.68rem;
  color: var(--wz-muted);
  margin-bottom: 0.1rem;
}

.wz-summary__stat-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-summary__preview {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: var(--wz-accent-light);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.wz-summary__preview-inner {
  background: var(--wz-surface);
  max-height: 70vh;
  overflow: auto;
}

.wz-summary__preview-inner--pad {
  padding: 0.75rem;
}

.wz-summary__empty {
  padding: 1.25rem;
  font-size: 0.875rem;
  color: #374151;
}

.wz-summary__tip {
  font-size: 0.68rem;
  color: var(--wz-muted);
}

/* ── Template sidebar ───────────────────────────────────────── */
.wz-template-sidebar {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1rem;
  box-shadow: var(--wz-shadow);
}

.wz-template-sidebar__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
  margin-bottom: 0.25rem;
}

.wz-template-sidebar__hint {
  font-size: 0.72rem;
  color: var(--wz-muted);
  margin-bottom: 0.75rem;
}

.wz-template-sidebar__img-wrap {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: var(--wz-accent-light);
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.wz-template-sidebar__img {
  width: 100%;
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  background: white;
  display: block;
}

.wz-template-sidebar__meta {
  font-size: 0.82rem;
  color: #374151;
}

/* ── Bundle hint (sidebar) ─────────────────────────────────── */
.wz-bundle-hint {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f0f4ff;
  border: 1px solid #dbeafe;
  border-radius: var(--wz-radius-sm);
}
.wz-bundle-hint__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  background: var(--wz-accent, #111);
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}
.wz-bundle-hint__text {
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.wz-bundle-hint__price {
  font-size: 0.82rem;
  color: #111;
}

/* ── Review sections ────────────────────────────────────────── */
.wz-review-section {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  overflow: hidden;
  box-shadow: var(--wz-shadow);
}

.wz-review-section__header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--wz-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wz-review-section__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-review-section__edit {
  font-size: 0.8rem;
  color: var(--wz-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}

.wz-review-section__edit:hover {
  color: var(--wz-text);
}

.wz-review-section__body {
  padding: 1rem 1.25rem;
}

/* ── Review stats bar ───────────────────────────────────────── */
.wz-review-stats {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--wz-shadow);
}

.wz-review-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .wz-review-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wz-review-stat {
  border-radius: var(--wz-radius-sm);
  border: 1px solid var(--wz-border);
  padding: 0.75rem;
}

.wz-review-stat__label {
  font-size: 0.7rem;
  color: var(--wz-muted);
  margin-bottom: 0.2rem;
}

.wz-review-stat__value {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--wz-text);
}

/* ── Plan cards (pricing step) ──────────────────────────────── */
.wz-plan-card {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  box-shadow: var(--wz-shadow);
  overflow: hidden;
}

.wz-plan-card__top {
  padding: 1.5rem;
}

.wz-plan-card__eyebrow {
  font-size: 0.7rem;
  color: var(--wz-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.wz-plan-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.wz-plan-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wz-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.wz-plan-card__price-note {
  font-size: 0.78rem;
  color: var(--wz-muted);
  padding-bottom: 0.25rem;
}

.wz-plan-card__desc {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 1.25rem;
}

.wz-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wz-plan-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}

.wz-plan-card__feature::before {
  content: "✓";
  font-weight: 700;
  color: var(--wz-green);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.wz-plan-card__actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--wz-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.wz-plan-card__note {
  padding: 0 1.5rem 1rem;
  font-size: 0.72rem;
  color: var(--wz-muted);
}

.wz-plan-card__payment {
  padding: 0 1.5rem 1rem;
}

.wz-payment-element {
  margin-bottom: 1rem;
  min-height: 40px;
}

.wz-payment-loading {
  text-align: center;
  padding: 1.5rem;
  color: var(--wz-muted);
  font-size: 0.85rem;
}

.wz-payment-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.wz-payment-error.hidden {
  display: none;
}

/* ── Generate / loading step ────────────────────────────────── */
.wz-generate-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wz-generate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wz-generate-card {
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 1.25rem;
  background: var(--wz-surface);
}

.wz-generate-card__title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--wz-text);
}

.wz-generate-features {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wz-generate-features li {
  font-size: 0.875rem;
  color: #374151;
}

.wz-generate-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--wz-muted);
}

.wz-generate-spinner-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.wz-generate-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  border-top-color: var(--wz-accent);
  animation: wz-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes wz-spin {
  to { transform: rotate(360deg); }
}

.wz-generate-spinner-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-generate-desc {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 1rem;
}

.wz-generate-bundle-note {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--wz-muted);
}

/* ── Pro tip card ───────────────────────────────────────────── */
.wz-pro-tip {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1rem;
  box-shadow: var(--wz-shadow);
}

.wz-pro-tip__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--wz-text);
  margin-bottom: 0.3rem;
}

.wz-pro-tip__body {
  font-size: 0.82rem;
  color: var(--wz-muted);
  line-height: 1.5;
}

/* ── Review body text helpers ───────────────────────────────── */
.wz-review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--wz-text);
}

.wz-review-sub {
  font-size: 0.875rem;
  color: #374151;
  margin-top: 0.25rem;
}

.wz-review-muted {
  font-size: 0.72rem;
  color: var(--wz-muted);
  margin-top: 0.5rem;
}

.wz-review-empty {
  font-size: 0.875rem;
  color: var(--wz-muted);
}

.wz-review-skills {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}

.wz-review-bullets {
  padding-left: 1.25rem;
  margin: 0.35rem 0 0;
  list-style: disc;
}

.wz-review-bullets li {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.15rem;
}

.wz-review-exp-item {
  margin-bottom: 1rem;
}

.wz-review-exp-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wz-text);
}

.wz-review-exp-dates {
  color: var(--wz-muted);
  font-weight: 400;
}

.wz-review-summary {
  font-size: 0.875rem;
  color: #374151;
  margin-top: 0.5rem;
  white-space: pre-line;
  line-height: 1.55;
}

/* ── Empty fields notice ────────────────────────────────────── */
.wz-empty-notice {
  background: var(--wz-surface);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius);
  padding: 1.5rem;
  box-shadow: var(--wz-shadow);
}

.wz-empty-notice p {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 1.25rem;
}

/* ── Utility: tabular nums ──────────────────────────────────── */
.wz-tabnum {
  font-variant-numeric: tabular-nums;
}

/* ── Spacing helpers ────────────────────────────────────────── */
.wz-mt-sm  { margin-top: 0.75rem; }
.wz-mt-md  { margin-top: 1.25rem; }
.wz-mt-lg  { margin-top: 2rem; }
.wz-space  { display: flex; flex-direction: column; gap: 1rem; }

/* ── Contextual insight box (blue) ──────────────────────────── */
.wz-insight {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--wz-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #1e3a8a;
  line-height: 1.55;
}

.wz-insight__icon { flex-shrink: 0; font-size: 1rem; margin-top: 0.05rem; }
.wz-insight__body { flex: 1; }
.wz-insight__title { font-weight: 700; margin-bottom: 0.2rem; }

/* ── Tip box (neutral) ──────────────────────────────────────── */
.wz-tip {
  background: var(--wz-accent-light);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--wz-text);
  line-height: 1.55;
}

.wz-tip__title { font-weight: 700; margin-bottom: 0.2rem; font-size: 0.82rem; }

/* ── Character counter ──────────────────────────────────────── */
.wz-char-counter {
  font-size: 0.7rem;
  text-align: right;
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.wz-char-counter--low  { color: #dc2626; }
.wz-char-counter--mid  { color: #d97706; }
.wz-char-counter--ok   { color: var(--wz-green); }
.wz-char-counter--muted { color: var(--wz-muted); }

/* ── Skill tags (live preview) ──────────────────────────────── */
.wz-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.75rem;
  margin-top: 0.5rem;
}

.wz-skill-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  background: var(--wz-accent);
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.wz-skill-tag--empty {
  background: none;
  color: var(--wz-muted);
  font-weight: 400;
  font-size: 0.75rem;
  padding: 0;
}

.wz-skill-count {
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 0.25rem;
}
.wz-skill-count--low  { color: #dc2626; }
.wz-skill-count--mid  { color: #d97706; }
.wz-skill-count--ok   { color: var(--wz-green); }

/* ── Tone selector cards ────────────────────────────────────── */
.wz-tone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .wz-tone-grid { grid-template-columns: repeat(3, 1fr); }
}

.wz-tone-card {
  cursor: pointer;
  border: 2px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.7rem 0.85rem;
  background: var(--wz-surface);
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
  user-select: none;
}
.wz-tone-card:hover { background: var(--wz-accent-light); border-color: #d1d5db; }
.wz-tone-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.wz-tone-card__name { font-weight: 700; font-size: 0.82rem; color: var(--wz-text); }
.wz-tone-card__desc { font-size: 0.68rem; color: var(--wz-muted); margin-top: 0.15rem; line-height: 1.4; }

.wz-tone-card--selected {
  border-color: var(--wz-accent);
  background: var(--wz-accent);
}
.wz-tone-card--selected .wz-tone-card__name,
.wz-tone-card--selected .wz-tone-card__desc { color: #fff; }

/* ── Trust bar ──────────────────────────────────────────────── */
.wz-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--wz-border);
}

.wz-trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--wz-muted);
}
.wz-trust-item::before { content: "✓"; color: var(--wz-green); font-weight: 700; }

/* ── Value anchor (price comparison) ───────────────────────── */
.wz-anchor {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--wz-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: #065f46;
  line-height: 1.5;
  margin-top: 1rem;
}
.wz-anchor__icon { flex-shrink: 0; font-size: 1.1rem; }

/* ── Social proof / quote ───────────────────────────────────── */
.wz-quote {
  background: var(--wz-accent-light);
  border-left: 3px solid var(--wz-border);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--wz-text);
  line-height: 1.55;
  font-style: italic;
  margin-top: 1rem;
  border-radius: 0 var(--wz-radius-sm) var(--wz-radius-sm) 0;
}
.wz-quote__author {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--wz-muted);
  margin-top: 0.35rem;
  display: block;
}

/* ── Generation phase list ──────────────────────────────────── */
.wz-phases { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }

.wz-phase {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--wz-muted);
  transition: color 0.3s;
}
.wz-phase__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wz-border);
  flex-shrink: 0;
  transition: background 0.3s;
}
.wz-phase--active  { color: var(--wz-text); font-weight: 600; }
.wz-phase--active  .wz-phase__dot { background: var(--wz-accent); animation: wz-pulse 1.2s ease-in-out infinite; }
.wz-phase--done    { color: var(--wz-green); }
.wz-phase--done    .wz-phase__dot { background: var(--wz-green); }

@keyframes wz-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(0.75); opacity: 0.55; }
}

/* ── Completion bar (review step) ───────────────────────────── */
.wz-completion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.wz-completion__label { flex-shrink: 0; font-weight: 700; font-size: 0.95rem; }
.wz-completion__track {
  flex: 1;
  height: 10px;
  background: #f1f3f5;
  border-radius: 99px;
  overflow: hidden;
}
.wz-completion__fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}
.wz-completion__fill--low  { background: #ef4444; }
.wz-completion__fill--mid  { background: #f59e0b; }
.wz-completion__fill--high { background: var(--wz-green); }
.wz-completion__pct        { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ── Status banner (review) ─────────────────────────────────── */
.wz-status-banner {
  border-radius: var(--wz-radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wz-status-banner--ready { background: #f0fdf4; border: 1px solid #bbf7d0; color: #065f46; }
.wz-status-banner--warn  { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }

/* ── Review return banner (shows when editing from review) ──── */
.wz-review-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--wz-radius-sm);
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.wz-review-return__text {
  font-size: 0.82rem;
  color: #1e40af;
  font-weight: 500;
}
.wz-review-return__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: #dbeafe;
  transition: background 0.15s;
}
.wz-review-return__link:hover {
  background: #bfdbfe;
}

/* ── Bullet formula ─────────────────────────────────────────── */
.wz-formula {
  background: #f8fafc;
  border: 1px dashed var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--wz-muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.6;
  margin-top: 0.35rem;
}
.wz-formula strong { color: var(--wz-text); }

/* ── Step-specific chips override ───────────────────────────── */
.wz-chips--has-content .wz-chip { display: inline-flex; }

/* ── Review section completion dot ─────────────────────────── */
.wz-review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.wz-review-dot--done   { background: var(--wz-green); }
.wz-review-dot--empty  { background: #e5e7eb; border: 1px solid #d1d5db; }

/* ── Selected template checkmark overlay ────────────────────── */
.wz-template-label--selected {
  border-color: var(--wz-accent);
  background: #f9fafb;
}
.wz-template-label--selected::after {
  content: "✓";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--wz-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wz-template-label { position: relative; }

/* ── Textarea auto-resize feel ──────────────────────────────── */
.wz-field__textarea--expandable { resize: vertical; min-height: 6rem; }

/* ── Word count helper (for summary) ───────────────────────── */
.wz-word-count { font-size: 0.7rem; color: var(--wz-muted); margin-top: 0.2rem; }

/* ── "Targeting" context chip (show job target) ─────────────── */
.wz-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

/* ── Highlight textarea pill counter ────────────────────────── */
.wz-highlight-counter {
  font-size: 0.7rem;
  color: var(--wz-muted);
  margin-top: 0.2rem;
  display: flex;
  justify-content: flex-end;
}

/* ── Review status hints (text-based, replaces dot for inline msg) */
.wz-review-hint {
  font-size: 0.72rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.wz-review-hint--green { color: #065f46; }
.wz-review-hint--warn  { color: #78350f; }
.wz-review-hint--muted { color: var(--wz-muted); }

/* ── Tone card: CSS :has() for no-JS interactive selected state */
.wz-tone-card:has(input[type="radio"]:checked) {
  border-color: var(--wz-accent);
  background: var(--wz-accent);
}
.wz-tone-card:has(input[type="radio"]:checked) .wz-tone-card__name,
.wz-tone-card:has(input[type="radio"]:checked) .wz-tone-card__desc { color: #fff; }

/* ── Muted field label (e.g. "(optional)" inline) ───────────── */
.wz-field__muted-label { font-weight: 400; color: var(--wz-muted); font-size: 0.78rem; }

/* ── Sign-up nudge (plan step) ──────────────────────────────── */
.wz-signup-nudge {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}
.wz-signup-nudge__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.wz-signup-nudge__body { flex: 1; }
.wz-signup-nudge__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.3rem;
}
.wz-signup-nudge__desc {
  font-size: 0.78rem;
  color: #0369a1;
  line-height: 1.55;
}
.wz-signup-nudge__desc a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
}
.wz-signup-nudge__links {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}
.wz-signup-nudge__links a { color: #0284c7; font-weight: 600; }
.wz-signup-nudge__sep { color: #94a3b8; margin: 0 0.3rem; }

/* ── Avatar upload ─────────────────────────────────────────── */
.wz-avatar-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wz-avatar-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wz-accent-light);
  border: 2px solid var(--wz-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wz-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wz-avatar-preview__initials {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wz-muted);
}
.wz-avatar-controls {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wz-avatar-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--wz-accent);
  background: var(--wz-accent-light);
  border: 1px solid var(--wz-border);
  border-radius: var(--wz-radius-sm);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
}
.wz-avatar-btn:hover {
  background: var(--wz-border);
}
.wz-avatar-hint {
  font-size: 0.72rem;
  color: var(--wz-muted);
}

/* ═══════════════ BLURRED PREVIEW TEASER ═══════════════ */
.wz-preview-teaser {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.wz-preview-teaser__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}
.wz-preview-teaser__title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.wz-preview-teaser__body {
  padding: 20px;
}
.wz-preview-teaser__img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  max-height: 360px;
  margin-bottom: 16px;
}
.wz-preview-teaser__img {
  width: 100%;
  display: block;
  filter: blur(6px);
  -webkit-filter: blur(6px);
  pointer-events: none;
  user-select: none;
}
.wz-preview-teaser__blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.95) 100%);
}
.wz-preview-teaser__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 0 24px;
}
.wz-preview-teaser__lock svg {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.wz-preview-teaser__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wz-preview-teaser__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #374151;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
