/* V609: final mobile-only reproduction of the approved reference. */
@media (max-width: 620px) {
  .darwinLanding .hero-section {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "title" "photo" "lead" "actions" "note";
    width: calc(100% - 56px);
    margin: 0 auto 30px;
    padding: 40px 0 8px;
    gap: 0;
    overflow: visible;
  }
  .darwinLanding .hero-section::before { content: none; }
  .darwinLanding .hero-copy { display: contents; }
  .darwinLanding .hero-copy .eyebrow,
  .darwinLanding .hero-title,
  .darwinLanding .hero-lead,
  .darwinLanding .hero-actions,
  .darwinLanding .hero-note,
  .darwinLanding .hero-photo { position: relative; z-index: 2; }
  .darwinLanding .hero-copy .eyebrow {
    grid-area: eyebrow;
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .035em;
  }
  .darwinLanding .hero-title {
    grid-area: title;
    max-width: none;
    margin: 0;
    font-size: clamp(25px,6.65vw,27px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.025em;
    text-wrap: initial;
  }
  .darwinLanding .hero-title br { display: initial; }
  .darwinLanding .hero-title-nowrap { white-space: nowrap !important; }
  .darwinLanding .hero-photo {
    grid-area: photo;
    justify-self: center;
    width: calc(100% + 56px);
    height: auto;
    min-height: 0;
    margin: 0 -28px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .darwinLanding .hero-photo::before,
  .darwinLanding .hero-photo::after { content: none; }
  .darwinLanding .hero-photo picture { display: block; width: 100%; }
  .darwinLanding .hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .darwinLanding .hero-lead {
    grid-area: lead;
    max-width: none;
    margin: 0 6px 26px;
    font-size: 14px;
    line-height: 1.9;
  }
  .darwinLanding .hero-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    margin: 0 auto;
  }
  .darwinLanding .hero-actions > *,
  .darwinLanding .hero-actions .primary-button { width: 100%; }
  .darwinLanding .hero-actions .primary-button {
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1.4;
  }
  .darwinLanding .hero-note {
    grid-area: note;
    margin: 14px -8px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.65;
  }

  /* V612: reproduce the approved portrait philosophy panel on phones only. */
  .darwinLanding .philosophy-visual-section {
    width: calc(100% - 58px);
    margin: -10px auto 48px;
  }
  .darwinLanding .philosophy-visual-section picture {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    border-radius: clamp(24px, 8vw, 38px);
    background: transparent;
  }
  .darwinLanding .philosophy-visual-section img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }
}

/* V613: show each smaller Step 1/2 visual below its matching copy on phones. */
@media (max-width: 620px) {
  .darwinLanding .flow-visual.desktopV431Only {
    display: grid !important;
    justify-self: center;
    width: 82%;
    min-height: 250px;
  }
  .darwinLanding .flow-step,
  .darwinLanding .flow-step-report {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .darwinLanding .flow-step .flow-visual,
  .darwinLanding .flow-step-report .flow-visual { order: 2; }
  .darwinLanding .flow-step .flow-copy,
  .darwinLanding .flow-step-report .flow-copy { order: 1; }
  .darwinLanding .test-mockup,
  .darwinLanding .report-mockup {
    width: calc(100% - 20px);
    max-width: 100%;
    padding: 18px;
    box-sizing: border-box;
  }
  .darwinLanding .flow-step-report .flow-visual { min-height: 250px; }
  .darwinLanding .flow-step-report .flow-visual { width: 94%; }
  .darwinLanding .flow-step-report .report-mockup {
    width: calc(100% - 24px);
    padding: 18px;
  }
  .darwinLanding .answer-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .darwinLanding .answer-row span {
    padding: 10px 3px;
    font-size: 10px;
  }
}
