/* Body type profile uses the home v7 shell and a focused questionnaire. */
.profile-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: #faf8ff; }
.profile-page > main { flex: 1; font-size: 16px; }
.profile-page > .v7-footer { width: 100%; flex-shrink: 0; }
.profile-page .site-header { background: #fff; }
.profile-section { padding: 64px 0 72px; background: radial-gradient(ellipse at 10% 15%, #eae3ff, transparent 50%), #faf8ff; min-height: 75vh; }
.profile-wrap { max-width: 960px; }
.profile-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.profile-intro .eyebrow { color: #7953cc; font-size: 16px; letter-spacing: .12em; }
.profile-intro h1 { margin: 16px 0 20px; color: #30244d; font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.profile-intro > p:not(.eyebrow) { color: #797087; font-size: 17px; line-height: 1.8; }
.profile-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 24px; color: #75618f; font-size: 16px; }
.profile-perks span::before { content: '\2713'; margin-right: 8px; color: #8660ce; }
.profile-card { padding: clamp(22px, 4vw, 44px); border: 1px solid #e7e0f3; border-radius: 24px; background: #fff; box-shadow: 0 22px 65px #3e285412; }
.profile-card-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #857394; font-size: 16px; }
.profile-card-top .eyebrow { margin: 0; color: #7953cc; font-size: 16px; }
.profile-progress { height: 5px; margin: 20px 0 32px; overflow: hidden; border-radius: 99px; background: #eee8fa; }
.profile-progress > span { display: block; width: 0; height: 100%; background: #8660d3; transition: width .2s; }
.profile-question { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.profile-question legend { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; color: #39284f; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.4; }
.profile-question legend img { flex: 0 0 52px; object-fit: contain; background: #572370; border-radius: 120px; padding: 8px; }
.profile-question legend:focus, .profile-review h2:focus { outline: none; }
.profile-subtext { margin: 18px 0 8px; color: #7c718b; line-height: 1.75; }
.profile-hint { margin: 12px 0 22px; color: #8c7e99; font-size: 16px; }
.profile-options { display: grid; gap: 12px; }
.profile-option { display: flex; align-items: center; gap: 16px; padding: 19px 22px; border: 1px solid #e6dfef; border-radius: 14px; color: #58436e; font-size: 17px; line-height: 1.6; cursor: pointer; transition: background .15s, border-color .15s; }
.profile-option:hover, .profile-option:has(input:checked) { background: #f7f3ff; border-color: #a48bda; }
.profile-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: #8055c9; cursor: pointer; }
.profile-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; }
.profile-nav [data-profile-next] { margin-left: auto; }
.profile-page .btn-primary { padding: 14px 26px; border-radius: 99px; background: linear-gradient(110deg, #9267e5, #6842ba); color: #fff; font-size: 16px; cursor: pointer; }
.profile-nav [data-profile-back], .profile-review-row button { padding: 10px 0; border: 0; background: transparent; color: #8054bf; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.profile-review h2 { margin: 0 0 12px; color: #39284f; font-family: 'DM Serif Display', Georgia, serif; font-size: 2.3rem; font-weight: 400; }
.profile-review > p { color: #80738f; }
.profile-review-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid #eee8f5; }
.profile-review-row strong { color: #58436e; font-size: 16px; font-weight: 600; }
.profile-review-row p { margin: 5px 0 0; color: #887a99; font-size: 16px; }
.profile-contact { margin: 28px 0 24px; padding: 24px; border-radius: 16px; background: #f8f5fe; }
.profile-contact label { display: block; margin-bottom: 10px; color: #58436e; font-weight: 600; }
.profile-contact input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #ded4ee; border-radius: 10px; background: #fff; font: inherit; }
.profile-contact p { margin: 10px 0 0; color: #887a99; font-size: 16px; }
.profile-error { color: #b82b4a; font-size: 16px; }
.profile-submit:disabled { opacity: .65; cursor: progress; }
.profile-disclaimer { margin: 26px auto 0; text-align: center; color: #93869e; font-size: 16px; }
.profile-page [hidden] { display: none !important; }
.profile-page .v7-footer { background: #fff; }
@media (max-width: 640px) {
    .profile-section { padding: 40px 0 48px; }
    .profile-intro > p:not(.eyebrow) { font-size: 16px; }
    .profile-question legend { gap: 12px; }
    .profile-question legend img { width: 40px; height: 40px; flex-basis: 40px; }
    .profile-option { padding: 16px; font-size: 16px; gap: 12px; }
    .profile-card-top { font-size: 16px; }
    .profile-card-top .eyebrow { font-size: 16px; }
    .profile-contact { padding: 18px; }
    .profile-submit { width: 100%; }
}
