/* Impeccable refinement: preserve RyseMed's identity and improve decisions/readability. */
body{--rm-reading-size:1rem;--rm-reading-leading:1.75}
body::selection{background:var(--rm-selection-wash);color:var(--rm-text-primary)}
input,select,textarea{caret-color:var(--rm-text-accent)}
.price-number,.cost-row strong,.calc-big{font-variant-numeric:tabular-nums}
.quiz h1:focus,.notes h2[data-article-section]:focus{outline:none}

/* The three schedules come before the existing selected-plan explanation. */
body[data-page="pricing"] .page-head{padding-top:44px;padding-bottom:28px}
body[data-page="pricing"] .page-head h1{max-width:20ch;text-wrap:balance}
body[data-page="pricing"] .page-head>p{font-size:15px;line-height:1.75;max-width:72ch}
.billing-options{margin:0 0 24px}
.billing-options>summary{font-size:14px;min-height:44px;padding-block:12px}
.plan-card{min-width:0}
.plan-card>p{font-size:14px;line-height:1.6}
.plan-card .plan-save{font-size:12px;line-height:1.6}
.founding-feature{padding:22px 30px;margin:28px 0;gap:38px;align-items:center}
.founding-feature .price-number{font-size:64px;line-height:1.12}
.founding-feature p{font-size:14px;line-height:1.75}
.founding-feature h2{font-size:clamp(28px,3vw,38px)}

/* A separate reading scale for long care and policy articles. */
.notes{max-width:calc(72ch + 2 * var(--page-gutter));padding-top:44px}
.notes h1{text-wrap:balance}
.notes h2{font-size:clamp(25px,3vw,30px);line-height:1.25;margin:40px 0 16px;scroll-margin-top:100px}
.notes p,.notes li{font-size:var(--rm-reading-size);line-height:var(--rm-reading-leading)}
.notes .notice{font-size:14px;line-height:1.75}
.notes .breadcrumb{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin-bottom:12px}
.notes a{overflow-wrap:anywhere}
.article-contents{margin:28px 0 36px;padding:0 20px;border:1px solid var(--rm-border);border-radius:12px;background:var(--rm-pearl-light)}
.article-contents>summary{font-family:var(--rm-font-body);font-size:14px;font-weight:600;cursor:pointer;padding:16px 0;min-height:52px}
.article-contents ol{list-style:none;margin:0;padding:0 0 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.article-contents li{margin:0;min-width:0}
.article-contents a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;text-decoration:underline;text-decoration-color:var(--rm-border-strong);text-underline-offset:4px}
.notes a[aria-current="page"]{font-weight:600;color:var(--rm-text-primary)}

/* Group care links and information links without losing destinations. */
.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 48px;max-width:660px}
.footer-link-group{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.footer-link-group h2{font:600 14px/1.5 var(--rm-font-body);margin:0 0 10px;color:var(--rm-text-primary)}
.footer-link-group a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:13px;line-height:1.5}
.footer-link-group a[aria-current="page"]{font-weight:600;text-decoration:underline;text-underline-offset:4px}
.footer-note{font-size:13px;line-height:1.8;max-width:95ch}

