/* Focused homepage refinements. Original design tokens remain in styles.css. */
.hero-description { margin-bottom: 20px; }
.hero-setup { margin: 0 0 27px; max-width: 495px; }
.hero-setup strong { display: block; color: var(--green-dark); font-size: 16px; margin-bottom: 5px; }
.hero-setup > span { display: block; font-size: 15px; line-height: 1.65; }
.hero-visual { padding: 30px 0 32px; margin: 0; }
.hero-screen { display: block; width: 100%; margin: 0; transform: none; border-radius: 12px; box-shadow: 0 28px 60px -28px #16332b65, 0 0 0 12px #edf4ee; }
.hero-screen .browser-bar { min-height: 39px; font-size: 12px; padding: 11px 16px; }
.hero-note { position: relative; inset: auto; width: max-content; max-width: calc(100% - 24px); margin: -8px 18px 0 auto; padding: 15px 18px; }
.hero-note strong { font-size: 14px; }
.hero-note small { font-size: 12px; }
.hero-price { font-size: 14px; }
.workflow { padding: 76px 0; }
.weekly-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 45px; }
.weekly-flow h3 { font-size: 17px; letter-spacing: -.4px; line-height: 1.4; margin-bottom: 8px; }
.weekly-flow p { font-size: 14px; line-height: 1.6; }
.weekly-flow li:before { right: 2px; }
.weekly-flow li:not(:last-child):after { content: '›'; position: absolute; top: 9px; right: -3px; color: #9ebcaf; line-height: 24px; font-size: 23px; }
.weekly-flow li:last-child:before { display: none; }
.repeat-note { justify-content: flex-start; border-top: 1px solid #35584a; padding-top: 23px; margin-top: 31px; font-size: 14px; }
.stages-heading h2 { max-width: 740px; }
.price-box small { font-size: 13px; }
.pricing-copy > p:not(.eyebrow) { max-width: 460px; }
footer { background: #09291f; color: #f3faf5; padding-top: 48px; border-top: 0; }
.footer-top { grid-template-columns: 1.6fr 1fr 1.2fr .65fr; gap: 42px; padding-bottom: 36px; }
.footer-brand img { width: 223px; }
.footer-brand p { color: #b9cec2; max-width: 235px; font-size: 15px; margin-top: 18px; }
.footer-top h2 { color: #f3faf5; font-size: 15px; margin: 4px 0 15px; }
.footer-top > div > a:not(.footer-brand a) { color: #bfd1c7; font-size: 14px; margin-bottom: 9px; }
.footer-top > div > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top-color: #305144; color: #afc8ba; padding-top: 19px; padding-bottom: 21px; font-size: 13px; }
@media (max-width: 1150px) {
  .hero-visual { padding-left: 0; }
  .hero-note { margin-right: 10px; }
  .weekly-flow { gap: 18px; }
  .weekly-flow h3 { font-size: 16px; }
  .footer-top { gap: 28px; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero-note { padding: 12px; margin-right: 8px; }
  .hero-note strong { font-size: 12px; }
  .hero-note small { font-size: 11px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.1fr .65fr; gap: 22px; }
  .footer-top > div:last-child { grid-column: auto; display: block; }
  .footer-top > div:last-child h2 { margin-bottom: 15px; }
  .footer-brand img { width: 190px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-copy { max-width: 680px; padding-bottom: 8px; }
  .hero-description, .hero-setup { max-width: 650px; }
  .hero-copy .actions { flex-direction: row; }
  .hero-copy .hero-price { max-width: none; }
  .hero-price > span:last-child { flex-basis: auto; }
  .hero-price .price-divider { display: inline; }
  .hero-visual { max-width: 660px; width: 100%; margin: 0 auto; }
  .showcase, .showcase-reverse { grid-template-columns: 1fr; gap: 30px; }
  .showcase-reverse .showcase-copy, .showcase-reverse .product-stage { grid-column: auto; grid-row: auto; }
  .showcase-copy > p:not(.section-index) { max-width: 580px; }
  .product-stage { padding: 26px; }
  .admin-screen { max-width: 490px; }
}
@media (max-width: 900px) {
  .weekly-flow { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .weekly-flow li { display: flex; gap: 20px; padding-bottom: 26px; }
  .weekly-flow li > span { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
  .weekly-flow li:before { top: 40px; left: 19px; bottom: 0; width: 1px; height: auto; }
  .weekly-flow li:not(:last-child):after { display: none; }
  .weekly-flow li:last-child { padding-bottom: 0; }
  .weekly-flow h3 { font-size: 18px; margin: 0 0 4px; }
  .weekly-flow p { font-size: 15px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { width: 100%; max-width: 590px; padding: 12px 0 14px; margin: 0 auto; }
  .hero-screen { width: 100%; margin: 0; box-shadow: 0 20px 35px -20px #16332b55, 0 0 0 7px #edf4ee; }
  .hero-screen .browser-bar { font-size: 10px; min-height: 32px; padding: 9px 11px; }
  .hero-note { padding: 11px 13px; margin: -5px 8px 0 auto; }
  .hero-note strong { font-size: 12px; }
  .hero-note small { font-size: 11px; }
  .hero-copy .hero-price { font-size: 13px; }
  .hero-setup { margin-bottom: 23px; }
  .hero-setup strong { font-size: 16px; }
  .product-stage { padding: 17px 12px; }
  .admin-screen { max-width: 490px; }
  .stage-caption { font-size: 12px; }
  .workflow { padding: 60px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 27px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 223px; }
  .footer-brand p { max-width: 100%; }
  .footer-top > div:last-child { grid-column: auto; }
  .footer-top > div:last-child h2 { margin-bottom: 15px; }
  .footer-top > div:last-child a { margin-top: 0; }
  .footer-bottom { font-size: 13px; }
}
@media (max-width: 440px) {
  .hero-note { margin-right: 3px; max-width: calc(100% - 6px); }
  .hero-setup > span { font-size: 15px; }
  .weekly-flow p { font-size: 14px; }
  .stages-heading h2 { font-size: 30px; }
  .footer-top { gap: 27px 19px; }
}

/* Compact product layering, with the storefront always in front. */
.hero-stack { position: relative; aspect-ratio: 1.56; isolation: isolate; }
.hero-back { position: absolute; width: 79%; border: 1px solid #d5e2d9; border-radius: 10px; overflow: hidden; background: white; box-shadow: 0 12px 28px -14px #16332b45; }
.hero-back img { display: block; width: 100%; height: auto; }
.hero-back-admin { top: 2%; left: 2%; transform: rotate(-4deg); z-index: 1; }
.hero-back-portal { top: 0; right: 2%; transform: rotate(4deg); z-index: 2; }
.hero-stack .hero-screen { position: absolute; left: 6%; bottom: 0; z-index: 3; width: 88%; margin: 0; transform: rotate(-1deg); box-shadow: 0 20px 40px -20px #16332b75; }
.hero-note { z-index: 4; margin-top: 8px; }

/* One connected progression, retaining the original stage messages. */
.stage-grid { position: relative; gap: 36px; }
.stage-grid article { position: relative; border: 0; padding-top: 0; }
.stage-grid article:not(:last-child)::before { content: ''; position: absolute; left: 22px; top: 20px; width: calc(100% + 36px); height: 1px; background: #b9cec0; }
.chapter { position: relative; display: flex; align-items: center; gap: 13px; }
.chapter-number { display: grid; place-items: center; flex-shrink: 0; width: 41px; height: 41px; border: 1px solid #adc7b6; border-radius: 50%; color: var(--green-dark); background: #f7f9f7; font: 650 13px var(--heading); letter-spacing: 0; }
.chapter-label { padding: 5px 13px 5px 0; background: #f7f9f7; }
.stage-grid h3 { margin-top: 22px; }
.fee-message { display: block; color: var(--green-dark); margin-top: 19px; border-left: 3px solid var(--green); padding: 4px 0 4px 15px; font-size: 21px; line-height: 1.5; font-weight: 700; }

/* Warm cream CTA meets the forest footer directly, without a separator bar. */
.final-cta { background: #f6f2e8; color: var(--ink); }
.final-inner .eyebrow { color: var(--green); }
.final-cta p:not(.eyebrow) { color: var(--body); }
.final-cta .button-light { background: var(--green); color: white; }
.final-cta .button-light:hover { background: var(--green-dark); }
.final-cta .button-dark-outline { color: var(--green-dark); border-color: #a9bfb0; background: transparent; }
.final-cta .button-dark-outline:hover { background: #e8ece1; }

@media (max-width: 1000px) {
  .hero-stack { aspect-ratio: 1.48; }
  .stage-grid { gap: 24px; }
  .stage-grid article:not(:last-child)::before { width: calc(100% + 24px); }
  .chapter { gap: 9px; }
  .chapter-label { font-size: 10px; letter-spacing: 1px; padding-right: 7px; }
}
@media (max-width: 760px) {
  .hero-stack { aspect-ratio: 1.48; }
  .hero-stack .hero-screen { left: 4%; width: 92%; }
  .hero-back { width: 81%; border-radius: 8px; }
  .hero-back-admin { left: 2%; transform: rotate(-3deg); }
  .hero-back-portal { right: 2%; transform: rotate(3deg); }
  .hero-note { margin-top: 8px; }
  .stage-grid { gap: 0; }
  .stage-grid article { padding: 0 0 32px 60px; }
  .stage-grid article:last-child { padding-bottom: 0; }
  .stage-grid article:not(:last-child)::before { left: 20px; top: 21px; bottom: 0; width: 1px; height: auto; }
  .chapter { min-height: 41px; }
  .chapter-number { position: absolute; left: -60px; top: 0; }
  .chapter-label { font-size: 11px; padding: 0; }
  .stage-grid h3 { margin: 5px 0 10px; }
  .fee-message { font-size: 20px; }
  .footer-top > div > a:not(.footer-brand a) { padding: 5px 0; line-height: 1.65; }
}
@media (max-width: 440px) {
  .hero-stack { aspect-ratio: 1.4; }
  .hero-stack .hero-screen .browser-bar { min-height: 27px; padding: 7px 9px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero-visual { padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 760px) {
  .hero-visual { padding-top: 0; padding-bottom: 0; }
}

/* Homepage micro-refinements: static hero, tighter intro, clearer setup and pricing. */
.hero-stack, .hero-stack * { cursor: default; }
.platform { padding-top: 64px; }
.platform .section-heading + .showcase { margin-top: 42px; }
.price-box .price-explanation { font-size: 16px; margin: 18px 0; }
.price-box .fee-message { font-size: 19px; line-height: 1.45; margin: 0 0 25px; }
@media (max-width: 760px) {
  .platform { padding-top: 44px; }
  .platform .section-heading + .showcase { margin-top: 28px; }
}
