/* Product-first local iteration: the working deal follows a compact hero. */
#main-content #hero { min-height: clamp(420px, 36vw, 600px); }
#hero .hero-content { min-height: inherit; padding-block: 2.5rem; }
#hero .hero-copy { max-width: 52rem; }
#hero .hero-headline { font-size: clamp(3rem, 4.6vw, 4rem); line-height: 1.01; }
#hero .hero-subcopy { max-width: 34rem; font-size: 18px; }
#hero .hero-copy > .mt-7 { margin-top: 1.25rem; }
#hero .hero-copy > .mt-5 { margin-top: 1rem; }
#hero .hero-actions { margin-top: 1.75rem; gap: 1rem 1.75rem; }
#hero .hero-explore, #hero .hero-demo-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; font-size: 15px; font-weight: 600;
}
#hero .hero-explore { padding: .75rem 1.5rem; color: #fff; background: #222; border-radius: 6px; }
#hero .hero-explore:hover { background: #075b5d; }
#hero .hero-demo-link { color: #075b5d; text-decoration: underline; }
#hero .hero-background img { width: 100%; height: 100%; inset: 0; object-fit: contain; object-position: right bottom; }
#hero .hero-background::after { inset: 0; width: auto; background: linear-gradient(90deg, #fdf5e4 0%, rgba(253,245,228,.95) 35%, rgba(253,245,228,.3) 65%, rgba(253,245,228,0) 100%); }

#main-content > #deal-room > .deal-section:first-child { padding-block: 2rem 3rem; }
.story-heading { gap: 2rem; }
.story-heading .deal-intro { max-width: 38rem; }
.story-heading .deal-intro h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
.story-heading .deal-story-intro { max-width: 54ch; margin-top: .6rem; font-size: 15px; line-height: 1.5; }
.story-heading .story-player-controls { flex: 0 1 440px; min-width: 23rem; }

.narrative-container { max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
#main-content #workflow .workflow-intro { max-width: 32rem; }
#workflow .workflow-intro h2, #problem .coordination-intro h2, #trust h2 { font-size: clamp(2rem, 3.3vw, 2.8rem); line-height: 1.13; font-weight: 500; }
#workflow .workflow-intro p { margin-top: 1.25rem; color: var(--landing-secondary); }
#workflow .workflow-checks { display: grid; gap: 0; }
#workflow .workflow-checks article h3 { margin: 0; color: var(--landing-ink); font-size: 24px; font-weight: 500; line-height: 1.25; }
#workflow .workflow-checks article p { margin-top: .65rem; color: var(--landing-secondary); }
#workflow .copilot-note h3 { font-size: 17px; font-weight: 600; color: var(--landing-link); }
#workflow .copilot-note p { margin-top: .65rem; color: var(--landing-secondary); }

#main-content #problem .coordination-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem; max-width: none; }
#problem .coordination-intro p { max-width: 43ch; color: var(--landing-secondary); }
#problem .coordination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
#problem .coordination-grid article { padding: 1.5rem 0 0; border-top: 1px solid var(--landing-line); }
#problem .coordination-grid article h3 { font-size: 24px; line-height: 1.25; }
#problem .source-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem; font: 500 13.5px/1.4 Inter, sans-serif; letter-spacing: 0; text-transform: none; color: var(--landing-link); text-decoration: underline; }
#problem .market-context { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--landing-line); }
#problem .market-context summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 44px; cursor: pointer; list-style: none; color: var(--landing-secondary); font-size: 16px; font-weight: 500; }
#problem .market-context summary::-webkit-details-marker { display: none; }
#problem .market-context summary span { font-size: 24px; color: var(--landing-link); }
#problem .market-context[open] summary span { transform: rotate(45deg); }
#problem .market-context > div { max-width: 72ch; padding-top: 1rem; color: var(--landing-secondary); }

#trust .faq-intro { max-width: 52ch; margin-top: 1rem; color: var(--landing-secondary); font-size: 16px; line-height: 1.6; }
#trust details { scroll-margin-top: 5.5rem; }
#final-cta h2 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.06; }
#final-cta .final-cta-copy { max-width: 48ch; margin: 1.5rem auto 0; color: #d1cec5; font-size: 18px; line-height: 1.6; }
#final-cta [data-demo-open] { background: #087578; }
#final-cta [data-demo-open]:hover { background: #075b5d; }
#final-cta [data-demo-open]:focus-visible { outline-color: #a5ded7; }

@media (min-width: 1024px) {
  #main-content #workflow .workflow-checks { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  #hero .hero-content { padding-block: 3rem; }
  #hero .hero-headline { font-size: clamp(2.5rem, 6.2vw, 3.5rem); }
  #hero .hero-copy .hero-subcopy { max-width: 24rem; }
  .story-heading { flex-wrap: wrap; gap: 1rem; }
  .story-heading .deal-intro { max-width: none; }
  .story-heading .story-player-controls { flex-basis: 100%; min-width: 0; }
}
@media (max-width: 767px) {
  #main-content #hero { min-height: 0; }
  #hero .hero-content { padding-block: 2.5rem; padding-bottom: calc(2.5rem + 30vw); }
  #hero .hero-headline { font-size: clamp(2.1rem, 9.6vw, 3rem); }
  #hero .hero-subcopy { font-size: 16px; line-height: 1.55; }
  #hero .hero-background::after {
    display: block;
    inset: auto 0 0;
    height: auto;
    aspect-ratio: 1672 / 941;
    background: linear-gradient(180deg, #fdf5e4, rgba(253,245,228,0) 30%);
  }
  #hero .hero-actions { gap: .75rem 1.25rem; }
  #hero .hero-explore { padding-inline: 1.25rem; }
  #main-content > #deal-room > .deal-section:first-child { padding-block: 1.75rem 2.5rem; }
  .story-heading .deal-intro h2 { font-size: 26px; }
  .story-heading .deal-story-intro { font-size: 14px; }
  #main-content #problem .coordination-intro { grid-template-columns: 1fr; gap: 1rem; }
  #problem .coordination-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  #problem .coordination-grid article { padding-top: 1.25rem; }
  #problem .coordination-grid article p { max-width: none; }
  #workflow .workflow-checks article h3, #problem .coordination-grid article h3 { font-size: 22px; }
  #final-cta .final-cta-copy { font-size: 16px; }
}
