/* ============================================================
   SmartRecruiters Business Case — page styles
   Built on the HRIZONS design tokens (tokens.css).
   ============================================================ */

body {
  background: var(--hrz-paper);
  overflow-x: hidden;
}

a { color: var(--hrz-orange); text-decoration: none; }
a:hover { color: var(--hrz-orange-deep); }

input, select, textarea { font-family: var(--hrz-font-body); }

.page { font-family: var(--hrz-font-body); color: var(--hrz-graphite); }

.wrap {
  max-width: var(--hrz-container);
  margin: 0 auto;
  padding: 0 var(--hrz-gutter);
}

/* ---------- Reveal-on-scroll base state ---------- */
.reveal { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
.reveal-scale { opacity: 0; transform: scale(.94); will-change: transform, opacity; }
.no-gsap .reveal,
.no-gsap .reveal-scale { opacity: 1 !important; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hrz-mist);
  transition: box-shadow var(--hrz-dur-base) var(--hrz-ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 8px 24px rgba(15,27,45,.06); }

.site-header__inner {
  padding: 14px var(--hrz-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo { width: 150px; height: auto; display: block; }

.site-header__nav { display: flex; align-items: center; gap: 28px; }

.site-header__link {
  font-size: 14px;
  color: var(--hrz-slate);
  letter-spacing: .02em;
}
.site-header__link:hover { color: var(--hrz-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hrz-font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: var(--hrz-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--hrz-dur-fast) var(--hrz-ease-out),
              color var(--hrz-dur-fast) var(--hrz-ease-out),
              border-color var(--hrz-dur-fast) var(--hrz-ease-out),
              transform var(--hrz-dur-fast) var(--hrz-ease-out);
}
.btn--sm { padding: 13px 22px; font-size: 14px; }

.btn--primary { background: var(--hrz-orange); color: var(--hrz-paper); }
.btn--primary:hover { background: var(--hrz-orange-deep); color: var(--hrz-paper); }

.btn--ghost { background: transparent; color: var(--hrz-ink); border-color: var(--hrz-ink); }
.btn--ghost:hover { background: var(--hrz-ink); color: var(--hrz-paper); }

.btn--ink { background: var(--hrz-ink); color: var(--hrz-paper); border: 0; }
.btn--ink:hover { background: var(--hrz-graphite); color: var(--hrz-paper); }

.btn--full { width: 100%; justify-content: center; }

.link--underline {
  display: inline-block;
  font-size: 16px;
  color: var(--hrz-orange);
  border-bottom: 1px solid currentColor;
}
.link--underline:hover { color: var(--hrz-orange-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hrz-bone);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: -320px;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: var(--hrz-sunrise);
  opacity: .16;
  filter: blur(30px);
  border-radius: 50%;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  padding: 88px var(--hrz-gutter) 72px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-family: var(--hrz-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hrz-orange);
}
.hero__title {
  margin: 20px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--hrz-ink);
  text-wrap: balance;
}
.hero__sub {
  margin: 24px 0 0;
  font-family: var(--hrz-font-italic);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--hrz-graphite);
  max-width: 34ch;
  text-wrap: pretty;
}
.hero__body {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 58ch;
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { margin-top: 22px; font-size: 14px; color: var(--hrz-slate); }

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--hrz-radius-md);
  box-shadow: var(--hrz-shadow-card);
  display: block;
}
.hero__badge-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: var(--hrz-navy);
  color: var(--hrz-on-navy);
  padding: 22px 26px;
  border-radius: var(--hrz-radius-md);
  box-shadow: var(--hrz-shadow-lift);
  max-width: 260px;
}
.hero__badge-card img { width: 150px; height: auto; display: block; margin-bottom: 14px; }
.hero__badge-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hrz-on-navy-soft); }

.hero__scroll { display: flex; justify-content: center; padding-bottom: 40px; }
.hero__scroll img { width: 14px; height: 42px; opacity: .24; }

