.page-home main > section + section {
  border-top: 1px solid var(--border);
}

.page-home .home-hero {
  min-height: calc(50vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 64px;
  align-items: center;
}

.page-home .home-hero-copy h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(3.4rem, 4.2vw, 4.65rem);
}

.page-home .home-hero-copy .lead {
  max-width: 670px;
}

.page-home .home-hero-copy .actions {
  align-items: center;
}

.page-home .hero-improvement-demo {
  overflow: hidden;
  border: 1px solid rgba(255, 85, 85, 0.28);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.98), rgba(10, 10, 11, 0.99));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.52), 0 0 65px rgba(168, 50, 50, 0.14);
}

.page-home .demo-app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
}

.page-home .demo-app-bar b {
  margin-left: auto;
}

.page-home .demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.page-home .hero-demo-body {
  padding: 20px;
}


.page-home .hero-site-card {
  min-height: 350px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f1ee;
  color: #161616;
}

.page-home .hero-site-state {
  display: block;
  margin-bottom: 22px;
  color: rgba(0, 0, 0, 0.52);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


.page-home .hero-site-card h3 {
  min-height: 3.35em;
  max-width: 290px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.page-home .hero-site-card p {
  min-height: 4.6em;
  max-width: 300px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.84rem;
}


.page-home .hero-site-muted-action {
  border: 1px solid rgba(0, 0, 0, 0.26);
  color: rgba(0, 0, 0, 0.62);
}

.page-home .hero-site-primary-action {
  background: #a83232;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(168, 50, 50, 0.28);
}

.page-home .hero-site-rate {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.13);
}

.page-home .hero-site-rate small,
.page-home .hero-site-rate strong,
.page-home .hero-site-rate em {
  display: block;
}

.page-home .hero-site-rate small {
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.68rem;
  font-weight: 750;
}

.page-home .hero-site-rate strong {
  margin-top: 4px;
  font-size: 2rem;
  line-height: 1;
}

.page-home .hero-site-rate em {
  margin-top: 7px;
  color: #257a4b;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}


.page-home .hero-recommendation-copy > span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-home .hero-recommendation-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.page-home .hero-recommendation-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}


.page-home .home-section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.page-home .home-section-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-home .home-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-home .home-value-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.page-home .value-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 85, 85, 0.34);
  border-radius: 12px;
  background: rgba(168, 50, 50, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.page-home .home-value-grid h3 {
  margin: 2px 0 12px;
  font-size: 1.45rem;
}

.page-home .home-value-grid p {
  margin: 0;
  color: var(--muted);
}

.page-home .home-builder {
  background: radial-gradient(circle at 18% 50%, rgba(168, 50, 50, 0.13), transparent 28rem);
}

.page-home .home-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.page-home .home-builder-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #151516;
  box-shadow: var(--shadow);
}

.page-home .builder-window-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.page-home .builder-window-head span {
  font-size: 0.78rem;
  font-weight: 750;
}

