/* ============================================
   Should I Quit My Job? Quiz landing page
   The quiz itself is built in ConvertBox. This page
   gets people to click the button that opens it.
   ============================================ */

:root {
  --wine: #b23a48;
  --wine-dark: #8f2e3a;
  --gold: #a68318;
  --gold-dark: #8a6d10;     /* darker gold, used for small gold text so it stays readable */
  --taupe: #d4c2b0;
  --ivory: #f7f1e8;
  --ivory-soft: #fbf8f3;
  --sage: #7f8a66;
  --sage-dark: #66714f;     /* darker sage, used for small sage text */
  --plum: #3e1f2b;
  --charcoal: #333333;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

a { color: var(--wine); }

:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--plum);
}

p + p { margin-top: 1em; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 12px;
  background: var(--wine);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease;
}

.btn:hover { background: var(--wine-dark); }

/* Wide rectangular button at the top of the page */
.btn-lg {
  display: block;
  width: 100%;
  max-width: 520px;
  padding: 26px 36px;
  font-size: 0.95rem;
}

/* Rounded pill buttons further down the page */
.btn-pill {
  padding: 22px 56px;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.35);
}

.btn-pill-lg {
  padding: 30px 80px;
  font-size: 1.45rem;
}

/* ============ 1. HERO ============ */