/* ---------- Navy quote section ---------- */
.quote-section { background: var(--hrz-navy); color: var(--hrz-on-navy); }
.quote-section__inner { max-width: 980px; margin: 0 auto; padding: 84px var(--hrz-gutter); text-align: center; }
.quote-section .eyebrow { color: var(--hrz-orange-glow); }
.quote-section__headline {
  margin: 26px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--hrz-paper);
  text-wrap: balance;
}
.quote-section__sub {
  margin: 22px 0 0;
  font-family: var(--hrz-font-italic);
  font-style: italic;
  font-size: 22px;
  line-height: 1.6;
  color: var(--hrz-on-navy-soft);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

/* ---------- Why acting early ---------- */
.why-early { padding: 96px var(--hrz-gutter) 0; }
.why-early__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.why-early__title {
  margin: 20px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--hrz-ink);
  text-wrap: balance;
}
.why-early__body { margin: 22px 0 0; font-size: 18px; line-height: 1.6; max-width: 52ch; text-wrap: pretty; }
.why-early__quote {
  margin: 20px 0 0;
  font-family: var(--hrz-font-italic);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--hrz-graphite);
  max-width: 46ch;
  text-wrap: pretty;
}
.why-early__photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--hrz-radius-md);
  margin-top: 40px;
  display: block;
}

.risk-card { background: var(--hrz-bone); border-radius: var(--hrz-radius-md); padding: 40px; }
.risk-card__title { font-family: var(--hrz-font-display); font-weight: 600; font-size: 18px; color: var(--hrz-ink); }
.risk-list { display: grid; gap: 0; margin-top: 22px; }
.risk-list__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--hrz-mist);
  font-size: 17px;
  color: var(--hrz-graphite);
}
.risk-list__item:last-child { border-bottom: 1px solid var(--hrz-mist); }
.risk-list__dash { color: var(--hrz-orange); font-weight: 700; }
.risk-card .link--underline { margin-top: 28px; }

.hrz-horizon-rule { max-width: var(--hrz-container); margin: 96px auto; }

/* ---------- Four reasons ---------- */
.reasons { max-width: var(--hrz-container); margin: 0 auto; padding: 0 var(--hrz-gutter); }
.reasons__intro { max-width: 720px; }
.reasons__title {
  margin: 20px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--hrz-ink);
  text-wrap: balance;
}
.reasons__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.reason-card { border-top: 3px solid var(--hrz-ink); padding-top: 28px; }
.reason-card__num { font-family: var(--hrz-font-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--hrz-orange); }
.reason-card__title { margin: 14px 0 0; font-family: var(--hrz-font-display); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--hrz-ink); }
.reason-card__body { margin: 16px 0 0; font-size: 17px; line-height: 1.6; text-wrap: pretty; }

/* ---------- Guide section ---------- */
.guide { background: var(--hrz-bone); margin-top: 96px; }
.guide__inner {
  max-width: var(--hrz-container);
  margin: 0 auto;
  padding: 88px var(--hrz-gutter);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.guide__cover { width: 100%; height: auto; border-radius: var(--hrz-radius-sm); box-shadow: var(--hrz-shadow-lift); display: block; }
.guide__title {
  margin: 20px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--hrz-ink);
  text-wrap: balance;
}
.guide__sub {
  margin: 20px 0 0;
  font-family: var(--hrz-font-italic);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--hrz-graphite);
  max-width: 50ch;
  text-wrap: pretty;
}
.guide__list { display: grid; gap: 14px; margin-top: 32px; }
.guide__list-item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 17px; line-height: 1.5; }
.guide__list-item span:first-child { color: var(--hrz-orange); font-weight: 700; }
.guide__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.guide__meta { font-size: 14px; color: var(--hrz-slate); }

