/* Homepage composition: the approved hero followed by illustrated product capabilities. */
.home-page {
  --home-ink: #101b33;
  --home-copy: #475169;
  --home-orange: #c75032;
  --home-orange-dark: #a93e26;
  --home-line: #e9e0d6;
  --home-paper: #fffcf8;
  background: #fffefa;
  color: var(--home-ink);
}
.home-page main { max-width: none; margin: 0; padding: 0; }
.home-page h1, .home-page h2, .home-page h3 { color: var(--home-ink); }
/* The shared marketing header (style.css) aligns its brand with the hero gutter. */
.home-page { --site-header-gutter: clamp(26px, 4.1vw, 76px); }
.home-page .site-header .brand { font-weight: 600; }
.home-page .site-header .site-island a, .home-page .site-header .nav-account { font-weight: 500; }

/* The approved hero artwork is cropped to its illustration half. The headline,
   actions and navigation remain real, responsive HTML. */
.home-page .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  align-items: center;
  gap: 0;
  min-height: min(700px, calc(100svh - 91px));
  margin: 0;
  padding: 0 clamp(26px, 4.1vw, 76px) 32px;
  background: radial-gradient(circle at 80% 32%, #fbf6ed, #fffefa 58%);
}
.home-hero .hero-copy { position: relative; z-index: 1; align-self: center; padding: 0 clamp(16px, 2.5vw, 52px) 0 0; }
.home-page .home-hero h1 {
  max-width: 820px;
  margin: 0 0 26px;
  font-size: clamp(48px, 4.1vw, 78px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.home-page .home-hero .lede { max-width: 710px; color: #5d5b59; font-size: clamp(19px, 1.65vw, 30px); font-weight: 400; line-height: 1.36; }
.home-page .home-hero .hero-actions { gap: 14px; margin-top: 43px; }
.home-page .home-hero .primary-link:where(:not(.astryx-button)), .home-page .home-hero .secondary-link:where(:not(.astryx-button)) {
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: clamp(16px, 1.25vw, 22px);
  font-weight: 600;
}
.home-page .home-hero .primary-link:where(:not(.astryx-button)) { background: #b84c31; color: white; }
.home-page .home-hero .primary-link:where(:not(.astryx-button)):hover { background: var(--home-orange-dark); }
.home-page .home-hero .secondary-link:where(:not(.astryx-button)) { border: 1.5px solid var(--home-ink); background: transparent; color: var(--home-ink); }
.home-page .home-hero .secondary-link:where(:not(.astryx-button)):hover { background: #f8f1e8; }
.hero-handwriting { margin: clamp(34px, 5vw, 90px) 0 0; color: #a35236; font: italic clamp(18px, 1.8vw, 31px)/1.1 Georgia, serif; transform: rotate(-8deg); transform-origin: left top; }
.hero-art-window { position: relative; overflow: hidden; align-self: center; width: 100%; aspect-ratio: 1.10; }
.hero-art-window img { position: absolute; top: 0; left: 0; display: block; width: 183%; max-width: none; height: auto; transform: translate(-46%, -8%); }

/* Each feature has its own scene; the visual carries the idea before the copy. */
.home-scenes { background: #fffefa; }
.home-scenes-intro {
  padding: clamp(64px, 5.5vw, 94px) clamp(26px, 4.1vw, 76px) clamp(32px, 3vw, 48px);
  text-align: center;
}
.home-scenes-label {
  color: #475169;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
}
.home-scenes-intro h2 {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: clamp(34px, 3.25vw, 58px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-scene {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 2.8vw, 54px);
  min-height: 470px;
  padding: clamp(58px, 5vw, 84px) clamp(28px, 7vw, 112px);
  border-top: 1px solid var(--home-line);
}
.home-scene-mock, .home-scene-screen, .home-scene-notes { background: #fffaf2; }
.home-scene-answers, .home-scene-coaching { background: #fffefa; }
.home-scene-answers .scene-copy, .home-scene-coaching .scene-copy { order: 2; }
.home-scene-answers .scene-art, .home-scene-coaching .scene-art { order: 1; }
.home-scene-answers, .home-scene-coaching { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
.scene-copy { width: 100%; max-width: 620px; justify-self: end; }
.home-scene-answers .scene-copy, .home-scene-coaching .scene-copy { justify-self: start; }
.scene-copy h2 {
  max-width: 600px;
  margin: 0 0 24px;
  font-size: clamp(38px, 3.45vw, 65px);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.scene-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--home-copy);
  font-size: clamp(17px, 1.17vw, 21px);
  line-height: 1.62;
}
/* Illustrations share the hero's palette and remain the visual focus of each scene. */
.scene-art { min-width: 0; width: 100%; max-width: 820px; margin: 0; justify-self: start; }
.home-scene-answers .scene-art, .home-scene-coaching .scene-art { justify-self: end; }
.scene-art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 67% 69% at center, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 67% 69% at center, #000 70%, transparent 100%);
}

.home-final-cta { position: relative; overflow: hidden; min-height: 240px; display: grid; place-items: center; padding: 43px clamp(26px, 4.1vw, 76px); background: linear-gradient(115deg, #b9452c, #b84c31 54%, #ae3f28); color: white; text-align: center; }
.home-final-cta::before, .home-final-cta::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: #9e311f55; }
.home-final-cta::before { left: -100px; bottom: -175px; }
.home-final-cta::after { right: -100px; bottom: -175px; }
.home-final-cta h2 { margin: 0; color: white; font-size: clamp(28px, 2.55vw, 45px); font-weight: 550; letter-spacing: -.035em; }
.home-final-cta p { margin: 8px 0 18px; font-size: 17px; }
.home-final-cta .cta-white:where(:not(.astryx-button)) { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 29px; border-radius: 999px; background: white; color: var(--home-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.home-final-cta .cta-white:where(:not(.astryx-button)):hover { background: #fff0e8; }
.home-final-cta .final-handwriting { position: absolute; right: 10%; top: 19%; margin: 0; color: white; font: italic 24px/1 Georgia, serif; text-align: left; transform: rotate(-11deg); }
.home-page .home-footer { display: flex; align-items: center; margin: 0; padding: 24px clamp(26px, 4.1vw, 76px); border: 0; background: #fffefa; }
.home-footer .footer-brand > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--home-ink); font-size: 22px; font-weight: 600; }
.home-footer .footer-links { display: flex; flex-wrap: wrap; gap: clamp(22px, 3vw, 52px); }
.home-footer .footer-links a { color: var(--home-copy); font-size: 13px; font-weight: 500; }

@media (max-width: 1200px) {
  .home-page .home-hero { min-height: 0; padding-top: 40px; padding-bottom: 65px; }
  .home-page .home-hero h1 { font-size: clamp(42px, 4.7vw, 64px); }
  .home-page .home-hero .lede { font-size: clamp(17px, 1.65vw, 24px); }
}
@media (max-width: 900px) {
  .home-page .home-hero { grid-template-columns: 1fr; gap: 25px; }
  .home-hero .hero-copy { max-width: 740px; }
  .home-page .home-hero h1 { font-size: clamp(46px, 7vw, 66px); }
  .home-page .home-hero .lede { max-width: 680px; font-size: 20px; }
  .hero-handwriting { display: none; }
  .hero-art-window { width: min(100%, 760px); margin-inline: auto; }
  .home-scene, .home-scene-answers, .home-scene-coaching { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .home-scene-answers .scene-copy, .home-scene-answers .scene-art,
  .home-scene-coaching .scene-copy, .home-scene-coaching .scene-art { order: initial; }
  .scene-copy, .scene-art { max-width: 100%; justify-self: stretch; }
}
@media (max-width: 700px) {
  .home-page { --site-header-gutter: 20px; }
  .home-page .home-hero { padding: 30px 20px 42px; }
  .home-page .home-hero h1 { font-size: clamp(37px, 9.5vw, 60px); }
  .home-page .home-hero .lede { font-size: 17px; }
  .home-page .home-hero .hero-actions { margin-top: 28px; }
  .home-page .home-hero .primary-link, .home-page .home-hero .secondary-link { flex: 1 1 165px; }
  .home-page .home-hero .primary-link:where(:not(.astryx-button)), .home-page .home-hero .secondary-link:where(:not(.astryx-button)) { min-height: 49px; padding: 11px 16px; font-size: 15px; }
  .hero-art-window { width: 100%; aspect-ratio: 1.5; }
  .hero-art-window img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; }
  .home-scenes-intro { padding: 65px 20px 43px; }
  .home-scenes-intro h2 { font-size: clamp(32px, 8vw, 44px); }
  .home-scene { gap: 34px; padding: 60px 20px 68px; }
  .scene-copy h2 { margin-bottom: 18px; font-size: clamp(37px, 9vw, 47px); }
  .scene-copy > p { font-size: 17px; }
  .scene-art { width: calc(100% + 20px); margin-left: -10px; }
  .home-final-cta { min-height: 230px; padding-inline: 20px; }
  .home-final-cta .final-handwriting { display: none; }
  .home-page .home-footer { padding-inline: 20px; }
}
@media (max-width: 410px) {
  .home-page .home-hero h1 { font-size: 38px; }
  .home-page .home-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-page .home-hero .primary-link, .home-page .home-hero .secondary-link { flex: none; }
  .home-page .home-hero .primary-link:where(:not(.astryx-button)), .home-page .home-hero .secondary-link:where(:not(.astryx-button)) { padding: 10px; font-size: 13px; }
}