.hero {
  padding: 56px 0 80px;
  background: var(--ivory);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

/* Photo sits on the left on wide screens, while the headline stays first in the page code */
.hero-photo {
  order: -1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  justify-self: center;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.free-banner {
  padding: 16px 24px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* One h1 holds both lines, so search engines read the full headline */
.hero h1 { margin-top: 44px; }

.h1-kicker {
  display: block;
  color: var(--plum);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 0.9vw + 0.9rem, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
}

.h1-main {
  display: block;
  margin-top: 0.4em;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.4vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-sub {
  max-width: 34em;
  margin: 32px auto 0;
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
}

.underlined {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-wrap {
  position: relative;
  max-width: 520px;
  margin: 48px auto 0;
}

.badge {
  position: absolute;
  top: -40px;
  left: -34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  pointer-events: none;
}

.badge svg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  fill: var(--plum);
  animation: badge-spin 30s linear infinite;
}

.badge-text {
  grid-area: 1 / 1;
  color: var(--ivory-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-14deg);
}

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

/* ============ 2 AND 6. CREDENTIALS ============ */

.creds {
  padding: 64px 0 56px;
  background: #fff;
  text-align: center;
}

.creds-again { padding-top: 72px; padding-bottom: 24px; }

.creds-title {
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: flex-end;
  justify-content: center;
  margin-top: 32px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 260px;
}

.logo-item img {
  width: auto;
  max-width: 200px;
}

.logo-caption {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.8;
  text-align: center;
  text-transform: uppercase;
}

.logo-caption-sage { color: var(--sage-dark); }

/* ============ 3. KIND WORDS ============ */

.kind {
  padding: 110px 24px 96px;
  overflow-x: clip;
  background:
    linear-gradient(90deg, #efede8 0, #efede8 50%, transparent 50%),
    linear-gradient(180deg, #d8c3b6 0%, #8d766c 55%, #3d3131 100%);
}

.kind-card {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  max-width: 840px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 10px 40px rgba(62, 31, 43, 0.14);
}

.kind-title {
  padding: 32px 0;
  border-left: 3px solid #f4ede8;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.kind-body {
  padding: 72px 56px 48px;
  text-align: center;
}

.slide { margin: 0; }

.slide blockquote { margin: 0; }

.slide p {
  color: var(--plum);
  font-size: 1.1rem;
  line-height: 1.75;
}

.slide p + p { margin-top: 1.4em; }

.slide-hook {
  margin-bottom: 24px;
  color: #2b2024;
  font-size: 1.25rem;
  font-weight: 700;
}

.slide strong { font-weight: 700; }

.slide figcaption { margin-top: 32px; }

.slide-name {
  display: block;
  color: var(--plum);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-role {
  display: block;
  margin-top: 8px;
  color: var(--sage-dark);
  font-style: italic;
}

/* Without JavaScript, all three testimonials just stack, each with a small photo */
.slide + .slide { margin-top: 56px; }

.slide-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}

.kind-controls {
  display: none;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
}

.arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 5.5px rgba(255, 255, 255, 0.9);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.arrow:hover { background: var(--gold-dark); }

.arrow svg {
  width: 26px;
  height: 26px;
}

/* JavaScript switches this on: one testimonial at a time, photo in the corner */
.kind.is-enhanced .slide { display: none; }
.kind.is-enhanced .slide.is-active { display: block; }
.kind.is-enhanced .slide + .slide { margin-top: 0; }
.kind.is-enhanced .kind-controls { display: flex; }

.kind.is-enhanced .slide-photo {
  position: absolute;
  top: -56px;
  right: -56px;
  z-index: 2;
  width: 190px;
  height: 190px;
  margin: 0;
  border: 8px solid #fff;
}

/* ============ 4. WHAT YOU GET ============ */

.ready {
  padding: 80px 0 56px;
  background: #fff;
  text-align: center;
}

.ready-line {
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ready h2 {
  max-width: 22em;
  margin: 28px auto 0;
  color: var(--wine);
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.9rem);
  font-weight: 600;
  line-height: 1.25;
}

.ready-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
  margin-top: 64px;
  text-align: left;
}

.ready-photo {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 0.94;
  overflow: hidden;
  border-radius: 40px;
  justify-self: center;
}

.ready-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.checks li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 3px solid #f1eeea;
  color: #555;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-transform: capitalize;
}

.checks li:first-child { padding-top: 0; }

.checks li:last-child { border-bottom: 0; }

.check-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  color: var(--sage);
}

.cta-block {
  margin-top: 36px;
  text-align: center;
}

.assure {
  margin-top: 14px;
  color: #444;
  font-size: 0.85rem;
}

/* Soft beige wave between sections */
.wave-band {
  height: 150px;
  background: #fff;
  line-height: 0;
}

.wave-band svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--ivory);
}

/* ============ 5. ABOUT ============ */

.about {
  padding: 48px 0 110px;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 80px;
  align-items: center;
}

.about-copy {
  max-width: 36em;
  margin-left: auto;
}

.about-eyebrow {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-script {
  margin: 14px 0 32px;
  font-size: clamp(2.2rem, 2.6vw + 1rem, 3.3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
}

.about-copy p {
  color: var(--plum);
  font-size: 1.05rem;
  font-weight: 500;
}

.about-copy p + p { margin-top: 1.4em; }

.about-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.about-photo::before {
  position: absolute;
  inset: 56px -48px -48px 56px;
  z-index: 0;
  background: var(--ivory);
  content: "";
  transform: rotate(3deg);
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 0.75;
  object-fit: cover;
  object-position: center 22%;
}

/* ============ 6. QUALIFICATIONS ============ */

.quals {
  padding: 40px 0 96px;
  background: #fff;
  text-align: center;
}

.quals h2 {
  font-size: clamp(2rem, 2.6vw + 1rem, 3.2rem);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: 56px auto 0;
}

.stats li {
  padding: 16px 16px 24px;
}

.stats li + li { border-left: 1px solid var(--wine); }

.stat-num {
  display: block;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 20px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 2;
  text-transform: uppercase;
}

/* ============ 7. MORE REVIEWS ============ */

.reviews {
  padding: 120px 0 96px;
  background: #f2f0eb;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  max-width: 960px;
}

.review {
  position: relative;
  margin: 0;
  padding: 96px 40px 44px;
  border-radius: 44px;
  background: #fff;
  text-align: center;
}

.review blockquote { margin: 0; }

.review-photo {
  position: absolute;
  top: -64px;
  left: 50%;
  width: 128px;
  height: 128px;
  border-radius: 30px;
  object-fit: cover;
  transform: translateX(-50%);
}

.stars {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 28px;
  color: var(--gold);
}

.stars svg {
  width: 30px;
  height: 30px;
}

.review-hook {
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
}

.review-body {
  margin-top: 28px;
  color: var(--charcoal);
  font-size: 1rem;
}

.review figcaption {
  margin-top: 28px;
  color: var(--plum);
  font-weight: 600;
}

/* ============ 8. FINAL BUTTON ============ */

.final {
  padding: 64px 0 56px;
  background: #fff;
  text-align: center;
}

/* ============ FOOTER ============ */

.footer-strip {
  padding: 22px 16px;
  background: #f1f1f1;
  color: #2c3244;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2;
  text-align: center;
  text-transform: uppercase;
}

.footer-strip a { color: inherit; }

.footer-strip .sep { margin: 0 6px; }

.footer-note {
  padding: 56px 0;
  background: var(--plum);
  color: #fff;
  text-align: center;
}

.footer-note p {
  max-width: 62em;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.95rem;
}

.footer-note .note-title { margin-bottom: 24px; font-size: 1rem; }

/* ============ POPUP HELP MESSAGE ============ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1000;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: min(560px, calc(100% - 32px));
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--plum);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: #fff;
  transform: translateX(-50%);
}

.toast p { margin: 0; font-size: 0.9rem; line-height: 1.5; }

.toast a { color: var(--taupe); }

.toast-close {
  padding: 0 6px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ============ RESPONSIVE ============ */

@media (min-width: 1440px) {
  .hero-content { max-width: 680px; }
  .hero-photo { max-width: 520px; }
}

@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-photo { order: 0; max-width: 400px; }
  .badge { top: -36px; left: -8px; width: 80px; height: 80px; }

  .ready-grid,
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about-copy { max-width: none; margin-left: 0; }
  .about-photo { max-width: 380px; margin-right: 48px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--wine); }

  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 104px; max-width: 520px; }
  .reviews { padding-top: 112px; }
}

@media (max-width: 760px) {
  .kind { padding: 96px 16px 64px; }
  .kind-card { grid-template-columns: minmax(0, 1fr); }

  .kind-title {
    padding: 24px 24px 20px;
    border-bottom: 3px solid #f4ede8;
    border-left: 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .kind-body { padding: 40px 24px 36px; }

  .kind.is-enhanced .slide-photo {
    top: -48px;
    right: 16px;
    width: 110px;
    height: 110px;
    border-width: 6px;
  }
}

@media (max-width: 640px) {
  .free-banner { padding: 14px 16px; font-size: 1.1rem; }
  .hero h1 { margin-top: 32px; }
  .btn-lg { padding: 22px 24px; }
  .btn-pill { padding: 20px 32px; font-size: 0.95rem; }
  .btn-pill-lg { width: 100%; padding: 24px 20px; font-size: 1.05rem; }
  .logo-row { gap: 28px 32px; }
  .checks li { gap: 16px; font-size: 1rem; }
  .check-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .review { padding: 88px 24px 36px; }
  .stat-num { font-size: 3.2rem; }
  .footer-strip { letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .arrow { transition: none; }
  .badge svg { animation: none; }
}
