/* Revisión SUMA 2026. Conserva el sistema visual y los estilos existentes. */
.homePage .homeHero,.homePage .homeHeroInner{min-height:0}
.homePage .homeHeroInner{padding:5rem 0;gap:3rem}
.homePage #como{padding-top:1.5rem}
@media(max-width:800px){.homePage #como{padding-top:.75rem}}
.homePage .homeHeroCopy h1{font-size:clamp(2.6rem,4.6vw,4.1rem);line-height:1.06;letter-spacing:-.035em;max-width:16ch}
.homePage .homeHeroCopy .homeTagline{font-size:.9rem;letter-spacing:.04em}
.homePage .homeLead{max-width:34rem}
.formatState{font-size:.875rem!important;font-weight:700;line-height:1.5;margin-top:1.5rem!important}
.brandsSection{background:#2447cc;color:#fffdfa}
.brandsSection h1,.brandsSection h2,.brandsSection h3,.brandsSection .eyebrow{color:#fffdfa}
.brandsSection .eyebrow{opacity:.9}
.brandsBack{display:inline-block;margin-bottom:2rem;color:#fffdfa;font-weight:650;text-underline-offset:.2em}
.brandsBack:focus-visible{outline:3px solid #fffdfa;outline-offset:5px}
.brandIntro{max-width:48rem}
.brandIntro h1,.brandIntro h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.15;letter-spacing:-.035em;margin:.8rem 0 1.25rem}
.brandsSection p{color:#fffdfa;line-height:1.65}
.brandFormats{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin-top:2.5rem;border-top:1px solid #ffffff70;padding-top:1.25rem}
.brandFormats h2,.brandFormats h3{font-size:1.25rem;line-height:1.3;letter-spacing:-.015em}
.brandMeasurement{max-width:48rem;margin:1.75rem 0 0}
.brandContact{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-top:2rem}
.brandsSection .brandContactButton{background:#fffdfa;border-color:#fffdfa;color:#2447cc;white-space:normal;text-align:center;min-height:3rem}
.brandsSection .brandContactButton:hover{background:#f0e9df;border-color:#f0e9df;color:#1834a1}
.brandsSection .brandContactButton:focus-visible{outline:3px solid #fffdfa;outline-offset:5px}
.profilePage .pageHead{max-width:52rem}
.profilePage .profileForm{max-width:60rem;margin:auto}
.profileSection{padding:1.7rem 0;border:0;border-top:1px solid var(--line);margin:0}
.profileSection:first-child{border-top:0;padding-top:0}
.profileSection h2,.profileSection legend{font-size:1.35rem;font-weight:750;color:var(--ink);margin:0 0 .7rem}
.profileSection>p{margin:.4rem 0 1.25rem;line-height:1.6}
.profileSection .formGrid{margin-top:1rem}
.profileSection label{font-size:1rem}
.profileSection .checkGrid{margin-top:1rem}
.profileOptional{border-top:1px solid var(--line);padding:1.5rem 0;margin-top:.5rem}
.profileOptional summary{cursor:pointer;color:var(--ink);font-size:1.2rem;font-weight:750;list-style-position:inside;min-height:2.75rem}
.profileOptional summary:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.profileOptional .formGrid{margin-top:1.5rem}
.profileHint{font-size:.95rem;color:var(--muted);line-height:1.55}
.profileActions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;padding-top:1rem}
.institutionalNote{max-width:48rem;margin:2rem 0 0;font-size:1rem}
@media(max-width:800px){.brandFormats{grid-template-columns:1fr}.brandFormats{gap:1rem}.homePage .homeHeroInner{padding:2.5rem 0;gap:2rem}.homePage .homeHeroCopy h1{font-size:clamp(2.4rem,9vw,3.4rem)}.profilePage .card{padding:1.25rem}.brandContact{align-items:flex-start;gap:1rem}.brandContactButton{width:100%}}

/* A short, accessible registration guide alongside the real signup flow. */
.tutorialInlineLink{display:inline-block;margin-top:1rem;color:var(--brand);font-weight:700;line-height:1.5;text-underline-offset:.2em}
.signupTutorial{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(2rem,4vw,3.5rem);padding:0 0 4.75rem;scroll-margin-top:2rem}
.signupTutorialCopy{min-width:0}
.signupTutorialCopy h2{font-size:clamp(2rem,3.2vw,2.8rem);line-height:1.15;letter-spacing:-.035em;max-width:15ch}
.signupTutorialIntro{font-size:1.125rem;line-height:1.6;color:var(--muted);margin:0 0 1.5rem;max-width:32rem}
.signupTutorialSteps{margin:0 0 1.75rem;padding-left:1.35rem;color:var(--text);font-size:1rem;line-height:1.65}
.signupTutorialSteps li{padding-left:.3rem;margin:0 0 1rem}
.signupTutorialSteps li:last-child{margin-bottom:0}
.signupTutorialSteps li::marker{color:var(--brand);font-weight:750}
.signupTutorialSteps strong{color:var(--ink)}
.signupTutorialMedia{min-width:0;width:min(100%,30rem);justify-self:center;margin:0}
.signupTutorialVideo{display:block;width:100%;height:auto;aspect-ratio:3/4;background:#2447cc;border:1px solid var(--line);border-radius:24px;overflow:hidden}
.signupTutorialMedia figcaption{margin-top:.9rem;color:var(--muted);font-size:.9375rem;line-height:1.6}
@media(max-width:800px){.signupTutorial{grid-template-columns:minmax(0,1fr);gap:2rem;padding-bottom:3.375rem}.signupTutorialCopy h2{max-width:none}.signupTutorialVideo{border-radius:18px}}

/* Account-specific home content must stay hidden until a guest session is confirmed. */
.homePage[data-home-session]:not([data-home-session="guest"]) [data-home-guest]{display:none!important}
