/* ============================================================
   ResumeCaptain — Programmatic Pages Stylesheet
   Primary: #ed4e34  |  Font: system-ui sans-serif
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #ed4e34;
  --brand-dark: #d4441e;
  --brand-light: #FFF4F2;
  --brand-mid: #FDECEA;
  --text: #111827;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .10);
}

/* Fix Phantom Admin Bar Gap */
html {
  margin-top: 0 !important;
}

body.rc-pseo-page .site-header,
body.rc-pseo-page .ast-primary-header {
  top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

/* Theme Container Breakout */
.rc-pseo-page #primary,
.rc-pseo-page #content,
.rc-pseo-page .site-content,
.rc-pseo-page #content .ast-container,
.rc-pseo-page .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

html {
  scroll-behavior: smooth;
}

.rc-pseo-wrapper {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.rc-pseo-wrapper h1,
.rc-pseo-wrapper h2,
.rc-pseo-wrapper h3,
.rc-pseo-wrapper h4 {
  line-height: 1.25;
  color: var(--text);
  font-weight: 700;
}

.rc-pseo-wrapper h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.rc-pseo-wrapper h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.875rem);
  margin-bottom: .75rem;
}

.rc-pseo-wrapper h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.rc-pseo-wrapper p {
  color: var(--text-2);
  margin-bottom: 1rem;
}

.rc-pseo-wrapper p:last-child {
  margin-bottom: 0;
}

.rc-pseo-wrapper a {
  color: var(--brand);
  text-decoration: none;
}

.rc-pseo-wrapper a:hover {
  text-decoration: underline;
}

.rc-pseo-wrapper ul,
.rc-pseo-wrapper ol {
  padding-left: 1.25rem;
  color: var(--text-2);
}

.rc-pseo-wrapper li {
  margin-bottom: .35rem;
}

.rc-pseo-wrapper strong {
  color: var(--text);
  font-weight: 600;
}



/* ── Brand Hero ───────────────────────────────────────────── */
.brand-hero {
  background: var(--brand);
  color: var(--white);
  overflow: hidden;
}

.brand-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 0;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.brand-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  flex: 1;
}

.brand-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 28px;
}

.brand-hero__mockup {
  align-self: end;
}

/* Breadcrumb inside hero */
.breadcrumb--hero,
.breadcrumb--hero a,
.breadcrumb--hero span {
  color: #fff !important;
}

.breadcrumb--hero {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .8rem;
  margin-bottom: 16px;
}

.breadcrumb--hero a {
  text-decoration: none;
  opacity: .72;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.breadcrumb--hero a:hover {
  opacity: 1;
  text-decoration-color: #fff;
}

.breadcrumb--hero span {
  font-weight: 600;
}

.brand-hero__eyebrow {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.brand-hero .brand-hero__title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.brand-hero .brand-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 28px;
  line-height: 1.6;
}

.brand-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.brand-hero__btn {
  display: inline-block;
  background: var(--white);
  color: var(--brand) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform .12s, box-shadow .12s;
  white-space: nowrap;
}

.brand-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.brand-hero__trust {
  font-size: .8rem;
  color: rgba(255, 255, 255, .72);
}

/* Resume mockup */
.brand-hero__mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.resume-mockup {
  width: 380px;
  position: relative;
  transform: rotate(2deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, .28));
}

.resume-mockup__clip {
  height: 280px;
  overflow: hidden;
  position: relative;
  border-radius: 6px 6px 0 0;
}

.resume-doc {
  background: var(--white);
  padding: 28px 28px 0;
  font-family: "Georgia", "Times New Roman", serif;
  border-radius: 6px 6px 0 0;
}

.resume-doc__header {
  border-bottom: 2px solid var(--brand);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.resume-doc__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
  font-family: system-ui, sans-serif;
}

.resume-doc__title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand);
  font-family: system-ui, sans-serif;
  margin-top: 2px;
}

.resume-doc__contact {
  font-size: .68rem;
  color: #888;
  margin-top: 4px;
  font-family: system-ui, sans-serif;
}

.resume-doc__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.resume-doc__skill-pill {
  font-size: .63rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  color: #b83520;
  border-radius: 10px;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}

.resume-doc__section {
  margin-bottom: 12px;
}

.resume-doc__section-label {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #aaa;
  margin-bottom: 6px;
  font-family: system-ui, sans-serif;
  border-bottom: 1px solid #eee;
  padding-bottom: 3px;
}

