.landing-section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.practice-testimonial,
.headache-bento {
    position: relative;
    z-index: 1;
    padding: 96px 0;
}

.practice-testimonial { background: #fff; }
.practice-testimonial__layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
.practice-testimonial__quotes { min-width: 0; }
.practice-testimonial__divider { margin: 32px 0; border: 0; border-top: 1px solid #e5e7eb; opacity: 1; }
.practice-testimonial__quote,
.practice-testimonial__quote blockquote { margin: 0; padding: 0; border: 0; }
.practice-testimonial__quote .testimonial-text { margin: 0; color: #111827; font-size: clamp(18px, 1.65vw, 22px); font-weight: 400; line-height: 1.6; letter-spacing: -.015em; }
.practice-testimonial__author { display: flex; align-items: center; gap: 24px; margin-top: 24px; color: #111827; font-size: 18px; font-weight: 600; }
.practice-testimonial__author img { display: block; flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.practice-testimonial__author-details { min-width: 0; }
.practice-testimonial__author-details > span { display: block; }
.practice-testimonial__author .testimonial-subtext { margin-top: 4px; color: #636e72; font-size: 12px; font-weight: 400; line-height: 1.5; }
.practice-testimonial__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; justify-items: center; column-gap: 40px; row-gap: 40px; }
.practice-testimonial__logos img { display: block; width: 100%; max-width: 220px; height: 88px; object-fit: contain; }
.practice-testimonial__logos img:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 220px; }

.headache-bento { background: #f9fafb; }
.headache-bento__heading { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.headache-bento__heading > p { margin: 0 0 10px; color: #FF0049; font-size: 16px; font-weight: 600; line-height: 1.75; }
.headache-bento__heading h2 { margin: 0; color: #111827; font-size: clamp(32px, 3.5vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.headache-bento__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px !important; }
.headache-bento__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid rgb(17 24 39 / 6%); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgb(17 24 39 / 5%); }
.headache-bento__card--app { grid-column: 1; grid-row: 1 / span 2; border-radius: 32px 12px 12px 32px; }
.headache-bento__card--trends { grid-column: 2; grid-row: 1; }
.headache-bento__card--sleep { grid-column: 2; grid-row: 2; }
.headache-bento__card--provider { grid-column: 3; grid-row: 1 / span 2; border-radius: 12px 32px 32px 12px; }
.headache-bento__copy { padding: 32px 28px 0; }
.headache-bento__copy h3 { margin: 0 0 12px; color: #111827; font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.headache-bento__copy p { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.65; }
.headache-bento__card img { display: block; max-width: 100%; height: auto; }
.headache-bento__phone { position: relative; flex: 1; min-height: 480px; margin: 24px 28px 0; }
.headache-bento__phone img { position: absolute; top: 0; left: 0; width: 100%; filter: drop-shadow(0 12px 20px rgb(15 23 42 / 12%)); }
.headache-bento__phone .headache-bento__patient-messages { left: -20px; width: 76%; }
.headache-bento__phone .headache-bento__patient-trends { top: 100px; right: -20px; left: auto; z-index: 1; width: 82%; }
.headache-bento__phone--provider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; flex: none; min-height: 0; margin: 24px 20px 28px; }
.headache-bento__phone--provider img { position: static; width: 100%; border-radius: 12% / 6%; }
.headache-bento__app-download { position: relative; flex: none; width: min(calc(100% - 56px), 180px); aspect-ratio: 13 / 14; margin: 24px auto 0; }
.headache-bento__app-download a { position: absolute; display: block; width: 65.4%; max-width: 118px; aspect-ratio: 1; border: 1px solid rgb(17 24 39 / 8%); background: #fff; }
.headache-bento__app-download a:focus-visible { outline: 3px solid #377dff; outline-offset: 5px; border-radius: 16px; }
.headache-bento__app-download img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.headache-bento__app-icon { bottom: 0; left: 0; border-radius: 22%; }
.headache-bento__app-qr { top: 0; right: 0; z-index: 1; overflow: hidden; border-radius: 16px; }
.headache-bento__app-icon img { --app-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230.5 230.5'%3E%3Cpath d='M158.2 230H64.1a320 320 0 0 1-7-.1c-5 0-10-.5-15-1.3a50.8 50.8 0 0 1-14.4-4.8 48.2 48.2 0 0 1-21-21 50.9 50.9 0 0 1-4.8-14.4 100.7 100.7 0 0 1-1.3-15v-7l-.1-8.2V64.1a320 320 0 0 1 .1-7c0-5 .5-10 1.3-15a50.7 50.7 0 0 1 4.8-14.4 48.2 48.2 0 0 1 21-21 51 51 0 0 1 14.4-4.8c5-.8 10-1.2 15-1.3a320 320 0 0 1 7 0l8.2-.1h94.1a320 320 0 0 1 7 .1c5 0 10 .5 15 1.3a52 52 0 0 1 14.4 4.8 48.2 48.2 0 0 1 21 21 50.9 50.9 0 0 1 4.8 14.4c.8 5 1.2 10 1.3 15a320 320 0 0 1 .1 7v102.3l-.1 7c0 5-.5 10-1.3 15a50.7 50.7 0 0 1-4.8 14.4 48.2 48.2 0 0 1-21 21 50.8 50.8 0 0 1-14.4 4.8c-5 .8-10 1.2-15 1.3a320 320 0 0 1-7 0l-8.2.1z'/%3E%3C/svg%3E"); -webkit-mask-image: var(--app-icon-mask); mask-image: var(--app-icon-mask); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.headache-bento__app-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Exclude the PNG's transparent margins while keeping the full map. */
.headache-bento__trends-image { position: relative; flex: 0 0 auto; aspect-ratio: 1112 / 632; overflow: hidden; margin: 24px 20px; border-radius: 12px; }
.headache-bento__trends-image img { position: absolute; top: calc(-100% * 35 / 632); left: calc(-100% * 47 / 1112); width: calc(100% * 1206 / 1112); max-width: none; border-radius: 0; }
.headache-bento__sleep-image { margin: auto 0 0; padding-top: 24px; }
.headache-bento__sleep-image img { width: 100%; }

@media (max-width: 1023.98px) {
    .practice-testimonial__layout { grid-template-columns: 1fr; gap: 56px; max-width: 760px; }
    .practice-testimonial__logos { gap: 32px 48px; }
    .headache-bento__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; max-width: 640px; margin: 0 auto; }
    .headache-bento__card { grid-column: auto; grid-row: auto; border-radius: 24px; }
    .headache-bento__phone { flex: none; width: calc(100% - 48px); max-width: 400px; min-height: 0; aspect-ratio: 0.65; margin: 24px auto 0; }
    .headache-bento__phone--provider { width: auto; max-width: none; aspect-ratio: auto; margin: 24px 20px 28px; }
    .headache-bento__trends-image { margin-top: 0; }
    .headache-bento__sleep-image { margin-top: 0; }
}

@media (max-width: 639.98px) {
    .landing-section-container { padding: 0 24px; }
    .practice-testimonial,
    .headache-bento { padding: 64px 0; }
    .practice-testimonial__quote .testimonial-text { font-size: 18px; }
    .practice-testimonial__author { gap: 16px; font-size: 16px; }
    .practice-testimonial__author img { width: 56px; height: 56px; }
    .practice-testimonial__logos { gap: 24px; }
    .practice-testimonial__logos img { height: 72px; }
    .practice-testimonial__logos img:last-child:nth-child(odd) { max-width: 170px; }
    .headache-bento__heading { margin-bottom: 32px; }
    .headache-bento__grid { grid-template-columns: minmax(0, 1fr); }
    .headache-bento__copy { padding: 28px 24px 0; }
}