/* ---------- Assessment / form ---------- */
.assessment { background: var(--hrz-paper); }
.assessment__inner {
  max-width: var(--hrz-container);
  margin: 0 auto;
  padding: 96px var(--hrz-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.assessment__title {
  margin: 20px 0 0;
  font-family: var(--hrz-font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--hrz-ink);
  text-wrap: balance;
}
.assessment__sub {
  margin: 22px 0 0;
  font-family: var(--hrz-font-italic);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--hrz-graphite);
  max-width: 46ch;
  text-wrap: pretty;
}
.steps { display: grid; gap: 24px; margin-top: 40px; max-width: 44ch; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 18px; }
.step__num {
  width: 34px; height: 34px;
  border: 1px solid var(--hrz-ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--hrz-font-display);
  font-weight: 700; font-size: 15px; color: var(--hrz-ink);
}
.step__title { font-family: var(--hrz-font-display); font-weight: 600; font-size: 18px; color: var(--hrz-ink); }
.step__body { font-size: 16px; line-height: 1.55; color: var(--hrz-slate); }

.badge-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hrz-mist);
}
.badge-row img { height: 54px; width: auto; display: block; }

.form-panel { background: var(--hrz-bone); border-radius: var(--hrz-radius-md); padding: 40px; box-shadow: var(--hrz-shadow-sm); }
.form-panel__title { font-family: var(--hrz-font-display); font-weight: 700; font-size: 24px; color: var(--hrz-ink); }
.form-panel__intro { margin-top: 8px; font-size: 16px; color: var(--hrz-slate); }

.form-grid { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field span {
  font-family: var(--hrz-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hrz-slate);
}
.field input, .field select {
  height: 46px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--hrz-ink);
  background: var(--hrz-paper);
  border: 1px solid var(--hrz-mist);
  border-radius: var(--hrz-radius-sm);
}
.field textarea {
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hrz-ink);
  background: var(--hrz-paper);
  border: 1px solid var(--hrz-mist);
  border-radius: var(--hrz-radius-sm);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--hrz-orange);
  box-shadow: 0 0 0 3px rgba(232,109,31,.14);
}
.form-disclaimer { font-size: 13px; line-height: 1.5; color: var(--hrz-fog); }

.thanks-panel { display: none; gap: 18px; padding: 40px 0; }
.thanks-panel.is-visible { display: grid; }
.thanks-panel__title { font-family: var(--hrz-font-display); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--hrz-ink); }
.thanks-panel__body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--hrz-graphite); max-width: 42ch; }
.thanks-panel .btn { justify-self: start; }

.sunburst {
  width: 90px;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  clip-path: inset(0 0 50% 0);
  background: var(--hrz-sunrise);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--hrz-navy); color: var(--hrz-on-navy); }
.site-footer__grid {
  max-width: var(--hrz-container);
  margin: 0 auto;
  padding: 72px var(--hrz-gutter) 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
}
.site-footer__logo { width: 170px; height: auto; display: block; }
.site-footer__blurb { margin: 22px 0 0; font-size: 15px; line-height: 1.6; color: var(--hrz-on-navy-soft); max-width: 44ch; }
.site-footer__col { display: grid; gap: 10px; align-content: start; }
.site-footer__col .eyebrow { color: var(--hrz-orange-glow); }
.site-footer__col a { font-size: 15px; color: var(--hrz-on-navy); }
.site-footer__col a:hover { color: var(--hrz-orange-glow); }

.site-footer__bottom { max-width: var(--hrz-container); margin: 0 auto; padding: 0 var(--hrz-gutter) 48px; }
.site-footer__rule {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(232,236,242,.4) 18%, rgba(232,236,242,.4) 82%, transparent 100%);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--hrz-on-navy-soft);
}
.site-footer__legal-links { display: flex; gap: 24px; }
.site-footer__legal-links a { color: var(--hrz-on-navy-soft); }
.site-footer__legal-links a:hover { color: var(--hrz-orange-glow); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid,
  .why-early__grid,
  .guide__inner,
  .assessment__inner { grid-template-columns: 1fr; }

  .hero__grid { padding-top: 56px; }
  .hero__media { order: -1; }
  .hero__badge-card { left: 0; }

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

  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 40px; }
  .why-early__title, .assessment__title { font-size: 34px; }
  .reasons__title, .guide__title { font-size: 30px; }
  .quote-section__headline { font-size: 28px; }
  .hero__sub, .why-early__quote, .assessment__sub, .guide__sub { font-size: 18px; }
  .site-header__link { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero__badge-card { position: static; margin-top: -40px; max-width: none; }
  .risk-card, .form-panel { padding: 28px; }
}