.resume-doc__summary {
  font-size: .72rem;
  color: #444;
  line-height: 1.55;
  font-family: system-ui, sans-serif;
}

.resume-doc__exp-title {
  font-size: .75rem;
  font-weight: 700;
  color: #222;
  font-family: system-ui, sans-serif;
}

.resume-doc__exp-company {
  font-size: .68rem;
  color: #666;
  margin-bottom: 5px;
  font-family: system-ui, sans-serif;
}

.resume-doc__bullet {
  font-size: .68rem;
  color: #444;
  line-height: 1.5;
  padding-left: 10px;
  position: relative;
  font-family: system-ui, sans-serif;
}

.resume-doc__bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

.resume-mockup__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--brand));
  pointer-events: none;
}

@media (max-width: 900px) {
  .brand-hero__inner {
    grid-template-columns: 1fr;
    padding: 36px 24px 36px;
    min-height: auto;
  }

  .brand-hero__mockup {
    display: none;
  }

  .brand-hero__content {
    padding-bottom: 0;
  }
}

/* ── Page Layout (3-column grid) ──────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr 272px;
  grid-template-areas: "toc main cta";
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  align-items: start;
}

/* ── Left Sidebar — Table of Contents ─────────────────────── */
.sidebar-toc {
  grid-area: toc;
  position: sticky;
  top: 80px;
}

