/* Resume incubator landing — same hero rhythm as interview trainer */

body.landing-resume-incubator .resume-incubator-hero .landing-hero__copy {
  padding-top: 0;
}

body.landing-resume-incubator .resume-incubator-hero .career-hub-hero__h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  white-space: pre-line;
  font-size: var(--home-type-h1, clamp(2.5rem, 5.5vw, 4rem));
}

body.landing-resume-incubator .resume-incubator-landing .courses-landing-hero__lead {
  margin-bottom: 1.25rem;
  font-size: var(--home-type-lead, clamp(1.125rem, 2.2vw, 1.35rem));
  line-height: 1.6;
}

body.landing-resume-incubator .resume-incubator-hero__actions {
  justify-content: flex-start;
  margin-bottom: 0;
}

body.landing-resume-incubator .resume-incubator-hero .career-hub-hero__trust {
  margin-top: 1.15rem;
}

.resume-incubator-landing .home-landing__grid-bg {
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.resume-incubator-section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
}

body.landing-resume-incubator #resume-incubator-benefits-title {
  max-width: none;
}

@media (min-width: 992px) {
  body.landing-resume-incubator #resume-incubator-benefits-title {
    white-space: nowrap;
  }
}

/* Same full-width titles/subs as career-hub / career-test (override .career-hub-section-title 40rem). */
body.landing-resume-incubator .career-hub-flow .home-section-title.career-hub-section-title {
  margin-bottom: clamp(1.35rem, 3.2vw, 2rem);
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.landing-resume-incubator .career-hub-flow .career-hub-section-sub {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: clamp(1.35rem, 3.2vw, 2rem);
}

/* --- Free tool / billing clarity --- */
.resume-incubator-free {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.resume-incubator-free__panel.home-compare {
  max-width: none;
  margin: 0;
  grid-template-columns: 1fr;
}

.resume-incubator-free__col {
  text-align: left;
}

.resume-incubator-free__col .career-hub-step-head > .muted {
  font-size: 0.85rem;
}

.resume-incubator-free__col .career-hub-step-head > h2 {
  margin: 0;
  min-width: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--home-text);
}

/* Beat .home-compare__col > p:not(.muted) { margin: 0 } (0,2,1). */
.home-compare__col.resume-incubator-free__col > p.resume-incubator-free__lead {
  margin: 0;
  padding-bottom: 1.15rem;
  max-width: none;
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.55;
  color: var(--home-muted);
}

.resume-incubator-free__points {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.resume-incubator-free__points li {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.9rem 0.75rem 2.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.55;
  color: var(--home-muted);
}

.resume-incubator-free__points li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #5eead4, #22d3ee);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
}

.resume-incubator-free__note {
  margin: 1.15rem 0 0;
  max-width: none;
  font-size: var(--home-type-body, 1.0625rem);
  line-height: 1.55;
  color: var(--home-muted);
}

/* Beat .home-compare__col > p:not(.muted) { margin: 0 }. */
.home-compare__col.resume-incubator-free__col > p.resume-incubator-free__note {
  margin: 1.15rem 0 0;
}

@media (min-width: 768px) {
  .home-compare__col.resume-incubator-free__col > p.resume-incubator-free__note {
    margin-top: 2rem;
  }
}

.resume-incubator-free__note a {
  color: rgba(45, 212, 191, 0.95);
  font-weight: 600;
  text-decoration: none;
}

.resume-incubator-free__note a:hover,
.resume-incubator-free__note a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .resume-incubator-free {
    padding-top: clamp(2.25rem, 6vw, 3.1rem);
    padding-bottom: clamp(2.75rem, 7vw, 3.75rem);
  }

  .resume-incubator-free__col .career-hub-step-head {
    gap: 0.5rem;
  }

  .resume-incubator-free__col .career-hub-step-head > .muted {
    min-width: 1.55rem;
    height: 1.55rem;
    font-size: 0.72rem;
  }

  .resume-incubator-free__col .career-hub-step-head > h2 {
    font-size: clamp(1.02rem, 4.55vw, 1.2rem);
    letter-spacing: -0.035em;
    white-space: nowrap;
  }

  .home-compare__col.resume-incubator-free__col > p.resume-incubator-free__lead {
    margin: 0;
    padding-bottom: 1.25rem;
  }

  .resume-incubator-free__panel.home-compare .resume-incubator-free__points {
    padding-left: 0;
    padding-right: 0;
    margin: 0 0 1.35rem;
    gap: 0.85rem;
    width: 100%;
  }

  .resume-incubator-free__points li {
    width: 100%;
    box-sizing: border-box;
  }

  .home-compare__col.resume-incubator-free__col > p.resume-incubator-free__note {
    margin-top: 1.55rem;
  }
}

