/* Shared surfaces and typography */
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #121211;
  --muted: #535651;
  --soft: #f3f3f1;
  --chip: #e8e8e5;
  --rule: #d3d5ce;
  --accent: #34d399;
  --cyan: #22d3ee;
  --gutter: clamp(16px, 5vw, 80px);
  --display: "Inter Tight", "Arial", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
:root.dark {
  color-scheme: dark;
  --paper: #161715;
  --ink: #f7f8f4;
  --muted: #bec2b9;
  --soft: #222420;
  --chip: #32342f;
  --rule: #464943;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility }
button, input, textarea { font: inherit; color: inherit }
button, summary, a { -webkit-tap-highlight-color: transparent }
button { cursor: pointer; border: 0; background: transparent }
a { color: inherit; text-underline-offset: .2em }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #087788; outline-offset: 4px; box-shadow: 0 0 0 3px #fff }
img, video { max-width: 100%; display: block }
figure, p, ul, dl, dd, h1, h2, h3, h4 { margin: 0 }
ul { padding-inline-start: 1.2em }
li + li { margin-top: .55em }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance }
h2 { font-size: clamp(2.65rem, 5.4vw, 5.35rem); line-height: 1.015; letter-spacing: -.047em; max-width: 16ch }
h3 { font-size: clamp(1.5rem, 2.7vw, 2.65rem); line-height: 1.08; letter-spacing: -.034em }
h4 { font-size: 1rem; font-weight: 500 }
p { color: var(--muted) }
small, dt { font-size: .79rem; font-weight: 500 }
[hidden], html:not(.js) .needs-js { display: none !important }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1380px); margin-inline: auto }
.section { padding-block: clamp(64px, 8vw, 128px) }
.soft { background: var(--soft) }
.section-intro { margin-bottom: clamp(28px, 4vw, 58px) }
.section-intro > p { margin-top: 20px; max-width: 65ch }
.section-label, .eyebrow { display: flex; align-items: center; gap: .75em; font-size: .73rem; line-height: 1.4; font-weight: 500; letter-spacing: .095em; text-transform: uppercase }
.section-label { margin-bottom: 24px }
.section-label::before { content: ""; width: 25px; height: 2px; background: currentColor }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none }
.period { color: var(--accent) }
.skip { position: fixed; z-index: 30; top: 8px; left: 12px; padding: 12px 18px; border-radius: 8px; background: white; color: black; transform: translateY(-160%) }
.skip:focus { transform: none }
.cta, .button, .control, .controls button { display: inline-flex; align-items: center; justify-content: center; gap: .85em; border-radius: 99px; padding: 12px 19px; font-size: .875rem; font-weight: 500; text-decoration: none; text-align: center; line-height: 1.3 }
.cta { background: var(--accent); color: #09271d }
.cta span[aria-hidden] { font-size: 1.2em; line-height: 1 }
.button, .control, .controls button { background: var(--chip); color: var(--ink) }
.button.ink, .controls button[aria-pressed=true] { color: var(--paper); background: var(--ink) }
.cta:hover, .button:hover, .control:hover { filter: brightness(.92) }
.controls, .actions, .chips { display: flex; flex-wrap: wrap; gap: 8px }
.text-link { font-weight: 500; font-size: .92rem }
#scrollProgressBar { position: fixed; z-index: 22; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none }
.topbar { position: fixed; z-index: 20; top: 0; inset-inline: 0; color: white; pointer-events: none }
.bar-inner { position: relative; z-index: 2; margin: 18px auto; width: min(calc(100% - 2 * var(--gutter)), 1536px); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: transform .25s }
.bar-inner > *, #mobileMenuDrawer { pointer-events: auto }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 500 1.65rem/1 var(--display); letter-spacing: -.055em; text-decoration: none; border-radius: 99px }
.brand small { border-left: 1px solid currentColor; padding-left: 9px; font: 400 .7rem/1.4 Inter, sans-serif; letter-spacing: 0 }
.lab { font-weight: 300 }
.nav-pill { display: flex; align-items: center; gap: 1px; padding: 5px; border-radius: 99px; background: rgb(55 58 58 / .8); backdrop-filter: blur(18px); color: white; position: absolute; left: 50%; transform: translateX(-50%) }
.nav-pill a { display: block; padding: 8px 11px; border-radius: inherit; text-decoration: none; font-size: .78rem; white-space: nowrap }
.nav-pill a:hover, .nav-pill a[aria-current] { color: #121211; background: #fff }
.nav-actions { display: flex; align-items: center; gap: 9px }
.icon-button { display: inline-grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(55 58 58 / .82); color: white }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5 }
#btnMobileMenu { display: none; gap: 4px }
#btnMobileMenu i { display: block; width: 17px; height: 1.5px; background: currentColor; transition: transform .25s }
.menu-open #btnMobileMenu i:first-child { transform: translateY(2.75px) rotate(45deg) }
.menu-open #btnMobileMenu i:last-child { transform: translateY(-2.75px) rotate(-45deg) }
#mobileMenuDrawer { display: none }
.scrolled .bar-inner { transform: translateY(-6px) }
.brand, .scrolled .brand, .menu-open .topbar .brand { background: #1a1b19; color: #fff; padding: 7px 16px 7px 8px }
.scrolled .nav-pill { background: rgb(32 34 32 / .94) }

/* The photograph stays full bleed at the start of the reel. */
.hero-frame { position: relative; isolation: isolate; background: #081015; color: white }
.hero-film, .hero-film::after, .hero-poster, .hero-film video { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-film { z-index: -1; overflow: hidden; background: #081015 }
.hero-film video, .hero-poster { object-fit: cover; object-position: 65% center }
html:not(.js) .hero-film video { visibility: hidden }
.hero-film video { transition: opacity .24s }
.hero-film video.at-loop { opacity: 0 }
.hero-film::after { content: ""; background: linear-gradient(90deg, rgb(3 8 11 / .88), rgb(3 8 11 / .62) 35%, transparent 78%), linear-gradient(0deg, rgb(3 8 11 / .75), transparent 28%) }
.hero-inner { min-height: clamp(680px, 91svh, 1000px); display: flex; flex-direction: column; justify-content: center; position: relative; padding-block: 125px 110px }
.hero-copy { max-width: 770px }
#sec-resumen { padding-top: clamp(54px, 5vw, 84px) }
.film-labels, .film-notes, .hero-actions, .film-link, .film-control { display: flex; align-items: center }
.film-labels { gap: 8px; margin-bottom: 26px; flex-wrap: wrap }
.film-labels > span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgb(255 255 255 / .3); background: rgb(16 22 23 / .6); font-size: .73rem; line-height: 1; border-radius: 99px; padding: 8px 12px }
h1 { font-size: clamp(3.45rem, 7.8vw, 8.5rem); line-height: 1.015; font-weight: 300; letter-spacing: -.052em }
.mask { display: block; overflow: clip; padding-bottom: .085em; margin-bottom: -.085em }
.mask > span { display: inline-block }
.mask:nth-child(2) { color: #d3d8d6 }
.hero-copy > p { margin-top: 25px; color: #e0e4e3; max-width: 54ch; font-size: clamp(.94rem, 1.16vw, 1.15rem); line-height: 1.6 }
.hero-actions { gap: 24px; margin-top: 32px; flex-wrap: wrap }
.hero-actions .cta { padding: 15px 23px }
.film-link { gap: 10px; color: white; font-size: .9rem; text-decoration: none }
.play-icon { width: 25px; height: 25px; border: 1px solid #b3c1c3; border-radius: 50%; display: grid; place-content: center }
.play-icon::before { content: ""; border-block: 4px solid transparent; border-left: 6px solid white; margin-left: 2px }
.film-foot { position: absolute; bottom: 24px; inset-inline: 0; border-top: 1px solid rgb(255 255 255 / .32); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px }
.film-notes { gap: 18px; flex-wrap: wrap; font-size: .72rem; color: #d7dedc }
.film-notes span::before { content: "+"; margin-right: 6px; color: var(--accent) }
.film-control { gap: 10px; color: white; min-height: 34px; padding: 0 2px; font: .72rem/1.2 monospace }
.film-meter { width: 62px; height: 2px; background: #72817e }
.film-meter i, .module-select i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0) }
#filmIcon { width: 15px; font-size: 1rem }
.split-intro { display: grid; gap: 24px; align-items: end; margin-bottom: 42px }
.split-intro p { max-width: 50ch }
.summary-grid, .pillars, .contact-grid, .plans, .ai-grid, .triangle { display: grid; gap: 16px }
.scene-gallery, .catalog-card, .story-frame, .process-card, .privacy-photo, .statement, .plan, .diagram, .console, .module-panel { border-radius: clamp(22px, 2.1vw, 32px); overflow: clip }
.scene-gallery { background: #121211; position: relative; color: white }
.scene { min-height: 440px; position: relative; display: flex; align-items: flex-end; padding: clamp(20px, 3vw, 44px) }
.js .scene-gallery { display: grid }
.js .scene { grid-area: 1/1; padding-bottom: 92px }
.scene img, .story-shot img, .privacy-photo img, .process-card figure img, .module-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.scene figcaption { position: relative; color: #121211; background: rgb(255 255 255 / .88); backdrop-filter: blur(18px); border-radius: 18px; padding: 20px 24px; max-width: 34rem }
.scene figcaption h3 { font-size: clamp(1.35rem, 2.2vw, 2.1rem); margin: 7px 0 }
.scene figcaption p { color: #454943; font-size: .8rem }
.scene-nav { position: absolute; bottom: 24px; left: clamp(16px, 3vw, 44px); right: 16px }
.scene-nav button { font-size: .78rem; background: #343b39; color: white }
.scene-nav button[aria-pressed=true] { background: white; color: #121211 }
.catalog-card { background: #121211; color: white; padding: clamp(24px, 3.2vw, 54px); display: flex; flex-direction: column; align-items: flex-start }
.catalog-number { font: 300 clamp(4.5rem, 7.5vw, 8rem)/1 var(--display); letter-spacing: -.07em; margin-block: 22px 3px }
.catalog-card h3 { font-size: 1.6rem }
.catalog-card p, .catalog-list dt { color: #c5cbc6 }
.catalog-list { width: 100%; margin-block: 20px 10px }
.catalog-list > div { border-top: 1px solid #454843; padding-block: 10px }
.chips span { border: 1px solid #555954; border-radius: 99px; font-size: .7rem; padding: 3px 9px }
.catalog-card .text-link { margin-top: auto; padding-top: 18px }
.pillars-title { margin: 36px 0 16px; font-size: .8rem }
.pillars { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.pillars article { background: var(--soft); border-radius: 20px; padding: clamp(16px, 2vw, 32px) }
.pillars h3 { margin-block: 14px 6px; font-size: clamp(1.25rem, 1.8vw, 1.8rem) }
.pillars p { font-size: .88rem }
/* Operation and module selector */
.story { margin: 36px 0 clamp(40px, 6vw, 86px) }
.story-steps { display: grid; gap: 24px }
.story-step { padding: 24px 0; border-top: 1px solid var(--rule) }
.story-step h3 { margin: 12px 0; font-size: clamp(2rem, 3.8vw, 4.1rem) }
.story-step p { max-width: 42ch }
.story-inline { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-top: 20px; border-radius: 24px }
.story-frame { display: none }
.module-heading, .process-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 20px; flex-wrap: wrap }
.module-heading p { max-width: 62ch }
.module-select { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px }
.module-select button { position: relative; padding: 12px 16px; border-radius: 12px; overflow: hidden; background: var(--chip); font-size: .85rem }
.module-select [aria-pressed=true] { color: var(--paper); background: var(--ink) }
.module-select i { position: absolute; bottom: 0; inset-inline: 0; height: 3px }
.module-panel { display: grid; background: var(--paper); margin-top: 12px }
.module-panel figure, .process-card figure, .privacy-photo { position: relative; min-height: 225px }
.module-panel figcaption, .process-card figcaption { position: absolute; inset: auto 0 0; padding: 48px 24px 20px; color: white; font-size: .85rem; background: linear-gradient(transparent, rgb(0 0 0 / .88)) }
.module-copy, .process-text, .plan, .vertex { padding: clamp(22px, 3.4vw, 54px) }
.module-copy h3, .module-copy p, .module-copy dl { margin-block: 16px }
.module-status { font-size: .78rem; font-weight: 500; padding-top: 14px; border-top: 1px solid var(--rule) }
.module-kpis { display: flex; flex-wrap: wrap; gap: 12px 26px }
.module-kpis dt { color: var(--muted) }
.module-kpis dd { font-weight: 500 }
.demo-controls { margin-bottom: 20px }
.console { background: var(--soft); border: 1px solid var(--rule) }
.console-bar { background: #20231f; color: white; padding: 14px clamp(16px, 3vw, 40px); justify-content: space-between; font-size: .86rem }
.console-bar, .row, .field-row, .rate, .exam-list label, .exam-list label > div, .totals > div, #demoSelectedItems > div { display: flex; align-items: center; gap: 12px }
.console-bar, .row, .field-row { flex-wrap: wrap }
.console-bar .eyebrow { font-size: .65rem }
.console-bar .eyebrow::before { content: ""; background: var(--accent); width: 6px; height: 6px; border-radius: 50% }
.demo-panel { padding: clamp(16px, 3.5vw, 52px) }
.demo-grid { display: grid; gap: clamp(18px, 3vw, 42px) }
.demo-grid > *, .contact-grid > *, .module-panel > *, .triangle > *, .process-card > * { min-width: 0 }
.demo-grid h3 { font-size: clamp(1.45rem, 2.2vw, 2.3rem) }
.demo-grid p { font-size: .92rem }
.rate, .row, .field-row { margin: 12px 0 }
.row, .totals > div, #demoSelectedItems > div, .exam-list label { justify-content: space-between }
input:not([type=checkbox]), textarea { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; max-width: 100% }
input[type=number] { width: 6.25rem; font-variant-numeric: tabular-nums }
input[type=checkbox] { accent-color: #087e61; width: 18px; height: 18px; flex: none; margin: 0 }
.patient-fields { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .86rem; background: var(--chip); border-radius: 16px; padding: 17px; margin-block: 22px }
.patient-fields span, .exam-list label > div > div > div:last-child { color: var(--muted); font-size: .79rem }
.exam-list label, .lab-field { padding: 15px 0; border-top: 1px solid var(--rule) }
.exam-list label { cursor: pointer }
.exam-list label > span { font-variant-numeric: tabular-nums; white-space: nowrap }
.receipt { background: var(--paper); border-radius: 18px; padding: clamp(16px, 2.3vw, 34px); height: 100% }
.receipt .actions, .receipt > button { margin-top: 22px }
.totals, .note { border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 16px }
.totals > div, #demoSelectedItems > div { padding-block: 3px; gap: 10px; font-size: .89rem }
.totals > div:first-child { font-size: 1.13rem; font-weight: 500 }
.status { display: inline-block; border-radius: 99px; background: #dcf4e6; color: #155638; padding: 4px 12px; font-size: .82rem }
.status.warn { color: #773900; background: #ffead0 }
.table-wrap { margin-top: 16px; overflow-x: auto }
table { border-collapse: collapse; width: 100%; min-width: 370px; font-size: .85rem }
td, th { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--rule) }
.cash-total { font: 400 3.5rem/1.2 var(--display); letter-spacing: -.05em; margin: 12px 0 }
.cash-total span { font: .9rem Inter, sans-serif; letter-spacing: 0 }

/* The measured width of the rail determines its vertical travel. */
.process-rail { display: grid; gap: 18px }
.process-card { display: grid; background: var(--soft); align-items: stretch }
.process-text { align-self: center }
.process-text h3 { margin: 16px 0; max-width: 19ch }
.process-text h4 { margin-block: 22px 8px }
.process-text ul, .vertex ul, .plan ul, .ai-grid ul { color: var(--muted); font-size: .95rem }
.process-card:nth-child(2) { background: #20231f; color: white }
.process-card:nth-child(2) p, .process-card:nth-child(2) ul { color: #d4d9d1 }
.process-card figcaption p { color: white; margin-top: 4px }
.process-toolbar p { font-size: .8rem }
.triangle { align-items: center }
.diagram { background: #171b18; color: white; padding: clamp(16px, 2.4vw, 38px) }
.diagram svg { display: block; width: min(100%, 420px); margin-inline: auto }
.diagram svg text { font: 500 13px Inter, sans-serif; fill: #f2f7f3 }
.diagram g[role=button] { cursor: pointer }
.diagram g[aria-pressed=true] circle:first-child { opacity: .68 }
.diagram .controls { justify-content: center; margin-top: 15px }
.diagram .controls button { background: #363b35; color: white; font-size: .77rem }
.diagram .controls button[aria-pressed=true] { background: #fff; color: #121211 }
.js .vertex-list { display: grid }
.js .vertex { grid-area: 1 / 1 }
.js .vertex[hidden] { display: block !important; visibility: hidden; pointer-events: none }
.vertex h3 { margin-bottom: 18px }
.vertex ul, .ai-grid ul { margin-top: 20px }
.ai-grid { align-items: center; gap: clamp(25px, 5vw, 80px) }
.ai-grid .section-intro { margin-bottom: 18px }
.privacy-photo { min-height: clamp(270px, 28vw, 440px) }
.privacy-photo figcaption { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 14px 18px; background: rgb(255 255 255 / .9); backdrop-filter: blur(14px); color: #161914; border-radius: 14px; font-size: .77rem }
.privacy-photo strong { display: block; font: 400 1.35rem var(--display); letter-spacing: -.025em }
.privacy-lists { display: grid; gap: 12px; margin-top: 14px }
.privacy-lists > div { padding: 20px; border-radius: 20px; background: var(--soft) }
.privacy-lists ul { margin-top: 8px; font-size: .85rem }
.values { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 8px }
.values span { font-size: .8rem; border-radius: 99px; background: var(--soft); padding: 7px 12px }
.security-list { display: grid; gap: 0 clamp(24px, 6vw, 80px) }
.security-list > div { padding: 22px 0; border-top: 1px solid var(--rule) }
.security-list h3 { font-size: 1.35rem; margin-bottom: 6px }
.security-list p { max-width: 58ch; font-size: .94rem }
.statement { background: #121211; color: white; padding: clamp(26px, 6vw, 96px); margin: clamp(38px, 7vw, 98px) 0 20px }
.statement .section-label { color: #b4d7c7 }
.statement h2 { max-width: 15ch; font-size: clamp(3rem, 7.6vw, 8.2rem); font-weight: 300 }
.statement > p { max-width: 70ch; margin-top: 26px; color: #dadcd7 }
.founder { display: grid; gap: 18px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #444841 }
.founder h3 { font-size: 1.5rem; margin-bottom: 5px }
.founder p { color: #c3c8c0; max-width: 70ch; font-size: .89rem }
.plan { background: var(--paper); display: flex; flex-direction: column; align-items: flex-start }
.plan h3 { margin: 20px 0 12px }
.plan ul { margin: 18px 0 32px }
.plan .button { margin-top: auto }
.faq { display: grid; gap: 22px }
details { border-top: 1px solid var(--rule) }
details:last-child { border-bottom: 1px solid var(--rule) }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font: 400 clamp(1.1rem, 1.65vw, 1.65rem)/1.25 var(--display); padding-block: 22px }
summary::-webkit-details-marker { display: none }
summary span { font-family: Inter, sans-serif; font-weight: 400; transition: transform .25s }
details[open] summary span { transform: rotate(45deg) }
details p { padding: 0 16px 24px 0; max-width: 75ch }
.contact { background: var(--soft) }
.contact-grid { gap: clamp(24px, 7vw, 98px); align-items: start }
#contactForm { min-width: 0 }
#contactForm > div, #contactForm .consent { margin-bottom: 16px }
#contactForm > div:has(> div) { display: grid; gap: 16px }
#contactForm label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 5px }
#contactForm input:not([type=checkbox]), textarea { width: 100%; padding: 13px 15px; font-size: 1rem }
textarea { resize: vertical }
#contactForm .consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400 }
.consent input { margin-top: 2px }
#contactForm > p { margin-top: 12px; font-size: .82rem }
#contactForm .cta, #contactForm .button { margin: 6px 4px 0 0 }
footer { background: #121211; color: #eef0eb; padding: 48px 0 }
footer .wrap { display: grid; gap: 24px; font-size: .84rem }
footer .brand { justify-self: start }
footer p { color: #bac0b7; margin-top: 10px; max-width: 85ch }
#toastBanner { position: fixed; z-index: 25; bottom: 16px; right: 16px; left: auto; max-width: min(410px, calc(100% - 32px)); background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 16px; font-size: .9rem }

/* Layout enhancements are opt-in: narrow and reduced-motion views use document flow. */
@media (min-width: 650px) {
  .privacy-lists, .plans, .security-list, #contactForm > div:has(> div) { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .process-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) }
  .founder { grid-template-columns: minmax(200px, .7fr) 1.3fr }
}
@media (min-width: 900px) {
  .split-intro { grid-template-columns: 1.3fr .7fr; gap: 8% }
  .summary-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) }
  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)) }
  .module-panel { grid-template-columns: .85fr 1.15fr }
  .demo-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) }
  .triangle, .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .faq, .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) }
  .faq { gap: 7% }
  footer .wrap { grid-template-columns: .45fr 1.55fr }
}
@media (min-width: 900px) and (min-height: 580px) and (prefers-reduced-motion: no-preference) {
  .js .story { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 7%; align-items: start }
  .js .story-steps { gap: 0 }
  .js .story-step { min-height: 59vh; display: flex; flex-direction: column; justify-content: center }
  .js .story-inline { display: none }
  .js .story-frame { display: block; position: sticky; top: 18vh; height: 64vh; background: #121211; color: white }
  .story-shot { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 0 0 12%); transition: clip-path .7s, opacity .6s }
  .story-shot.current { opacity: 1; clip-path: inset(0) }
  .story-shot span { position: absolute; inset: auto 0 0; padding: 70px 30px 27px; background: linear-gradient(transparent, rgb(0 0 0 / .85)) }
  .story-index { position: absolute; inset: 22px auto auto 22px; align-items: center; gap: 5px; display: flex; border-radius: 99px; padding: 8px 13px; background: rgb(18 18 17 / .85); font: .75rem monospace }
  .story-index span { margin-right: 6px }
  .story-index i { height: 2px; width: 17px; background: #747872 }
  .story-index i.current { background: var(--accent) }
  #procTrack.pinned { height: var(--track-height) }
  .pinned #procSticky, .pinned #triSticky { position: sticky; top: 88px }
  .pinned .process-window { overflow: clip; border-radius: 28px }
  .pinned .process-rail { display: flex; gap: 20px }
  .pinned .process-card { flex: 0 0 100% }
  #triTrack.pinned { height: calc(105vh + var(--tri-height)) }
}
@media (max-width: 1199px) {
  .topbar .brand small { display: none }
}
@media (max-width: 999px) {
  .nav-pill { display: none }
  #btnMobileMenu { display: grid }
  .js #mobileMenuDrawer { display: flex; flex-direction: column; justify-content: safe center; padding: 88px var(--gutter) 30px; position: fixed; inset: 0; background: var(--paper); color: var(--ink); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s }
  .menu-open { overflow: hidden }
  .menu-open #mobileMenuDrawer { visibility: visible; opacity: 1; transition-delay: 0s }
  #mobileMenuDrawer a { padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 400 clamp(1.3rem, 4.2vw, 2.4rem)/1.12 var(--display); letter-spacing: -.03em; opacity: 0; transform: translateY(12px) }
  .menu-open #mobileMenuDrawer a { opacity: 1; transform: none; transition: transform .35s, opacity .35s; transition-delay: calc(var(--i) * 27ms) }
  html:not(.js) .topbar { position: static; color: var(--ink) }
  html:not(.js) .nav-pill { display: flex; position: static; transform: none; flex-wrap: wrap; border-radius: 16px }
  html:not(.js) .bar-inner { flex-wrap: wrap }
  /* Without the centered pill, text would scroll visibly between the floating buttons. */
  .topbar::before { content: ""; position: absolute; inset: 0 0 auto; height: 72px; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--rule); opacity: 0; transition: opacity .25s }
  .scrolled .topbar::before { opacity: 1 }
  .scrolled .bar-inner { transform: none }
}
@media (max-width: 649px) {
  :root { --gutter: 16px; scroll-padding-top: 76px }
  .bar-inner { margin-block: 12px; gap: 8px }
  .topbar .brand { font-size: 1.36rem; gap: 4px }
  .topbar .brand img { width: 27px; height: 27px }
  .nav-actions { gap: 5px }
  .nav-cta { white-space: nowrap; font-size: .73rem; padding: 10px 12px; gap: 5px }
  .icon-button { width: 35px; height: 35px }
  h1 { font-size: clamp(2.95rem, 13vw, 5rem) }
  .hero-inner { min-height: max(665px, 88svh); padding: 110px 0 102px }
  .hero-film video, .hero-poster { object-position: 67% center }
  .hero-film::after { background: linear-gradient(90deg, rgb(3 9 12 / .82), rgb(3 9 12 / .46)), linear-gradient(0deg, rgb(3 9 12 / .8), transparent 74%) }
  .film-labels { margin-bottom: 22px }
  .film-labels > span { padding: 7px 10px; font-size: .68rem }
  .hero-actions { gap: 14px; margin-top: 24px }
  .hero-actions .cta { padding: 13px 16px }
  .film-link { font-size: .81rem; gap: 7px }
  .film-foot { bottom: 15px; padding-top: 9px }
  .film-notes { font-size: .65rem; gap: 2px 10px }
  .film-meter { width: 26px }
  .scene { min-height: 390px; padding: 18px }
  .scene-nav { gap: 4px; left: 16px; bottom: 18px }
  .scene-nav button { padding: 10px 11px; font-size: .72rem }
  .scene figcaption { padding: 16px }
  .js .scene { padding-bottom: 75px }
  .pillars { gap: 10px }
  .vertex { padding-inline: 0 }
  .controls button { padding: 10px 13px }
  .demo-controls .controls { display: grid }
  .demo-controls button { text-align: left; justify-content: flex-start }
  .patient-fields { flex-direction: column }
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .16s ease-out }
}
@media (prefers-reduced-motion: no-preference) {
  .js .mask > span { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both }
  .js .mask:nth-child(2) > span { animation-delay: .14s }
  .word { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em }
  .word > span { display: inline-block }
  .reveal-ready .word > span { transform: translateY(115%) }
  .reveal-ready.revealed .word > span { transform: none; transition: transform .65s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--delay) }
  .enter { animation: fade-in .42s ease-out }
  details[open] > p { animation: fade-in .28s ease-out }
  @keyframes rise { from { transform: translateY(115%) } to { transform: none } }
  @keyframes fade-in { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
  .theme-transition::view-transition-old(root), .theme-transition::view-transition-new(root) { animation: none; mix-blend-mode: normal }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important }
}

/* Microbiología: capítulo oscuro propio dentro de la página. */
.micro { background: #121211; color: #fff }
.micro p { color: #c3c8c0 }
.micro .section-label { color: #b4d7c7 }
.micro-head { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 72px) }
.micro-head h2 { max-width: 14ch; font-size: clamp(2.6rem, 6vw, 6.4rem); font-weight: 300; line-height: 1.02; letter-spacing: -.035em }
.micro-head .chips { margin-top: 22px }
.micro .chips span { font-size: .78rem; border-radius: 99px; border: 1px solid #3b3e39; padding: 7px 12px; color: #dfe3dc }
.micro-flow { list-style: none; margin: 0 0 clamp(36px, 5vw, 64px); padding: 0; display: grid; gap: 0; counter-reset: none }
.micro-flow li { margin: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid #33362f }
.micro-flow small { grid-row: span 2; font: 400 .8rem/1.6 Inter, sans-serif; color: var(--accent) }
.micro-flow strong { font: 400 1.3rem/1.2 var(--display); letter-spacing: -.02em }
.micro-flow span { color: #a9ada5; font-size: .9rem; margin-top: 4px }
.micro-grid { display: grid; gap: 12px }
.micro-grid article { background: #1c1d1b; border: 1px solid #2c2e2a; border-radius: 24px; padding: clamp(22px, 2.6vw, 36px) }
.micro-grid h3 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); margin-bottom: 10px }
.micro-grid p { font-size: .94rem }
.micro-foot { display: grid; gap: 22px; align-items: center; margin-top: clamp(28px, 4vw, 54px); padding-top: 28px; border-top: 1px solid #33362f }
.micro-foot p { max-width: 70ch }
.micro-foot strong { color: #fff; font-weight: 500 }
.micro-foot .cta { justify-self: start }
.js .micro-flow li { opacity: .35; transition: opacity .5s }
.js .micro-flow li.lit { opacity: 1 }

/* Ventajas: comparación directa, sin íconos. */
.compare { border-top: 1px solid var(--rule) }
.compare-row { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--rule) }
.compare-row > span:first-child { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent) }
.compare-row > span:last-child { font: 400 clamp(1.15rem, 1.7vw, 1.6rem)/1.3 var(--display); letter-spacing: -.015em }
.compare-row strong { font-weight: 500 }
.compare-head { padding: 12px 0 }
.compare-head > span, .compare-head > span:first-child, .compare-head > span:last-child { font: 500 .73rem/1.4 Inter, sans-serif; letter-spacing: .095em; text-transform: uppercase; text-decoration: none; color: var(--muted) }
.plan-featured { background: #121211; color: #fff }
.plan-featured p, .plan-featured ul { color: #c3c8c0 }
@media (min-width: 650px) {
  .micro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .compare-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: baseline }
}
@media (min-width: 900px) {
  .micro-head { grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: end }
  .micro-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px }
  .micro-flow li { grid-template-columns: 1fr; border-top-width: 2px }
  .micro-flow li.lit { border-top-color: var(--accent) }
  .micro-flow small { grid-row: auto; margin-bottom: 26px }
  .micro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .micro-foot { grid-template-columns: 1fr auto; gap: 48px }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
@media (prefers-reduced-motion: reduce) {
  .js .micro-flow li { opacity: 1; transition: none }
}
@media (max-width: 649px) {
  /* Stacked rows explain themselves visually; keep the headers for screen readers only. */
  .compare-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
}

/* Cifras: datos duros del sistema en una franja. */
.stats-band { padding-block: clamp(56px, 7vw, 104px) }
.stats-head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 52px) }
.stats-head h2 { max-width: 20ch }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0 }
.stats > div { padding: 22px 0; border-top: 1px solid var(--rule) }
.stats > div:last-child { grid-column: 1 / -1 }
.stats dt { font: 300 clamp(3rem, 6.4vw, 6rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums }
.stats dt small { font-size: .5em; letter-spacing: 0; margin-left: 2px }
.stats dd { margin: 12px 0 0; color: var(--muted); font-size: .92rem; max-width: 26ch }
.module-heading h2 { margin: 0 }
.module-heading .section-label { margin-bottom: 18px }
.module-heading { align-items: flex-end; margin-bottom: clamp(24px, 3vw, 40px) }
.plan-terms { margin: -4px 0 4px; font-size: .82rem; font-weight: 500; color: var(--ink) }
.plan-featured .plan-terms { color: #fff }
@media (max-width: 649px) {
  /* Five module tabs scroll sideways instead of stacking into a tall block. */
  .module-select { position: relative; display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none }
  .module-select::-webkit-scrollbar { display: none }
  .module-select button { flex: none; scroll-snap-align: start; white-space: nowrap }
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px }
  .stats > div:last-child { grid-column: auto }
  .stats > div { border-top-width: 2px }
}
/* Bloque del fundador más compacto: confianza sin alargar la página. */
.statement { padding: clamp(26px, 4.5vw, 64px); margin: clamp(32px, 5vw, 64px) 0 0 }
.statement h2 { font-size: clamp(2.3rem, 4.6vw, 4.6rem); max-width: 18ch }
@media (min-width: 900px) {
  /* Same title height in every plan so terms, lists and buttons line up across cards. */
  .plan h3 { min-height: 2.1em; display: flex; align-items: flex-end }
}
@media (max-width: 649px) {
  /* Microbiology benefits become a swipeable row so the section stays short on phones. */
  .micro-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none }
  .micro-grid::-webkit-scrollbar { display: none }
  .micro-grid article { flex: 0 0 82%; scroll-snap-align: start }
  .micro-flow li { padding: 12px 0 }
  .micro-flow span { font-size: .85rem }
}
@media (max-width: 649px) {
  /* The dark logo pill needs a tighter fit next to the three header buttons on phones. */
  .topbar .brand, .scrolled .topbar .brand { padding: 6px 11px 6px 6px; font-size: 1.22rem }
  .topbar .brand img { width: 24px; height: 24px }
}
@media (max-width: 359px) {
  .nav-cta { display: none }
}