.page-home .builder-window-head div {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .builder-window-head i {
  display: block;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.page-home .builder-window-body {
  padding: 36px;
}

.page-home .builder-label {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-home .builder-window-body h3 {
  margin: 12px 0 8px;
  font-size: 2rem;
}

.page-home .builder-window-body p,
.page-home .home-builder-copy p {
  color: var(--muted);
}

.page-home .home-builder-copy p {
  font-size: 1.08rem;
}

.page-home .builder-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.page-home .builder-choice-grid div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 750;
}

.page-home .builder-choice-grid .selected {
  border-color: rgba(255, 85, 85, 0.7);
  background: rgba(168, 50, 50, 0.13);
}

.page-home .builder-window-body button {
  display: block;
  margin-left: auto;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #f4f4f4;
  color: #161616;
  font-weight: 800;
}

.page-home .home-builder-benefits {
  display: grid;
  gap: 10px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.page-home .home-builder-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.page-home .home-builder-benefits li > span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.page-home .home-builder-benefits strong,
.page-home .home-builder-benefits small {
  display: block;
}

.page-home .home-builder-benefits small {
  margin-top: 5px;
  color: var(--muted);
}

.page-home .home-loop-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
}

.page-home .home-loop-grid > div:first-child p {
  color: var(--muted);
  font-size: 1.08rem;
}

.page-home .home-loop-grid > div:first-child .btn {
  margin-top: 18px;
}

.page-home .home-loop-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-home .home-loop-steps article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
}

.page-home .home-loop-steps span {
  color: var(--accent);
  font-weight: 850;
}

.page-home .home-loop-steps h3 {
  margin: 32px 0 10px;
  font-size: 1.45rem;
}

.page-home .home-loop-steps p {
  margin: 0;
  color: var(--muted);
}

.page-home .home-proof {
  background: radial-gradient(circle at 15% 50%, rgba(168, 50, 50, 0.13), transparent 30rem);
}

.page-home .home-proof-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.page-home .home-proof-copy {
  padding-right: 40px;
}

.page-home .home-proof-copy p {
  max-width: 650px;
  color: var(--muted);
}

.page-home .home-proof-copy a {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.page-home .home-proof-visual {
  padding: 46px 0 46px 54px;
  border-left: 1px solid rgba(255, 85, 85, 0.28);
}

.page-home .home-proof-visual strong {
  display: block;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.page-home .proof-track {
  height: 15px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.page-home .proof-track span {
  display: block;
  width: 40.4%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.page-home .home-proof-visual p {
  max-width: 420px;
  margin-top: 18px;
  color: var(--muted);
}

.page-home .home-final {
  padding-top: 40px;
}

@media (max-width: 1100px) {
  .page-home .home-hero-grid,
  .page-home .home-split,
  .page-home .home-loop-grid,
  .page-home .home-proof-layout {
    grid-template-columns: 1fr;
  }

  .page-home .hero-improvement-demo {
    max-width: 900px;
  }

  .page-home .home-proof-copy {
    padding-right: 0;
  }

  .page-home .home-proof-visual {
    padding: 38px 0 0;
    border-top: 1px solid rgba(255, 85, 85, 0.28);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .page-home .home-hero {
    min-height: auto;
    padding: 48px 0 60px;
  }

  .page-home .home-hero-copy h1 {
    font-size: 3rem;
  }

  .page-home .hero-demo-evidence,
  .page-home .home-value-grid,
  .page-home .home-loop-steps,
  .page-home .builder-choice-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-site-card {
    min-height: auto;
  }

  .page-home .home-value-grid article {
    grid-template-columns: auto 1fr;
  }

  .page-home .home-proof-visual strong {
    font-size: 5rem;
  }
}

@media (max-width: 720px) {
  .page-home .hero-demo-sites {
    grid-template-columns: 1fr;
  }

  .page-home .hero-change-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .page-home .hero-recommendation-card {
    grid-template-columns: 1fr;
  }

  .page-home .hero-apply-state {
    justify-self: start;
    white-space: normal;
  }
}

/* Mobile alignment and simplification */
@media (max-width: 760px) {
  .page-home .home-builder-window {
    display: none;
  }

  .page-home .home-split {
    display: block;
  }

  .page-home .home-builder-copy,
  .page-home .home-loop-grid > div:first-child,
  .page-home .home-proof-copy,
  .page-home .home-proof-visual {
    text-align: center;
  }

  .page-home .home-builder-copy > p,
  .page-home .home-loop-grid > div:first-child > p,
  .page-home .home-proof-copy > p,
  .page-home .home-proof-visual > p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-builder-copy > .btn,
  .page-home .home-loop-grid > div:first-child > .btn,
  .page-home .home-proof-copy > a {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-builder-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-home .home-builder-benefits {
    width: 100%;
  }

  .page-home .home-builder-benefits li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .page-home .home-proof-layout {
    text-align: center;
  }

  .page-home .home-proof-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-home .proof-track {
    width: min(100%, 420px);
  }
}


.page-home .hero-demo-sites {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 14px;
}

.page-home .hero-change-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 85, 85, 0.34);
  border-radius: 50%;
  background: rgba(168, 50, 50, 0.14);
  color: var(--accent);
  font-weight: 900;
  box-shadow: 0 0 30px rgba(168, 50, 50, 0.16);
  width: 56px;
  height: 56px;
  justify-self: center;
  align-self: center;
  font-size: 1.8rem;
}

.page-home .hero-site-nav {
  width: 38%;
  height: 7px;
  margin-bottom: 28px;
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.18);
  margin-left: auto;
  margin-right: auto;
}

.page-home .hero-site-muted-action,
.page-home .hero-site-primary-action {
  display: inline-flex;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 850;
  align-self: center;
}

.page-home .hero-recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 85, 85, 0.42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(168, 50, 50, 0.22), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  text-align: center;
}

.page-home .hero-recommendation-copy {
  max-width: 620px;
  margin: 0 auto;
}

.page-home .hero-apply-state {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  justify-self: center;
  text-align: center;
}

@media (max-width: 720px) {
  .page-home .hero-site-card {
    padding: 22px;
    text-align: center;
  }

  .page-home .hero-site-card h3,
  .page-home .hero-site-card p {
    min-height: 0;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .hero-site-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.18;
  }

  .page-home .hero-site-card p {
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .page-home .hero-site-state {
    margin-bottom: 16px;
  }

  .page-home .hero-site-nav {
    margin-bottom: 18px;
  }

  .page-home .hero-site-muted-action,
  .page-home .hero-site-primary-action {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .page-home .hero-change-arrow {
    width: 58px;
    height: 58px;
    margin: 4px auto;
    font-size: 1.9rem;
  }

  .page-home .hero-recommendation-card {
    padding: 24px 20px;
  }

  .page-home .hero-recommendation-copy strong {
    font-size: 1.05rem;
  }

  .page-home .hero-recommendation-copy p {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .hero-apply-state {
    width: fit-content;
    margin: 0 auto;
  }
}


@media (max-width: 720px) {
  .page-home .hero-demo-sites {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-home .hero-change-arrow {
    justify-self: center;
    align-self: center;
    transform: rotate(90deg);
  }

  .page-home .hero-recommendation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}
