/* Shared base styles. Page layout lives inline in each page template. */
body{margin:0}
*{box-sizing:border-box}
a{color:inherit}
a:hover{opacity:.82}
button{font:inherit;cursor:pointer}
button:hover{filter:brightness(1.1)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0E8FA6;outline-offset:3px}
h1,h2,h3{margin:0;font-family:'Inter Tight','Inter',system-ui,sans-serif;font-weight:600;letter-spacing:-0.03em}
input,select,textarea{font:inherit;color:inherit}
.lift{transition:transform .25s ease}
.lift:hover{transform:translateY(-6px);opacity:1}
summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
.nav-menu{display:none;position:relative}
.nav-menu a:hover{background:#F3F6F9;opacity:1}
@media (max-width:1320px){.nav-links{display:none !important}.nav-menu{display:block}}
@media (max-width:560px){.nav-cta{display:none !important}.nav-lang{display:none !important}}

/* Accessibility */
.skip{position:absolute;left:16px;top:-80px;z-index:100;display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;background:#0A2036;color:#FFFFFF;font-weight:600;text-decoration:none}
.skip:focus{top:12px}
main:focus{outline:none}
.nav-links a{display:inline-flex;align-items:center;min-height:44px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none !important;animation:none !important;scroll-behavior:auto !important}.lift:hover{transform:none}}
footer a{display:inline-flex;align-items:center;min-height:24px}
.nav-lang{display:inline-flex;align-items:center;min-height:44px}

/* UI review, 18 November 2026 */
/* menu stays in reach; the bar runs edge to edge with its contents on the page column */
#top>header{position:sticky;top:0;z-index:40;background:#FFFFFF;max-width:none !important;padding-inline:max(24px,calc((100% - 1240px)/2)) !important;box-shadow:0 1px 0 rgba(10,32,54,.08)}
.nav-links{gap:18px !important}
html[lang="es"] .nav-links{gap:14px !important} /* Spanish menu words are longer */
html{scroll-padding-top:96px}
/* touch and press */
button,a,summary{touch-action:manipulation}
button{transition:background-color .15s ease,color .15s ease,transform .1s ease}
button:active,.nav-cta:active{transform:scale(.97)}
/* reading */
h1,h2,h3{text-wrap:balance}
table,dd{font-variant-numeric:tabular-nums}
@media (max-width:560px){
#top>header{padding-block:10px !important}
main [style*="font-size: 15.5px"],main [style*="font-size: 15px"],main [style*="font-size: 14.5px"],main [style*="font-size: 14px"],footer [style*="font-size: 15.5px"],footer [style*="font-size: 14px"]{font-size:16px !important}
/* study points shrink on a phone, where the photo is narrow; the labelled buttons under the photo do the same job */
.spot{width:30px !important;height:30px !important;font-size:14px !important;border-width:1.5px !important}
}
@media (pointer:coarse){
footer a{min-height:44px}
main a:not([style*="display"]){padding-block:13px}
input[type=checkbox],input[type=radio]{width:24px !important;height:24px !important}
}

/* Design review, 18 November 2026 */
/* motion: the first screen arrives, then each part rises as it scrolls into view. Uses "translate", so hover and press transforms still work. */
@media (prefers-reduced-motion:no-preference){
@keyframes ki-in{from{opacity:0;translate:0 18px}}
main h1{animation:ki-in .7s cubic-bezier(.2,.7,.2,1) backwards}
main h1+p{animation:ki-in .7s .09s cubic-bezier(.2,.7,.2,1) backwards}
main h1~div{animation:ki-in .7s .18s cubic-bezier(.2,.7,.2,1) backwards}
@supports (animation-timeline:view()){
@keyframes ki-rise{from{opacity:0;translate:0 26px}}
main section:not(:first-of-type) :is(h2,h3,p,li,dt,dd,table,form,.lift){animation:ki-rise linear backwards;animation-timeline:view();animation-range:entry 0% entry 55%}
@keyframes ki-drift{to{translate:0 var(--drift,-24px)}}
.hero-strip>*{animation:ki-drift linear both;animation-timeline:scroll(root);animation-range:0 640px}
.hero-strip>:nth-child(even){--drift:-52px}
}
}
/* the product strip under the home headline: three across on tablets and phones, nothing cut off */
@media (max-width:900px){
.hero-strip{grid-template-columns:repeat(3,minmax(0,1fr)) !important;overflow:visible !important;gap:12px !important}
.hero-strip>:first-child,.hero-strip>:last-child{display:none !important}
.hero-strip>*{height:240px !important;padding:18px !important}
.hero-strip>:nth-child(3){height:300px !important}
}
@media (max-width:560px){
.hero-strip>*{height:150px !important;padding:12px !important;border-radius:20px !important}
.hero-strip>:nth-child(3){height:190px !important}
/* WhatsApp becomes a round button on phones, so it covers less */
.wa summary{width:52px;min-height:52px !important;padding:0 !important;justify-content:center;gap:0 !important;font-size:0}
.wa summary span{display:none}
.wa summary::before{content:"";width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' d='M12 3C6.9 3 3 6.6 3 11c0 1.9.7 3.6 1.9 5L4 21l5.3-1.5c.9.3 1.8.4 2.7.4 5.1 0 9-3.5 9-7.9S17.1 3 12 3z'/%3E%3C/svg%3E") center/contain no-repeat}
}
/* narrow phones: the logo steps down so the top bar fits (it needed 405px before) */
@media (max-width:410px){
#top>header{gap:12px !important}
#top>header>a:first-child{gap:8px !important}
#top>header>a:first-child img:first-child{height:38px !important}
#top>header>a:first-child img:last-child{height:12px !important}
}
@media (max-width:340px){
#top>header{padding-inline:16px !important}
#top>header>a:first-child img:last-child{height:11px !important}
}
/* smallest phones: gauge and size tables may wrap inside their cells instead of pushing the page wide */
@media (max-width:380px){main table :is(th,td){white-space:normal !important;padding-right:8px !important}}

/* Review, 19 November 2026 */
/* study points keep their small look on a phone but take a thumb-sized tap */
@media (max-width:560px){.spot::after{content:"";position:absolute;inset:-8px;border-radius:999px}}
/* the registration link sits inside the footer sentence */
footer p a{text-decoration:underline;text-underline-offset:3px}
/* Site check, 20 November 2026 */
/* long words in headings (German product names such as "Untersuchungshandschuhe") break instead of pushing the page wide on phones; German headings hyphenate */
h1,h2,h3{overflow-wrap:break-word}
:lang(de) h1,:lang(de) h2,:lang(de) h3{hyphens:auto;-webkit-hyphens:auto}