@media(max-width:850px){
 /* Keep the prototype warning explicit while giving the question the screen. */
 body[data-page="assessment"] .preview-bar{display:flex;align-items:center;gap:12px;padding:6px 18px;min-height:44px;font-size:10px;line-height:1.5}
 body[data-page="assessment"] .preview-bar>span{max-width:none;flex:1}
 body[data-page="assessment"] .preview-bar .motion-toggle{min-height:44px;flex:none}
 body[data-page="assessment"] .nav{height:64px}
 .assessment-layout{padding-top:18px;gap:20px}
 .assessment-aside{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center}
 .assessment-aside>.breadcrumb{grid-column:1;grid-row:1;margin:0;font-size:12px;min-height:44px;display:inline-flex;align-items:center}
 .assessment-aside>.text-link[data-action="sample"]{grid-column:2;grid-row:1;margin:0;font-size:12px;min-height:44px;padding:8px 0}
 .assessment-aside>.notice{grid-column:1 / -1;grid-row:2;margin:0;padding:12px 14px;font-size:12px;line-height:1.6;border-radius:12px}
 .quiz{padding-top:0}
 .quiz>small{font-size:12px;line-height:1.5}
 .quiz-progress{margin:12px 0 24px}
 .quiz h1{font-size:32px;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
 .quiz-intro{font-size:14px;line-height:1.65;margin-bottom:18px}
 .choices{margin:18px 0;gap:10px}
 .choice{font-size:14px;line-height:1.5;padding:14px 16px;min-height:54px}
 .quiz-actions{margin-top:20px}
 .quiz-disclosure{font-size:12px;line-height:1.7}
 .nav-links.open{top:100%}
}
@media(max-width:650px){
 body[data-page="pricing"] .page-head{padding-top:24px;padding-bottom:8px}
 body[data-page="pricing"] .page-head h1{font-size:38px;line-height:1.12;margin-bottom:8px}
 body[data-page="pricing"] .page-head>p{font-size:14px;line-height:1.7;margin-top:8px}
 body[data-page="pricing"] .founding-feature{margin-top:8px}
 .billing-options{margin-bottom:24px}
 .plan-card>p{font-size:13px}
 .founding-feature{padding:16px 24px;gap:24px;margin-top:16px}
 .founding-feature .eyebrow{margin-bottom:10px}
 .founding-feature .price-number{font-size:54px}
 .founding-feature p{font-size:14px}
 .notes{padding:28px 20px 56px}
 .notes h1{font-size:36px;line-height:1.15;margin-bottom:24px}
 .notes h2{margin-top:34px}
 .article-contents{padding-inline:16px;margin:24px 0 30px}
 .article-contents ol{grid-template-columns:minmax(0,1fr)}
 .footer-links{width:100%;gap:24px}
 .footer-link-group a{font-size:12px}
 .footer-note{font-size:12px}
}
@media(max-width:360px){
 .site-header .brand{width:92px}
 .site-header .nav{gap:6px}
 .site-header .nav-actions .button{font-size:10px;padding-inline:8px;gap:8px}
 .site-header .mobile-menu{padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){.notes,.quiz{scroll-behavior:auto}}

/* Founding Membership rev2: membership terms, order-form placeholder and native support form. */
.order-placeholder{position:relative;border:2px dashed var(--rm-border-strong);border-radius:var(--rm-radius-lg);padding:40px 32px;background:var(--rm-surface-sunken);margin-bottom:24px}
.order-placeholder h2{font-size:28px;margin:14px 0 12px}
.order-placeholder p{font-size:15px;line-height:1.75;color:var(--rm-text-secondary)}
.order-placeholder a{text-decoration:underline}
.placeholder-tag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:var(--rm-radius-pill);background:var(--rm-surface-inverse);color:var(--rm-text-on-inverse)}
.member-price .button,.founding-feature .button{margin-top:18px}
.cv-slot{display:inline-block;border:1px dashed var(--rm-border-strong);border-radius:6px;padding:0 6px;background:var(--rm-surface-sunken);font-size:.92em}
.support-form-embed{min-height:520px;margin:28px 0;border:1px solid var(--rm-border);border-radius:var(--rm-radius-lg);overflow:hidden;background:#fff}
.support-form-embed iframe{display:block;min-height:520px}
.price-number.founding-terms{font-family:var(--rm-font-display);font-size:clamp(34px,3.6vw,48px);line-height:1.15}
.founding-label,.founding-feature .founding-label,#calc-result .founding-label{display:block;font-family:var(--rm-font-body);font-size:20px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--rm-text-primary);margin:6px 0 4px}
.member-price .price-number.founding-terms{font-size:clamp(34px,3.4vw,46px)}
@media(max-width:650px){.order-placeholder{padding:28px 20px}.order-placeholder h2{font-size:24px}.price-number.founding-terms,.member-price .price-number.founding-terms{font-size:34px}}
/* QA PR1: 44px tap targets at phone widths, support notice spacing, join order on mobile. */
.breadcrumb{display:inline-flex;align-items:center;min-height:44px}
.faq-list summary,.study-card summary,.estimate-details summary{min-height:44px;display:flex;align-items:center}
.portal-nav a{min-height:44px;display:flex;align-items:center}
.motion-toggle{min-height:44px}
.support-page .notice{margin-top:20px}
@media(max-width:899px){.checkout-layout .checkout-summary{order:2;grid-row:auto}.checkout-layout>div:first-child{order:1}}
.lab-sources a,.care-grid-note details a,article>a[target="_blank"]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
.membership-band>*,.founding-feature>*{min-width:0}
.member-price .button,.founding-feature .button{white-space:normal;max-width:100%}
/* Re-QA: the three product card headings stay on one line where their row is narrow, above the art. The wide women's card is unchanged. */
.care-card-heading{position:relative;z-index:1}
@media(min-width:900px) and (max-width:1260px){.care-categories .treatment-card:not(.women-treatment) .care-card-heading h2{white-space:nowrap;font-size:clamp(22px,2.15vw,28px)}}
@media(min-width:651px){.path-hero .care-categories .treatment-card.motion-card:not(.women-treatment){grid-template-rows:minmax(134px,auto) 215px 1fr}}

/* Re-QA 2: the journey heading and its Monthly offer pill stack up to 720px, as they already do on phones. */
@media(min-width:651px) and (max-width:720px){.journey-heading{align-items:start;gap:15px;flex-direction:column}}
/* Re-QA 2: taller tap area for the two inline links on the last quiz step. */
.quiz .summary-note a{padding-block:14px}
/* Re-QA 3: the Keep rising. band stacks into one column up to 860px so the Join button stays on one line. */
@media(min-width:651px) and (max-width:860px){.membership-band{grid-template-columns:minmax(0,1fr);gap:30px}.member-price{padding:25px 0 0;border-left:0;border-top:1px solid var(--rm-border-strong)}.member-price .button{white-space:nowrap}}
/* Re-QA 3 containment: phone care-section column and portal empty-state button stay inside their cards. */
@media(max-width:650px){.care-section{grid-template-columns:minmax(0,1fr)}.care-section>*{min-width:0}}
.portal-empty .button{max-width:100%;white-space:normal}
@media(max-width:650px){.button{max-width:100%;white-space:normal}}
/* Re-QA 3 containment: phone women patch art sits fully inside its card. */
@media(max-width:650px){.path-hero .care-categories .women-treatment .women-patch-orbit{transform:translate(calc(-50% - 20px),-50%) rotate(-9deg)}}

/* Re-QA PR2 polish: men's hero text starts near the top of the figure on desktop so "Start assessment" sits in the 1280x720 fold. */
@media(min-width:1001px){.treatment-hero.treatment-hero-men{align-items:start}.treatment-hero.treatment-hero-men>div:first-child{padding-top:64px}}
/* Re-QA PR2 polish: on phones the corner arrow no longer sits over the vial cap. The vial scales from its base and drops slightly. */
@media(max-width:650px){.care-categories .vial-stage-weight .vial-orbit,.care-categories .vial-stage-peptide .vial-orbit{transform-origin:50% 100%;scale:.9;translate:0 8px}}
/* Labs lifestyle photo (Nov 9). Mid-width crop keeps faces in view. */
@media(min-width:651px) and (max-width:860px){.lab-display .lab-lifestyle{object-position:75% 30%}}
/* Re-QA PR2 font swap: a metric-matched local fallback (sized to Plus Jakarta Sans) so the brief swap on slow connections does not change line length or height. Preload is not used: WebKit downloads a preloaded font twice. */
@font-face{font-family:'Plus Jakarta Sans Fallback';src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('Helvetica');size-adjust:106.18%;ascent-override:97.76%;descent-override:20.91%;line-gap-override:0%}
:root{--rm-font-body:'Plus Jakarta Sans','Plus Jakarta Sans Fallback',-apple-system,'Segoe UI',Roboto,sans-serif}
@media(max-width:650px){.care-categories .vial-stage-weight .oral-orbit{translate:-16px 22px}}
/* Pricing panel layout: GHL order form under the Founding Membership panel. PREVIEW ONLY (unpublished GHL draft page, Stripe test mode). Frame heights follow the draft page's measured natural content height per frame width plus about 80 to 120px, since the draft height varies by up to about 60px between loads (no inner scroll). */
.pricing-order{margin:8px 0 56px;padding:36px 40px 40px;border:1px solid var(--rm-border);border-radius:22px;background:var(--rm-pearl)}
.pricing-order-head{max-width:680px;margin-bottom:24px}
.pricing-order-banner{font-size:15px;line-height:1.7;color:var(--rm-text-primary);font-weight:600;margin:0 0 14px}
.pricing-order-head h2{font-size:clamp(26px,2.6vw,34px);line-height:1.2;margin:0 0 10px}
.pricing-order-head p{font-size:15px;line-height:1.75;color:var(--rm-text-secondary);margin:0}
.pricing-order-embed{max-width:900px;margin:0 auto;border:1px solid var(--rm-border);border-radius:var(--rm-radius-lg);overflow:hidden;background:#fff}
.pricing-order-embed iframe{display:block;width:100%;height:1400px;border:0}
@media(max-width:960px){.pricing-order-embed iframe{height:1720px}}
@media(max-width:760px){.pricing-order-embed iframe{height:1780px}}
@media(max-width:650px){.pricing-order{padding:26px 18px 22px;margin-bottom:40px}.pricing-order-embed iframe{height:1900px}}
@media(max-width:360px){.pricing-order{padding:24px 14px 18px}.pricing-order-embed iframe{height:2060px}}

/* Nov 9 restore (0c17042): selected plan card, large display headline in the feature panel, compact journey badge, large band headline. No prices. */
.plan-grid.single-plan{grid-template-columns:1fr;gap:0;margin:0 0 24px}
.plan-grid.single-plan .plan-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:center;padding:28px 34px}
.plan-grid.single-plan .plan-card.selected{padding:27px 33px}
.plan-grid.single-plan .plan-card h2{font-family:var(--rm-font-body);font-size:18px;font-weight:600;line-height:1.2;letter-spacing:normal;margin:0 0 10px}
.plan-grid.single-plan .plan-card p{margin-top:0;max-width:62ch}
.plan-grid.single-plan .plan-card .button{white-space:normal;max-width:100%}
.founding-feature .price-number.founding-terms{font-size:clamp(40px,4.2vw,56px);line-height:1.1;margin:14px 0 0}
.member-price .price-number.founding-terms{font-size:clamp(44px,4.4vw,60px);line-height:1.1;letter-spacing:-.03em}
.journey-offer{padding:20px 26px}
@media(max-width:650px){
 .plan-grid.single-plan{margin-bottom:16px}
 .plan-grid.single-plan .plan-card{grid-template-columns:minmax(0,1fr);row-gap:14px;padding:20px}
 .plan-grid.single-plan .plan-card.selected{padding:19px}
 .plan-grid.single-plan .plan-card h2{margin-bottom:6px}
 .plan-grid.single-plan .plan-card .button{width:100%;justify-content:center}
 .founding-feature .price-number.founding-terms{font-size:44px;margin-top:8px}
 .member-price .price-number.founding-terms{font-size:clamp(34px,10.5vw,46px)}
 .journey-offer{padding:14px 20px}
}
@media(max-width:520px){.founding-bar-link .founding-arrow{display:none}}

@media(max-width:360px){
 body[data-page="pricing"] .page-head{padding-bottom:0}
 body[data-page="pricing"] .page-head h1{margin-bottom:4px}
 body[data-page="pricing"] .page-head>p{margin-top:4px}
 .plan-grid.single-plan .plan-card,
 .plan-grid.single-plan .plan-card.selected{padding:12px;row-gap:8px}
 .plan-grid.single-plan .plan-card .button{padding-inline:14px;gap:10px}
}
