/* Approved hero and biology choreography. Keep these compositions intact. */
body[data-public] { --chapter-space:clamp(90px,10vw,160px); background:var(--qovia-landing-background); }
[data-public] .wrap { max-width:1280px; width:calc(100% - 128px); }
[data-page="landing"] .hero { min-height:680px; max-height:none; }
[data-page="landing"] .hero-inner { padding-bottom:54px; }
/* Manuel's 28 oct reference, centred on 30 oct: a "Qovia" eyebrow, a two-line headline, a larger dark paragraph and,
   under it, a grey pill holding the call to action. She stands on pure white, centred, at 83% of the hero's height (the
   frame is 3024x1688, so its box is at least 1.483 hero heights wide and narrow screens crop its empty sides); her foot
   fades into the page. */
[data-page="landing"] .hero { color:var(--qovia-text-dark); background:var(--qovia-landing-background); }
[data-page="landing"] .hero-image { opacity:1; top:4.2%; height:82.8%; width:max(100%,148.3svh,1008px); max-width:none; left:calc((100% - max(100%,148.3svh,1008px)) / 2); object-fit:contain; object-position:center top; }
[data-page="landing"] .hero:after { background:linear-gradient(180deg,#fff0 0%,#fff0 52%,#ffffffd9 78%,#fff 86%,#fff 100%); }
[data-page="landing"] .hero-eyebrow { font-size:24px; font-weight:500; line-height:1.2; letter-spacing:-.02em; margin:0 0 18px; }
[data-page="landing"] .hero-inner { text-align:center; }
[data-page="landing"] .hero h1 { font-size:clamp(40px,3.6vw,60px); font-weight:600; letter-spacing:-.04em; line-height:1.1; width:fit-content; max-width:800px; margin:0 auto 21px; }
[data-page="landing"] .hero p { font-size:19px; line-height:1.25; color:var(--qovia-text-dark); margin:0; }
[data-page="landing"] .hero-bottom { display:flex; flex-direction:column; align-items:center; gap:32px; }
[data-page="landing"] .hero-cta { display:inline-flex; align-items:center; gap:18px; flex:none; padding:7px 7px 7px 18px; border-radius:999px; background:#f2f2f2; text-align:left; }
/* Desktop (Manuel, 1 nov): back to the earlier layout, the copy on the left and the pill on the right, raised to sit
   level with the paragraph. Tablets and phones keep everything centred. */
@media (min-width:900px) {
 [data-page="landing"] .hero-inner { text-align:left; }
 [data-page="landing"] .hero h1 { margin-left:0; margin-right:0; }
 [data-page="landing"] .hero-bottom { flex-direction:row; justify-content:space-between; align-items:flex-end; gap:30px; }
 [data-page="landing"] .hero-cta { position:relative; bottom:17px; }
}
/* The pill's caption rolls through the three promises (src/landing-motion.ts). They share one grid cell, so the pill
   keeps the width of the longest and the button never moves; each line rises out as the next rises in. */
[data-page="landing"] .hero-cta-copy { display:grid; overflow:hidden; font-size:12px; line-height:1.35; }
[data-page="landing"] .hero-cta-item { grid-area:1/1; }
[data-page="landing"] .hero-cta-item:not(.is-active, .is-leaving) { visibility:hidden; }
[data-page="landing"] .hero-cta-item strong { display:block; font-weight:500; }
[data-page="landing"] .hero-cta-item span { display:block; color:var(--qovia-text-light); }
[data-page="landing"] .hero-cta-rolling .hero-cta-item.is-leaving > * { animation:hero-cta-out .35s cubic-bezier(.4,0,1,1) both; }
[data-page="landing"] .hero-cta-rolling .hero-cta-item.is-leaving > :nth-child(2) { animation-delay:.05s; }
[data-page="landing"] .hero-cta-rolling .hero-cta-item.is-active > * { animation:hero-cta-in .55s cubic-bezier(.2,.8,.2,1) .14s both; }
[data-page="landing"] .hero-cta-rolling .hero-cta-item.is-active > :nth-child(2) { animation-delay:.21s; }
@keyframes hero-cta-in { from { opacity:0; transform:translateY(100%); filter:blur(4px); } }
@keyframes hero-cta-out { to { opacity:0; transform:translateY(-100%); filter:blur(4px); } }
@keyframes hero-cta-fade-in { from { opacity:0; } }
@keyframes hero-cta-fade-out { to { opacity:0; } }
/* Rainbow headline sweep (Manuel's handover, 30 oct 2026, after refero.design): a slanted band of colour writes the
   headline in from left to right (1.8s), then passes through the words every 8s. On the h1's own box, which fits its
   words so the band never crosses empty space. The band, its stops, slant and size are the handover's; only the text
   colour is Qovia's (#1d1d1f, and its clear form). It plays as part of the copy intro below (Manuel, 30 oct).
   Reduced motion shows the plain headline. */
@media (prefers-reduced-motion:no-preference) {
 .headline-sweep { -webkit-text-fill-color:transparent; background-image:linear-gradient(-70deg, rgb(29 29 31 / 0) 32.81%, #00aaff 41.22%, #e1e1fe 45.71%, #ffcb5c 50.2%, #ff4400 54.68%, #f384ff 59.17%, #1d1d1f 65.16%); background-position:0% 50%; background-size:400% 100%; -webkit-background-clip:text; background-clip:text; }
 .hero-inner.is-playing .headline-sweep { animation:headline-sweep-draw 1.8s linear .65s both, headline-sweep-pass 8s linear 6.4s infinite; }
}
@keyframes headline-sweep-draw { from { background-position:100% 50%; } to { background-position:0% 50%; } }
@keyframes headline-sweep-pass {
 0% { background-image:linear-gradient(-70deg, #1d1d1f 32.81%, #00aaff 41.22%, #e1e1fe 45.71%, #ffcb5c 50.2%, #ff4400 54.68%, #f384ff 59.17%, #1d1d1f 65.16%); background-position:100% 50%; }
 22.5%, 100% { background-image:linear-gradient(-70deg, #1d1d1f 32.81%, #00aaff 41.22%, #e1e1fe 45.71%, #ffcb5c 50.2%, #ff4400 54.68%, #f384ff 59.17%, #1d1d1f 65.16%); background-position:0% 50%; }
}
@media (prefers-reduced-motion:reduce) {
 [data-page="landing"] .hero-cta-rolling .hero-cta-item.is-active > * { animation-name:hero-cta-fade-in; }
 [data-page="landing"] .hero-cta-rolling .hero-cta-item.is-leaving > * { animation-name:hero-cta-fade-out; }
}
/* Result cards behind her (Manuel, 30 oct): the photo's box (so the scroll drift moves both), a frame fitted inside it
   as the photo is, and her silhouette as the frame's mask (/assets/hero-mask.png, the inverse of her alpha at half
   size), so the cards show only where nothing of her covers them. Each is a result as the app shows it (name, value,
   reference bar, status in words), as wide as its content and fainter than the one above. Their right ends run behind
   her hair; every word, value and pointer stays clear of it. Where the 12px minimum makes the words wider than the
   card's scale, the stack moves left by the difference ("Para prestar atención" is 10.92 times its font size wide).
   Out of range, only the value's side of the bar is amber, so no coloured end peeks through her loose strands. */
[data-page="landing"] .hero-results { position:absolute; top:4.2%; height:82.8%; width:max(100%,148.3svh,1008px); left:calc((100% - max(100%,148.3svh,1008px)) / 2); container-type:size; pointer-events:none; }
.hero-results-frame { position:relative; width:min(100cqw,179.147cqh); height:min(100cqh,55.82cqw); margin:0 auto; container-type:inline-size; -webkit-mask:url(/assets/hero-mask.png) 0 0/100% 100% no-repeat; mask:url(/assets/hero-mask.png) 0 0/100% 100% no-repeat; }
.hero-results-stack { position:absolute; right:calc(49.4% + 10.92 * max(0px, 12px - .75em)); top:10.6%; display:grid; gap:.5em; font-size:max(11px,1.2cqw); line-height:1.15; text-align:left; color:var(--qovia-text-dark); }
.hero-result { padding:.75em 1.125em .8125em; border-radius:1.25em; background:#f2f2f2; }
.hero-result:nth-child(2) { opacity:.72; }
.hero-result:nth-child(3) { opacity:.4; }
.hero-result:nth-child(4) { display:none; }
.hero-result strong { display:block; font-size:max(12px,.8125em); font-weight:500; white-space:nowrap; }
.hero-result strong small { margin-left:.2em; font-size:max(12px,.9em); font-weight:400; color:var(--qovia-text-light); }
.hero-result-value { display:flex; align-items:baseline; gap:.25em; margin-top:.3125em; }
.hero-result-value b { font-size:1.625em; font-weight:600; line-height:1; letter-spacing:-.025em; }
.hero-result-value small { font-size:max(12px,.8125em); font-weight:500; color:var(--qovia-text-light); }
.hero-result-range { position:relative; display:grid; grid-template-columns:16fr 68fr 16fr; gap:2px; width:12em; height:.375em; margin-top:.8125em; }
.hero-result-range i { border-radius:999px; background:#dcdce1; }
.hero-result-range i:nth-of-type(2) { background:#2fae68; }
.hero-result.is-attention .hero-result-range i:first-of-type { background:#ec9a1e; }
.hero-result.is-attention .hero-result-range i:nth-of-type(2) { background:#dcdce1; }
.hero-result-range svg { position:absolute; left:var(--at); bottom:calc(100% + .1875em); width:.6875em; height:.5em; transform:translateX(-50%); color:var(--qovia-text-dark); }
.hero-result > span { display:block; margin-top:.5em; font-size:max(12px,.75em); font-weight:500; color:#1a7a45; white-space:nowrap; }
.hero-result.is-attention > span { color:#9a5b00; }
/* The third card needs a tall hero: on shorter screens the copy rises to its height, so two remain. */
@media (max-height:819px), (min-width:1360px) and (max-height:849px), (min-width:1560px) and (max-height:869px) {
 .hero-result:nth-child(3) { display:none; }
}
/* Copy intro (Manuel, 30 oct): the cards are there from the start; the copy follows. From the moment the photo and the
   font are ready (src/landing-motion.ts adds .is-playing to the copy): at 0.55s the eyebrow, at 0.65s the headline (its
   rainbow draw), at 0.85s the paragraph and at 1s the pill, each rising into focus. The head script hides the copy
   before first paint only when motion is allowed, and shows it after 3s whatever happens. The entrances fill
   backwards only, so each lets go of its element when it ends. */
.hero-intro .hero-eyebrow, .hero-intro .hero-bottom > * { opacity:0; }
.hero-intro .headline-sweep { background-position:100% 50%; }
.hero-eyebrow, .hero-bottom > * { transition:opacity .8s ease; }
.hero-inner.is-playing .hero-eyebrow { animation:hero-copy-in 1.2s cubic-bezier(.16,1,.3,1) .55s backwards; }
.hero-inner.is-playing .hero-bottom > p { animation:hero-copy-in 1.2s cubic-bezier(.16,1,.3,1) .85s backwards; }
.hero-inner.is-playing .hero-cta { animation:hero-copy-in 1.2s cubic-bezier(.16,1,.3,1) 1s backwards; }
@keyframes hero-copy-in { from { opacity:0; transform:translateY(14px); filter:blur(6px); } }
[data-page="landing"] .eyebrow, .chapter-label { font-size:16px; font-weight:550; letter-spacing:0; text-transform:none; margin:0 0 26px; line-height:1.4; }
.chapter-label { color:var(--qovia-text-dark); }
.lifestyle-copy .chapter-label { color:#ffffffc2; }
.biology-chapter { background:var(--qovia-landing-background); }
.biology-scroll { position:relative; }
.biology-stage { position:relative; background:var(--qovia-landing-background); isolation:isolate; display:flex; flex-direction:column; }
.biology-destination { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); align-items:center; gap:clamp(60px,7vw,120px); padding:90px 0; }
.biology-card-anchor { max-width:460px; width:100%; justify-self:center; }
.biology-detail h3 { font-size:clamp(36px,4.1vw,60px); font-weight:600; line-height:1.07; letter-spacing:-.045em; margin:0 0 24px; }
.biology-detail h3 span { color:inherit; }
.biology-detail > p:not(.chapter-label) { font-size:18px; line-height:1.6; max-width:420px; margin:0 0 24px; }
.biology-detail .chapter-label { font-size:15px; }
.biology-visual { display:none; }
.biology-statements { order:-1; padding:70px 24px; text-align:center; background:linear-gradient(#18000066,#18000066),url("/assets/biology-red.webp") center/cover; }
.biology-statement { color:white; font-size:clamp(32px,4.5vw,72px); letter-spacing:-.05em; font-weight:600; line-height:1.1; margin:24px auto; }
.biology-caption, .story-skip { display:none; }
.scene-ready { height:490svh; }
.scene-ready .biology-stage { display:block; position:sticky; top:64px; height:calc(100svh - 64px); min-height:0; overflow:clip; }
.scene-ready .biology-destination { height:100%; padding-top:20px; padding-bottom:20px; }
.scene-ready .biology-visual { display:block; position:absolute; inset:0; z-index:2; overflow:hidden; pointer-events:none; }
.scene-ready .biology-image { position:absolute; max-width:none; object-fit:cover; transform-origin:center; }
.scene-ready .biology-scrim { position:absolute; inset:0; background:#160000; }
.scene-ready .biology-statements { position:absolute; inset:0; z-index:3; background:none; padding:0; pointer-events:none; }
.scene-ready .biology-statement { position:absolute; left:6%; right:6%; top:50%; transform:translateY(-50%); margin:0; font-size:clamp(54px,7.2vw,112px); letter-spacing:-.055em; }
/* ScrollTrigger may revert time-zero sets while the scene is before its start.
   The CSS baseline must therefore be a complete first frame, not stacked text
   behind an opaque scrim. These rules apply only to the enhanced sticky scene;
   the no-JS, reduced-motion and compact-screen layouts remain fully visible. */
.scene-ready .biology-statement span { display:inline-block; opacity:0; transform:translateY(35px); }
.scene-ready .biology-scrim { opacity:.18; }
.scene-ready .biology-image { transform:scale(1.12); }
.scene-ready .biology-card-anchor, .scene-ready .biology-detail { opacity:0; }
.scene-ready [data-biology-target] > img { opacity:0; }
.scene-ready .biology-caption { display:flex; position:absolute; z-index:3; left:40px; right:40px; bottom:28px; justify-content:space-between; color:#ffffffce; font-size:12px; letter-spacing:.06em; pointer-events:none; }
.scene-ready .story-skip { display:block; position:absolute; z-index:4; top:22px; right:32px; }
.marker-topics-heading .chapter-label { font-size:20px; color:var(--qovia-text-dark); letter-spacing:-.025em; margin:0; }
@media (max-width:1100px) {
 [data-public] .wrap { width:calc(100% - 80px); }
 .biology-destination { gap:45px; }
 .biology-detail h3 { font-size:42px; }
 [data-public] .nav-links { gap:18px; font-size:13px; }
}
@media (max-width:899px) {
 [data-public] .wrap { width:calc(100% - 48px); }
 [data-page="landing"] .hero { min-height:720px; }
 [data-page="landing"] :is(.hero-image, .hero-results) { width:max(100%,148.3svh,1068px); left:calc((100% - max(100%,148.3svh,1068px)) / 2); }
 [data-page="landing"] .hero h1 { font-size:44px; }
 [data-page="landing"] .hero-bottom { gap:24px; }
 [data-page="landing"] .hero-inner { padding-bottom:36px; }
 .biology-destination { grid-template-columns:1fr; gap:28px; padding-top:60px; padding-bottom:60px; }
 .biology-card-anchor { max-width:420px; }
 .biology-detail { text-align:center; }
 .biology-detail h3 { font-size:36px; margin-bottom:16px; }
 .biology-detail .chapter-label { display:none; }
 .biology-detail > p:not(.chapter-label) { max-width:520px; margin:0 auto 18px; font-size:16px; }
 .scene-ready { height:440svh; }
 .scene-ready .biology-destination { display:flex; flex-direction:column; justify-content:center; gap:24px; padding-top:18px; padding-bottom:18px; }
 .scene-ready .biology-detail h3 { font-size:29px; }
 .scene-ready .biology-detail > p:not(.chapter-label) { display:none; }
 .scene-ready .biology-statement { font-size:clamp(45px,8vw,76px); left:5%; right:5%; }
 .scene-ready .biology-caption { left:24px; right:24px; bottom:22px; font-size:11px; }
 .scene-ready .story-skip { right:22px; top:16px; }
}
@media (max-width:600px) {
 [data-page="landing"] .hero-eyebrow { font-size:17px; margin-bottom:10px; }
 [data-page="landing"] .hero h1 { font-size:min(36px,(100vw - 48px) * .102); line-height:1.1; margin-bottom:16px; text-wrap:balance; }
 [data-page="landing"] .hero h1 br { display:none; }
 [data-page="landing"] .hero p { font-size:16px; line-height:1.35; }
 /* Manuel's phone reference (30 oct): the hero fills the whole screen, down behind Safari's floating bottom bar
    (100lvh; 100svh stops above that bar on iOS 26). The copy sits just above the bar: --pad is the bar's height as the
    browser reports it (100lvh - 100svh) plus 20px. The photo runs down to the foot, her face large and right of centre,
    with the result cards beside her head as on desktop. Its height (--fh) follows the hero's (--h), the bar, the copy's
    height (--copy, taller where the paragraph takes three lines) and the screen's width, so that her chin sits just
    above the copy, her hair below the header, and the cards' words clear of her hair; the cards line up with the
    wordmark. The wash behind the copy follows his mockup (30% at the copy's top to 93% near the foot). */
 [data-page="landing"] .hero { --h:max(100lvh,560px); --pad:calc(100lvh - 100svh + 20px); --copy:242px; height:var(--h); min-height:560px; }
 [data-page="landing"] :is(.hero-image, .hero-results) { --fh:min(var(--h) * .87, (var(--h) - var(--pad) - var(--copy) - 105px) * 2.252, (100vw - 155px) * 2.85); --ftop:min(var(--h) - var(--pad) - var(--copy) - 25px - var(--fh) * .529, 116px - var(--fh) * .085); top:var(--ftop); left:calc(100% - var(--fh) * 1.14); width:calc(var(--fh) * 1.7915); height:var(--fh); max-width:none; }
 [data-page="landing"] .hero-image { -webkit-mask:linear-gradient(#000 94%,#0000); mask:linear-gradient(#000 94%,#0000); }
 /* The cards run from just under the header down behind her shoulder, each fainter (Manuel, 30 oct), and fade out
    just above the copy, so they never reach the words. --ftop is the photo's top: her chin just above the copy, but her
    hair no lower than 116px, so a tall screen without Safari's bar has no empty band under the header. */
 [data-page="landing"] .hero-results-stack { top:max(4px, 84px - var(--ftop)); left:calc(24px - 100vw + var(--fh) * 1.14); right:auto; }
 [data-page="landing"] .hero-results-frame { --fade:calc(var(--h) - var(--pad) - var(--copy) - var(--ftop)); -webkit-mask:url(/assets/hero-mask.png) 0 0/100% 100% no-repeat, linear-gradient(#000 calc(var(--fade) - 80px), #0000 calc(var(--fade) - 8px)); -webkit-mask-composite:source-in; mask:url(/assets/hero-mask.png) 0 0/100% 100% no-repeat, linear-gradient(#000 calc(var(--fade) - 80px), #0000 calc(var(--fade) - 8px)); mask-composite:intersect; }
 .hero-result:is(:nth-child(3), :nth-child(4)) { display:block; }
 .hero-result:nth-child(3) { opacity:.5; }
 .hero-result:nth-child(4) { opacity:.3; }
 [data-page="landing"] .hero-inner { padding-bottom:var(--pad); }
 /* Phones start the copy 0.4s sooner. */
 .hero-inner.is-playing .hero-eyebrow { animation-delay:.15s; }
 .hero-inner.is-playing .headline-sweep { animation-delay:.25s, 6s; }
 .hero-inner.is-playing .hero-bottom > p { animation-delay:.45s; }
 .hero-inner.is-playing .hero-cta { animation-delay:.6s; }
 [data-page="landing"] .hero:after { background:linear-gradient(180deg,#fff0 0%,#fff0 calc(100% - 58px - var(--pad) - var(--copy)),#ffffff4d calc(100% - var(--pad) - var(--copy)),#ffffffed calc(100% - 40px),#fff 100%); }
 .scene-ready .biology-destination { gap:20px; width:calc(100% - 40px); }
 .scene-ready .biology-card-anchor { max-width:370px; }
 .scene-ready .biology-detail h3 { font-size:26px; line-height:1.12; max-width:300px; margin:0 auto 14px; }
 .scene-ready .biology-caption { font-size:10px; letter-spacing:0; }
 .scene-ready .biology-statement { font-size:48px; line-height:1.06; }
 .scene-ready .statement-two { font-size:44px; }
 .marker-topics-heading .chapter-label { font-size:20px; }
}
/* Narrow phones: the paragraph takes three lines, so the photo and cards sit 20px higher. */
@media (max-width:399px) { [data-page="landing"] .hero { --copy:262px; } }
@media(prefers-reduced-motion:reduce) {
 [data-page="landing"] *, [data-page="landing"] *::before, [data-page="landing"] *::after { scroll-behavior:auto!important; }
}

/* Quiet editorial chapters. Layout surrounds original Spectrum components. */
[data-public] .quiet-section { padding:112px 0; }
[data-public] .quiet-heading { margin-bottom:58px; }
[data-public] .quiet-heading.centered { text-align:center; }
[data-public] .quiet-label { font-size:18px; line-height:1.3; font-weight:550; color:var(--qovia-text-light); margin:0 0 25px; letter-spacing:-.035em; }
[data-public] .quiet-heading h2 { font-size:42px; font-weight:600; letter-spacing:-.035em; line-height:1.15; margin:0; text-wrap:balance; }
[data-public] .quiet-heading h2 span { color:inherit; }
[data-public] .quiet-lead { font-size:18px; line-height:1.45; letter-spacing:-.022em; color:var(--qovia-text-dark); margin:25px 0 0; max-width:720px; }
[data-public] .centered .quiet-lead { margin-left:auto; margin-right:auto; }
[data-public] .quiet-heading .textlink { display:inline-block; margin-top:28px; }
[data-public] .textlink { font-size:16px; font-weight:500; color:var(--qovia-text-dark); border:0; }
[data-public] .textlink:hover { text-decoration:underline; text-underline-offset:4px; }
[data-page="landing"] .fineprint { font-size:12px!important; line-height:1.6; color:var(--qovia-text-light); margin-top:24px; }

/* A pause after the hero: nothing competing with the three ideas. */
[data-page="landing"] .method-chapter { background:var(--qovia-landing-background); padding:120px 0 104px; }
[data-page="landing"] .method-intro { margin-bottom:88px; }
[data-page="landing"] .method-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:56px; padding:0; }
[data-page="landing"] .method-steps article { display:flex; flex-direction:column; border-top:1px solid #dedfdd; padding-top:24px; }
[data-page="landing"] .step-number { display:block; font-size:16px; color:var(--qovia-text-light); margin:0 0 25px; }
[data-page="landing"] .method-steps h3 { font-size:20px; font-weight:550; letter-spacing:-.035em; line-height:1.25; margin:0 0 14px; }
[data-page="landing"] .method-steps p { font-size:16px; line-height:1.55; max-width:320px; margin:0 0 20px; }
[data-page="landing"] .method-steps .textlink { font-size:14px; margin-top:auto; align-self:flex-start; }

/* Packs (Manuel, 5 nov: the six areas): a rail of light grey cards that scrolls sideways, after the Medichecks carousel
   he sent, drawn after his Function-style reference without photos: the pack's name, five of its studies with the last
   ones fading out, and "Ver pack", which opens the pack in an overlay. The rail runs to the screen's right edge while
   its first card lines up with the text; it snaps card by card, and on desktop two arrows below it move a page at a
   time. Phones swipe it, with the next card in sight. No shadows, no borders. */
[data-page="landing"] .pack-chapter { background:var(--qovia-landing-background); }
[data-page="landing"] .quiet-heading.pack-head { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:48px; align-items:end; margin-bottom:44px; }
[data-page="landing"] .pack-lead { max-width:340px; margin:0 0 4px; font-size:17px; color:var(--qovia-text-light); }
/* The scroller spans the screen; the list inside it carries the side space (the page gutter), which every browser
   scrolls to, unlike a scroller's own end padding. Cards share three rows (subgrid): name, studies, action. So the
   studies and actions line up across the rail whatever the length of the name. */
.pack-rail-block { --rail-edge:max(64px, (100vw - 1280px) / 2); }
.pack-rail { margin:0 calc(-1 * var(--rail-edge)); overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--rail-edge); scrollbar-width:none; }
.pack-rail::-webkit-scrollbar { display:none; }
.pack-rail-list { display:grid; grid-auto-flow:column; grid-auto-columns:300px; grid-template-rows:repeat(3, auto); column-gap:16px; width:max-content; margin:0; padding:0 var(--rail-edge); list-style:none; }
.pack-card { display:grid; grid-row:span 3; grid-template-rows:subgrid; min-width:0; padding:30px 28px 28px; border-radius:28px; background:#f5f5f7; color:#1d1d1f; scroll-snap-align:start; transition:background-color .2s ease; }
.pack-card h3 { margin:0; font-size:28px; font-weight:600; line-height:1.1; letter-spacing:-.03em; color:#1d1d1f; text-wrap:balance; }
.pack-card-markers { margin:88px 0 0; padding:0; list-style:none; font-size:17px; line-height:1.7; letter-spacing:-.01em; color:#6e6e73; -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 3.4em),rgb(0 0 0 / .14) 100%); mask-image:linear-gradient(180deg,#000 calc(100% - 3.4em),rgb(0 0 0 / .14) 100%); }
.pack-card-action { margin-top:26px; }
/* With its overlay ready the whole card opens the pack. */
.has-pack-dialog .pack-card { cursor:pointer; }
.has-pack-dialog .pack-card:hover { background:#efeff2; }
.pack-rail-foot { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:24px; }
.pack-foot-copy { margin:0; font-size:14px; line-height:1.5; color:var(--qovia-text-light); }
.pack-foot-copy .textlink { margin-left:4px; font-size:14px; color:var(--qovia-text-dark); }
/* The arrows work once the script is there, so they show only then. */
.pack-rail-controls { display:flex; gap:10px; visibility:hidden; }
.pack-rail-block.is-ready .pack-rail-controls { visibility:visible; }
/* The pack overlay (src/pack-dialog.tsx): the native dialog, portalled to the page's body, holding every study with
   its purpose in two columns divided by hairlines (one on phones), the starting price and the next steps. */
[data-public] .pack-dialog-meta { margin:0; font-size:14px; color:#6e6e73; }
[data-public] .pack-dialog-group h3 { display:flex; align-items:baseline; gap:8px; margin:4px 0 6px; font-size:17px; font-weight:600; letter-spacing:-.015em; color:#1d1d1f; }
[data-public] .pack-dialog-group h3 span { font-size:13px; font-weight:400; letter-spacing:0; color:#6e6e73; }
[data-public] .pack-dialog-studies { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; margin:0; padding:0; list-style:none; }
[data-public] .pack-dialog-studies li { display:flex; flex-direction:column; gap:2px; padding:13px 0; border-top:1px solid #ececf0; }
[data-public] .pack-dialog-studies strong { font-size:15px; font-weight:500; line-height:1.35; color:#1d1d1f; }
[data-public] .pack-dialog-studies span { font-size:14px; line-height:1.4; color:#6e6e73; }
[data-public] .pack-dialog-actions { display:flex; align-items:center; gap:8px; width:100%; padding-top:16px; border-top:1px solid #ececf0; }
[data-public] .pack-dialog-price { display:flex; align-items:baseline; gap:6px; margin:0 auto 0 0; font-size:20px; font-weight:600; letter-spacing:-.015em; color:#1d1d1f; }
[data-public] .pack-dialog-price span { font-size:13px; font-weight:400; letter-spacing:0; color:#6e6e73; }
@media (max-width:639px) {
 [data-public] .pack-dialog-studies { grid-template-columns:minmax(0,1fr); }
 [data-public] .pack-dialog-actions { display:grid; grid-template-columns:minmax(0,1fr); }
 [data-public] .pack-dialog-price { margin:0 0 4px; }
}
@media (max-width:1100px) { .pack-rail-block { --rail-edge:40px; } }
@media (max-width:899px) { .pack-rail-block { --rail-edge:24px; } }
@media (max-width:760px) {
 [data-page="landing"] .quiet-heading.pack-head { grid-template-columns:1fr; gap:0; margin-bottom:32px; }
 [data-page="landing"] .pack-lead { max-width:none; margin-top:18px; font-size:16px; }
 .pack-rail-controls { display:none; }
}
@media (max-width:600px) {
 .pack-rail-list { grid-auto-columns:min(78vw,320px); column-gap:12px; }
 .pack-card { padding:26px 24px 24px; border-radius:24px; }
 .pack-card h3 { font-size:26px; }
 .pack-card-markers { margin-top:64px; }
 .pack-rail-foot { margin-top:20px; }
}

/* Smaller editorial hierarchy. The approved red stage above is unchanged. */
.biology-intro { text-align:center; padding:112px 0 100px; }
.biology-intro .chapter-label { color:var(--qovia-text-light); margin-bottom:28px; font-size:18px; font-weight:550; letter-spacing:-.035em; }
.biology-intro h2 { font-size:42px; font-weight:600; letter-spacing:-.035em; line-height:1.15; }
.biology-intro h2 span { color:inherit; }
.biology-intro > p:last-child { max-width:880px; font-size:18px; line-height:1.45; margin:30px auto 0; color:var(--qovia-text-dark); letter-spacing:-.02em; }
.marker-topics { padding:70px 0 100px; }
.marker-topics-heading { display:flex; align-items:baseline; justify-content:space-between; gap:30px; margin-bottom:40px; }
.marker-topics-heading .chapter-label { font-size:20px; color:var(--qovia-text-dark); margin:0; }
.marker-topics-heading > p:last-child { font-size:16px; }
.marker-topics-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; }
.marker-topics-grid article { border-top:1px solid #dfe2dc; padding-top:18px; }
.marker-topics-grid article > span { font-size:13px; color:var(--qovia-text-light); }
.marker-topics-grid h3 { font-size:22px; line-height:1.15; font-weight:550; letter-spacing:-.035em; margin:25px 0 20px; }
.marker-topics-grid p { font-size:14px; line-height:1.5; margin-top:8px; }
.marker-topics-grid p:first-of-type { font-weight:500; color:var(--qovia-text-dark); }

/* Product evidence has one contained surface; surrounding text stays open. */
[data-page="landing"] .history-chapter { background:var(--qovia-landing-background); }
[data-page="landing"] .history-layout { display:grid; grid-template-columns:1fr 1fr; gap:85px; align-items:center; padding:14px 30px 0; }
[data-page="landing"] .history-composition { min-width:0; }
[data-page="landing"] .history-note { text-align:center; font-size:12px; line-height:1.6; margin:20px 0 0; }
[data-page="landing"] .history-feature { display:grid; grid-template-columns:20px 1fr; gap:18px; margin-bottom:28px; }
[data-page="landing"] .history-feature > span { font-size:12px; color:var(--qovia-text-light); padding-top:5px; }
[data-page="landing"] .history-feature h3 { font-size:20px; line-height:1.3; font-weight:550; letter-spacing:-.025em; margin-bottom:10px; }
[data-page="landing"] .history-feature p { font-size:16px; line-height:1.55; }
[data-page="landing"] .history-action { padding-left:38px; margin-top:32px; }
[data-page="landing"] .history-action p { font-size:12px; margin-top:12px; }

/* Trust comes from names and responsibilities, without decorative portraits. */
[data-page="landing"] .medical-team { display:grid; grid-template-columns:1fr 1fr; gap:96px; }
[data-page="landing"] .medical-team article { border-top:1px solid #dfe2dc; padding-top:28px; }
[data-page="landing"] .role-label { font-size:14px; color:var(--qovia-text-dark); margin:0 0 20px; }
[data-page="landing"] .medical-team h3 { font-size:24px; line-height:1.13; letter-spacing:-.035em; font-weight:550; margin:0 0 22px; }
[data-page="landing"] .medical-team article > p:last-child { max-width:460px; font-size:16px; line-height:1.65; }
[data-page="landing"] .medical-note { display:grid; grid-template-columns:1fr 1.4fr; gap:60px; align-items:center; padding:42px 48px; border-radius:24px; background:var(--qovia-landing-background); margin-top:70px; }
[data-page="landing"] .medical-note h3 { font-size:26px; line-height:1.12; font-weight:550; letter-spacing:-.04em; }
[data-page="landing"] .medical-note p { font-size:16px; line-height:1.5; letter-spacing:-.02em; }
[data-page="landing"] .medical-note strong { color:var(--qovia-text-dark); font-weight:550; }
[data-page="landing"] #sedes { background:var(--qovia-landing-background); }
[data-page="landing"] .locations-layout { display:grid; grid-template-columns:1fr 1fr; gap:85px; }
[data-page="landing"] .locations-layout .quiet-heading { margin:0; }
[data-page="landing"] .locations-layout h2 { font-size:36px; }
[data-page="landing"] .location-caption { max-width:290px; font-size:15px; line-height:1.6; margin-top:32px; }
[data-page="landing"] .location-list article { display:grid; grid-template-columns:24px 1fr; gap:16px; padding:24px 0; border-top:1px solid #dbe0d8; }
[data-page="landing"] .location-list article > span { color:var(--qovia-text-light); font-size:13px; padding-top:3px; }
[data-page="landing"] .location-list h3 { font-size:20px; line-height:1.3; font-weight:550; letter-spacing:-.025em; margin-bottom:8px; }
[data-page="landing"] .location-list p { font-size:14px; line-height:1.6; }
[data-page="landing"] .location-list .fineprint { margin-top:8px; }

/* The final chapters use a smaller hierarchy and a shared reading column. */
[data-page="landing"] .privacy-chapter { background:var(--qovia-landing-background); }
[data-page="landing"] .privacy-layout, [data-page="landing"] .faq-layout { display:grid; grid-template-columns:1fr 1.15fr; gap:90px; }
[data-page="landing"] .privacy-layout .quiet-heading, [data-page="landing"] .faq-layout .quiet-heading { margin:0; }
[data-page="landing"] .privacy-layout h2 { font-size:36px; }
[data-page="landing"] .privacy-layout .quiet-label, [data-page="landing"] .faq-layout .quiet-label { font-size:18px; }
[data-page="landing"] .privacy-points { display:grid; gap:30px; }
[data-page="landing"] .privacy-points article + article { padding-top:26px; border-top:1px solid #dce1d9; }
[data-page="landing"] .privacy-points h3 { font-size:20px; line-height:1.3; font-weight:550; letter-spacing:-.02em; margin:0 0 10px; }
[data-page="landing"] .privacy-points p { font-size:16px; line-height:1.6; }
[data-page="landing"] .faq-layout h2 { font-size:36px; }
[data-page="landing"] .faq-layout .quiet-lead { font-size:18px; }
[data-page="landing"] .faq-layout > *, [data-page="landing"] .privacy-layout > *, [data-page="landing"] .locations-layout > * { min-width:0; }
[data-page="landing"] .faq-list { max-width:none; width:100%; margin:0; }
[data-page="landing"] .quiet-closing { padding:100px 0 135px; background:var(--qovia-landing-background); }
[data-page="landing"] .quiet-closing .quiet-heading { border-top:1px solid #e0e3de; padding-top:100px; margin-bottom:0; }
[data-page="landing"] .quiet-closing .quiet-lead { margin-bottom:30px; }
[data-public] .footer { background:var(--qovia-landing-background); color:var(--qovia-text-dark); padding-top:60px; }
[data-public] .footer p, [data-public] .footer a:not(.wordmark) { color:var(--qovia-text-dark); }
[data-public] .footer h3 { color:var(--qovia-text-dark); }
[data-public] .footer .wordmark { font-size:38px; }
[data-public] .footer-bottom { color:var(--qovia-text-dark); border-color:#dce1d9; }

@media (max-width:1100px) {
 [data-public] .quiet-heading h2 { font-size:40px; }
 [data-page="landing"] .history-layout { padding:0; gap:50px; }
 [data-page="landing"] .medical-team { gap:60px; }
 [data-page="landing"] .locations-layout, [data-page="landing"] .privacy-layout, [data-page="landing"] .faq-layout { gap:48px; }
 [data-page="landing"] .locations-layout h2, [data-page="landing"] .faq-layout h2 { font-size:36px; }
 [data-page="landing"] .privacy-layout h2 { font-size:36px; }
}
@media (max-width:899px) {
 [data-public] .quiet-section { padding:85px 0; }
 [data-public] .quiet-heading { margin-bottom:44px; }
 [data-public] .quiet-label { font-size:18px; margin-bottom:22px; }
 [data-public] .quiet-heading h2 { font-size:36px; }
 [data-public] .quiet-lead { font-size:18px; }
 [data-page="landing"] .method-intro { margin-bottom:60px; }
 [data-page="landing"] .method-steps { gap:28px; }
 [data-page="landing"] .method-steps h3 { font-size:20px; }
 [data-page="landing"] .method-steps p { font-size:16px; }
 [data-page="landing"] .history-layout { grid-template-columns:1fr; gap:48px; max-width:560px; margin:auto; }
 [data-page="landing"] .history-copy { max-width:480px; margin:auto; }
 [data-page="landing"] .history-composition { width:100%; }
 [data-page="landing"] .medical-note { gap:32px; padding:32px; }
 [data-page="landing"] .medical-note h3 { font-size:24px; }
 [data-page="landing"] .medical-note p { font-size:16px; }
 [data-page="landing"] .locations-layout, [data-page="landing"] .privacy-layout, [data-page="landing"] .faq-layout { grid-template-columns:1fr; gap:40px; }
 [data-page="landing"] .location-caption { max-width:450px; }
 [data-page="landing"] .locations-layout h2, [data-page="landing"] .privacy-layout h2, [data-page="landing"] .faq-layout h2 { font-size:32px; }
 .biology-intro { padding:85px 0 75px; }
 .biology-intro .chapter-label { font-size:18px; }
 .biology-intro h2 { font-size:36px; }
 .biology-intro > p:last-child { font-size:18px; max-width:650px; }
 .marker-topics-heading { display:block; }
 .marker-topics-heading > p:last-child { margin-top:12px; }
 .marker-topics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:35px; }
}
@media (max-width:600px) {
 [data-public] .quiet-section { padding:72px 0; }
 [data-public] .quiet-label { font-size:16px; margin-bottom:20px; }
 [data-public] .quiet-heading h2 { font-size:30px; line-height:1.15; }
 [data-public] .quiet-heading.centered { text-align:left; }
 [data-public] .quiet-lead { font-size:16px; line-height:1.5; margin-top:22px; }
 [data-page="landing"] .method-chapter { padding-top:80px; }
 [data-page="landing"] .method-intro h2 { max-width:260px; }
 [data-page="landing"] .method-steps { grid-template-columns:1fr; gap:32px; }
 [data-page="landing"] .method-steps article { display:grid; grid-template-columns:24px 1fr; gap:0 18px; padding-top:22px; }
 [data-page="landing"] .step-number { grid-row:1/4; font-size:13px; margin-top:4px; }
 [data-page="landing"] .method-steps p { font-size:16px; max-width:none; margin-bottom:16px; }
 [data-page="landing"] .method-steps .textlink { grid-column:2; }
 .biology-intro { padding:75px 0 68px; }
 .biology-intro .chapter-label { font-size:16px; margin-bottom:23px; }
 .biology-intro h2 { font-size:30px; line-height:1.15; }
 .biology-intro h2 br { display:none; }
 .biology-intro > p:last-child { font-size:16px; margin-top:25px; }
 .marker-topics { padding:55px 0 70px; }
 .marker-topics-heading .chapter-label { font-size:20px; }
 .marker-topics-grid { gap:30px 20px; }
 .marker-topics-grid h3 { font-size:20px; }
 .marker-topics-grid p { font-size:13px; }
 [data-page="landing"] .history-layout { gap:38px; }
 [data-page="landing"] .history-feature { gap:14px; }
 [data-page="landing"] .history-action { padding-left:34px; }
 [data-page="landing"] .medical-team { grid-template-columns:1fr; gap:40px; }
 [data-page="landing"] .medical-team h3 { font-size:22px; }
 [data-page="landing"] .medical-team article { padding-top:24px; }
 [data-page="landing"] .medical-note { grid-template-columns:1fr; gap:22px; margin-top:42px; padding:28px; border-radius:20px; }
 [data-page="landing"] .medical-note h3 br { display:none; }
 [data-page="landing"] .location-list h3 { font-size:18px; }
 [data-page="landing"] .location-list article { gap:10px; }
 [data-page="landing"] .locations-layout h2, [data-page="landing"] .privacy-layout h2, [data-page="landing"] .faq-layout h2 { font-size:30px; }
 [data-page="landing"] .faq-layout h2 br { display:none; }
 [data-page="landing"] .faq-layout .quiet-lead { font-size:16px; }
 [data-page="landing"] .quiet-closing { padding:0 0 80px; }
 [data-page="landing"] .quiet-closing .quiet-heading { padding-top:65px; }
 [data-public] .footer { padding-top:45px; }
 [data-public] .footer-grid { gap:32px 24px; }
}
/* Header: transparent over the hero (no fill, blur or rule), fading to white as the hero leaves (dist/site.js). */
[data-page="landing"] .nav { -webkit-backdrop-filter:none; backdrop-filter:none; transition:background-color .5s ease, color .5s ease, border-color .5s ease; }
[data-page="landing"] .nav:not(.solid):not(.mobile-open):not(.history-dark) { background:transparent; border-bottom-color:transparent; color:var(--qovia-text-dark); }
[data-page="landing"] .nav.solid { background:var(--qovia-landing-background); }

/* Cómo funciona: a white, native-scroll stage around original Spectrum cards. */
[data-page="landing"] .method-chapter { padding:0; background:var(--qovia-landing-background); }
.method-stage { position:relative; padding:100px 0; }
.method-composition { display:flex; flex-direction:column; align-items:center; gap:24px; }
.method-heading { text-align:center; }
[data-page="landing"] .method-heading .quiet-label { margin:0 0 16px; }
.method-heading h2 { font-size:42px; line-height:1.15; font-weight:600; letter-spacing:-.035em; margin:0; }
.method-heading h2 span { display:inline-block; }
.method-heading > p:last-child { font-size:18px; line-height:1.5; color:var(--qovia-text-dark); margin:18px 0 0; }
.method-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:22px; align-items:start; margin-top:40px; }
.method-card-shell { min-width:0; }
/* Image-led editorial cards, matching Manuel's new visual reference. */
.process-editorial-card { border-radius:20px; overflow:hidden; background:#111512; box-shadow:none; isolation:isolate; }
.process-image { position:relative; height:clamp(246px,30svh,300px); overflow:hidden; }
.process-image img { display:block; width:100%; height:100%; object-fit:cover; }
.process-history .process-image img { object-position:38% 40%; }
.process-copy { position:relative; margin-top:-20px; border-radius:20px 20px 0 0; background:#111512; padding:22px 24px 20px; }
.process-copy h3 { color:#fdfef8; font-size:28px; line-height:1.06; font-weight:500; letter-spacing:-.04em; margin:0 0 12px; }
.process-copy > p { color:#c4c4c4; font-size:13px; line-height:1.5; min-height:39px; margin:0; max-width:300px; }
.process-action { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:18px; }
.process-action > span { font-size:12px; color:#92978f; }
.process-action [data-spectrum] { --secondary:#2b302c; --secondary-foreground:#fdfef8; --ring:#c4c4c4; --background:#111512; }
.method-progress { display:none; }
/* Complete initial frame in CSS prevents first-entry and reverse-scroll flashes. */
.method-ready { height:320svh; }
.method-ready .method-stage { position:sticky; top:64px; height:calc(100svh - 64px); padding:18px 0; display:flex; align-items:center; }
.method-ready .method-composition { gap:24px; }
.method-ready .method-heading { transform:none; }
.method-ready .method-heading h2 span { color:var(--qovia-text-dark); }
.method-ready .method-heading > p:last-child { opacity:1; transform:none; }
.method-ready .method-card-shell { opacity:0; visibility:hidden; transform:translateY(28px); }

@media(max-width:1100px) {
 .method-cards { gap:16px; }
 .method-heading h2 { font-size:40px; }
}
@media(max-width:899px) {
 .method-heading h2 { font-size:36px; }
 .method-cards { grid-template-columns:1fr; max-width:420px; gap:24px; }
 .method-stage { padding:80px 0; }
 .method-ready { height:360svh; }
 .method-ready .method-cards { display:grid; }
 .method-ready .method-card-shell { grid-area:1/1; width:100%; }
 .method-ready .method-heading { transform:none; }
 .method-ready .method-progress { display:flex; gap:6px; justify-content:center; order:3; }
 .method-progress > span { width:28px; height:3px; border-radius:5px; background:#e3e5df; overflow:hidden; }
 .method-progress i { display:block; width:100%; height:100%; background:var(--qovia-text-dark); transform:scaleX(0); transform-origin:left; }
}
@media(max-width:600px) {
 .method-heading h2 { font-size:30px; }
 .method-heading > p:last-child { font-size:16px; max-width:290px; margin:16px auto 0; }
 .method-heading .quiet-label { font-size:16px; }
 .method-composition { gap:24px; }
 .method-cards { margin-top:24px; }
 .method-ready .method-composition { gap:24px; }
 .method-ready .method-stage { padding:20px 0; }
}

/* Editorial system for the chapters after the approved opening sequences. */
.dark-editorial { background:#111512; color:#fdfef8; --secondary:#fdfef8; --secondary-foreground:#111512; --border:#364039; --ring:#b8c4b6; }

/* The biology scene is unchanged. These are the four explanatory tiles after it. */
.marker-topics { padding-top:96px; padding-bottom:112px; }
.marker-topics-heading { align-items:center; margin-bottom:36px; }
.marker-topics-grid { gap:16px; }
.marker-topics-grid article { background:#f0f2eb; border:0; border-radius:20px; padding:28px; min-height:266px; }
.marker-topics-grid article > span { color:var(--qovia-text-light); }
.marker-topics-grid h3 { font-size:24px; margin:42px 0 20px; }
.marker-topics-grid p { color:var(--qovia-text-dark); }
.marker-topics-grid p:first-of-type { font-size:12px; font-weight:550; }

/* A spacious product window puts the longitudinal story at readable scale. */
[data-page="landing"] .history-chapter { padding-top:64px; }
[data-page="landing"] .history-chapter .quiet-heading { margin-bottom:72px; }
[data-page="landing"] .history-layout.history-showcase { background:#f0f2eb; border-radius:28px; padding:64px 48px; gap:48px; grid-template-columns:1.25fr 1fr; }
.history-window { background:#fdfef8; border-radius:18px; overflow:hidden; box-shadow:none; border:1px solid #e3e8de; }
.history-window-bar { padding:17px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--qovia-text-light); font-size:10px; border-bottom:1px solid #e4e8de; }
.window-dots { display:flex; gap:5px; }
.window-dots i { width:5px; height:5px; border-radius:50%; background:#ccd2c5; }
.history-window-content { padding:32px; }
.history-window-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.history-window-title p { font-size:10px; letter-spacing:.09em; color:var(--qovia-text-light); margin:0 0 10px; }
.history-window-title h3 { font-size:25px; letter-spacing:-.035em; font-weight:550; margin:0; }
.history-window-title [data-spectrum] { --secondary:#e7eee1; --secondary-foreground:#405a4c; }
.history-window-value { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px; padding:28px 0 24px; }
.history-window-value strong { font-size:52px; letter-spacing:-.06em; line-height:1; font-weight:500; color:#405a4c; }
.history-window-value > span { font-size:12px; }
.history-window-value p { width:100%; font-size:12px; color:var(--qovia-text-light); margin:2px 0 0; }
.history-window-content > svg { width:100%; height:auto; display:block; }
.history-window-foot { display:flex; justify-content:space-between; gap:18px; border-top:1px solid #e4e8de; padding-top:16px; font-size:9px; line-height:1.5; margin-top:16px; color:var(--qovia-text-light); }
[data-page="landing"] .history-feature { grid-template-columns:1fr; gap:0; margin-bottom:26px; }
[data-page="landing"] .history-feature > span { display:none; }
[data-page="landing"] .history-feature h3 { font-size:21px; }
[data-page="landing"] .history-feature p { font-size:14px; }
[data-page="landing"] .history-action { padding:0; margin-top:30px; }

/* Real medical names, clear responsibilities, no fictional portraits. */
[data-page="landing"] #equipo { padding-top:36px; }
[data-page="landing"] .medical-editorial { border-radius:28px; padding:64px; }
[data-page="landing"] .medical-editorial .quiet-heading { margin-bottom:64px; }
[data-page="landing"] .medical-editorial .quiet-label { color:#a9b7a8; }
[data-page="landing"] .medical-editorial .quiet-heading h2 { color:#fdfef8; }
[data-page="landing"] .medical-editorial .quiet-heading h2 span { color:#a9b7a8; }
[data-page="landing"] .medical-team { gap:64px; }
[data-page="landing"] .medical-team article { border-color:#364039; padding-top:28px; }
[data-page="landing"] .medical-team .role-label { color:#a9b7a8; font-size:12px; text-transform:uppercase; letter-spacing:.07em; }
[data-page="landing"] .medical-team h3 { color:#fdfef8; font-size:28px; font-weight:500; line-height:1.2; margin-bottom:20px; }
[data-page="landing"] .medical-team article > p:last-child { color:#b8c2b5; font-size:14px; line-height:1.75; }
[data-page="landing"] .medical-note { border-top:1px solid #364039; border-radius:0; background:transparent; padding:36px 0 0; margin-top:48px; grid-template-columns:1fr 1.2fr; gap:48px; }
[data-page="landing"] .medical-note h3 { color:#fdfef8; font-size:26px; }
[data-page="landing"] .medical-note p { color:#b8c2b5; font-size:15px; }
[data-page="landing"] .medical-note strong { color:#fdfef8; font-weight:500; }

/* Logistics read as a small, useful directory. */
[data-page="landing"] #sedes { padding-top:24px; }
[data-page="landing"] .locations-layout { gap:96px; align-items:center; }
.location-count { display:flex; align-items:center; gap:24px; margin:38px 0 0; }
.location-count strong { font-size:100px; line-height:.9; letter-spacing:-.07em; font-weight:400; color:#b8c2ac; }
.location-count span { font-size:14px; line-height:1.5; color:var(--qovia-text-light); }
[data-page="landing"] .location-caption { font-size:13px; margin-top:28px; max-width:320px; }
[data-page="landing"] .location-list { display:grid; gap:12px; }
[data-page="landing"] .location-list article { border:0; padding:24px; border-radius:16px; background:#f0f2eb; grid-template-columns:20px 1fr; }
[data-page="landing"] .location-list h3 { font-size:18px; margin-bottom:7px; }
[data-page="landing"] .location-list p { font-size:12px; }
[data-page="landing"] .location-list .home-location { background:#111512; }
[data-page="landing"] .home-location h3 { color:#fdfef8; }
[data-page="landing"] .home-location p { color:#b8c2b5; }
[data-page="landing"] .location-list .fineprint { font-size:11px!important; margin:6px 24px 0; }

/* Pricing shares the editorial shape; native buttons and badges stay native. */

/* Quiet final chapters, with clear surfaces and generous margins. */
[data-page="landing"] .privacy-layout { display:block; }
[data-page="landing"] .privacy-layout .quiet-heading { display:grid; grid-template-columns:1.2fr 1fr; column-gap:64px; margin-bottom:56px; }
[data-page="landing"] .privacy-layout .quiet-label { grid-column:1/-1; }
[data-page="landing"] .privacy-layout .textlink { align-self:end; justify-self:end; margin:0 0 6px; }
[data-page="landing"] .privacy-points { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
[data-page="landing"] .privacy-points article { border:0; padding:30px; background:#f0f2eb; border-radius:20px; }
.privacy-index { display:block; font-size:10px; letter-spacing:.07em; color:var(--qovia-text-light); margin:0 0 36px; }
[data-page="landing"] .privacy-points h3 { font-size:21px; margin-bottom:16px; min-height:52px; }
[data-page="landing"] .privacy-points p { font-size:14px; line-height:1.65; }
[data-page="landing"] .faq-layout { gap:80px; grid-template-columns:1fr 1.45fr; align-items:start; }
[data-page="landing"] .faq-list { background:#fff; border:1px solid #edf0e7; border-radius:24px; padding:20px 32px; --foreground:var(--qovia-text-dark); --muted-foreground:var(--qovia-text-light); }
[data-page="landing"] .quiet-closing { padding:64px 0 112px; }
.closing-editorial { display:grid; grid-template-columns:1fr 1fr; border-radius:28px; overflow:hidden; }
.closing-image { min-height:440px; }
.closing-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:30% center; }
.closing-copy { align-self:center; padding:56px; }
[data-page="landing"] .closing-copy .quiet-label { font-size:14px; color:#a9b7a8; margin-bottom:26px; }
.closing-copy h2 { color:#fdfef8; font-size:38px; letter-spacing:-.035em; font-weight:500; line-height:1.1; margin:0 0 26px; }
.closing-copy > p:not(.quiet-label) { color:#b8c2b5; font-size:17px; line-height:1.5; margin:0 0 32px; }
[data-public] .footer { padding-top:0; }
[data-public] .footer > .wrap { border-top:1px solid #dce1d5; padding-top:60px; }
[data-public] .footer .wordmark { font-size:52px; letter-spacing:.18em; }
[data-public] .footer-grid { grid-template-columns:1.8fr 1fr 1.1fr 1fr; gap:32px; }
[data-public] .footer h3 { font-size:13px; font-weight:550; }
[data-public] .footer p,[data-public] .footer a:not(.wordmark) { font-size:13px; line-height:1.6; }

@media(max-width:1100px) {
 [data-page="landing"] .history-layout.history-showcase { padding:40px 30px; gap:32px; }
 .history-window-content { padding:24px; }
 [data-page="landing"] .medical-editorial { padding:48px; }
 [data-page="landing"] .locations-layout { gap:56px; }
 .closing-copy { padding:36px; }
 .closing-copy h2 { font-size:32px; }
}
@media(max-width:899px) {
 [data-page="landing"] .history-layout.history-showcase { grid-template-columns:1fr; max-width:none; padding:40px; }
 [data-page="landing"] .history-composition { max-width:580px; margin:0 auto; }
 [data-page="landing"] .history-copy { max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:26px; }
 [data-page="landing"] .history-feature { margin:0; }
 [data-page="landing"] .history-action { margin:0; align-self:center; }
 [data-page="landing"] .medical-team { gap:40px; }
 [data-page="landing"] .medical-editorial { padding:40px; }
 [data-page="landing"] .medical-team h3 { font-size:24px; }
 [data-page="landing"] .medical-note { grid-template-columns:1fr; gap:22px; }
 [data-page="landing"] .locations-layout { grid-template-columns:1fr 1fr; gap:32px; }
 [data-page="landing"] .location-list article { padding:20px; grid-template-columns:1fr; }
 [data-page="landing"] .location-list article > span { display:none; }
 [data-page="landing"] .privacy-points { grid-template-columns:1fr; }
 [data-page="landing"] .privacy-points article { display:grid; grid-template-columns:1fr 1.5fr; column-gap:24px; }
 .privacy-index { grid-column:1/-1; margin-bottom:24px; }
 [data-page="landing"] .privacy-points h3 { min-height:0; }
 [data-page="landing"] .faq-layout { grid-template-columns:1fr; gap:44px; }
 [data-public] .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
 .closing-editorial { grid-template-columns:1fr; }
 .closing-image { height:320px; min-height:0; }
 .closing-image img { object-position:center 32%; }
 .closing-copy { padding:44px; }
}
@media(max-width:600px) {
 .marker-topics { padding:64px 0; }
 .marker-topics-grid { grid-template-columns:1fr 1fr; gap:12px; }
 .marker-topics-grid article { padding:22px 18px; min-height:270px; }
 .marker-topics-grid h3 { font-size:20px; margin-top:30px; }
 .marker-topics-grid p { font-size:12px; }
 [data-page="landing"] .history-chapter { padding-top:36px; }
 [data-page="landing"] .history-chapter .quiet-heading { margin-bottom:48px; }
 [data-page="landing"] .history-layout.history-showcase { padding:20px; border-radius:24px; gap:36px; }
 .history-window-bar { padding:14px; font-size:9px; gap:10px; }
 .history-window-content { padding:24px 18px; }
 .history-window-title h3 { font-size:22px; }
 .history-window-title p { font-size:8px; }
 .history-window-value strong { font-size:44px; }
 .history-window-foot { font-size:10px; }
 .history-window-content svg text { font-size:22px; }
 .history-window-content [data-history-point] text:first-of-type { font-size:24px; }
 [data-page="landing"] .history-copy { grid-template-columns:1fr; padding:4px; gap:28px; }
 [data-page="landing"] .history-feature h3 { font-size:20px; }
 [data-page="landing"] .medical-editorial { padding:32px 24px; border-radius:24px; }
 [data-page="landing"] .medical-editorial .quiet-heading { margin-bottom:40px; }
 [data-page="landing"] .medical-team { grid-template-columns:1fr; gap:36px; }
 [data-page="landing"] .medical-team h3 { font-size:26px; }
 [data-page="landing"] .medical-note { padding-top:28px; margin-top:36px; }
 [data-page="landing"] .medical-note h3 { font-size:24px; }
 [data-page="landing"] .locations-layout { grid-template-columns:1fr; gap:40px; }
 .location-count { margin-top:32px; }
 .location-count strong { font-size:80px; }
 [data-page="landing"] .location-list article { padding:24px; }
 [data-page="landing"] .privacy-layout .quiet-heading { display:block; margin-bottom:40px; }
 [data-page="landing"] .privacy-layout .textlink { margin-top:24px; }
 [data-page="landing"] .privacy-points article { display:block; padding:28px; }
 [data-page="landing"] .privacy-points h3 { margin-bottom:16px; }
 [data-page="landing"] .faq-list { padding:14px 22px; border-radius:20px; }
 [data-page="landing"] .quiet-closing { padding:24px 0 72px; }
 .closing-image { height:280px; }
 .closing-copy { padding:36px 28px; }
 .closing-copy h2 { font-size:30px; }
 .closing-copy > p:not(.quiet-label) { font-size:16px; }
 [data-public] .footer .wordmark { font-size:38px; }
 [data-public] .footer-grid > div:first-child { grid-column:1/-1; }
 [data-public] .footer-bottom { gap:16px; align-items:flex-start; }
}

/* Neutral frost: all color comes from the photograph behind each preview. */
.process-image:after { content:''; position:absolute; inset:0; background:#0000000a; pointer-events:none; }
.process-ui { position:absolute; z-index:1; isolation:isolate; left:20px; right:20px; top:calc(50% - 6px); transform:translateY(-50%); max-width:320px; height:198px; margin:auto; padding:18px; border:1px solid #ffffff30; border-radius:25px; background:linear-gradient(155deg,#ffffff1c,#ffffff08),#00000026; color:#ffffff; box-shadow:none; backdrop-filter:blur(22px) brightness(.65) saturate(.9); -webkit-backdrop-filter:blur(22px) brightness(.65) saturate(.9); display:flex; flex-direction:column; }
.process-ui:before { content:''; position:absolute; z-index:-1; inset:0; border-radius:inherit; background:radial-gradient(ellipse at 14% 110%,#ffffff18,transparent 62%); pointer-events:none; }
.process-ui-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#ffffffc7; font-size:8px; letter-spacing:.055em; line-height:1.3; margin-bottom:12px; }
.process-ui-heading > span:last-child { letter-spacing:0; color:#ffffffdb; }
.process-ui-heading .process-ui-brand { letter-spacing:.18em!important; }
.process-ui .process-ui-title { color:#ffffff; font-size:28px; font-weight:400; letter-spacing:-.045em; line-height:1.08; margin:0; }
.process-pack-options { display:grid; gap:6px; margin-top:auto; }
.process-pack-options .process-pack-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 10px; border:1px solid #ffffff1e; background:linear-gradient(130deg,#ffffff10,#ffffff04); box-shadow:none; border-radius:11px; transition:background .18s,border-color .18s; color:#ffffff; }
.process-pack-options strong { display:block; font-size:11px; font-weight:500; line-height:1.2; }
.process-pack-options small { display:block; font-size:8px; line-height:1.3; color:#ffffffc7; margin-top:3px; }
.process-pack-choice { font-size:9px; color:#ffffffc9; flex-shrink:0; }
.process-result-summary { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; }
.process-ui .process-result-value { flex-shrink:0; font-size:19px; font-weight:400; line-height:1; letter-spacing:-.04em; color:#ffffff; margin:0; padding:7px 9px; border-radius:11px; border:1px solid #ffffff32; background:linear-gradient(135deg,#ffffff23,#ffffff0a); box-shadow:none; }
.process-result-value > span { font-size:10px; letter-spacing:0; color:#ffffffdf; }
.process-ui [data-spectrum="method-status"] { --secondary:#ffffff1c; --secondary-foreground:#ffffff; }
.process-range-chart { display:block; width:100%; height:64px; overflow:visible; margin-top:0; }
.chart-range-muted { fill:#ffffff20; }
.chart-range-active { fill:#ffffffa6; }
.chart-halo-outer { fill:#ffffff08; stroke:#ffffff24; stroke-width:.7; }
.chart-halo-inner { fill:#ffffff13; stroke:#ffffff24; stroke-width:.5; }
.chart-axis { fill:#ffffffc7; }
.chart-grid { stroke:#ffffff16; stroke-width:.6; }
.process-chart-foot { flex-shrink:0; display:flex; align-items:center; gap:8px; margin-top:9px; }
.process-chart-foot > span { color:#ffffffc7; font-size:8px; }
.process-ui .process-chart-caption { color:#ffffffc7; font-size:9px; line-height:1.4; height:24px; flex-shrink:0; display:flex; align-items:center; margin:9px 0 0; }
.process-trend-chart { flex:1; min-height:0; display:block; width:100%; height:77px; margin:-4px 0 3px; overflow:visible; }
@media(max-width:1100px) and (min-width:900px) {
 .process-ui { left:12px; right:12px; padding:16px; }
 .process-ui .process-ui-title { font-size:23px; }
 .process-ui .process-result-value { font-size:16px; padding:6px; }
 .process-result-value > span { font-size:9px; }
 .process-pack-options .process-pack-row { padding:7px; gap:5px; }
 .process-pack-options strong { font-size:10px; }
 .process-chart-foot { gap:5px; }
 .process-chart-foot > span { font-size:7px; }
}
@media(max-width:600px) {
 .process-ui { left:18px; right:18px; padding:18px; }
 .process-ui .process-ui-title { font-size:27px; }
}


/* Landing-wide materials. Neutral glass inherits its color from what is behind it. */
[data-page="landing"] {
 --frost-photo-fill:linear-gradient(155deg,#ffffff1c,#ffffff08),#00000026;
 --frost-photo-filter:blur(22px) brightness(.65) saturate(.9);
 --frost-photo-shadow:none;
 --frost-light-fill:linear-gradient(145deg,#ffffffb8,#ffffff42);
 --frost-light-shadow:none;
}
[data-page="landing"] .process-ui,
[data-page="landing"] .frost-over-photo {
 background:var(--frost-photo-fill); backdrop-filter:var(--frost-photo-filter); -webkit-backdrop-filter:var(--frost-photo-filter);
 border:1px solid transparent; border-radius:25px; box-shadow:none; color:#fff;
 --secondary:#ffffff1c; --secondary-foreground:#fff; --foreground:#fff; --muted-foreground:#ffffffc7; --border:#ffffff30; --ring:#fff;
}
[data-page="landing"] .marker-topics-grid .frost-light,
[data-page="landing"] .medical-team .frost-light,
[data-page="landing"] .location-list .frost-light,
[data-page="landing"] .privacy-points .frost-light,
[data-page="landing"] .medical-note.frost-light,
[data-page="landing"] .faq-list {
 background:var(--frost-light-fill); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
 border:1px solid transparent; border-radius:25px; box-shadow:none; color:#1d1d1f;
 --secondary:#00000008; --secondary-foreground:#1d1d1f; --foreground:#1d1d1f; --muted-foreground:#6e6e73; --border:#00000016; --ring:#6e6e73;
}
/* Quiet cards retain the cream page as their backdrop. */
[data-page="landing"] .marker-topics-grid article { border-radius:25px; }
[data-page="landing"] .marker-topics-grid article > span { color:#6e6e73; }
/* The history window borrows its color from the original coastal photograph. */
[data-page="landing"] .history-layout.history-showcase { padding:0; background:transparent; gap:64px; }
[data-page="landing"] .history-composition { padding:32px; border-radius:30px; background:url('/assets/method-history.webp') center / cover; }
[data-page="landing"] .history-window { width:100%; }
[data-page="landing"] .history-window :is(.history-window-bar,.history-window-foot) { border-color:#ffffff26; color:#ffffffc7; }
[data-page="landing"] .history-window-title p,[data-page="landing"] .history-window-value p { color:#ffffffc7; }
[data-page="landing"] .history-window :is(h3,.history-window-value strong,.history-window-value > span) { color:#fff; }
[data-page="landing"] .history-window-title [data-spectrum] { --secondary:#ffffff1c; --secondary-foreground:#fff; }
[data-page="landing"] .window-dots i { background:#ffffff66; }
/* Medical biographies are individual readable cards, with no invented portraits. */
[data-page="landing"] .medical-editorial { padding:0; background:transparent; }
[data-page="landing"] .medical-editorial .quiet-label { color:#6e6e73; }
[data-page="landing"] .medical-editorial .quiet-heading h2,
[data-page="landing"] .medical-editorial .quiet-heading h2 span { color:#1d1d1f; }
[data-page="landing"] .medical-team { gap:24px; }
[data-page="landing"] .medical-team article { padding:32px; }
[data-page="landing"] .medical-team .role-label { color:#6e6e73; }
[data-page="landing"] .medical-team h3 { color:#1d1d1f; }
[data-page="landing"] .medical-team article > p:last-child { color:#6e6e73; }
[data-page="landing"] .medical-note { padding:32px; margin-top:24px; gap:40px; }
[data-page="landing"] .medical-note :is(h3,strong) { color:#1d1d1f; }
[data-page="landing"] .medical-note p { color:#6e6e73; }
[data-page="landing"] .location-list article { border-radius:20px; }
[data-page="landing"] .home-location h3 { color:#1d1d1f; }
[data-page="landing"] .home-location p { color:#6e6e73; }
/* Plans share one borderless surface; the native badge identifies Seguimiento. */
[data-page="landing"] .privacy-points article { border-radius:25px; }
/* The closing image remains continuous behind its glass panel. */
[data-page="landing"] .closing-editorial { position:relative; display:flex; justify-content:flex-end; padding:40px; min-height:460px; background:transparent; border-radius:30px; }
[data-page="landing"] .closing-image { position:absolute; inset:0; height:100%; min-height:0; }
[data-page="landing"] .closing-image img { width:120%; max-width:none; margin-left:-20%; object-position:center 38%; }
[data-page="landing"] .closing-copy { position:relative; width:48%; padding:36px; }
[data-page="landing"] .closing-copy :is(.quiet-label,p) { color:#ffffffce; }
[data-page="landing"] .closing-copy h2 { color:#fff; }
@media(max-width:1100px) {
 [data-page="landing"] .history-layout.history-showcase { gap:32px; }
 [data-page="landing"] .history-composition { padding:24px; }
 [data-page="landing"] .closing-copy { width:56%; }
}
@media(max-width:899px) {
 [data-page="landing"] .history-composition { width:100%; }
 [data-page="landing"] .history-copy { padding:0; }
 [data-page="landing"] .medical-note { gap:22px; }
 [data-page="landing"] .closing-editorial { min-height:480px; padding:24px; }
 [data-page="landing"] .closing-copy { width:64%; padding:28px; }
}
@media(max-width:600px) {
 [data-page="landing"] .history-composition { padding:18px; }
 [data-page="landing"] .history-window-content { padding:24px 18px; }
 [data-page="landing"] .medical-team article,[data-page="landing"] .medical-note { padding:28px 24px; }
 [data-page="landing"] .closing-editorial { min-height:0; padding:210px 16px 16px; }
 [data-page="landing"] .closing-copy { width:100%; padding:28px 24px; }
 [data-page="landing"] .closing-image img { width:100%; height:calc(100% + 180px); margin-left:0; transform:translateY(-180px); object-position:center; }
}
@supports not (backdrop-filter:blur(1px)) {
 [data-page="landing"] .frost-over-photo { background:#202020e6; }
}


/* Cómo funciona: one centered, image-free scene at a time. */
#como-funciona .method-stage { padding:96px 0; }
#como-funciona .method-composition { display:flex; flex-direction:column; gap:80px; }
#como-funciona .method-heading { opacity:1; visibility:visible; transform:none; }
#como-funciona .method-cards { display:grid; grid-template-columns:1fr; max-width:680px; gap:112px; margin:0; }
#como-funciona .method-card-shell { width:100%; }
.method-screen { display:flex; flex-direction:column; align-items:center; text-align:center; gap:28px; }
.method-step-copy { max-width:520px; }
.method-step-number { color:#86868b; font-size:11px; letter-spacing:.12em; margin:0 0 18px; }
.method-step-copy h3 { color:#1d1d1f; font-size:40px; font-weight:500; letter-spacing:-.045em; line-height:1.12; margin:0 0 16px; }
.method-step-copy > p:last-child { max-width:440px; color:#6e6e73; font-size:17px; line-height:1.5; margin:0 auto; }
#como-funciona .process-ui { position:relative; inset:auto; transform:none; flex:none; width:460px; max-width:100%; height:266px; margin:0; padding:28px; text-align:left; border:0; border-radius:26px; background:#eeeeee; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; color:#1d1d1f; --foreground:#1d1d1f; --secondary:#dddddd; --secondary-foreground:#444444; --border:#00000010; --ring:#6e6e73; }
#como-funciona .process-ui:before { display:none; }
#como-funciona .process-ui-heading { color:#777777; font-size:10px; margin-bottom:18px; }
#como-funciona .process-ui-heading > span:last-child { color:#777777; }
#como-funciona .process-ui-title { color:#1d1d1f; font-size:32px; }
#como-funciona .process-pack-options { gap:10px; }
#como-funciona .process-pack-options .process-pack-row { padding:13px 16px; border:0; border-radius:14px; background:#ffffffa6; box-shadow:none; color:#1d1d1f; }
#como-funciona .process-pack-options strong { font-size:14px; }
#como-funciona .process-pack-options small { font-size:11px; color:#6e6e73; }
#como-funciona .process-pack-choice { font-size:12px; color:#555555; }
#como-funciona .process-result-value { color:#1d1d1f; font-size:26px; background:#ffffff80; border:0; padding:10px 13px; box-shadow:none; border-radius:13px; }
#como-funciona .process-result-value > span { color:#6e6e73; font-size:12px; }
#como-funciona [data-spectrum="method-status"] { --secondary:#dddddd; --secondary-foreground:#444444; }
#como-funciona .process-range-chart { height:96px; }
#como-funciona .process-trend-chart { height:108px; margin:-6px 0 10px; }
#como-funciona .chart-range-muted { fill:#d2d2d2; }
#como-funciona .chart-range-active { fill:#909090; }
#como-funciona .chart-axis { fill:#777777; }
#como-funciona .chart-grid { stroke:#cccccc; }
#como-funciona .chart-halo-outer { fill:#55555506; stroke:#55555514; }
#como-funciona .chart-halo-inner { fill:#5555550c; stroke:#5555551c; }
#como-funciona .process-chart-foot { margin-top:14px; gap:12px; }
#como-funciona .process-chart-foot > span,#como-funciona .process-chart-caption { color:#6e6e73; font-size:11px; }
.method-step-action { --background:#ffffff; --secondary:#f5f5f5; --secondary-foreground:#1d1d1f; --foreground:#1d1d1f; --border:#00000016; --accent:#ebebeb; --accent-foreground:#1d1d1f; }
#como-funciona .method-progress { display:none; }
#como-funciona.method-ready { height:490svh; }
#como-funciona.method-ready .method-stage { position:sticky; top:64px; height:calc(100svh - 64px); padding:28px 0; display:flex; align-items:center; }
#como-funciona.method-ready .method-composition { display:grid; grid-template-columns:1fr; grid-template-rows:1fr; align-items:center; height:100%; position:relative; gap:0; }
#como-funciona.method-ready .method-heading,#como-funciona.method-ready .method-cards { grid-area:1/1; justify-self:center; width:100%; }
#como-funciona.method-ready .method-cards { display:grid; grid-template-columns:1fr; gap:0; }
#como-funciona.method-ready .method-card-shell { grid-area:1/1; opacity:0; visibility:hidden; transform:translateY(24px); }
#como-funciona.method-ready .method-progress { display:flex; position:absolute; bottom:0; left:50%; transform:translateX(-50%); gap:7px; }
#como-funciona .method-progress > span { width:28px; height:2px; background:#dfdfdf; border-radius:2px; overflow:hidden; }
#como-funciona .method-progress i { display:block; width:100%; height:100%; background:#777777; transform:scaleX(0); transform-origin:left; }
@media(max-width:600px) {
 #como-funciona .method-stage { padding:72px 0; }
 .method-screen { gap:24px; }
 .method-step-number { margin-bottom:14px; }
 .method-step-copy h3 { font-size:30px; margin-bottom:14px; }
 .method-step-copy > p:last-child { font-size:15px; max-width:310px; }
 #como-funciona .process-ui { width:100%; height:250px; padding:22px; border-radius:24px; }
 #como-funciona .process-ui-title { font-size:28px; }
 #como-funciona .process-pack-options .process-pack-row { padding:12px; }
 #como-funciona .process-pack-options strong { font-size:12px; }
 #como-funciona .process-pack-options small { font-size:10px; }
 #como-funciona .process-pack-choice { font-size:10px; }
 #como-funciona .process-result-value { font-size:22px; padding:9px 10px; }
 #como-funciona .process-result-value > span { font-size:10px; }
 #como-funciona .process-chart-foot > span,#como-funciona .process-chart-caption { font-size:9px; }
}

/* The introduction uses the same phrase scale and reveal as the biology scene. */
#como-funciona .method-heading h2 { font-size:clamp(54px,7.2vw,112px); line-height:1.05; letter-spacing:-.055em; }
#como-funciona .method-heading h2 span { display:block; color:#1d1d1f; }
[data-page="landing"] #como-funciona .method-heading .quiet-label { margin-bottom:24px; }
#como-funciona .method-heading > p:last-child { margin:28px auto 0; max-width:520px; font-size:20px; line-height:1.45; }
#como-funciona.method-ready .method-heading h2 span { opacity:0; transform:translateY(35px); }
#como-funciona.method-ready .method-heading > p:last-child { opacity:0; transform:translateY(18px); }
@media(max-width:899px) {
 #como-funciona .method-heading h2 { font-size:clamp(48px,8vw,76px); }
 #como-funciona .method-heading > p:last-child { font-size:18px; max-width:360px; }
}
@media(max-width:600px) {
 #como-funciona .method-heading h2 { font-size:48px; line-height:1.06; }
 #como-funciona .method-heading > p:last-child { font-size:16px; max-width:290px; margin-top:24px; }
}

/* Manuel’s white-page reference: standalone rows and generous editorial spacing. */
#como-funciona .method-screen { gap:0; }
#como-funciona .method-step-copy { max-width:620px; }
#como-funciona .method-step-number { display:flex; justify-content:center; gap:10px; padding:0; margin:0 0 22px; list-style:none; color:#dedede; font-size:15px; font-weight:650; line-height:1; letter-spacing:0; }
#como-funciona .method-step-number [aria-current="step"] { color:#1d1d1f; }
#como-funciona .method-step-copy h3 { font-size:clamp(36px,3.5vw,52px); font-weight:450; line-height:1.12; margin:0 0 22px; }
#como-funciona .method-step-copy > p:last-child { max-width:350px; font-size:18px; line-height:1.3; color:#1d1d1f; }
#como-funciona .process-ui { width:560px; height:244px; padding:28px 34px; border-radius:30px; margin-top:clamp(36px,5.6svh,64px); background:#f0f0f2; }
#como-funciona .process-pack-picker { padding:0; background:transparent; border-radius:0; }
#como-funciona .process-pack-options { margin:0; gap:14px; }
#como-funciona .process-pack-options .process-pack-row { display:flex; gap:24px; min-height:115px; padding:24px 34px; border-radius:30px; background:#f0f0f2; }
#como-funciona .method-pack-icon { width:42px; height:44px; flex:none; color:#161616; }
#como-funciona .method-pack-label { flex:1; min-width:0; }
#como-funciona .process-pack-options strong { font-size:20px; letter-spacing:-.035em; font-weight:500; }
#como-funciona .process-pack-options small { font-size:15px; line-height:1.35; margin-top:7px; }
#como-funciona .process-pack-choice { font-size:16px; color:#1d1d1f; }
#como-funciona .process-pack-options .process-pack-row:last-child { mask-image:linear-gradient(#000 0%,#0009 50%,transparent 100%); }
#como-funciona .process-result-value { background:transparent; padding:0; }
#como-funciona .process-ui-heading { margin-bottom:14px; }
#como-funciona .method-step-action { margin-top:clamp(32px,5.6svh,64px); }
#como-funciona .method-progress { gap:8px; }
#como-funciona .method-progress > span { width:66px; height:10px; border-radius:8px; background:#f4f4f4; }
#como-funciona .method-progress i { background:#d5d5d5; border-radius:inherit; }
@media(min-height:900px) and (min-width:900px) {
 #como-funciona .process-ui { height:280px; }
 #como-funciona .process-pack-options .process-pack-row { min-height:133px; }
}
@media(max-width:600px) {
 #como-funciona .method-step-copy h3 { font-size:32px; max-width:340px; margin:0 auto 18px; }
 #como-funciona .method-step-copy > p:last-child { font-size:16px; max-width:290px; }
 #como-funciona .method-step-number { font-size:13px; margin-bottom:20px; }
 #como-funciona .process-ui { width:100%; height:228px; padding:24px; margin-top:38px; border-radius:24px; }
 #como-funciona .process-pack-picker { padding:0; border-radius:0; }
 #como-funciona .process-pack-options { gap:12px; }
 #como-funciona .process-pack-options .process-pack-row { min-height:108px; padding:20px; gap:16px; border-radius:24px; }
 #como-funciona .method-pack-icon { width:28px; height:34px; }
 #como-funciona .process-pack-options strong { font-size:16px; }
 #como-funciona .process-pack-options small { font-size:12px; margin-top:5px; }
 #como-funciona .process-pack-choice { font-size:12px; }
 #como-funciona .method-step-action { margin-top:38px; }
 #como-funciona .method-progress > span { width:48px; height:7px; }
}

/* Shared bottom dissolve; the trend uses the full surface rather than a tiny SVG. */
#como-funciona :is(.process-result-preview,.process-trend-preview) {
 height:290px; mask-image:linear-gradient(#000 0%,#000 68%,#000b 85%,transparent 100%);
}
#como-funciona .process-result-preview .process-ui-heading { order:0; }
#como-funciona .process-result-preview .process-result-summary { order:1; margin:0 0 20px; }
#como-funciona .process-result-preview .process-range-chart { order:2; flex:none; height:96px; }
#como-funciona .process-result-preview .process-chart-foot { order:3; margin-top:10px; }
#como-funciona .method-trend-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
#como-funciona .method-trend-name { margin:0; font-size:26px; line-height:1.1; letter-spacing:-.04em; font-weight:500; }
#como-funciona .method-trend-period { margin:7px 0 0; font-size:12px; color:#6e6e73; }
#como-funciona .method-trend-latest { margin:0; font-size:38px; line-height:1; letter-spacing:-.045em; font-weight:450; white-space:nowrap; }
#como-funciona .method-trend-latest span { font-size:13px; letter-spacing:0; color:#6e6e73; }
#como-funciona .method-trend-plot { display:flex; gap:16px; height:102px; flex:none; margin-top:22px; }
#como-funciona .method-trend-y { display:flex; flex-direction:column; justify-content:space-between; font-size:10px; line-height:1; color:#898989; width:16px; padding:0; transform:translateY(-5px); }
#como-funciona .method-trend-canvas { position:relative; flex:1; min-width:0; height:100%; color:#6b6b6b; }
#como-funciona .method-trend-canvas > svg { position:absolute; width:100%; height:100%; overflow:visible; }
#como-funciona .method-trend-grid { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between; }
#como-funciona .method-trend-grid i { width:100%; height:1px; background:#dedee0; }
#como-funciona .method-trend-point { position:absolute; width:0; height:0; }
#como-funciona .method-trend-point > i { position:absolute; width:8px; height:8px; border:2px solid #f0f0f2; background:#727272; border-radius:50%; transform:translate(-50%,-50%); }
#como-funciona .method-trend-point > span { position:absolute; bottom:12px; left:0; transform:translateX(-50%); font-size:14px; line-height:1; color:#555; font-weight:500; }
#como-funciona .method-trend-point.is-latest > i { width:10px; height:10px; background:#1d1d1f; }
#como-funciona .method-trend-point.is-latest > span { color:#1d1d1f; font-weight:650; }
#como-funciona .method-trend-dates { position:absolute; top:calc(100% + 12px); left:0; right:0; font-size:11px; color:#6e6e73; }
#como-funciona .method-trend-dates span { position:absolute; transform:translateX(-50%); }
#como-funciona .method-trend-dates span:nth-child(1) { left:5%; }
#como-funciona .method-trend-dates span:nth-child(2) { left:50%; }
#como-funciona .method-trend-dates span:nth-child(3) { left:95%; }
#como-funciona .method-trend-current { text-align:right; }
#como-funciona .method-trend-comparison { margin:8px 0 0; font-size:11px; color:#6e6e73; }
#como-funciona .method-trend-comparison strong { color:#1d1d1f; font-weight:500; }
@media(max-width:600px) {
 #como-funciona :is(.process-result-preview,.process-trend-preview) { height:280px; }
 #como-funciona .method-trend-header { gap:12px; }
 #como-funciona .method-trend-name { font-size:23px; }
 #como-funciona .method-trend-period { font-size:10px; }
 #como-funciona .method-trend-latest { font-size:32px; }
 #como-funciona .method-trend-latest span { font-size:11px; }
 #como-funciona .method-trend-plot { gap:10px; }
 #como-funciona .method-trend-comparison { margin-left:0; font-size:9px; }
}

/* Slow, shared atmosphere: coral/sky → rose/lavender → blue/periwinkle. */
#como-funciona .method-stage { isolation:isolate; }
.method-atmosphere { display:none; position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; background:radial-gradient(ellipse at 16% 28%,#8ac4ee,transparent 58%),radial-gradient(ellipse at 65% 60%,#ef543f,transparent 72%),#f6c0c3; }
.method-atmosphere[data-palette="1"] { background:radial-gradient(ellipse at 16% 28%,#a3b3ef,transparent 58%),radial-gradient(ellipse at 65% 60%,#ad609c,transparent 72%),#f0c5d3; }
.method-atmosphere[data-palette="2"] { background:radial-gradient(ellipse at 16% 28%,#94bde3,transparent 58%),radial-gradient(ellipse at 65% 60%,#4d78b2,transparent 72%),#ddc6dd; }
.method-atmosphere canvas { display:block; width:100%; height:100%; }
#como-funciona.method-ready .method-atmosphere { display:block; opacity:0; }
#como-funciona .method-composition { position:relative; z-index:1; }
#como-funciona .method-step-copy h3,#como-funciona .method-step-copy > p:last-child { color:#fff; }
#como-funciona .method-step-number { color:#ffffff66; }
#como-funciona .method-step-number [aria-current="step"] { color:#fff; }
#como-funciona .process-pack-options .process-pack-row,
#como-funciona :is(.process-result-preview,.process-trend-preview) { background:linear-gradient(180deg,#ffffffed,#ffffffa6); }
#como-funciona .method-step-action { --secondary:#fff; --secondary-foreground:#1d1d1f; --ring:#1d1d1f; }
#como-funciona.method-color-active .method-progress > span { background:#ffffff55; }
#como-funciona.method-color-active .method-progress i { background:#fff; }
/* Reduced motion and no-JS keep the complete content in the same visual language. */
#como-funciona:not(.method-ready) .method-cards { max-width:none; }
#como-funciona:not(.method-ready) .method-card-shell { padding:64px 24px; background:radial-gradient(ellipse at 15% 25%,#8ac4ee,transparent 60%),radial-gradient(ellipse at 65% 65%,#ef543f,transparent 80%),#f6c0c3; }
#como-funciona:not(.method-ready) .method-card-shell:nth-child(2) { background:radial-gradient(ellipse at 15% 25%,#a3b3ef,transparent 60%),radial-gradient(ellipse at 65% 65%,#ad609c,transparent 80%),#f0c5d3; }
#como-funciona:not(.method-ready) .method-card-shell:nth-child(3) { background:radial-gradient(ellipse at 15% 25%,#94bde3,transparent 60%),radial-gradient(ellipse at 65% 65%,#4d78b2,transparent 80%),#ddc6dd; }
@media(max-height:740px) {
 #como-funciona.method-ready .method-stage { padding:16px 0; }
 #como-funciona .method-step-number { margin-bottom:14px; font-size:12px; }
 #como-funciona .method-step-copy h3 { font-size:30px; margin-bottom:14px; }
 #como-funciona .method-step-copy > p:last-child { font-size:15px; line-height:1.3; }
 #como-funciona .process-ui { margin-top:24px; }
 #como-funciona .method-step-action { margin-top:24px; }
 #como-funciona .process-ui { height:220px; padding:22px 26px; }
 #como-funciona .process-pack-picker { padding:0; }
 #como-funciona .process-pack-options .process-pack-row { min-height:103px; }
 #como-funciona .process-result-preview .process-result-summary { margin-bottom:12px; }
 #como-funciona .process-result-preview .process-range-chart { height:70px; }
 #como-funciona .process-result-preview .process-chart-foot { margin-top:6px; }
 #como-funciona .method-trend-plot { height:72px; margin-top:16px; }
 #como-funciona .method-trend-latest { font-size:30px; }
 #como-funciona .method-trend-name { font-size:23px; }
 #como-funciona .method-trend-dates { top:calc(100% + 9px); }
 .scene-ready .biology-destination { gap:10px; padding-top:10px; padding-bottom:10px; }
 .scene-ready .biology-detail h3 { font-size:22px; margin-bottom:10px; }
 .scene-ready .biology-caption { bottom:12px; }
}
@media(max-height:620px) and (max-width:600px) {
 #como-funciona .method-step-copy h3 { font-size:27px; }
 #como-funciona .method-step-copy > p:last-child { font-size:14px; }
 #como-funciona .method-step-number { margin-bottom:12px; }
 #como-funciona .process-ui { height:204px; padding:18px 22px; margin-top:20px; }
 #como-funciona .process-pack-picker { padding:0; }
 #como-funciona .process-pack-options .process-pack-row { min-height:96px; padding:16px; gap:12px; }
 #como-funciona .process-pack-options strong { font-size:14px; }
 #como-funciona .method-step-action { margin-top:20px; }
 #como-funciona .method-trend-plot { height:64px; margin-top:14px; }
 #como-funciona .method-trend-period { font-size:9px; }
 #como-funciona .method-trend-comparison { font-size:8px; }
 .scene-ready .biology-card-anchor { max-width:280px; }
 .scene-ready .biology-destination { overflow-y:auto; justify-content:flex-start; }
}
@media(max-height:500px) and (min-width:601px) {
 #como-funciona .method-screen { display:grid; grid-template-columns:1fr 1fr; align-items:center; column-gap:30px; }
 #como-funciona .method-step-copy { grid-column:1; }
 #como-funciona .process-ui { grid-column:2; grid-row:1 / 3; margin:0; width:100%; }
 #como-funciona .method-step-action { grid-column:1; margin-top:18px; }
 #como-funciona .method-heading h2 { font-size:40px; }
 #como-funciona .method-heading > p:last-child { margin-top:18px; font-size:16px; }
 #como-funciona .method-progress { bottom:-8px; }
 .scene-ready .biology-destination { display:grid; grid-template-columns:1fr 1fr; gap:24px; overflow-y:auto; }
 .scene-ready .biology-card-anchor { max-width:290px; }
 .scene-ready .biology-statement { font-size:40px; }
}

/* Scale the existing endpoint composition, retaining native card proportions. */
@media(max-width:899px) and (max-height:740px) {
 .scene-ready .biology-card-anchor { zoom:.82; }
 .scene-ready .biology-destination { justify-content:center; }
}
@media(max-width:600px) and (max-height:620px) {
 .scene-ready .biology-card-anchor { max-width:340px; zoom:.70; }
 .scene-ready .biology-detail h3 { font-size:20px; }
}

/* Composite each complete preview before masking: content and surface dissolve together. */
#como-funciona {
 --method-card-dissolve:linear-gradient(to bottom,#000 0%,#000 36%,rgba(0,0,0,.985) 44%,rgba(0,0,0,.94) 51%,rgba(0,0,0,.84) 58%,rgba(0,0,0,.68) 65%,rgba(0,0,0,.48) 72%,rgba(0,0,0,.27) 79%,rgba(0,0,0,.11) 85%,rgba(0,0,0,.025) 90%,transparent 95%);
 --method-row-dissolve:linear-gradient(to bottom,rgba(0,0,0,.88) 0%,rgba(0,0,0,.85) 12%,rgba(0,0,0,.76) 24%,rgba(0,0,0,.61) 38%,rgba(0,0,0,.41) 52%,rgba(0,0,0,.22) 65%,rgba(0,0,0,.08) 77%,rgba(0,0,0,.012) 88%,transparent 96%);
}
#como-funciona :is(.process-result-preview,.process-trend-preview) {
 background:rgba(255,255,255,.94); mask-image:var(--method-card-dissolve); -webkit-mask-image:var(--method-card-dissolve);
}
#como-funciona :is(.process-result-preview,.process-trend-preview)::before {
 display:none;
}
#como-funciona .process-pack-options .process-pack-row { background:rgba(255,255,255,.94); }
#como-funciona .process-pack-options .process-pack-row:last-child {
 mask-image:var(--method-row-dissolve); -webkit-mask-image:var(--method-row-dissolve);
}
@media (forced-colors:active) {
 #como-funciona :is(.process-result-preview,.process-trend-preview),#como-funciona .process-pack-options .process-pack-row { mask-image:none; -webkit-mask-image:none; background:Canvas; color:CanvasText; }
}

/* A single result, reduced to its name, status and range. No glass or ornament. */
#como-funciona .process-result-preview { height:260px; padding:32px 34px; }
#como-funciona .method-result-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
#como-funciona .method-result-name { margin:0; font-size:32px; font-weight:500; line-height:1.1; letter-spacing:-.04em; }
#como-funciona .method-result-header [data-spectrum="method-status"] { --secondary:#e4e4e7; --secondary-foreground:#333336; flex-shrink:0; }
#como-funciona .method-result-range { margin-top:54px; }
#como-funciona .method-result-reading { margin:0 0 14px; font-size:16px; line-height:1; font-weight:500; letter-spacing:-.02em; }
#como-funciona .method-result-reading span { font-size:13px; font-weight:400; }
#como-funciona .method-result-track { position:relative; display:grid; grid-template-columns:16fr 68fr 16fr; gap:2px; height:24px; }
#como-funciona .method-result-track > span { border-radius:999px; background:#d2d2d7; }
#como-funciona .method-result-track > span:nth-of-type(2) { background:#858589; }
#como-funciona .method-result-pointer { position:absolute; left:24.31%; bottom:calc(100% + 10px); transform:translateX(-50%); width:16px; height:12px; color:#1d1d1f; }
@media(max-width:600px), (max-height:740px) {
 #como-funciona .process-result-preview { height:220px; padding:26px; }
 #como-funciona .method-result-name { font-size:27px; }
 #como-funciona .method-result-range { margin-top:42px; }
 #como-funciona .method-result-track { height:20px; }
 #como-funciona .method-result-reading { font-size:14px; }
 #como-funciona .method-result-reading span { font-size:11px; }
}
@media(max-height:620px) and (max-width:600px) {
 #como-funciona .process-result-preview { height:204px; padding:24px 22px; }
 #como-funciona .method-result-range { margin-top:36px; }
}

/* Static pack previews and a minimal history chart, paired with the result card. */
#como-funciona .process-pack-row { cursor:default; transition:none; }
#como-funciona .process-trend-preview { height:260px; padding:32px 34px; }
#como-funciona .method-trend-header { align-items:center; }
#como-funciona .method-trend-latest { font-size:26px; font-weight:500; }
#como-funciona .method-trend-plot { height:96px; margin-top:40px; }
#como-funciona .method-trend-canvas { color:#858589; }
#como-funciona .method-trend-point > i { width:8px; height:8px; border:0; background:#858589; }
#como-funciona .method-trend-point.is-latest > i { width:10px; height:10px; background:#1d1d1f; }
@media(max-width:600px), (max-height:740px) {
 #como-funciona .process-trend-preview { height:220px; padding:26px; }
 #como-funciona .method-trend-latest { font-size:23px; }
 #como-funciona .method-trend-plot { height:80px; margin-top:32px; }
}
@media(max-height:620px) and (max-width:600px) {
 #como-funciona .process-trend-preview { height:204px; padding:24px 22px; }
 #como-funciona .method-trend-plot { margin-top:26px; }
}



/* A distinct question per chapter after the biology story. */
[data-page="landing"] .history-import-layout { display:grid; grid-template-columns:1.05fr 1fr; gap:80px; align-items:center; }
[data-page="landing"] .history-import-copy.quiet-heading { display:block; margin:0; }
[data-page="landing"] .history-import-copy h2 { font-size:clamp(34px,4vw,52px); }
[data-page="landing"] .history-import-copy .quiet-lead { font-size:20px; margin:28px 0 0; max-width:480px; }
[data-page="landing"] .history-import-copy .history-action { margin-top:28px; }
[data-page="landing"] .history-import-layout .history-composition { padding:0; background:none; }
.history-import-panel { border-radius:28px; padding:34px; color:#1d1d1f; }
.import-panel-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-bottom:36px; }
.import-panel-heading p { margin:0; font-size:24px; letter-spacing:-.04em; font-weight:500; }
.import-panel-heading > span { font-size:11px; color:#6e6e73; }
.import-document { display:flex; align-items:center; gap:16px; padding:24px 0; border-top:1px solid #1d1d1f12; }
.import-document > svg { width:26px; height:32px; stroke-width:1.3; flex:none; color:#6e6e73; }
.import-document > div { flex:1; min-width:0; }
.import-document strong { display:block; font-size:16px; letter-spacing:-.02em; font-weight:500; }
.import-document div span { display:block; margin-top:7px; color:#6e6e73; font-size:12px; }
.import-file-type { font-size:11px; color:#6e6e73; }
.import-add { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:22px; padding:24px 0 8px; color:#6e6e73; font-size:13px; }
.import-add svg { width:16px; height:16px; }
.medical-assurance { display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-top:32px; }
.medical-assurance p { margin:0; font-size:15px; line-height:1.65; color:#6e6e73; }
.medical-assurance strong { font-weight:500; color:#1d1d1f; }
.levels-shared { text-align:center; font-size:15px; color:#6e6e73; margin:30px auto 0; }
/* Levels (Manuel, 30 oct, after Apple One and iCloud+): a light grey band holding three compact white cards: icon and
   badge, name, price, tagline, the action, then what each level includes. The parts share rows (subgrid) so they line
   up across the cards. Consulta, the recommended level, has the blue badge and the blue button. Narrow screens stack
   the cards, still compact. No shadows. */
[data-public] #niveles { background:#f5f5f7; }
[data-public] #niveles .quiet-heading { margin-bottom:44px; }
[data-public] #niveles .price-grid { max-width:1080px; margin:0 auto; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(6,auto); gap:0 16px; }
.plan-tile { grid-row:span 6; display:grid; grid-template-rows:subgrid; min-width:0; padding:30px 28px 32px; border-radius:24px; background:#fff; color:#1d1d1f; }
.plan-tile-top { display:flex; justify-content:space-between; align-items:center; min-height:26px; }
.plan-tile .level-card-icon { width:26px; height:26px; color:#1d1d1f; }
.plan-tile h3 { margin:16px 0 0; font-size:24px; font-weight:600; line-height:1.15; letter-spacing:-.02em; color:#1d1d1f; }
.plan-tile-price { margin:6px 0 0; font-size:32px; font-weight:600; line-height:1.15; letter-spacing:-.025em; color:#1d1d1f; }
.plan-tile-description { margin:8px 0 0; font-size:15px; line-height:1.4; color:#6e6e73; }
.plan-tile-action { margin-top:22px; }
.plan-tile-action a { width:100%; }
.plan-tile-includes { margin-top:24px; padding-top:20px; border-top:1px solid #e8e8ed; }
.plan-tile-includes > p { margin:0 0 12px; font-size:12px; color:#6e6e73; }
.plan-tile ul { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.plan-tile li { position:relative; padding-left:24px; font-size:14px; line-height:1.4; color:#1d1d1f; }
.plan-tile li svg { position:absolute; left:0; top:2px; width:16px; height:16px; color:#1d1d1f; }
[data-public] #niveles .levels-shared { margin-top:28px; font-size:14px; }
@media (max-width:899px) {
 [data-public] #niveles .price-grid { max-width:560px; grid-template-columns:1fr; grid-template-rows:none; gap:12px; }
 .plan-tile { grid-row:auto; display:flex; flex-direction:column; }
}
@media (max-width:600px) {
 [data-public] #niveles .quiet-heading { margin-bottom:32px; }
 .plan-tile { padding:24px 22px 26px; border-radius:22px; }
 .plan-tile h3 { margin-top:14px; font-size:22px; }
 .plan-tile-price { font-size:28px; }
 .plan-tile-action { margin-top:18px; }
 .plan-tile-includes { margin-top:20px; padding-top:16px; }
 .plan-tile ul { gap:8px; }
}
[data-page="landing"] #sedes.practical-section { padding:48px 0 32px; }
.practical-heading { display:flex; justify-content:space-between; align-items:end; gap:60px; margin-bottom:32px; }
.practical-heading .quiet-label { font-size:18px; margin-bottom:14px; }
.practical-heading h2,.privacy-summary h2 { font-size:32px; line-height:1.15; letter-spacing:-.04em; font-weight:500; margin:0; color:#1d1d1f; }
.practical-heading > p { max-width:450px; margin:0; font-size:15px; line-height:1.6; color:#6e6e73; }
.practical-locations { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; padding:28px 0; border-block:1px solid #1d1d1f12; }
.practical-locations h3 { font-size:17px; font-weight:500; margin:0 0 10px; letter-spacing:-.025em; }
.practical-locations p { margin:0; font-size:14px; line-height:1.6; color:#6e6e73; }
.practical-home { display:flex; justify-content:space-between; gap:32px; padding-top:20px; }
.practical-home p { margin:0; font-size:13px; line-height:1.5; color:#6e6e73; }
.practical-home strong { color:#1d1d1f; font-weight:500; }
[data-page="landing"] .privacy-compact { padding:32px 0 64px; }
.privacy-summary { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; border-radius:24px; padding:36px; }
.privacy-summary .quiet-label { font-size:18px; margin-bottom:14px; }
.privacy-summary p:not(.quiet-label) { font-size:15px; line-height:1.6; color:#6e6e73; margin:0 0 16px; }
.privacy-summary .textlink { font-size:14px; }
@media(max-width:900px) {
 [data-page="landing"] .history-import-layout { gap:40px; }
 .history-import-panel { padding:26px; }
 .import-panel-heading { display:block; }
 .import-panel-heading > span { display:block; margin-top:8px; }
 .import-file-type { display:none; }
}
@media(max-width:600px) {
 [data-page="landing"] .history-import-layout { grid-template-columns:1fr; gap:44px; }
 [data-page="landing"] .history-import-copy .quiet-lead { font-size:18px; margin-top:22px; }
 .history-import-panel { padding:26px 22px; }
 .import-document strong { font-size:15px; }
 .import-document div span { font-size:11px; }
 .medical-assurance { grid-template-columns:1fr; gap:20px; padding:0 8px; }
 .practical-heading { display:block; }
 .practical-heading > p { margin-top:20px; }
 .practical-heading h2,.privacy-summary h2 { font-size:28px; }
 .practical-locations { grid-template-columns:1fr; gap:24px; }
 .practical-home { display:block; }
 .practical-home p + p { margin-top:12px; }
 .privacy-summary { grid-template-columns:1fr; gap:22px; padding:28px 24px; width:calc(100% - 32px); }
}

/* LDL composition: a measured value, with no invented universal target. */
.biology-result-content { display:grid; gap:18px; }
.biology-result-reading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.biology-result-reading p { display:flex; align-items:baseline; gap:8px; margin:0; white-space:nowrap; }
.biology-result-reading strong { font-size:48px; line-height:1; letter-spacing:-.055em; font-weight:550; }
.biology-result-reading p > span { color:#6e6e73; font-size:13px; }
.biology-ldl-scale { padding-top:18px; }
.biology-ldl-track { position:relative; display:grid; grid-template-columns:16fr 68fr 16fr; gap:2px; height:20px; }
/* Equal neutral tones: these visual segments do not encode clinical cutoffs. */
.biology-ldl-track > span { border-radius:999px; background:#d2d2d7; }
.biology-ldl-pointer { position:absolute; bottom:calc(100% + 8px); transform:translateX(-50%); width:16px; height:12px; color:#1d1d1f; }
.biology-ldl-ticks { display:flex; justify-content:space-between; color:#6e6e73; font-size:10px; margin-top:10px; }
.biology-result-context { margin:0; color:#6e6e73; font-size:13px; line-height:1.5; }
.biology-result-next { border-top:1px solid #ededf0; padding-top:14px; }
.biology-result-next > span { font-size:11px; color:#6e6e73; }
.biology-result-next p { margin:0; font-size:14px; line-height:1.4; color:#1d1d1f; }
@media(max-width:600px) {
 .biology-result-content { gap:14px; }
 .biology-result-reading { align-items:flex-start; flex-direction:column; gap:10px; }
 .biology-result-reading strong { font-size:42px; }
}
@media(max-width:600px) and (max-height:740px) {
 .biology-result-content { gap:10px; }
 .biology-ldl-scale { padding-top:14px; }
}

/* Plan names and the useful recommendation badge replace decorative slogans. */

/* All landing card surfaces are flat, including the native result card. */
[data-page="landing"] [data-spectrum="card"] { box-shadow:none; }

/* Mi historial: a self-contained dark, pinned chapter. */
[data-page="landing"] .history-chapter {
 background:#0b0b0d; color:#f5f5f7; padding:0;
 --primary:#f5f5f7; --primary-foreground:#1d1d1f;
}
[data-page="landing"] .history-stage { padding:100px 0; }
[data-page="landing"] .history-ready { height:260svh; }
[data-page="landing"] .history-ready .history-stage {
 position:sticky; top:64px; height:calc(100svh - 64px); padding:36px 0;
 display:flex; align-items:center;
}
[data-page="landing"] .history-chapter .history-import-layout { gap:clamp(40px,6vw,88px); }
[data-page="landing"] .history-chapter .history-import-copy { margin:0; }
[data-page="landing"] .history-chapter h2 { color:#f5f5f7; font-weight:500; }
[data-page="landing"] .history-chapter h2 span { color:#a1a1a6; }
[data-page="landing"] .history-chapter .quiet-label { color:#a1a1a6; margin-bottom:24px; }
[data-page="landing"] .history-chapter .quiet-lead { color:#e1e1e5; line-height:1.5; }
[data-page="landing"] .history-chapter .history-import-panel {
 background:#1c1c1f; color:#f5f5f7; border:0; box-shadow:none;
 backdrop-filter:none; -webkit-backdrop-filter:none; padding:38px; border-radius:28px;
}
[data-page="landing"] .history-chapter .import-panel-heading p { color:#f5f5f7; }
[data-page="landing"] .history-chapter .import-document { border-color:#ffffff12; padding:26px 0; }
[data-page="landing"] .history-chapter .import-document strong { color:#f5f5f7; }
[data-page="landing"] .history-chapter .import-document :is(svg,span) { color:#a1a1a6; }
.history-ready :is(.quiet-lead,.history-composition,.import-document,.history-action) { opacity:0; }
.history-ready .history-action { visibility:hidden; }
@media(max-width:900px) {
 [data-page="landing"] .history-chapter .history-import-layout { gap:32px; }
 [data-page="landing"] .history-chapter .history-import-panel { padding:28px; }
}
@media(max-width:600px) {
 [data-page="landing"] .history-stage { padding:72px 0; }
 [data-page="landing"] .history-ready .history-stage { padding:24px 0; }
 [data-page="landing"] .history-chapter .history-import-layout { gap:28px; }
 [data-page="landing"] .history-chapter .quiet-label { margin-bottom:16px; }
 [data-page="landing"] .history-chapter h2 { font-size:34px; }
 [data-page="landing"] .history-chapter .quiet-lead { font-size:16px; margin-top:20px; }
 [data-page="landing"] .history-chapter .history-action { margin-top:22px; }
 [data-page="landing"] .history-chapter .history-import-panel { padding:24px; border-radius:24px; }
 [data-page="landing"] .history-chapter .import-panel-heading { margin-bottom:16px; }
 [data-page="landing"] .history-chapter .import-panel-heading p { font-size:20px; }
 [data-page="landing"] .history-chapter .import-document { padding:18px 0; }
}
@media(max-width:600px) and (max-height:740px) {
 [data-page="landing"] .history-ready .history-stage { padding:16px 0; }
 [data-page="landing"] .history-chapter .history-import-layout { gap:20px; }
 [data-page="landing"] .history-chapter h2 { font-size:30px; }
 [data-page="landing"] .history-chapter .quiet-label { margin-bottom:12px; }
 [data-page="landing"] .history-chapter .quiet-lead { margin-top:14px; font-size:15px; }
 [data-page="landing"] .history-chapter .history-action { margin-top:16px; }
 [data-page="landing"] .history-chapter .history-import-panel { padding:18px 22px; }
 [data-page="landing"] .history-chapter .import-panel-heading { margin-bottom:10px; }
 [data-page="landing"] .history-chapter .import-document { padding:14px 0; }
}
@media(max-width:600px) and (max-height:640px) {
 [data-page="landing"] .history-ready .history-stage { padding:10px 0; }
 [data-page="landing"] .history-chapter .history-import-layout { width:calc(100% - 32px); gap:16px; }
 [data-page="landing"] .history-chapter .quiet-label { margin-bottom:8px; }
 [data-page="landing"] .history-chapter h2 { font-size:26px; }
 [data-page="landing"] .history-chapter .quiet-lead { font-size:14px; margin-top:12px; line-height:1.4; }
 [data-page="landing"] .history-chapter .history-action { margin-top:14px; }
 [data-page="landing"] .history-chapter .history-import-panel { padding:16px 20px; }
 [data-page="landing"] .history-chapter .import-panel-heading { margin-bottom:8px; }
 [data-page="landing"] .history-chapter .import-panel-heading p { font-size:18px; }
 [data-page="landing"] .history-chapter .import-document { padding:10px 0; gap:12px; }
 [data-page="landing"] .history-chapter .import-document strong { font-size:13px; }
 [data-page="landing"] .history-chapter .import-document div span { font-size:10px; margin-top:4px; }
}

/* Navigation follows the actual chapter beneath it, independently of animation. */
[data-page="landing"] .nav.history-dark {
 background:#0b0b0d; color:#f5f5f7; border-bottom-color:#ffffff0d; transition-duration:.25s;
 --ink:#f5f5f7; --primary:#f5f5f7; --primary-foreground:#1d1d1f;
}
[data-page="landing"] .nav.history-dark [data-spectrum="button"] {
 --primary:#f5f5f7; --primary-foreground:#1d1d1f; --ring:#a1a1a6;
}
[data-page="landing"] .nav.history-dark.mobile-open .nav-links {
 background:#0b0b0d; color:#f5f5f7; border-bottom-color:#ffffff0d;
}
@media(prefers-reduced-motion:reduce) {
 [data-page="landing"] .nav { transition:none; }
}

/* Level cards (Florencia's feedback): bare icon, tagline, checklist and a plain summary. */

/* Phones: no text under 12px and a 44px tap area for the FAQ link; wider screens are unchanged. The compact rules for
   very short phones above keep the pinned Mi historial scene inside the screen, so they stay as they are. */
@media (max-width:760px) {
 #como-funciona .method-result-reading span, #como-funciona .method-trend-latest span { font-size:12px; }
 .biology-ldl-ticks, .import-document div span { font-size:12px; }
 [data-public] .quiet-heading .textlink { padding:10px 0; margin-top:18px; }
}

/* Pages beyond the landing (Manuel, 30 oct: "still showing the old designs aesthetics"). They load this stylesheet
   too and share the landing's headings, levels band and footer through [data-public]; these are their own parts. */
[data-page="pack"] .pack-hero { padding:40px 0 104px; }
[data-page="pack"] .pack-back { display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; font-size:14px; color:var(--qovia-text-light); }
[data-page="pack"] .pack-back:before { content:''; width:7px; height:7px; border-left:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg); }
[data-page="pack"] .pack-back:hover { color:var(--qovia-text-dark); }
/* A large version of the landing's pack tile: the pack's facts beside its portrait, inset concentrically. */
[data-page="pack"] .pack-hero-tile { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.82fr); min-height:540px; border-radius:32px; background:#f5f5f7; overflow:hidden; }
[data-page="pack"] .pack-hero-copy { display:flex; flex-direction:column; justify-content:center; min-width:0; padding:56px 40px 56px 56px; }
[data-page="pack"] .pack-hero-copy .quiet-label { margin:0 0 14px; }
[data-page="pack"] .pack-hero h1 { margin:0; font-size:52px; font-weight:600; line-height:1.06; letter-spacing:-.035em; color:var(--qovia-text-dark); text-wrap:balance; }
[data-page="pack"] .pack-hero-description { max-width:460px; margin:18px 0 0; font-size:19px; line-height:1.4; letter-spacing:-.01em; color:var(--qovia-text-dark); }
[data-page="pack"] .pack-hero-markers { margin:22px 0 0; font-size:14px; line-height:1.5; color:var(--qovia-text-light); }
[data-page="pack"] .pack-hero-markers strong { display:block; font-weight:500; color:var(--qovia-text-dark); }
[data-page="pack"] .pack-hero-action { margin-top:32px; }
[data-page="pack"] .pack-hero-image { min-width:0; padding:10px; }
[data-page="pack"] .pack-hero-image img { display:block; width:100%; height:100%; object-fit:cover; border-radius:22px; }
/* The studies as one light grey panel of name and purpose, two columns divided by hairlines. */
[data-page="pack"] .study-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:56px; max-width:1080px; margin:0 auto; padding:12px 44px; border-radius:28px; background:#f5f5f7; }
[data-page="pack"] .study { padding:22px 0; }
[data-page="pack"] .study:nth-child(n+3) { border-top:1px solid #e3e3e8; }
[data-page="pack"] .study :is(h3, h4) { margin:0; font-size:17px; font-weight:600; line-height:1.3; letter-spacing:-.015em; color:var(--qovia-text-dark); }
[data-page="pack"] .study p { margin:6px 0 0; font-size:15px; line-height:1.45; color:var(--qovia-text-light); }
/* The hormonal pack lists its two versions, each under its name and count. */
[data-page="pack"] .study-group { max-width:1080px; margin:0 auto; }
[data-page="pack"] .study-group + .study-group { margin-top:40px; }
[data-page="pack"] .study-group-title { display:flex; align-items:baseline; gap:10px; margin:0 0 14px 4px; font-size:24px; font-weight:600; line-height:1.2; letter-spacing:-.02em; color:var(--qovia-text-dark); }
[data-page="pack"] .study-group-title span { font-size:15px; font-weight:400; letter-spacing:0; color:var(--qovia-text-light); }
[data-page="pack"] .pack-practical { padding-top:0; }
[data-page="pack"] .practical-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; max-width:1080px; }
[data-page="pack"] .practical-tiles article { padding:30px 28px 32px; border-radius:24px; background:#f5f5f7; }
[data-page="pack"] .practical-tiles h3 { margin:0; font-size:19px; font-weight:600; line-height:1.25; letter-spacing:-.015em; color:var(--qovia-text-dark); }
[data-page="pack"] .practical-tiles p { margin:10px 0 0; font-size:15px; line-height:1.5; color:var(--qovia-text-light); }
/* Preguntas frecuentes and Privacidad: the landing's centred heading, then a readable column. */
:is([data-page="faq"], [data-page="privacy"]) .quiet-heading h1 { margin:0; font-size:52px; font-weight:600; line-height:1.08; letter-spacing:-.035em; color:var(--qovia-text-dark); text-wrap:balance; }
[data-page="faq"] .faq-group { max-width:760px; margin:0 auto; }
[data-page="faq"] .faq-group + .faq-group { margin-top:56px; }
[data-page="faq"] .faq-group h2 { margin:0 0 6px; font-size:24px; font-weight:600; line-height:1.2; letter-spacing:-.02em; color:var(--qovia-text-dark); }
[data-page="faq"] .faq-list { max-width:none; margin:0; }
[data-page="privacy"] .legal-body { max-width:720px; margin:0 auto; }
[data-page="privacy"] .legal-body h2 { margin:44px 0 0; font-size:24px; font-weight:600; line-height:1.2; letter-spacing:-.02em; color:var(--qovia-text-dark); }
[data-page="privacy"] .legal-body h2:first-child { margin-top:0; }
[data-page="privacy"] .legal-body p { margin:12px 0 0; font-size:17px; line-height:1.6; letter-spacing:-.01em; color:var(--qovia-text-dark); }
[data-page="privacy"] .legal-action { margin-top:32px; }
@media (max-width:1100px) {
 [data-page="pack"] .pack-hero h1, :is([data-page="faq"], [data-page="privacy"]) .quiet-heading h1 { font-size:46px; }
 [data-page="pack"] .pack-hero-copy { padding:48px 32px 48px 44px; }
}
@media (max-width:899px) {
 [data-page="pack"] .pack-hero-tile { grid-template-columns:minmax(0,1fr) minmax(0,.78fr); min-height:460px; }
 [data-page="pack"] .pack-hero-copy { padding:40px 28px 40px 36px; }
 [data-page="pack"] .pack-hero h1, :is([data-page="faq"], [data-page="privacy"]) .quiet-heading h1 { font-size:40px; }
 [data-page="pack"] .pack-hero-description { font-size:17px; }
 [data-page="pack"] .study-panel { column-gap:40px; padding:8px 32px; }
 [data-page="pack"] .practical-tiles { grid-template-columns:1fr; max-width:560px; gap:12px; }
}
@media (max-width:600px) {
 [data-page="pack"] .pack-hero { padding:20px 0 64px; }
 [data-page="pack"] .pack-back { min-height:44px; margin-bottom:6px; }
 [data-page="pack"] .pack-hero-tile { grid-template-columns:1fr; min-height:0; border-radius:28px; }
 [data-page="pack"] .pack-hero-image { order:-1; height:300px; padding:8px 8px 0; }
 [data-page="pack"] .pack-hero-image img { border-radius:20px; }
 [data-page="pack"] .pack-hero-copy { padding:26px 24px 28px; }
 [data-page="pack"] .pack-hero h1, :is([data-page="faq"], [data-page="privacy"]) .quiet-heading h1 { font-size:34px; line-height:1.1; }
 [data-page="pack"] .pack-hero-description { margin-top:14px; font-size:16px; }
 [data-page="pack"] .pack-hero-action { margin-top:24px; }
 [data-page="pack"] .pack-hero-action a { width:100%; }
 [data-page="pack"] .study-panel { grid-template-columns:1fr; padding:4px 22px; border-radius:24px; }
 [data-page="pack"] .study:nth-child(n+2) { border-top:1px solid #e3e3e8; }
 [data-page="pack"] .study { padding:18px 0; }
 [data-page="pack"] .practical-tiles article { padding:24px 22px 26px; border-radius:22px; }
 [data-page="faq"] .faq-group + .faq-group { margin-top:44px; }
 [data-page="faq"] .faq-group h2 { font-size:21px; }
 [data-page="privacy"] .legal-body h2 { margin-top:36px; font-size:21px; }
 [data-page="privacy"] .legal-body p { font-size:16px; }
 [data-page="privacy"] .legal-action a { width:100%; }
}
