/* The front page of chango.fit (Figma: Piirtopöytä • Markkinointi → Chango.fit
   • Versio A; desktop 2720:6712, mobile 2770:8943, menu 2787:2178).
   The top is blue, the rest light. The other views of the wait list (check,
   thanks, left, expired) keep the dark card on the blue background, see
   waitlist.css; this file only styles the long page (#home) and, while it
   shows, turns the dark scene off. */
@font-face{
  font-family:"Luckiest Guy";
  font-style:normal; font-weight:400; font-display:swap;
  src:url(/fonts/luckiest-guy.woff2) format("woff2");
}
:root{
  --blue80:#2c4c6f; --blue2:#f0f5fb; --blue5:#e5eef7; --blue10:#b7c6d5; --blue30:#809bb6;
  --text:#4c4c4c; --orange:#ff8c00; --yellow:#ffc421;
  --u:min(100vw, 520px);   /* the width the mobile layout is built on */
}
html:has(body.v-home){background:#fff; scroll-behavior:smooth}
body.wl.v-home{display:block; padding:0; background:#fff; color:var(--blue80)}
.v-home .scene, .v-home .logo, .v-home .site-foot{display:none}
.site{display:block; font-family:var(--font); color:var(--blue80); -webkit-font-smoothing:antialiased; overflow-x:clip}
.site[hidden]{display:none}
.site section{scroll-margin-top:0}
.site em{font-family:"Luckiest Guy", var(--font); font-style:normal; font-weight:400; letter-spacing:-.32px}
:where(.site) :is(h1, h2, h3, p){margin:0}
.site :is(h1, h2, h3){font-weight:400}   /* the Figtree line of the two-line headings: Regular (Jenni 25.10.2026, web-otsikot-regular) */
.site a{color:inherit}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.site [hidden]{display:none !important}

/* ---- Top (blue) ---- */
.site{--hh:max(700px, 100svh)}   /* the blue top reaches the fold; the phone carries on 120 px below it (Jenni 10.10.2026) */
.hero{position:relative; z-index:2; height:var(--hh); color:#fff}
.hero-bg, .hero-apina{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.hero-apina{object-position:right center; pointer-events:none}
.hero-in{position:absolute; left:6.8%; top:calc(var(--hh) * .225); width:min(560px, 52%)}
.hero-in h1{font-size:64px; line-height:80px; letter-spacing:-1.28px; color:#fff}
.hero-text{margin-top:28px; font-size:19px; line-height:30px; letter-spacing:-.38px; width:539px; max-width:100%}
.hero-soon{margin-top:30px; font-size:19px; line-height:30px; letter-spacing:-.16px; font-weight:700}
/* Android first (card android-julkaisu-verkkosivu): the Google Play badge and, beside it, the iPhone note */
.hero-stores{display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-top:30px}
.hero-ios{margin:0; font-size:19px; line-height:30px; letter-spacing:-.16px; font-weight:700}
.hero-stores .stores{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.hero-stores .store{display:block; line-height:0}
.hero-stores .store img{display:block; height:48px; width:auto}
.hero-stores .store img[hidden]{display:none}
/* the App Store badge dimmed until the iPhone version is out, not a link (Jenni 14.11.2026) */
.store-off{opacity:.4; filter:grayscale(1); cursor:default}
.hero .hf{margin-top:28px}
.hero-offer{margin-top:28px}
.hero-offer p{margin:0}
.hero-perk{font-size:16px; line-height:24px; font-weight:600; color:#fff}
.hero-phone{position:absolute; left:max(51%, 640px); top:calc(var(--hh) - 480px); width:303px}

.nav{
  position:absolute; z-index:5; left:16px; right:16px; top:16px; height:88px;
  display:flex; align-items:center; justify-content:space-between; padding:0 48px;
  border-radius:12px; background:rgba(0,0,0,.2); border:1px solid rgba(0,0,0,.3);
  color:var(--blue2); font-size:17px; letter-spacing:-.34px;
}
.nav-logo img{display:block; width:154px; height:auto}
.nav-links{display:flex; gap:clamp(32px,5vw,64px); margin-left:auto}
.nav a{text-decoration:none}
.nav-join{display:flex; align-items:center; gap:12px; margin-left:clamp(32px,5vw,64px)}
.nav-lang{margin-left:clamp(48px,9.8vw,126px)}
/* the bar keeps one line on narrow desktops with the About us link (card web-nav-about): smaller gaps under 1440 px */
.nav-links a, .nav-join{white-space:nowrap}
@media (min-width:1100px) and (max-width:1439px){
  .nav{padding:0 32px}
  .nav-links{gap:24px}
  .nav-join{margin-left:28px}
  .nav-lang{margin-left:28px}
}
/* with Workout plan in the bar too (Jenni 1.11.2026) the Spanish bar fits on one line only with these under 1600 px */
@media (min-width:1100px) and (max-width:1599px){
  .nav{padding:0 24px; font-size:15px}
  .nav-links{gap:18px}
  .nav-join{margin-left:20px}
  .nav-lang{margin-left:20px}
}
.ball{display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:rgba(0,0,0,.3)}
.nav-burger, .menu-close{display:none}
.nav .langs-slot .langs{background:rgba(0,0,0,.3); border:0; color:var(--blue2); padding:10px 12px 10px 16px}
.nav .langs-slot .langs::before,.nav .langs-slot .langs::after{filter:brightness(0) invert(1)}
.nav-sub .langs-slot .langs{color:#fff}

/* Email pill (hero and bottom) */
.hf{
  display:flex; align-items:center; gap:8px; width:520px; max-width:100%; height:64px;
  padding:8px 8px 8px 24px; border-radius:32px;
  background:rgba(0,0,0,.4); border:1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.hf-input{
  flex:1; min-width:0; height:100%; padding:0; border:0; outline:0; background:none;
  font:400 17px/24px var(--font); letter-spacing:-.34px; color:#fff;
}
.hf-input::placeholder{color:#989898}
/* Autofill (Safari, Chrome) paints a light box over the pill: keep it dark */
.hf-input{border-radius:24px}
.hf-input:-webkit-autofill, .hf-input:-webkit-autofill:hover, .hf-input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff; caret-color:#fff;
  -webkit-box-shadow:0 0 0 1000px #222b38 inset; box-shadow:0 0 0 1000px #222b38 inset;
  transition:background-color 600000s 0s, color 600000s 0s;
}
.hf:focus-within{border-color:#fff}
.hf-btn{
  flex:none; height:48px; padding:0 24px; border:0; border-radius:24px; cursor:pointer;
  background:linear-gradient(90deg, var(--yellow), var(--orange)); color:#000;
  font:600 16px/24px var(--font); white-space:nowrap; filter:drop-shadow(0 2px 10px rgba(0,0,0,.06));
}
.hf-btn:focus-visible{outline:2px solid #fff; outline-offset:2px}
.hf-btn:disabled{opacity:.6; cursor:default}
.hf-btn .short{display:none}
.hf-consent{margin-top:12px; width:520px; max-width:100%; text-align:center; font-size:12px; line-height:16px; color:var(--blue10)}
.hf-consent a{text-underline-position:from-font}
.site .wl-error{width:520px; max-width:100%; margin-top:10px; text-align:center; font-size:14px; line-height:20px; color:#ffb4a8}


/* ---- Who ---- */
.usp{position:relative; z-index:1; padding:260px 24px 140px; background:var(--blue2); text-align:center}
.usp h2{font-size:56px; line-height:65px; letter-spacing:-1.12px}
.usp p{max-width:681px; margin:26px auto 0; font-size:21px; line-height:32px; font-weight:300; color:#000}
.usp-link{color:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px}   /* at the end of the text, as on the blog (Jenni 1.11.2026) */
.who{padding:140px 24px; background:var(--blue2); text-align:center}
.who h2, .features h2, .next h2{font-size:56px; line-height:65px; letter-spacing:-1.12px; max-width:681px; margin:0 auto}
.who p{max-width:681px; margin:26px auto 0; font-size:21px; line-height:32px; font-weight:300; color:#000}
.more{display:inline-flex; align-items:center; gap:12px; margin-top:26px; font-size:18px; text-decoration:none}
/* Jokaiselle keholle: Google Play badge and the iPhone list link instead of Join the waitlist (card julkiset-tekstit-waitlist, Jenni 21.11.2026) */
.who-get{display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:32px}
.who-get .stores{display:flex; justify-content:center}
.who-get .store{display:block; line-height:0}
.who-get .store img{display:block; height:48px; width:auto}
.who-get .store img[hidden]{display:none}
.who-join{font-size:18px; line-height:26px; font-weight:700; color:var(--blue80); text-decoration:underline; text-underline-offset:3px}
.more .ball{width:32px; height:32px; background:var(--blue80)}
.more .ball svg{width:16px; height:16px}

/* ---- Features ---- */
.features{padding:140px 24px; background:#fff; text-align:center}
.features h2{font-size:44px; line-height:54px; letter-spacing:-.88px; max-width:860px}
.feat-row{display:grid; grid-template-columns:repeat(3, 304px); justify-content:center; margin-top:59px}
.feat{display:flex; flex-direction:column; align-items:center}
.feat h3{margin-top:75px; font-size:24px; line-height:29px; font-weight:600; color:var(--blue80); width:290px; max-width:100%}
.feat p{margin-top:8px; font-size:18px; line-height:27px; font-weight:300; color:var(--text); width:290px; max-width:100%}
.dots{display:none}

/* iPhone: frame and screen are one picture (images/marketing/verkkosivu/puhelimet/), the shadow is CSS */
.phone{position:relative; width:298px; max-width:100%; aspect-ratio:298 / 590}
.phone-img{display:block; width:100%; height:auto;
  filter:drop-shadow(3px 12px 28px rgba(32,37,70,.2)) drop-shadow(13px 50px 51px rgba(32,37,70,.17)) drop-shadow(28px 112px 69px rgba(32,37,70,.1)) drop-shadow(51px 199px 82px rgba(32,37,70,.03))}

/* ---- Progress ---- */
.progress{display:grid; grid-template-columns:453px 520px; justify-content:center; align-items:center; column-gap:78px; padding:107px 24px; background:var(--blue2)}
.fig{position:relative; width:453px; height:700px}
.fig img{position:absolute; display:block; height:auto}
.fig .nainen{left:0; top:49px; width:330px; z-index:2}   /* the woman stands in front of the man (Figma 2737:42934 is the top layer) */
.fig .hahmo{left:108px; top:0; width:345px}
.glow{position:absolute; border-radius:50%; background:radial-gradient(closest-side, rgba(32,37,70,.2), rgba(32,37,70,0)); filter:blur(5px)}
.glow.g1{left:52px; top:586px; width:258px; height:84px}
.glow.g2{left:155px; top:563px; width:258px; height:84px}
.progress-text h2{font-size:52px; line-height:63px; letter-spacing:-1.04px}
.progress-text p{margin-top:24px; max-width:500px; font-size:20px; line-height:31px; font-weight:300; color:var(--text)}
.progress-text ul{list-style:none; margin:24px 0 0; padding:0; display:flex; flex-direction:column; gap:12px}
.progress-text li{display:flex; align-items:center; gap:12px; font-size:18px; line-height:24px; color:var(--blue80)}
.progress-text li::before{content:""; flex:none; width:10px; height:10px; border-radius:50%; background:var(--blue80)}

.progress-text .more{margin-top:32px; color:var(--blue80)}   /* Figma 5139:830 */

/* ---- Muscle by muscle (card m-verkkosivu-lihaspalkit, Figma 5138:1619, mobile 5313:32556): Video's clip of the
   muscle bars, transparent, on the dark gym ---- */
.muscles{display:grid; grid-template-columns:456px 520px; justify-content:center; align-items:center; column-gap:104px; min-height:900px; box-sizing:border-box; padding:45px 24px;
  background:linear-gradient(90deg, rgba(20,31,51,.55), rgba(20,31,51,.15) 60%, rgba(20,31,51,0)), #141f33 url(/img/home/sali.webp?v=2) center/cover}
.muscles-clip{display:block; width:456px; height:auto; aspect-ratio:9 / 16}
.muscles-text p{max-width:480px; margin-top:24px}
.muscles-text .more{margin-top:32px; color:var(--blue2)}
.site .muscles-text :is(h2, p){color:var(--blue2)}

/* ---- Next workout ---- */
.next{padding:140px 24px; background:#fff; text-align:center}
.next h2{max-width:638px}
.next-text{max-width:480px; margin:20px auto 0; font-size:20px; line-height:28px; font-weight:300; color:var(--text)}
.next .feat-row{grid-template-columns:repeat(3, 304px); margin-top:59px}   /* three phones: the widget, Next workout, Recovery (Jenni 16.11.2026, card web-next-kolmas-puhelin) */

/* ---- Questions ---- */
.faq{padding:140px 24px; background:#fafafa}
.faq h2{font:400 44px/54px "Luckiest Guy", var(--font); letter-spacing:-.32px; text-align:center; color:var(--blue80)}
.faq-list{position:relative; width:860px; max-width:100%; margin:40px auto 0; padding-bottom:440px}
.q{border-bottom:1px solid rgba(138,164,190,.7)}
.q summary{display:flex; align-items:center; gap:16px; padding:26px 0; cursor:pointer; list-style:none; font-size:22px; line-height:30px; color:var(--blue80)}
.q summary::-webkit-details-marker{display:none}
.q summary > span:first-child, .q summary > span[data-lang]{flex:1}
.q summary:focus-visible{outline:2px solid var(--blue80); outline-offset:2px}
.q .pm{flex:none; position:relative; width:36px; height:36px; border-radius:50%; border:1px solid #8aa4be; margin-left:auto}
.q .pm::before, .q .pm::after{content:""; position:absolute; left:50%; top:50%; width:18px; height:1.5px; margin:-.75px 0 0 -9px; background:var(--blue80); border-radius:1px}
.q .pm::after{transform:rotate(90deg)}
.q[open] .pm::after{transform:none}
.q p{padding:0 52px 26px 0; font-size:19px; line-height:28px; font-weight:300; color:var(--text)}
.faq-apina{position:absolute; left:-19px; bottom:27px; width:387px; height:auto}
.faq-list{--s:1px}
.faq-list::before, .faq-list::after{content:""; position:absolute; border-radius:50%}
.faq-list::after{left:calc(-6 * var(--s)); bottom:calc(43 * var(--s)); width:calc(388 * var(--s)); height:calc(85 * var(--s));
  background:radial-gradient(closest-side, rgba(32,37,70,.16), rgba(32,37,70,0)); filter:blur(6px)}
.faq-list::before{left:calc(40 * var(--s)); bottom:calc(54 * var(--s)); width:calc(300 * var(--s)); height:calc(37 * var(--s));
  background:radial-gradient(closest-side, rgba(32,37,70,.3), rgba(32,37,70,0)); filter:blur(4px)}
.faq-apina{z-index:1}
.faq-list{z-index:0}

/* ---- Join (bottom) ---- */
.cta{position:relative; height:640px; overflow:hidden; color:#fff}
.cta .hero-apina{left:171px; width:calc(100% - 171px); object-position:left center}
.cta::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(to left, rgba(12,28,45,0) 14.3%, rgba(0,0,0,.55))}
.cta-in{position:absolute; z-index:2; left:calc(50% - 360px); top:197px; width:520px; display:flex; flex-direction:column; align-items:center; text-align:center}
.cta-in h2{font-size:64px; line-height:70px; letter-spacing:-1.28px; white-space:nowrap}
.cta-in .cta-perk{margin:24px 0; font-size:20px; line-height:28px}
.cta .hf-consent{color:var(--blue5)}

/* ---- Footer ---- */
.foot{padding:24px; background:#fff; color:var(--blue80); font-family:var(--font); -webkit-font-smoothing:antialiased}
.foot a{color:inherit}
:where(.foot) p{margin:0}
.foot-panel{padding:40px; border-radius:12px; background:var(--blue2)}
.foot-logo{display:block; width:154px; height:30px}
.foot hr{width:429px; max-width:100%; margin:24px 0; border:0; border-top:1px solid var(--blue10)}
.foot-cols{display:flex; gap:32px; align-items:flex-start}
.foot-links{flex:1; display:flex; flex-direction:column; gap:10px; font-size:16px; line-height:20px; font-weight:500}
.foot-links a{text-decoration:none; width:max-content}
.foot-col{display:flex; flex-direction:column; gap:10px}
.foot-col:nth-child(2){width:220px}
.foot-col:nth-child(3){width:180px}
.foot-col b{padding-bottom:10px; font-size:16px; line-height:20px; font-weight:600}
.foot-social{display:flex; gap:12px}
.foot-social a{position:relative; display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid var(--blue10)}
.foot-copy{margin-top:24px; font-size:14px; line-height:20px; color:var(--blue30)}

/* Language menu (made by lang.js into every [data-langs-slot]) */
.langs-slot .langs{position:relative; display:inline-flex; align-items:center; gap:10px; width:max-content; padding:10px 12px 10px 16px;
  border-radius:22px; background:#fff; border:1px solid var(--blue10); font-size:17px; line-height:20px; color:var(--blue80); cursor:pointer}
.langs-slot .langs::before{content:""; width:20px; height:20px; background:url(/img/home/lang.svg) center/contain no-repeat}
.langs-slot .langs::after{content:""; width:18px; height:18px; background:url(/img/home/chev.svg) center/contain no-repeat}
.langs-slot .langs::before,.langs-slot .langs::after{pointer-events:none}
.langs-slot .langs span{text-decoration:none}
.langs-slot .langs select{position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; font:inherit}

/* ---- Mobile and tablet ---- */
@media (max-width:1099px){
  /* Height follows the content: the blue ends a quarter of the width above the
     bottom of the phone, which carries on over the next section (Figma 2770:8943,
     without the 64 px status bar) */
  .hero{display:flow-root; height:auto; margin-bottom:0}
  .hero-bg{object-position:30% top}
  /* Figma 2770:8943: the monkey 1.89 × the width, its fist at .59 of the width, a bit cropped at the right edge of the SCREEN (the picture itself ends at its edge), in front of the phone */
  .hero-apina{inset:auto calc(var(--u) * -.05) 0 auto; width:calc(var(--u) * 1.893); height:auto; z-index:2; object-fit:fill}
  .nav{left:0; right:0; top:0; height:auto; padding:16px 16px 0; background:none; border:0; justify-content:space-between}
  .nav-links, .nav-join, .nav-lang{display:none}
  .nav-logo img{width:calc(var(--u) * .38); max-width:154px}
  .nav-burger{display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer}
  .hero-in{position:relative; left:auto; top:auto; width:auto; max-width:var(--u); margin:0 auto; padding:89px 16px 0}
  .hero-in h1{font-size:calc(var(--u) * .085); line-height:1.24; letter-spacing:-.02em}
  .hero-text{display:none}
  .hero-soon{margin-top:24px; font-size:17px; line-height:24px; letter-spacing:-.34px; font-weight:800}
  .hero-stores{margin-top:24px; gap:10px 16px}
  .hero-ios{font-size:17px; line-height:24px; letter-spacing:-.34px; font-weight:800}
  .hero .hf{margin-top:12px; height:64px; padding-left:24px}
  .hero .hf-input{font-size:15px; letter-spacing:-.3px}
  .hero .hf-btn .long{display:none}   /* Figma 2776:33931: "Liity" on the phone */
  .hero .hf-btn .short{display:inline}
  .hf-btn{padding:0 18px; font-size:15px}
  .hf{padding-left:20px}
  .hero-offer{margin-top:24px}
  .hero .hf-consent{text-align:left; margin-top:24px; width:348px; font-size:12px; line-height:16px; color:#dce5ef}
  .hero-phone{position:relative; z-index:1; left:auto; top:auto; width:calc(var(--u) * .585); max-width:none; margin:12px 0 calc(var(--u) * -.27) calc((100vw - var(--u)) / 2 + var(--u) * .068)}
  .usp{padding:calc(var(--u) * .27 + 56px) 24px 56px}
  .usp h2{font-size:30px; line-height:36px; letter-spacing:-.6px}
  .usp p{font-size:16px; line-height:25px; margin-top:20px}
  .who{padding:64px 24px}
  .who-get{margin-top:24px; gap:12px}
  .who-join{font-size:16px; line-height:24px}
  .who h2, .features h2, .next h2{font-size:30px; line-height:36px; letter-spacing:-.6px}
  .who p{font-size:16px; line-height:25px; margin-top:20px}
  .features, .next{padding:72px 0 56px}
  .features h2, .next h2, .next-text{padding:0 24px}
  .next-text{font-size:17px; line-height:25px}
  .feat-row, .next .feat-row{display:flex; justify-content:flex-start; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding:16px calc((100% - min(78%, 300px)) / 2) 64px; margin:8px 0 -48px; scrollbar-width:none; -webkit-overflow-scrolling:touch}
  .feat-row::-webkit-scrollbar{display:none}
  .feat{flex:0 0 min(78%, 300px); scroll-snap-align:center}
  /* Figma: the phone 173 pt wide. The shadow is a box-shadow behind the picture (a filter inside a scroller is
     clipped by iOS Safari), shaped like the phone */
  .feat .phone{width:calc(var(--u) * .43)}
  .feat .phone-img{position:relative; filter:none}
  .feat .phone::before{content:""; position:absolute; left:5.6%; right:4.8%; top:3.4%; bottom:4.2%; border-radius:15% / 7.6%;
    box-shadow:0 14px 22px rgba(32,37,70,.16), 0 44px 56px rgba(32,37,70,.12)}
  .feat h3{margin-top:20px; font-size:20px; line-height:26px}
  .feat p{font-size:16px; line-height:24px}
  .dots{display:flex; justify-content:center; gap:8px; margin-top:16px}
  .dots i{width:6px; height:6px; border-radius:50%; background:var(--blue10)}
  .dots i.on{background:var(--blue80)}
  .progress{display:flex; flex-direction:column; align-items:center; padding:56px 24px 64px}
  .fig{width:min(100%, 360px); height:calc(min(100vw - 48px, 360px) * 1.72)}
  .progress{--k:calc(min(100vw - 48px, 360px) / 453)}
  .fig .nainen{left:0; top:calc(49 * var(--k)); width:calc(330 * var(--k))}
  .fig .hahmo{left:calc(108 * var(--k)); width:calc(345 * var(--k))}
  .glow.g1{left:calc(52 * var(--k)); top:calc(586 * var(--k)); width:calc(258 * var(--k)); height:calc(84 * var(--k))}
  .glow.g2{left:calc(155 * var(--k)); top:calc(563 * var(--k)); width:calc(258 * var(--k)); height:calc(84 * var(--k))}
  .fig{height:calc(700 * var(--k))}
  .progress-text{width:100%}
  .progress-text h2{font-size:34px; line-height:40px; letter-spacing:-.68px}
  .progress-text p{font-size:17px; line-height:26px; margin-top:16px}
  .progress-text li{font-size:16px}
  .progress-text .more{margin-top:24px}
  .muscles{display:flex; flex-direction:column; align-items:stretch; min-height:0; padding:64px 34px}
  .muscles-vis{order:1; align-self:center; margin-top:40px}
  .muscles-clip{width:280px}
  .muscles-text p{margin-top:28px}
  .muscles-text .more{margin-top:24px}
  .faq{padding:72px 16px 0}
  .faq h2{font-size:34px; line-height:42px}
  .faq-list{margin-top:28px; padding-bottom:calc(440 * var(--s))}
  .q summary{padding:20px 0; font-size:18px; line-height:25px}
  .q p{padding:0 8px 20px 0; font-size:16px; line-height:24px}
  .faq-apina{width:calc(387 * var(--s)); left:calc(-19 * var(--s)); bottom:calc(27 * var(--s))}
  .faq-list{--s:calc(var(--u) * .0016)}
  .cta{height:auto; min-height:calc(var(--u) * 1.29)}
  .cta .hero-apina{display:none}
  .cta .hero-bg{object-position:center bottom}
  .cta-in{position:relative; left:auto; top:auto; transform:none; width:auto; max-width:var(--u); margin:0 auto; padding:calc(var(--u) * .37) 16px 56px}
  .cta-in h2{font-size:36px; line-height:42px; letter-spacing:-.72px; white-space:normal}
  .cta-in .cta-perk{margin:16px 0 24px; font-size:17px; line-height:24px}
  .cta .hf{height:60px; width:100%}
  .cta .hf-consent{font-size:13px; line-height:18px}
  .foot{padding:12px}
  .foot-panel{padding:32px 20px 28px}
  .foot-cols{flex-direction:column; gap:32px}
  .foot-copy{margin-top:34px}
  .foot-col:nth-child(2), .foot-col:nth-child(3){width:auto}
  .foot hr{width:100%; margin:24px 0 28px}
  .nav-logo img{height:auto}
  .menu{position:fixed; inset:0; z-index:100; display:flex; flex-direction:column; padding:16px 16px 32px; overflow-y:auto; background:#1e3450; color:#fff}
  .menu[hidden]{display:none}
  .menu-top{display:flex; align-items:center; justify-content:space-between; padding-top:calc(var(--u) * .1); margin-bottom:28px}
  .menu-close{display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer}
  .menu > a:not(.nav-logo):not(.menu-join){padding:22px 8px; border-bottom:1px solid rgba(255,255,255,.2); font-size:22px; text-decoration:none}
  .menu-join{display:flex; align-items:center; justify-content:center; height:48px; margin-top:40px; border-radius:24px; background:linear-gradient(90deg, var(--yellow), var(--orange)); color:#000 !important; font:600 16px/24px var(--font); text-decoration:none}
  .menu .langs-slot{margin-top:28px}
  .menu .langs{background:var(--blue5)}
}
@media (min-width:1100px){
  .menu{display:none !important}
}
@media (prefers-reduced-motion:reduce){
  html:has(body.v-home){scroll-behavior:auto}
}

/* Soft motion (home.js adds .js-anim only when it can and may) */
.js-anim .rv{opacity:0; transform:translate3d(0, 28px, 0); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay:var(--d, 0s)}
.js-anim .rv.in{opacity:1; transform:none}

/* ---- "Check your email" in the place of the form (Figma 2809:4, 2809:161) ---- */
.sent-msg{display:none; max-width:540px; color:#fff}
.sent .hf-wrap{display:none}
.sent .sent-msg{display:block}
.sent-msg:focus{outline:0}
.sent-msg h2{font-size:28px; line-height:36px; font-weight:400; letter-spacing:-.02em}
.sent-msg p{margin-top:12px; font-size:19px; line-height:30px; letter-spacing:-.38px}
.sent-msg .wl-email{text-decoration:underline; text-underline-position:from-font}
.sent-msg .wl-resend{padding:0; border:0; background:none; font:inherit; color:inherit; cursor:pointer; text-decoration:underline; text-underline-position:from-font}
.hero .sent-msg{margin-top:28px}
.cta .sent-msg{text-align:center; margin-top:0}
.cta .sent-msg h2{font-size:28px}
@media (max-width:1099px){
  /* Figma 2809:161: title, 16 px, heading 22/28 SemiBold, 8 px, text 16/24 Light, 12 px between paragraphs; no "Coming soon" line */
  .hero .sent-msg{margin-top:16px}
  .sent-msg h2{font-size:22px; line-height:28px; font-weight:600; letter-spacing:-.44px}
  .sent-msg h2 + p{margin-top:8px}
  .sent-msg p{margin-top:12px; font-size:16px; line-height:24px; font-weight:300; letter-spacing:0}
  .sent-msg .wl-email{font-weight:400}
}

/* ---- Light sub pages: Welcome, Left the list, Link expired (Figma 2810:2 / 188, 82 / 261, 135 / 305) ---- */
html:has(body.v-thanks), html:has(body.v-left), html:has(body.v-leave), html:has(body.v-expired){background:var(--blue2)}
body.wl.v-thanks, body.wl.v-left, body.wl.v-leave, body.wl.v-expired{display:flex; flex-direction:column; padding:0; background:var(--blue2); color:var(--blue80)}
.v-thanks .scene, .v-left .scene, .v-leave .scene, .v-expired .scene, .v-thanks .logo, .v-left .logo, .v-leave .logo, .v-expired .logo{display:none}
.sub-top, .sub-foot{display:none}
.v-thanks .sub-top, .v-left .sub-top, .v-leave .sub-top, .v-expired .sub-top{display:block}
.v-thanks .sub-foot, .v-left .sub-foot, .v-leave .sub-foot, .v-expired .sub-foot{display:block; margin-top:auto; padding-top:72px; background:linear-gradient(var(--blue2) 72px, #fff 72px)}
/* The bar of the light subpages: the front page's bar (Jenni 24.10.2026: "Yläpalkin pitäisi pysyä identtisenä") on Blue 80 */
.nav-sub{position:relative; left:auto; right:auto; top:auto; margin:16px; background:var(--blue80); border:0; color:#fff}
.v-thanks .card, .v-left .card, .v-leave .card, .v-expired .card{max-width:700px; margin:96px auto 0; padding:0 24px; background:none; border-radius:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; text-align:center; color:var(--blue80)}
.v-thanks .card h1, .v-left .card h1, .v-leave .card h1, .v-expired .card h1{margin:0; font-size:56px; line-height:65px; font-weight:400; letter-spacing:-1.12px}
.card h1 em{font-family:"Luckiest Guy", var(--font); font-style:normal; font-weight:400; letter-spacing:-.32px; line-height:.95}
.v-thanks .wl-place{margin-top:48px}
.v-thanks .wl-place p{margin:0 0 8px; font-size:18px; line-height:28px; letter-spacing:0; color:#000}
.v-thanks .wl-place div > p:nth-child(-n+3){font-size:22px; line-height:30px; font-weight:600; color:var(--blue80)}
.v-thanks .wl-pos{display:block !important}
.v-thanks .wl-pos[hidden]{display:none !important}
.v-thanks .wl-n{font-size:inherit; line-height:inherit; color:var(--orange)}
.v-thanks .wl-invite{width:min(520px, 100%); margin:40px auto 0; text-align:left; gap:6px}
.v-thanks .wl-invite .wl-field{font-size:14px; line-height:20px; font-weight:400; letter-spacing:0; color:var(--blue80)}
.v-thanks .wl-link{margin-top:0}
.v-thanks .wl-link input{height:64px; padding:0 190px 0 24px; border:1px solid var(--blue30); border-radius:32px; background:#fff; font-size:17px; letter-spacing:-.34px; color:var(--blue80)}
.wl-copy-btn{position:absolute; right:8px; top:8px; height:48px; padding:0 24px; border:0; border-radius:24px; cursor:pointer;
  background:linear-gradient(90deg, var(--yellow), var(--orange)); color:#000; font:600 16px/24px var(--font); white-space:nowrap}
.wl-copy-btn:focus-visible{outline:2px solid var(--blue80); outline-offset:2px}
.v-thanks .wl-beta{width:min(640px, calc(100% - 32px)); max-width:none; margin:40px auto 0; padding:32px; border-radius:12px; background:#dce5ef; text-align:center; color:var(--blue80)}
.v-thanks .wl-beta h2{margin:0 0 12px; font-size:22px; line-height:28px; font-weight:600; letter-spacing:-.01em}
.v-thanks .wl-beta p{font-size:16px; line-height:26px; letter-spacing:0; color:#000}
.v-thanks .wl-beta-phones{justify-content:center; gap:12px; margin-top:24px}
.v-thanks .wl-beta-phones button{width:160px; height:48px; padding:0; border:2px solid var(--blue80); background:#f4f8fc; font-size:17px; font-weight:600; color:var(--blue80)}
.v-thanks .wl-beta-phones svg{display:none}
.v-thanks .wl-follow{width:min(640px, calc(100% - 32px)); max-width:none; margin:40px auto 0; padding:0; background:none; text-align:center; color:var(--blue80)}
.v-thanks .wl-follow h2{margin:0 0 16px; font-size:18px; line-height:24px; font-weight:400; letter-spacing:0}
.v-thanks .wl-follow-icons{justify-content:center}
.v-thanks .wl-follow-icons a{width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid var(--blue10)}
.v-thanks .wl-follow-icons img{width:22px; height:22px}
.v-thanks .sub-foot{margin-top:auto}
.v-thanks .wl-follow{margin-bottom:72px}
.v-left .wl-end p,.v-leave .wl-end p, .v-expired .wl-end p{margin:28px auto 0; max-width:520px; font-size:18px; line-height:28px; letter-spacing:0; color:#000}
.v-left .wl-again,.v-leave .wl-again, .v-expired .wl-again{display:inline-flex; width:auto; height:48px; margin-top:32px; padding:0 24px; font-size:16px; color:#000}
.v-left .card,.v-leave .card, .v-expired .card{margin-bottom:96px}
@media (max-width:1099px){
  .nav-sub{margin:0; background:none; display:flex; padding-top:16px}
  .nav-sub .nav-burger svg path{stroke:var(--blue80)}
  .v-thanks .card, .v-left .card, .v-leave .card, .v-expired .card{margin-top:40px}
  .v-thanks .card h1, .v-left .card h1, .v-leave .card h1, .v-expired .card h1{font-size:32px; line-height:38px; letter-spacing:-.64px}
  .v-thanks .wl-place{margin-top:32px}
  .v-thanks .wl-place p{font-size:16px; line-height:24px}
  .v-thanks .wl-link input{padding-right:160px; font-size:15px}
  .wl-copy-btn{padding:0 18px; font-size:15px}
  .v-thanks .wl-beta{padding:24px 20px}
  .v-thanks .wl-beta h2{font-size:20px}
  .v-thanks .wl-beta-phones button{width:min(150px, 44%)}
  .v-left .wl-end p,  .v-leave .wl-end p, .v-expired .wl-end p{font-size:16px; line-height:25px}
}

/* The Spanish button is wide: on a narrow phone it goes under the field */
@media (max-width:430px){
  html[lang="es"] .hf{flex-direction:column; align-items:stretch; height:auto; border-radius:28px; padding:8px; gap:8px}
  html[lang="es"] .hf-input{height:48px; padding:0 16px}
  html[lang="es"] .hf-btn{width:100%}
}

/* ---- Typography (Media 10.10.2026, docs/muutokset/2026-10-09-uusi-etusivu.md → Typografia ja rivitys) ----
   Section titles 56/65 (phone 30/36) Blue 80 · body 21/32 (17/26) Neutral 100 ·
   card titles 24/30 (21/26) SemiBold Blue 80 · card texts 18/27 (16/24) Neutral 60 ·
   hero title 64/80 (32/40) · consent 12/16 Blue 8. Titles are balanced; the last
   two words of body texts and questions are bound with a no-break space (in the HTML). */
.site :is(h1, h2, h3), .card :is(h1, h2), .wl-beta h2{text-wrap:balance}
.usp h2, .who h2, .features h2, .next h2, .progress-text h2, .muscles-text h2, .faq h2,
.v-thanks .card h1, .v-left .card h1, .v-leave .card h1, .v-expired .card h1{font-size:56px; line-height:65px; letter-spacing:-1.12px; color:var(--blue80)}
.features h2{max-width:900px}
.faq h2{font-weight:400; letter-spacing:-.32px}
.usp p, .who p, .progress-text p, .muscles-text p, .next-text,
.v-thanks .wl-place p, .v-left .wl-end p, .v-leave .wl-end p, .v-expired .wl-end p{font-size:21px; line-height:32px; font-weight:300; letter-spacing:0; color:#000}
.progress-text p{max-width:520px}
.next-text{max-width:560px}
.feat h3, .v-thanks .wl-place div > p:nth-child(-n+3), .v-thanks .wl-beta h2{font-size:24px; line-height:30px; font-weight:600; letter-spacing:0; color:var(--blue80)}
.feat p, .v-thanks .wl-beta p{font-size:18px; line-height:27px; font-weight:300; letter-spacing:0; color:var(--text)}
.hero-in h1{font-size:64px; line-height:74px}
.hero-in h1{padding-bottom:10px}   /* Figma 2824:31399: the title box is 158 px high */
.hero-in h1 em{line-height:0}   /* the display font must not stretch the line */
@media (min-width:1100px){
  /* Spanish is longer: the title is wider and may reach over the top of the phone (never over its screen) */
  html[lang=es] .hero-in{width:min(760px, 70%)}
  html[lang=es] .hero-in h1{letter-spacing:-1.28px}
}
.hf-consent, .hero .hf-consent, .cta .hf-consent{font-size:12px; line-height:16px; color:#dce5ef}
@media (min-width:1100px){
  /* Desktop hero: the terms sit 28px below the offer (Figma 2720:7042 puts them 28px below the form) and quieter than it */
  .hero .hf-consent{margin-top:28px; text-align:left; color:rgba(220,229,239,.72)}
}
@media (max-width:1099px){
  .usp h2, .who h2, .features h2, .next h2, .progress-text h2, .muscles-text h2, .faq h2,
  .v-thanks .card h1, .v-left .card h1, .v-leave .card h1, .v-expired .card h1{font-size:30px; line-height:36px; letter-spacing:-.6px}
  .usp p, .who p, .progress-text p, .muscles-text p, .next-text,
  .v-thanks .wl-place p, .v-left .wl-end p, .v-leave .wl-end p, .v-expired .wl-end p{font-size:17px; line-height:26px}
  .feat h3, .v-thanks .wl-place div > p:nth-child(-n+3), .v-thanks .wl-beta h2{font-size:21px; line-height:26px}
  .feat p, .v-thanks .wl-beta p{font-size:16px; line-height:24px}
  .hero-in h1{font-size:32px; line-height:40px; letter-spacing:-.64px; padding-bottom:0}
  .hero .hf-consent{text-align:left}
  .brm::before{content:"\A"; white-space:pre}
}
.next h2{max-width:900px}

/* The form and its lines sit in .hf-wrap: it takes the width of its place, so the pill never gets wider than the screen */
.hf-wrap{width:100%; display:flex; flex-direction:column; align-items:flex-start}
.cta .hf-wrap{align-items:center}

/* ---- New order (web-etusivu-uusi-jarjestys, Figma 5954:831 desktop, 5957:830 mobile) ----
   Hero without the form, the figure that turns (3D figure page), the calculator and the
   muscle tap (Workout plan page, written in by scripts/build-workout-plan-page.py), the help
   with Live Activity, Muscle by muscle, the widget and Recovery, Who, the research, FAQ,
   the wait list. White and light blue in turn; the hero phone's shadow may fall on the next section. */
.hero-more{display:inline-flex; align-items:center; gap:10px; margin-top:28px; padding:12px 22px; border:1px solid rgba(255,255,255,.28); border-radius:999px;
  background:rgba(255,255,255,.14); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:#fff; font-size:18px; line-height:25px; font-weight:600; text-decoration:none}
.hero-more:hover{background:rgba(255,255,255,.22)}
.hero-more:focus-visible{outline:2px solid #fff; outline-offset:3px}
.progress{grid-template-columns:minmax(0, 470px) minmax(0, 600px); column-gap:60px; padding-top:107px; padding-bottom:100px}   /* the hero phone stays inside the hero (card web-hero-puhelin-header); the title on two lines as in Figma */
.h-turn{display:flex; flex-direction:column; align-items:center}
.progress .f-rot{width:320px; height:532px; margin-top:61px}
.progress .f-rot .f-shadow{top:468px; width:267px; height:65px}
.progress .f-rot[data-fig="ape"] .f-rot-img{width:300px}
.progress .f-drag{margin-top:14px}
.calc, .tap, .research{color:var(--blue80)}
.calc{padding:120px 24px; background:#fff; text-align:center}
.calc .h-text{width:760px; max-width:100%; margin:0 auto}
.calc .wp-calc{margin-top:40px}
.calc h2, .tap h2{font-size:56px; line-height:65px; letter-spacing:-1.12px; font-weight:400; color:var(--blue80)}
.calc h2 em, .tap h2 em{line-height:0}
.h-sub{margin:24px 0 0; font-size:22px; line-height:30px; font-weight:600; color:var(--blue80)}
.h-text .more{margin-top:24px; color:var(--blue80)}
.features{background:var(--blue2)}
.features .more{margin-top:48px; color:var(--blue80)}
.tap{display:flex; justify-content:center; align-items:center; gap:40px; padding:110px 24px; background:#fff}
.tap .h-text{width:476px; flex:none}
.h-tap{display:flex; align-items:center; gap:74px}
.h-tap .wp-tap{margin-top:0}
.next{background:var(--blue2)}
.h-clip .f-clip{z-index:1}
.who{background:#fff}
.research{padding:110px max(16px, calc(50% - 528px)) 74px; background:var(--blue2); text-align:center}
.research h2{margin:0; font-size:48px; line-height:58px; font-weight:400; letter-spacing:-.96px}
.research .wp-blog{background:#fff}
.research-lead{max-width:681px; margin:26px auto 0; font-size:21px; line-height:32px; font-weight:300; color:#000}
.research-lead b{font-weight:600}
@media (min-width:1100px){
  .features .feat-row{grid-template-columns:repeat(5, 216px); column-gap:18px}   /* five phones: Progress after Live Activity (Jenni 1.11.2026) */
  .features .phone{width:216px}
  .features .feat h3, .features .feat p{width:216px}
  .features .feat h3{margin-top:48px}
}
@media (max-width:1099px){
  .hero-text{display:block; margin-top:16px; font-size:16px; line-height:24px; letter-spacing:-.32px}
  .hero-more{margin-top:20px; padding:11px 18px; font-size:17px; line-height:24px}
  .hero-in{padding-bottom:4px}
  .progress{padding-top:calc(var(--u) * .27 + 40px)}
  .progress .f-rot{width:300px; height:420px; margin-top:28px}
  .progress .f-rot .f-shadow{top:369px; width:211px; height:51px}
  .progress .f-rot[data-fig="ape"] .f-rot-img{width:230px}
  .progress .h-turn{margin-bottom:40px}
  .calc{padding:64px 16px}
  .calc h2, .tap h2{font-size:30px; line-height:36px; letter-spacing:-.6px}
  .h-sub{margin-top:16px; font-size:19px; line-height:26px}
  .calc .wp-calc{margin-top:32px}
  .features .more{margin-top:24px}
  .tap{flex-direction:column; align-items:stretch; gap:0; padding:64px 16px}
  .tap .h-text{width:auto}
  .h-tap{flex-direction:column; align-items:center; gap:24px}
  .h-tap .wp-panel{width:100%; max-width:370px}
  .research{padding:64px 16px}
  .research h2{font-size:30px; line-height:36px; letter-spacing:-.6px}
  .research-lead{font-size:16px; line-height:25px; margin-top:20px}
  .research .wp-blogs{grid-template-columns:1fr; gap:16px; margin-top:28px}
  .research .wp-blog{min-height:0}
}
@media (min-width:1100px) and (max-width:1199px){ .tap{gap:24px} .h-tap{gap:32px} .tap .h-text{width:396px} }
@media (min-width:1280px){ .progress-text h2{margin-right:-80px} }   /* Lämpenee, lämpenee… on one line as in Figma */
/* Video's screen clips in the phones (web-klipit-etusivu): the screen of the home phone pictures, figure.js plays the one in view */
.phone .h-scr{left:9.06%; top:4.41%; width:83.22%; height:90%; border-radius:16.1% / 7.4%; z-index:1}
.who-join{color:var(--blue80)}
/* Everyday moments under Who (D3, kortti web-etusivu-arjen-hetket; Figma 6883:117697, mobile 6883:117718):
   question bold on its own line, answer below, the whole row links on (Jenni 9.11.2026) */
.who-moments{display:flex; flex-direction:column; gap:10px; max-width:680px; margin:26px auto 0; text-align:left}
.moment{display:flex; align-items:center; gap:16px; padding:16px 20px; border-radius:12px; background:var(--blue2); color:var(--blue80); text-decoration:none; font-size:17px; line-height:26px; transition:background .15s}
.moment[hidden]{display:none}
.moment:hover{background:var(--blue5)}
.moment > span{flex:1; min-width:0}
.moment b{display:block; font-weight:600}
.moment .ball{flex:none; width:32px; height:32px; background:var(--blue80)}
.moment .ball svg{width:16px; height:16px}
@media (max-width:1099px){
  .who-moments{margin-top:20px}
  .moment{padding:14px 16px; font-size:16px; line-height:24px}
}
/* The links under the texts: bold text and → after it (Jenni 1.11.2026: "Ei toimi kun liikaa painikkeita.
   Ehkä kuitenkin vain bold teksti ja perään →"), no ball */
.site .more{gap:0; font-size:18px; line-height:26px; font-weight:700; text-decoration:none}
.site .more::after{content:"→"; margin-left:8px; transition:transform .15s}
.site .more:hover::after{transform:translateX(3px)}
.site .more:hover{text-decoration:underline; text-underline-offset:4px}
.site .more .ball{display:none}
@media (max-width:1099px){ .site .more{font-size:17px; line-height:24px} }
.h-sub{text-wrap:balance}
/* the lead in Regular, so the bold link under it stands apart (Jenni 1.11.2026: "Ei voi olla samalla leikkauksella kun ingressi") */
.h-sub{font-weight:400}
@media (min-width:1100px) and (max-width:1279px){
  .features .feat-row{grid-template-columns:repeat(5, 190px); column-gap:16px}
  .features .phone, .features .feat h3, .features .feat p{width:190px}
}

/* FAQ: link to the topic's blog article and to the blog (web-etusivu-ukk) */
.q p .faq-read{display:block; margin-top:10px; font-weight:700; color:inherit; text-decoration:underline; text-underline-offset:4px}
.q p .faq-read[hidden]{display:none}
.faq-more{margin:28px 0 0; font-size:18px; line-height:26px; font-weight:700}
.faq-more a{color:inherit; text-decoration:none}
.faq-more a:hover{text-decoration:underline; text-underline-offset:4px}
/* Leave the list (?view=leave, audit 25): the button as on Left the list, the error line readable on the light page */
.v-leave button.wl-again{border:0; cursor:pointer}
.v-leave button.wl-again:disabled{opacity:.6; cursor:default}
.site .wl-leave-error, .wl-leave-error{margin:16px auto 0; font-size:14px; line-height:20px; color:#8a1c1c}
.v-leave .wl-end p.wl-leave-error{margin:16px auto 0; font-size:15px; line-height:22px; font-weight:400; color:#8a1c1c}

/* Hero title and text styles (card web-hero-tekstityyli, Figma desktop fi 5954:831, en 5968:830, es 5968:4108;
   mobile fi 5957:830, en 5968:1292, es 5968:4570; approved 15.11.2026). The Figtree line Light, the highlight
   in Luckiest Guy on its own line (the <br> in the title; es: highlight on the first line, Light below it).
   The spacing is measured from the Figma frames (glyph tops from the title's top, Jenni 15.11.2026: "rivivälistykset
   ei näytä samalle"): desktop en/fi 10 / 67, body 169, Tulossa 281, button 348; es 3 / 67, body 144;
   mobile fi 10 / 34, body 90, Tulossa 201, button 248; es 2 / 33, body 76 (the highlight's cap top; Figma draws Ñ
   without the tilde). es: the highlight sits on the Light line's baseline, so the first line gets a little room above. */
.hero-in h1{font-size:46px; line-height:1.1; letter-spacing:-1.38px; font-weight:300; padding-bottom:0}
.hero-in h1 em{font-size:64px; line-height:1.1; letter-spacing:-1.28px}
html:not([lang=es]) .hero-in h1 em{display:block; margin-top:14px}
html[lang=es] .hero-in h1{letter-spacing:-1.38px; padding:7px 0 2px}
html[lang=fi] .hero-in h1{padding-top:3px}   /* Figma fi sits 3 px lower than en (13 / 70, body 172) */
html[lang=es] .hero-in h1 em{line-height:0}
.hero-text{line-height:1.35}
.hero-soon{margin-top:34px}
.hero-more{margin-top:26px}
@media (max-width:1099px){
  .hero-in h1{font-size:23px; letter-spacing:-.69px}
  .hero-in h1 em{font-size:32px; letter-spacing:-.64px}
  html:not([lang=es]) .hero-in h1 em{margin-top:7px}
  html[lang=es] .hero-in h1{padding:4px 0 0}
  html[lang=fi] .hero-in h1{padding-top:0}
  .hero-text{margin-top:18px; font-size:16px; line-height:1.35; letter-spacing:-.16px; font-weight:300}
  .hero-soon{margin-top:24px}
  .hero-more{margin-top:10px}
}

/* The hero phone 160 px higher, all of it inside the hero (Jenni 16.11.2026, card web-hero-puhelin-header: "sivun alussa
   näyttää pahalle, kun roikkuu liian alhaalla"; was 120 px over the edge, Figma 5954:831), never under the top bar */
@media (min-width:1100px){
  .hero-phone{top:max(calc(var(--hh) - 640px), 128px)}
}

/* The top bar stays in view (Jenni 16.11.2026, same card): fixed; see-through over the hero as before, and once the page
   scrolls (home.js adds nav-on) dark blue with a blur, from edge to edge and against the top. The subpages' blue bar sticks too. */
.nav:not(.nav-sub){position:fixed; z-index:50; transition:background-color .2s, border-color .2s, left .2s, right .2s, top .2s, padding .2s, border-radius .2s}
/* scrolled: from edge to edge, square, against the top of the window (Jenni 16.11.2026) */
.nav.nav-on:not(.nav-sub){left:0; right:0; top:0; border-radius:0; border-width:0 0 1px; background:rgba(30,52,80,.9); border-color:rgba(255,255,255,.1); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px)}
@media (min-width:1100px){
  /* the logo and the links stay where they were: the 16 px the bar grows on each side goes to its padding */
  .nav.nav-on:not(.nav-sub){padding:0 64px}
}
@media (min-width:1100px) and (max-width:1599px){
  .nav.nav-on:not(.nav-sub){padding:0 40px}
}
.hero, .f-hero{z-index:20}   /* the fixed bar lives inside the hero: the hero's layer must stay above the sections below */
.sub-top{position:sticky; top:0; z-index:50}
@media (max-width:1099px){
  .nav.nav-on:not(.nav-sub){padding-bottom:12px; border-radius:0}
  .sub-top{padding-bottom:12px; background:var(--blue2)}
}

/* Lämpenee: the figure picker's top in line with the top of the heading and right above the figure, a little less room
   above the section (Jenni 16.11.2026, card web-hahmo-osio-asemointi: "switch samalla tasolle kuin Lämpenee otsikon
   yläreuna"). Measured: the pill's top = the L's top. */
@media (min-width:1100px){
  .progress{padding-top:80px; align-items:start}
  .progress .h-turn{margin-top:12px}
  .progress .f-rot{margin-top:8px}
}