.resume-incubator-landing .career-hub-cta__actions .home-btn-primary,
.resume-incubator-landing .career-hub-cta__actions .home-btn-ghost,
.resume-incubator-landing .career-hub-hero__actions .home-btn-primary,
.resume-incubator-landing .career-hub-hero__actions .home-btn-ghost {
  text-decoration: none;
}

.resume-incubator-landing .career-hub-cta__strip p {
  max-width: none;
}

/* --- Hero cabinet mock --- */
body.landing-resume-incubator .landing-hero__media .home-hero-stage--resume {
  position: relative;
  z-index: 1;
  height: var(--home-hero-visual-h, 30.25rem);
  pointer-events: none;
}

.home-hero-stage--resume .ri-toolbar {
  justify-content: flex-start;
  gap: 0.45rem;
}

.home-hero-stage--resume .ri-export {
  margin-left: auto;
  gap: 0.35rem;
}

.home-hero-stage--resume .ri-export.is-pulse {
  animation: ri-hero-pulse 0.9s ease-in-out infinite;
}

.home-hero-stage--resume .ri-workspace {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.home-hero-stage--resume .ri-editor {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  min-height: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  overflow: hidden;
}

.home-hero-stage--resume .ri-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.home-hero-stage--resume .ri-field {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.home-hero-stage--resume .ri-field__label {
  font-size: 0.58rem;
  font-weight: 650;
  color: #9ca3af;
}

.home-hero-stage--resume .ri-field__input {
  display: block;
  min-height: 1.55rem;
  padding: 0.22rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: transparent;
  font-size: 0.68rem;
  line-height: 1.35;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-hero-stage--resume .ri-field--area .ri-field__input {
  min-height: 2.4rem;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-hero-stage--resume .ri-field.is-on .ri-field__input {
  color: #e2e8f0;
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.home-hero-stage--resume .ri-print {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  z-index: 4;
  box-sizing: border-box;
  width: min(72%, 15.75rem);
  aspect-ratio: 210 / 297;
  height: auto;
  overflow: hidden;
  padding: 8.5% 9% 7%;
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
  color: #111;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
  transform: translate(-50%, 112%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.32, 1);
}

.home-hero-stage--resume.is-print .ri-print {
  transform: translate(-50%, 14%);
}

.home-hero-stage--resume .ri-print__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: start;
  margin: 0 0 0.5rem;
  text-align: left;
}

.home-hero-stage--resume .ri-print__identity {
  min-width: 0;
}

.home-hero-stage--resume .ri-print__name {
  margin: 0 0 0.08rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.home-hero-stage--resume .ri-print__role {
  margin: 0 0 0.28rem;
  font-size: 0.52rem;
  line-height: 1.3;
  color: #222;
}

.home-hero-stage--resume .ri-print__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.06rem;
}

.home-hero-stage--resume .ri-print__contacts li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.28rem;
  align-items: baseline;
  font-size: 0.46rem;
  line-height: 1.3;
}

.home-hero-stage--resume .ri-print__contact-label {
  font-weight: 700;
  color: #111;
}

.home-hero-stage--resume .ri-print__contact-label::after {
  content: ":";
}

.home-hero-stage--resume .ri-print__contact-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
}

.home-hero-stage--resume .ri-print__photo {
  width: 2.45rem;
  height: 3.05rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #d5d8de;
  border-radius: 1px;
  background: #eceef1;
}

.home-hero-stage--resume .ri-print__photo-stub {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-stage--resume .ri-print__section {
  margin-top: 0.38rem;
}

.home-hero-stage--resume .ri-print__section h3 {
  margin: 0 0 0.16rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid #ddd;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
}

.home-hero-stage--resume .ri-print__section p {
  margin: 0;
  font-size: 0.48rem;
  line-height: 1.35;
  color: #222;
  text-align: left;
}

.home-hero-stage--resume .ri-print__item-title {
  margin: 0 0 0.08rem !important;
  font-weight: 700;
  text-align: left !important;
}

@keyframes ri-hero-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.28);
    filter: brightness(1.12);
  }
}

[data-ri-hero-demo]:not(.is-anim) .ri-export.is-pulse {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-stage--resume .ri-print {
    transition: none;
  }

  .home-hero-stage--resume .ri-export.is-pulse {
    animation: none;
  }
}