.toc {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.toc__title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.toc__list {
  list-style: none;
  padding: 0;
}

.toc__item {
  margin-bottom: 0;
}

.toc__link {
  display: block;
  padding: 5px 0;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-left: none;
  border-radius: 0;
  transition: color .15s;
}

.toc__link:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toc__link.active {
  color: var(--brand);
  font-weight: 600;
}

/* ── Main Content ─────────────────────────────────────────── */
.main-content {
  grid-area: main;
  min-width: 0;
}

/* ── Right Sidebar — CTA ──────────────────────────────────── */
.sidebar-cta {
  grid-area: cta;
  position: sticky;
  top: 75px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-box {
  background: linear-gradient(135deg, var(--brand) 0%, #FF6B4A 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box .cta-box__eyebrow {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  opacity: 1;
  margin-bottom: 4px;
}

.cta-box .cta-box__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 4px;
}

.cta-box .cta-box__sub {
  font-size: .7rem;
  opacity: .9;
  margin-bottom: 10px;
  color: var(--white);
}

.cta-box__btn {
  display: block;
  background: var(--white);
  color: var(--brand) !important;
  font-weight: 700;
  font-size: .8rem;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: transform .12s, box-shadow .12s;
  margin-bottom: 6px;
}

.cta-box__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.cta-box .cta-box__trust {
  font-size: .6rem;
  opacity: .8;
  color: var(--white);
}

.cta-box--secondary {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box--secondary .cta-box__title {
  color: var(--text);
}

.cta-box--secondary .cta-box__sub {
  color: var(--text-2);
}

.cta-box--secondary .cta-box__btn {
  background: var(--brand);
  color: var(--white) !important;
}

.cta-box--secondary .cta-box__eyebrow {
  color: var(--brand);
}

@media (max-height: 600px) {
  .sidebar-cta .cta-box:nth-child(3) {
    display: none;
  }
}

@media (max-height: 480px) {
  .sidebar-cta .cta-box:nth-child(2) {
    display: none;
  }
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  font-size: .82rem;
  color: var(--text-3);
  margin-bottom: 28px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-3);
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-2);
  font-weight: 500;
}

/* ── Sections — shared ────────────────────────────────────── */
section {
  margin-bottom: 48px;
}

section:last-child {
  margin-bottom: 0;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.hero__eyebrow,
.hero__badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--brand);
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.hero__title {
  margin-bottom: 14px;
}

.hero__subtitle {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

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

.hero__stat {
  text-align: center;
  background: rgba(237, 78, 52, 0.06);
  border: 1px solid rgba(237, 78, 52, 0.18);
  border-radius: 10px;
  padding: 16px 12px;
}

.hero__stat-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.hero__stat-label {
  font-size: .76rem;
  color: var(--text-3);
  line-height: 1.3;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero__cta-note {
  font-size: .8rem;
  color: var(--text-3);
  margin: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s, transform .12s, box-shadow .12s;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn--primary {
  background: var(--brand);
  color: var(--white) !important;
  padding: 13px 22px;
  font-size: .95rem;
}

.btn--secondary {
  background: var(--white);
  color: var(--brand) !important;
  border: 2px solid var(--brand);
  padding: 11px 20px;
  font-size: .92rem;
}

.btn--linkedin {
  background: #0A66C2;
  color: var(--white) !important;
  padding: 13px 22px;
  font-size: .95rem;
}

.btn--large {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn--xl {
  padding: 17px 32px;
  font-size: 1.05rem;
}

.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 68, 42, .35);
}

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

.btn--linkedin:hover {
  background: #084F96;
}

/* ── Problem section ──────────────────────────────────────── */
.problem {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.problem__intro {
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.problem__cards {
  display: grid;
  gap: 0;
}

.problem__card {
  background: transparent;
  border: none;
  border-bottom: 1px solid #D1D5DB;
  border-radius: 0;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  gap: 5px 12px;
  align-items: start;
}

.problem__card:last-child {
  border-bottom: none;
}

.problem__card-icon {
  font-size: 1.2rem;
  grid-column: 1;
  grid-row: 1;
  padding-top: 1px;
}

.problem__card h3 {
  font-size: 1rem;
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1;
}

.problem__card p {
  font-size: .9rem;
  margin: 0;
  grid-column: 2;
  grid-row: 2;
}

/* ── Keywords section ─────────────────────────────────────── */
.keywords {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.keywords__intro {
  margin-bottom: 24px;
}

.keywords__grid {
  display: grid;
  gap: 24px;
}

.keyword-group {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.keyword-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.keyword-group__count {
  font-size: .75rem;
  color: var(--text-3);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 10px;
}

.keyword-group__desc,
.keyword-group__note {
  font-size: .88rem;
  margin-bottom: 12px;
}

.keyword-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.keyword-tag--critical {
  background: #FFF4F2;
  border-color: #FCDDD8;
  color: #E8442A;
  font-weight: 600;
}

.keyword-tag--important {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #B45309;
}

.keyword-tag--nice {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #16A34A;
}

.keyword-tag--soft {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E40AF;
}

.keyword-tag--tool {
  background: #F5F3FF;
  border-color: #DDD6FE;
  color: #5B21B6;
}

.keyword-tag--verb {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #9A3412;
  font-style: italic;
}

.keyword-tag--cert {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}

.keyword-badge {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--brand);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
}

.keyword-badge--must {
  background: var(--brand);
}

.keyword-group__tier-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.tier-label {
  font-size: .78rem;
  color: var(--text-3);
}

.tier-label--critical {
  color: #E8442A;
}

.tier-label--important {
  color: #B45309;
}

.tier-label--nice {
  color: #16A34A;
}

.keywords__cta-box {
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.keywords__cta-box p {
  margin: 0;
  font-size: .92rem;
}

/* ── How it works ─────────────────────────────────────────── */
.how-it-works {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  position: relative;
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* Dashed connector spanning the gap between cards */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 37px;
  /* padding-top (20px) + half circle (18px) - 1px */
  right: -13px;
  /* center in the 12px gap */
  width: 14px;
  height: 0;
  border-top: 2px dashed var(--border);
  background: transparent;
  z-index: 2;
}

.step__number {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 14px;
}

.step h3 {
  font-size: .92rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

.step p {
  font-size: .83rem;
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}

/* Mobile: collapse back to vertical */
@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step__number {
    margin-bottom: 0;
  }
}

/* ── Mistakes ─────────────────────────────────────────────── */
.mistakes {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.mistakes__list {
  display: grid;
  gap: 0;
}

.mistake__item {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
}

.mistake__item:last-child {
  border-bottom: none;
}

.mistake__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.mistake__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mistake__header h3 {
  font-size: .98rem;
  margin: 0;
}

.mistake__fix {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .88rem;
  color: #15803D;
  margin-top: 10px;
}

.mistake__fix-label {
  font-weight: 700;
  margin-right: 4px;
}

/* ── LinkedIn upsell (resume page) ───────────────────────── */
.linkedin-section {
  background: linear-gradient(135deg, #0A66C2 0%, #1A7FE0 100%);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.linkedin-section h2,
.linkedin-section h3 {
  color: var(--white);
}

.linkedin-section p {
  color: rgba(255, 255, 255, .9);
}

.linkedin-section strong {
  color: var(--white);
}

.linkedin-section .btn {
  background: var(--white);
  color: #0A66C2 !important;
}

.linkedin-section .btn:hover {
  background: rgba(255, 255, 255, .88);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

.linkedin-section__badge {
  display: inline-block;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.linkedin-section__tips {
  margin: 20px 0;
}

.linkedin-section__tips ul {
  color: rgba(255, 255, 255, .9);
}

.linkedin-section__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}

.linkedin-comparison__before,
.linkedin-comparison__after {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 14px;
}

.comparison__label {
  font-size: .78rem;
  font-weight: 700;
  opacity: .8;
  margin-bottom: 6px;
  display: block;
}

.comparison__example {
  font-size: .88rem;
  margin: 0;
  color: var(--white);
}

/* ── Social proof ─────────────────────────────────────────── */
.social-proof {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.social-proof--mini {
  padding: 0;
}

.testimonials {
  display: grid;
  gap: 0;
  margin-bottom: 28px;
}

.testimonials--mini {
  margin-bottom: 0;
}

.testimonial {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
}

.testimonial:last-child {
  border-bottom: none;
}

.testimonial__stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 8px;
}

.testimonial__quote {
  font-size: .9rem;
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial__author strong {
  font-size: .9rem;
}

.testimonial__author span {
  font-size: .82rem;
  color: var(--text-3);
  display: block;
}

.proof-numbers {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-number strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
}

.proof-number span {
  font-size: .82rem;
  color: var(--text-3);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.faq__list {
  display: grid;
  gap: 0;
}

.faq__item {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__item h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.faq__item p {
  font-size: .9rem;
  margin: 0;
}

/* ── Related links ────────────────────────────────────────── */
.related {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.related__link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .88rem;
  color: var(--text-2);
  text-decoration: none;
  transition: background .12s, color .12s, border-color .12s;
}

.related__link:hover,
.related__link--primary {
  background: var(--brand-light);
  border-color: #FCDDD8;
  color: var(--brand);
  text-decoration: none;
}

.related__cluster h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.related__cluster ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.related__cluster li {
  margin: 0;
}

.related__cluster a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--text-2);
  text-decoration: none;
}

.related__cluster a:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: #FCDDD8;
  text-decoration: none;
}

/* ── ATS Resume Template Section ─────────────────────────── */
.resume-template-section {
  padding: 0;
}

.resume-template-section>h2 {
  margin-bottom: 6px;
}

.resume-template-section__intro {
  font-size: .88rem;
  color: var(--text-3);
  margin-bottom: 24px;
}

.resume-template-doc {
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  background: var(--white);
  padding: 36px 40px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.65;
  color: #1a1a1a;
}

/* Contact header */
.rtdoc__header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a1a1a;
}

.rtdoc__name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  font-family: system-ui, sans-serif;
  color: #111;
  margin-bottom: 5px;
}

.rtdoc__contact {
  font-size: .75rem;
  color: #555;
  font-family: system-ui, sans-serif;
  letter-spacing: .01em;
}

.rtdoc__contact span {
  margin: 0 6px;
  color: #bbb;
}

/* Section blocks */
.rtdoc__section {
  margin-bottom: 18px;
}

.rtdoc__section:last-child {
  margin-bottom: 0;
}

.rtdoc__section-title {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #888;
  font-family: system-ui, sans-serif;
  border-bottom: 1px solid #D1D5DB;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

/* Summary */
.rtdoc__summary {
  margin: 0;
  font-size: .86rem;
}

.rtdoc__summary em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

/* Jobs */
.rtdoc__job {
  margin-bottom: 14px;
}

.rtdoc__job:last-child {
  margin-bottom: 0;
}

.rtdoc__job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
}

.rtdoc__job-header strong {
  font-size: .88rem;
  color: #111;
}

.rtdoc__job-header span {
  font-size: .75rem;
  color: #777;
  white-space: nowrap;
}

.rtdoc__bullets {
  margin: 0;
  padding-left: 16px;
}

.rtdoc__bullets li {
  font-size: .84rem;
  color: #333;
  margin-bottom: 4px;
}

.rtdoc__bullets li:last-child {
  margin-bottom: 0;
}

.rtdoc__bullets li em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

/* Skills */
.rtdoc__skills-grid {
  display: grid;
  gap: 6px;
  font-family: system-ui, sans-serif;
  font-size: .84rem;
}

.rtdoc__skills-grid strong {
  color: #111;
}

/* Certs */
.rtdoc__certs {
  margin: 0;
  padding-left: 16px;
  font-family: system-ui, sans-serif;
  font-size: .84rem;
}

.rtdoc__certs li {
  margin-bottom: 3px;
  color: #333;
}

/* Education */
.rtdoc__edu {
  font-family: system-ui, sans-serif;
  font-size: .84rem;
  color: #333;
}

.rtdoc__edu strong {
  color: #111;
}

/* CTA below template */
.resume-template__cta {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-3);
}

.resume-template__cta a {
  color: var(--brand);
  font-weight: 600;
}

/* Placeholder highlight */
.placeholder {
  color: #9CA3AF;
  font-style: italic;
  font-family: system-ui, sans-serif;
  font-size: .82rem;
}

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #FF6B4A 100%);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.final-cta h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.final-cta p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.final-cta .btn--primary {
  background: var(--white);
  color: var(--brand) !important;
  font-size: 1.05rem;
  padding: 16px 32px;
}

.final-cta .btn--primary:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.final-cta__trust {
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
  margin-top: 14px;
}

/* ── LinkedIn template — specific ─────────────────────────── */
.why-linkedin {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.why-linkedin__points {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.why-point {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.why-point h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-point p {
  font-size: .9rem;
  margin: 0;
}

.linkedin-keywords {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.linkedin-keywords__intro {
  margin-bottom: 24px;
}

.linkedin-section-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  background: var(--bg);
}

.linkedin-section-block:last-child {
  margin-bottom: 0;
}

.linkedin-section-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.linkedin-section-block__header h3 {
  font-size: 1rem;
  margin: 0;
}

.importance-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.importance-badge--high {
  background: #FEF3C7;
  color: #92400E;
}

.importance-badge--medium {
  background: #DBEAFE;
  color: #1E40AF;
}

.headline-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.headline-example {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.headline-example--bad {
  background: #FEF2F2;
  border-color: #FECACA;
}

.headline-example--good {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.example-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-3);
  display: block;
  margin-bottom: 6px;
}

.headline-example--bad .example-label {
  color: #DC2626;
}

.headline-example--good .example-label {
  color: #16A34A;
}

.headline-example p {
  font-size: .88rem;
  margin: 0;
  color: var(--text);
  font-style: italic;
}

.about-template {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 14px 0;
}

.about-template h4 {
  font-size: .82rem;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 6px;
}

.about-template blockquote {
  font-size: .88rem;
  font-style: italic;
  color: var(--text-2);
  border: none;
  margin: 0;
  padding: 0;
}

.skills-priority {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.skills-group h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.skills-group ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  margin: 0;
}

.skill-tag--primary {
  background: var(--brand-light);
  border-color: #FCDDD8;
  color: var(--brand-dark);
  font-weight: 600;
}

.skill-tag--optional {
  background: var(--bg);
  color: var(--text-3);
}

.bullet-template {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 14px;
}

.bullet-template h4 {
  font-size: .82rem;
  color: var(--text-3);
  margin-bottom: 8px;
}

.bullet-template__formula {
  font-size: .88rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.bullet-example {
  font-size: .88rem;
  color: var(--text-2);
  margin-bottom: 6px;
}

.bullet-example:last-child {
  margin-bottom: 0;
}

.checklist {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.checklist__sections {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.checklist__group {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.checklist__group h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.checklist__list {
  list-style: none;
  padding: 0;
}

.checklist__list li {
  font-size: .9rem;
  color: var(--text-2);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.checklist__list li:last-child {
  border-bottom: none;
}

.combined-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.combined-cta__features {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.feature {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.feature--result {
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  border-radius: 8px;
  padding: 16px 12px;
}

.feature__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.feature h3 {
  font-size: .88rem;
  margin-bottom: 4px;
}

.feature p {
  font-size: .78rem;
  margin: 0;
}

.feature--plus,
.feature--equals {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-3);
  flex: 0;
  padding: 0 4px;
}

/* ── Keywords template — specific ─────────────────────────── */
.explainer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.explainer__intro {
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.explainer__steps {
  display: grid;
  gap: 16px;
}

.explainer__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
}

.explainer__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}

.explainer__step h3 {
  font-size: .98rem;
  margin-bottom: 4px;
}

.explainer__step p {
  font-size: .88rem;
  margin: 0;
}

.usage-guide {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.usage-guide__intro {
  margin-bottom: 24px;
}

.placement-grid {
  display: grid;
  gap: 16px;
}

.placement-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.placement-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.placement-section__header h3 {
  font-size: 1rem;
  margin: 0;
}

.placement-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.placement-badge--high {
  background: #FEF3C7;
  color: #92400E;
}

.placement-badge--medium {
  background: #DBEAFE;
  color: #1E40AF;
}

.placement-example {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 12px;
}

.placement-example__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 4px;
}

.placement-example__text {
  font-size: .88rem;
  font-style: italic;
  color: var(--text-2);
  margin: 0;
}

.placement-tip {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .85rem;
  color: #1E40AF;
  margin-top: 10px;
}

.optimizer-cta {
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  border-radius: var(--radius);
  padding: 36px;
}

.optimizer-cta__inner {
  max-width: 600px;
}

.optimizer-cta__features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.optimizer-cta__features li {
  font-size: .92rem;
  color: var(--text-2);
  padding: 4px 0;
}

.optimizer-cta__note {
  font-size: .8rem;
  color: var(--text-3);
  margin-top: 10px;
}

/* ── Resume Summary Examples — CSS tabs ──────────────────── */
.summary-examples {
  padding: 0;
}

.summary-examples__intro {
  margin-bottom: 20px;
}

.summary-tab__input {
  display: none;
}

.summary-tab__labels {
  display: flex;
  border-bottom: 2px solid var(--border);
}

.summary-tab__label {
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}

.summary-tab__label:hover {
  color: var(--brand);
}

.summary-tab__panels {}

.summary-tab__panel {
  display: none;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.summary-tab__text {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.summary-cta-hint {
  margin-top: 16px;
  padding: 12px 18px;
  background: #F3F4F6;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--text-2);
}

#stab-0:checked~.summary-tab__labels label:nth-child(1),
#stab-1:checked~.summary-tab__labels label:nth-child(2),
#stab-2:checked~.summary-tab__labels label:nth-child(3) {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

#stab-0:checked~.summary-tab__panels .summary-tab__panel:nth-child(1),
#stab-1:checked~.summary-tab__panels .summary-tab__panel:nth-child(2),
#stab-2:checked~.summary-tab__panels .summary-tab__panel:nth-child(3) {
  display: block;
}

/* ── Resume Bullet Examples ───────────────────────────────── */
.bullet-examples {
  padding: 0;
}

.bullet-examples__intro {
  margin-bottom: 24px;
}

.bullet-examples__list {
  display: grid;
  gap: 16px;
}

.bullet-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bullet-pair__weak,
.bullet-pair__strong {
  padding: 18px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-pair__weak {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.bullet-pair__strong {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.bullet-pair__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bullet-pair__weak .bullet-pair__label {
  color: #DC2626;
}

.bullet-pair__strong .bullet-pair__label {
  color: #16A34A;
}

.bullet-pair__weak p {
  font-size: .9rem;
  margin: 0;
  color: #7F1D1D;
  line-height: 1.65;
}

.bullet-pair__strong p {
  font-size: .9rem;
  margin: 0;
  color: #14532D;
  line-height: 1.65;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 200px 1fr;
    grid-template-areas: "toc main" ". cta";
  }

  .sidebar-cta {
    grid-area: cta;
    position: static;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-hero__inner {
    padding: 24px 16px 28px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "toc" "cta";
    padding: 20px 16px 60px;
    gap: 20px;
  }

  .sidebar-toc {
    position: static;
  }

  .sidebar-cta {
    position: static;
  }

  .hero {
    padding: 28px 20px;
  }

  .hero__stats {
    gap: 16px;
  }

  .linkedin-section__comparison,
  .headline-examples {
    grid-template-columns: 1fr;
  }

  .combined-cta__features {
    flex-direction: column;
  }

  .final-cta {
    padding: 36px 24px;
  }

  .keywords__cta-box {
    flex-direction: column;
  }

  .bullet-pair {
    grid-template-columns: 1fr;
  }

  .summary-tab__label {
    padding: 8px 14px;
    font-size: .82rem;
  }
}