/* ============================================================================
   POHJA: PEHMEA (A) — pyöreä & cool, moderni B2B (oletus: rekrytointi/palveluyritys)
   Tyyli: pyöreät muodot (28px), viileä cyan→violetti-liukuväri, ajelehtivat blobit
   (liikettä), läpinäkyvä nav gradient-heron päällä, modernit sans-fontit.
   Samat osio-luokat kuin muissa → osiot siirrettävissä.
   ----------------------------------------------------------------------------
   TEEMA VAIHDETAAN VAIN TÄSTÄ :root-lohkosta.
   ============================================================================ */

:root {
  /* --- Efektivärit: teemattaessa vaihdetaan nämä, ei CSS:n sisältä käsin --- */
  --c-shine: #F2B8C6;   /* otsikkoaallon kirkas kohta */
  --c-glow: #9B3A55;   /* koristehehku (blob) */
  --c-cta-a: #4A1527;   /* CTA-kaistan liuku 1/3 */
  --c-cta-b: #7B253D;   /* CTA-kaistan liuku 2/3 */
  --c-cta-c: #9B3A55;   /* CTA-kaistan liuku 3/3 */
  --c-cta-hover: #5E1B2E;   /* CTA-painikkeen hover */
  --c-on-dark-2: #E6D6DB;   /* tumman osion leipäteksti */
  --c-placeholder: #8B7A6E;   /* lomakkeen placeholder */
  --c-dark-2: #1C0A10;   /* syvin taustasävy */
  /* Lomakkeen tilaviestit — teemattavissa kuten muutkin värit */
  --c-ok:  #3F7A4C;
  --c-err: #B3261E;
  /* ---- VÄRIT (oletus: viileä + cyan→violetti-liukuväri, kotisivut.fi-henki) ---- */
  --c-bg:        #171210;   /* noki — lämmin lähes musta */
  --c-surface:   #221A16;   /* kortit */
  --c-surface-2: #1D1512;   /* vuorottelevat osiot */
  --c-text:      #DACDC4;
  --c-heading:   #FFFFFF;
  --c-muted:     #AC978A;
  --c-border:    #3A2D26;
  --c-primary:   #7B253D;   /* viininpunainen, asiakkaan nykysivun pääväri */
  --c-primary-2: #5E1B2E;   /* hover, tummempi */
  --c-on-primary:#FFFFFF;   /* valkoinen teksti viininpunaisella */
  --c-accent:    #9B3A55;   /* vaaleampi viininpunainen */
  --c-dark:      #100B09;   /* footer, syvin sävy */
  --c-on-dark:   #E9DAD0;

  /* ---- LIUKUVÄRI (amber → liekinoranssi → hiillos) ---- */
  --grad: linear-gradient(135deg, #9B3A55 0%, #7B253D 55%, #5E1B2E 100%);

  /* ---- MUODOT (isot pyöristykset) ---- */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* ---- VARJOT (pehmeät, violetti-sävytetyt) ---- */
  --shadow-sm: 0 2px 10px rgba(0,0,0,.30);
  --shadow:    0 16px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.55);

  /* ---- TYPOGRAFIA (modernit sans) ---- */
  --font-display: 'Lora', 'Lora Fallback', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Source Sans 3 Fallback', system-ui, -apple-system, sans-serif;

  /* ---- MITAT ---- */
  --container: 1120px;
  --pad-x: clamp(18px, 5vw, 40px);
  --gap: clamp(20px, 3vw, 34px);
  --section-y: clamp(56px, 7.5vw, 100px);
}

/* =====================  VÄRI-PRESETIT  ============================
   TUMMA (luumu-yö):
     --c-bg:#221820; --c-surface:#2C2029; --c-surface-2:#1C141B;
     --c-text:#D8C8D0; --c-heading:#FFFFFF; --c-muted:#A892A0;
     --c-border:#3A2C37; --c-primary:#F08AB0; --c-primary-2:#F7A6C4;
     --c-on-primary:#221820; --c-accent:#C4A9EA; --c-dark:#160F15; --c-on-dark:#EEDFE8;

   LAVENDEL (vaihda pääsävy):
     --c-primary:#9B7BD4; --c-primary-2:#8463C2; --c-surface-2:#F3EEFB; --c-bg:#FAF7FE;

   PERSIKKA/LÄMMIN:
     --c-primary:#E08A6B; --c-primary-2:#CC7356; --c-accent:#F0B89A; --c-surface-2:#FCF1EA; --c-bg:#FFF8F3;

   Toimialapaletit: ks. ../../CLAUDE.md
   ================================================================== */

/* ===========================  RESET / BASE  ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; overflow-x: clip;
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-body); font-size: 1.07rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-heading); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 600; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2.5px solid var(--c-primary); outline-offset: 3px; border-radius: 6px; }
em { font-style: italic; color: var(--c-primary); }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--c-primary); color: #fff; padding: 11px 20px; border-radius: var(--r-pill); font-weight: 700; }
.skip-link:focus { left: 14px; }

/* gradient-teksti + liike-keyframet (kotisivut.fi-henkinen "cool") */
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* otsikon SHINE-AALTO — kirkas kaista pyyhkäisee gradientin yli (kuten kotisivut.fi), nopea */
.hero h1 .grad-text {
  background: linear-gradient(100deg, var(--c-primary) 0%, var(--c-primary) 36%, var(--c-shine) 50%, var(--c-accent) 64%, var(--c-primary) 100%);
  background-size: 700px 100%; background-repeat: repeat-x;
  -webkit-background-clip: text; background-clip: text; color: transparent;  /* uudelleen background-lyhenteen jälkeen! */
  animation: gradWave 3.2s linear infinite; }
/* Silmukan jakso KIINTEÄNÄ PIKSELIARVONA, ei prosenttina: prosenttijakso ei looppaa
   saumattomasti kun otsikko taittuu kahdelle riville (background-clip: text -laatikko
   pilkkoutuu riveittäin), jolloin kierroksen vaihtuessa näkyy välähdys. */
@keyframes gradWave { from { background-position: 0 center; } to { background-position: 700px center; } }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-34px,26px) scale(1.08); } }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(11px); } }
.floaty  { animation: floaty 6s ease-in-out infinite; }
.floaty2 { animation: floaty2 7.5s ease-in-out infinite; }

/* ===========================  LAYOUT  ============================ */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
/* kiinteä läpinäkyvä nav peittää sivun yläreunan → alasivujen 1. osiolle lisätila (hero hoitaa omansa) */
main > section:first-child:not(.hero) { padding-top: clamp(120px, 15vw, 160px); }
.section--tint { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: .98rem; letter-spacing: .01em; color: var(--c-primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .85; flex: none; }
.section--dark .eyebrow { color: #fff; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--c-muted); }
.sec-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 58px); }
.sec-head--center { margin-inline: auto; text-align: center; max-width: 900px; }  /* leveämpi → otsikot mahtuvat yhdelle riville desktopilla */
.sec-head--center .lead { max-width: 58ch; margin-inline: auto; }  /* leipä silti luettavan kapea */

/* ===========================  PAINIKKEET (pyöreät pillerit)  ============================ */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .28s ease, background .2s, color .2s; min-height: 50px; }
/* PÄÄPAINIKE — rose-gold-liukuväri + position-shift + pehmeä glow (demo1-oppi,
   pehmeän omana versiona: pyöreä pilleri, lämmin mauve→samppanja) */
.btn-primary {
  background: var(--grad); background-size: 200% 200%; background-position: 0% 50%; background-origin: border-box; background-repeat: no-repeat;
  color: var(--c-on-primary); border-color: transparent;
  box-shadow: none;
  transition: background-position .5s cubic-bezier(.16,1,.3,1), transform .2s ease, box-shadow .28s;
}
.btn-ghost { background: var(--c-surface); color: var(--c-heading); border-color: var(--c-border); transition: transform .2s, box-shadow .28s, border-color .2s, color .2s; }
.btn-ghost.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn .arr { transition: transform .2s; }
@media (hover: hover) {
  .btn-primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: none; }
  .btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }
  .btn:hover .arr { transform: translateX(4px); }
}
.btn-primary:active { transform: translateY(0); }
.tlink { color: var(--c-primary); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (hover: hover) { .tlink:hover .arr { transform: translateX(4px); } }

/* ===========================  HERO (gradientti-mesh + ajelehtivat blobit, EI kuvaa)  ============================ */
.hero { position: relative; overflow: hidden; text-align: center;
  background-color: var(--c-dark-2);
  background-image: none;
  padding-block: clamp(118px, 15vw, 170px) clamp(64px, 10vw, 110px); }
/* kaksi isoa, hitaasti ajelehtivaa gradient-blobia → liikettä taustalla */
.hero .blob { position: absolute; border-radius: 50%; filter: blur(72px); z-index: 0; pointer-events: none; }
.hero .blob.b1 { width: 460px; height: 460px; background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 24%, transparent), transparent 70%); top: -150px; left: -120px; animation: drift1 19s ease-in-out infinite; }
.hero .blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 26%, transparent), transparent 70%); bottom: -170px; right: -110px; animation: drift2 23s ease-in-out infinite; }
.hero .blob.b3 { width: 300px; height: 300px; background: radial-gradient(circle, color-mix(in srgb, var(--c-glow) 26%, transparent), transparent 70%); top: 30%; left: 55%; animation: drift1 27s ease-in-out infinite reverse; }
.hero-inner { position: relative; z-index: 1; max-width: 960px; margin-inline: auto; }
.hero h1 { margin-bottom: .34em; }
.hero h1 .accent { color: var(--c-primary); }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--c-on-dark-2); max-width: 56ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; justify-content: center; }
.hero-meta { display: flex; gap: 16px; margin-top: 46px; flex-wrap: wrap; justify-content: center; }
.hero-meta .m { background: rgba(255,255,255,.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: 14px 22px; box-shadow: var(--shadow-sm); }
.hero-meta .m b { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--c-heading); display: block; line-height: 1; }
.hero-meta .m span { font-size: .86rem; color: rgba(233,218,208,.78); }

/* ===========================  TRUST  ============================ */
.trust { background: var(--c-surface); }
.trust-in { display: flex; align-items: center; gap: clamp(20px, 4vw, 54px); padding-block: 26px; flex-wrap: wrap; justify-content: center; }
.trust-in .t { display: flex; align-items: center; gap: 10px; color: var(--c-muted); font-weight: 600; font-size: .96rem; }
.trust-in .t svg { color: var(--c-primary); flex: none; }

/* ===========================  PALVELUT (pehmeät kortit — vasen tasaus, tiivis väli)  ============================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }  /* 2×2 → leveämmät kortit, teksti ei tiivisty */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .24s ease, box-shadow .3s ease; text-align: left;   /* vasemmalle → helpompi lukea */
  display: flex; flex-direction: column; }  /* flex → kortit tasakorkeat, linkki pohjaan */
.card .num { font-family: var(--font-display); font-size: 1rem; color: var(--c-primary); font-weight: 600; }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--c-muted); margin-bottom: 18px; font-size: .96rem; }
.card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin: 0 0 18px;
  background: var(--grad); color: var(--c-on-primary); box-shadow: none; }
.card .tlink { justify-content: flex-start; margin-top: auto; }  /* linkki kortin pohjaan, vasemmalle */
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ===========================  MEISTÄ + LUVUT  ============================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
/* 🛑 POISTETTU 22.9.2026 (Valtteri): leijuvaa badgea (.float-chip) ei käytetä enää.
   Tieto kirjoitetaan leipätekstiin, ei kuvan päälle leijuvaan lappuun. Älä palauta. */
.about-media img { width: 100%; aspect-ratio: 5/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--c-primary); display: block; line-height: 1; }
.stat span { font-size: .9rem; color: var(--c-muted); }

/* ===========================  PROSESSI  ============================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--gap); counter-reset: step; }
.step { text-align: center; }
.step .stepnum { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-surface); border: 2px solid var(--c-primary); color: var(--c-primary); font-family: var(--font-display); font-weight: 600; }
.step .stepnum::before { counter-increment: step; content: counter(step); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .96rem; margin-inline: auto; }

/* ===========================  GALLERIA (yhtenäinen 3-grid, pyöristetty, staattinen)  ============================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .g { margin: 0; overflow: hidden; border-radius: var(--r); display: block; position: relative; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(8,5,4,.90)); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

/* ===========================  REFERENSSIT  ============================ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.quote { margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--c-accent); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1.06rem; color: var(--c-heading); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { font-size: .85rem; color: var(--c-muted); }

/* ===========================  HINNASTO  ============================ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: var(--gap); }
.plan { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; text-align: center; }
.plan.featured { border-color: transparent; box-shadow: var(--shadow); position: relative;
  background: linear-gradient(170deg, var(--c-surface), color-mix(in srgb, var(--c-primary) 15%, var(--c-surface))); }
.plan.featured::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 2px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan .tag { display: inline-block; background: linear-gradient(135deg, var(--c-accent), var(--c-primary)); color: var(--c-on-primary); font-size: .78rem; font-weight: 700; padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 14px; }
.plan h3 { margin-bottom: 4px; }
/* price voi olla lyhyt sana (ei euromäärä) → maltillinen koko + small omalle riville, ei ylivuotoa */
.plan .price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.1rem); color: var(--c-heading); line-height: 1.05; margin: 10px 0 4px; overflow-wrap: break-word; }
.plan .price small { display: block; font-size: .9rem; color: var(--c-muted); font-family: var(--font-body); font-weight: 500; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; text-align: left; }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ===========================  FAQ  ============================ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); margin-bottom: 14px; padding: 4px 8px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 18px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--c-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--c-primary); transition: rotate .25s; line-height: 1; }
.faq details[open] summary::after { rotate: 45deg; }
.faq .a { padding: 0 18px 20px; color: var(--c-muted); }
.faq .a p { margin: 0; }

/* ===========================  CTA  ============================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(44px, 6vw, 80px); text-align: center;
  background: linear-gradient(135deg, var(--c-cta-a) 0%, var(--c-cta-b) 58%, var(--c-cta-c) 100%); color: #fff; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.16); filter: blur(40px); top: -120px; right: -80px; animation: drift1 16s ease-in-out infinite; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--c-cta-b); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
@media (hover:hover) { .cta-band .btn-primary:hover { background: #fff; color: var(--c-cta-hover); } }

/* ===========================  YHTEYS + LOMAKE  ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.contact-info .row svg { color: var(--c-primary); flex: none; margin-top: 3px; }
.contact-info .row b { display: block; }
.contact-info .row span { color: var(--c-muted); }
.contact-info .map { margin-top: 22px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-border); }
.contact-info .map iframe { width: 100%; height: 220px; border: 0; display: block; }

.form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); color: var(--c-text); font: inherit; font-size: 16px; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 16%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--c-muted); margin-top: 12px; }
.form-msg { margin-top: 14px; font-weight: 600; display: none; }
.form-msg.ok { display: block; color: var(--c-ok); }
.form-msg.err { display: block; color: var(--c-err); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-placeholder); }

/* ===========================  REVEAL POISTETTU  ============================
   Scroll-reveal (fade/slide) poistettu — häiritsi lukemista. Sisältö näkyy staattisesti.
   .reveal-luokat jätetty HTML:ään no-opiksi (ei alkutilaa). WAU tulee jatkuvista
   hero-animaatioista (blobit + otsikon gradient-aalto), ei ilmestymisestä. */
.reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }

/* ===========================  RESPONSIIVISUUS  ============================ */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin-inline: auto; width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-band .btn { width: auto; }
  .hero-meta .m { padding: 14px 20px; }
}
/* kapealla puhelimella trust-palkki pinoon → pitkät tekstit eivät leikkaudu */
@media (max-width: 560px) {
  .trust-in { flex-direction: column; align-items: center; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===========================  ASIAKASKOHTAISET LISÄYKSET  ============================ */
.price-note { max-width: 780px; margin: 30px auto 0; text-align: center; color: var(--c-muted); font-size: .95rem; }
.price-note strong { color: var(--c-heading); }
.plan .sub { color: var(--c-muted); font-size: .95rem; margin: 0 0 4px; }
.foot-logo { width: 118px; height: auto; margin-bottom: 16px; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas span { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 600; font-size: .95rem; color: var(--c-heading); }
.form-msg.info { display: block; color: var(--c-primary-2); }
.hero-grid > *, .about-grid > *, .contact-grid > * { min-width: 0; }
.plan .tag { align-self: center; }

/* --- nosto-osio: kuva + teksti --- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature > * { min-width: 0; }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 11px; align-items: flex-start; }
.feature li svg { color: var(--c-primary); flex: none; margin-top: 4px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
/* hero-teksti valokuvan päällä — pehmeä varjo varmistaa luettavuuden */
.hero h1, .hero-sub { text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.hero .eyebrow { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }


/* Lomakkeen alasvetovalikko — samat mitat ja tila kuin muilla kentillä.
   Oma nuoli-ikoni, koska selaimen oletusnuoli ei noudata teemaa.
   (Lisätty pohjiin 26.8.2026: viisi asiakasta oli joutunut kirjoittamaan tämän itse.) */
/* 🛑 KORJAUS 22.9.2026: sääntö poisti selaimen oman ulkoasun (appearance:none) mutta
   EI antanut tilalle reunusta, pyöristystä eikä taustaa → alasvetovalikko piirtyi
   terävänä tummana suorakulmiona pyöristettyjen kenttien seassa. Havaittu Kolun
   demossa (Valtteri 22.9.2026). Nyt samat mitat kuin inputilla. */
.field select, .form-group select {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-text);
  padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r);
  background-color: var(--c-bg); cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}


/* ============================================================================
   VAALEA VARIANTTI  —  lisää <body class="vaalea">
   ----------------------------------------------------------------------------
   Tämä lohko on suoraan A tapen työstä (25.8.2026), jossa demo13 käännettiin
   vaaleaksi käsin. Se oli session työläin yksittäinen osa → nyt valmiina.
   Aksenttiväri (--c-primary) vaihdetaan aina asiakkaan brändiin erikseen.
   ============================================================================ */
body.vaalea {
  --c-bg:        #FAF7F5;
  --c-surface:   #FFFFFF;
  --c-surface-2: #F3ECEC;
  --c-text:      #3F3539;
  --c-heading:   #1E1216;
  --c-muted:     #6A5E62;
  --c-border:    #E6DCDC;
  --c-placeholder:#8E8286;
  --c-dark:      #2A0F17;
  --c-on-dark:   #EADDE1;
  --c-on-dark-2: #D9CBD0;
  --shadow-sm:   0 1px 3px rgba(20,18,15,.06);
  --shadow:      0 14px 36px -18px rgba(20,18,15,.13);
  --shadow-lg:   0 28px 64px -28px rgba(20,18,15,.17);
}
/* Nav peittäväksi — vaalealla pinnalla läpinäkyvä nav näyttää taustattomalta */
body.vaalea nav.site { background: var(--c-bg); border-bottom: 1px solid var(--c-border); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.vaalea nav.site a, body.vaalea nav.site .brand { color: var(--c-heading); }
/* ...paitsi CTA-painike: se on värillinen pinta, jolla teksti pysyy valkoisena.
   Ilman tätä yllä oleva nav.site a -sääntö maalaa napin tekstin tummaksi. */
body.vaalea nav.site .nav-cta { color: var(--c-on-primary); }
/* Hero on tumma valokuva myös vaaleassa teemassa → otsikko ja ingressi pysyvät
   vaaleina. Ilman tätä h1 perii vaalean teeman tumman --c-heading-värin ja katoaa kuvaan. */
body.vaalea .hero h1 { color: #fff; }
body.vaalea .hero-sub { color: rgba(255,255,255,.90); }
/* Hero jää tummaksi valokuvaksi myös vaaleassa teemassa — se on toimiva kuvio
   (vaalea sivu + tumma hero) eikä vaadi kuvan vaihtoa. Hero-tekstit pysyvät
   siis vaaleina; vain lukupalkin laatikot on kirkastettava, koska ne on
   piirretty tummaa pintaa varten. */
body.vaalea .hero-meta .m { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
body.vaalea .hero-meta .m b { color: #fff; }
body.vaalea .hero-meta .m span { color: rgba(255,255,255,.82); }


/* ============================================================================
   OSIOKIRJASTO — lisätty pohjiin 26.8.2026
   Nämä kolme rakennettiin aiemmin käsin lähes joka asiakkaalle (mm. A tape).
   Kaikki käyttävät pohjan omia muuttujia, joten ne teemautuvat itsestään.
   ============================================================================ */

/* --- Yhteyshenkilökortit: isot kasvokuvat, ei pikkuruisia nappikuvia ---------
   Rajaa kuvat KASVOIHIN ennen käyttöä. Koko vartalo 60 px ympyrässä tarkoittaa,
   ettei kasvoja erota — tämä oli A tapen ensimmäisen version virhe. */
.person-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 26px 0 8px; }
.person { display: flex; flex-direction: column; background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.person > div { padding: 16px 18px 18px; }
.person b { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--c-heading); margin-bottom: 4px; }
.person a, .person span { display: block; font-size: .95rem; color: var(--c-muted); }
@media (hover: hover) { .person a:hover { color: var(--c-primary); } }

/* --- 2×2-korttiruudukko: neljä referenssiä tai palvelua ----------------------
   Palvelukorttien rivisääntö: 4 kpl EI KOSKAAN 3+1, vaan 2×2. */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards--2 { grid-template-columns: 1fr; } }
.cards--2 .card .num { display: inline-block; align-self: flex-start; font-size: .9rem;
  letter-spacing: .12em; font-weight: 700; color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  padding: 5px 13px; border-radius: var(--r-pill); }

/* --- Nostolainaus: asiakassitaatti omalla kaistallaan ------------------------
   Toimii sekä vaalealla että tummalla osiolla (peri väri isännältä). */
.pull { margin: 0; max-width: 900px; margin-inline: auto; text-align: center; }
.pull p { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.35;
  max-width: none; margin: 0 0 22px; letter-spacing: -.02em; }
.pull footer { font-size: .96rem; letter-spacing: .04em; opacity: .75; }
.pull::before { content: "”"; display: block; font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem); line-height: .6; opacity: .18; margin-bottom: 8px; }

/* Hallinta: tiedotepalkki (inertti ilman hallinnan tiedote-moduulia). Sijainti heti navin alla (A3). */
.site-tiedote { background: color-mix(in srgb, var(--c-primary) 10%, var(--c-surface)); color: var(--c-heading);
  border-bottom: 1px solid var(--c-border); font-family: var(--font-body); }
.site-tiedote[hidden] { display: none; }
.site-tiedote-in { max-width: var(--container); margin-inline: auto; padding: 10px var(--pad-x);
  font-size: .95rem; line-height: 1.45; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 640px) { .site-tiedote-in { font-size: .88rem; padding-block: 8px; } }


/* ============================================================================
   MINNESOTA-HOITO — asiakaskohtaiset lisäykset (5.10.2026)
   ============================================================================ */

/* --- Hero: valokuva <img>-elementtinä srcsetillä, scrim ::after-kerroksena --- */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(28,10,16,.50) 0%, rgba(28,10,16,.66) 50%, rgba(28,10,16,.90) 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero .btn-ghost.on-dark { background: rgba(255,255,255,.08); }
.btn-call { font-size: 1.18rem; padding: 18px 36px; min-height: 60px; }
.btn-call svg { flex: none; }
/* Pikkuteksti bannerissa luettavana: oikea koko, valkoinen, ikonit */
.hero-note { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 820px; }
.hero-note li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.94); font-size: 1rem; font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero-note li svg { color: #fff; flex: none; opacity: .92; }
@media (max-width: 640px) {
  .hero-note { flex-direction: column; align-items: flex-start; gap: 8px; width: max-content; max-width: 100%; }
  .hero-note li { font-size: .96rem; text-align: left; align-items: flex-start; }
  .hero-note li svg { margin-top: 3px; }
  .hero-cta .btn-call { width: 100%; }
}
.hero-meta .m b { font-weight: 600; }

/* --- Trust-palkki: ei harmaata, luettava --- */
.trust-in .t { color: var(--c-text); }

/* --- Pikatesti --- */
h1, h2 { text-wrap: balance; }
.testi-copy { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.testi-copy > * { min-width: 0; }
.testi-copy p:last-child { margin-bottom: 0; }
.testi-box { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); }
.testi-box h3 { margin-bottom: 6px; }
.testi-vihje { color: var(--c-muted); font-size: .95rem; margin-bottom: 14px; }
.testi-lista { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
@media (min-width: 760px) { .testi-lista { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.testi-lista label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; font-size: .97rem; line-height: 1.45; }
.testi-lista label:has(input:checked) { background: color-mix(in srgb, var(--c-primary) 8%, var(--c-surface)); border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); }
@media (hover: hover) { .testi-lista label:hover { background: var(--c-surface-2); } }
.testi-lista input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-primary); flex: none; }
.testi-tulos { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--c-surface-2); }
.testi-tulos b { font-family: var(--font-display); font-size: 1.7rem; color: var(--c-primary); line-height: 1; white-space: nowrap; font-weight: 600; }
.testi-tulos p { margin: 0; font-size: .98rem; }
.testi-alaosa { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.testi-alaosa .btn { justify-content: center; text-align: center; }
@media (max-width: 860px) { .testi-copy { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .testi-alaosa { grid-template-columns: 1fr; } .testi-alaosa .btn { width: 100%; } }

/* --- Hoidettavat riippuvuudet chippeinä kortin yläpuolella --- */
.areas--hoito { margin-bottom: clamp(26px, 4vw, 40px); }
.areas--hoito span { background: var(--c-surface); }

/* --- Prosessi tummalla pohjalla --- */
.section--dark .lead { color: var(--c-on-dark-2); }
.section--dark .eyebrow { color: #fff; }
.section--dark .step .stepnum { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.section--dark .step p { color: var(--c-on-dark-2); }
.step-label { display: block; font-size: .88rem; letter-spacing: .03em; color: var(--c-on-dark-2); opacity: .9; margin-bottom: 4px; font-weight: 600; }
.jatko { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg);
  display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; background: rgba(255,255,255,.05); }
.jatko-luku { text-align: center; }
.jatko-luku b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.8rem); color: #fff; line-height: 1; white-space: nowrap; }
.jatko-luku span { display: block; margin-top: 6px; font-size: .88rem; color: var(--c-on-dark-2); }
.jatko h3 { color: #fff; margin-bottom: 6px; font-size: 1.25rem; }
.jatko p { margin: 0; color: var(--c-on-dark-2); }
@media (max-width: 640px) { .jatko { grid-template-columns: 1fr; gap: 10px; } .jatko-luku { text-align: left; } }

/* --- Kuva + teksti -lohkot: kaksi peräkkäin, toinen peilattuna --- */
.feature + .feature { margin-top: clamp(48px, 7vw, 90px); }
.feature--rev .feature-media { order: 2; }
@media (max-width: 860px) { .feature--rev .feature-media { order: 0; } }
.feature-media--kartta { border: 0; box-shadow: none; background: transparent; max-width: 340px; margin-inline: auto; overflow: visible; }
.feature-media--kartta img { aspect-ratio: 638 / 1446; object-fit: contain; }
.kartta-selite { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .92rem; color: var(--c-muted); justify-content: center; }
.kartta-selite span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; background: #C0202A; }
.kartta-selite span.sininen::before { background: #3D4BE0; }

/* --- Osio ilman yläpehmustetta (CTA-kaista edellisen perään) --- */
.section--flush { padding-top: 0; }
.cta-band p { max-width: 62ch; }

/* --- Hinnasto: toinen kortti ilman hintaa --- */
.plan .sub { margin-bottom: 12px; }

/* --- Lomake: otsikko ja ingressi, nappi täysleveä --- */
.form-otsikko { margin-bottom: 6px; }
.form-ingressi { color: var(--c-muted); font-size: .96rem; margin-bottom: 20px; }
.btn-block { width: 100%; justify-content: center; }
.form-note-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.price-note .tlink { display: inline; text-decoration: underline; text-underline-offset: 2px; }

/* --- Kelluva apu: Soita nyt + Usein kysyttyä --- */
.apu-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--grad); color: #fff; border: 0; border-radius: var(--r-pill); font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  box-shadow: 0 14px 30px -10px rgba(43,15,23,.6); cursor: pointer; transition: transform .2s; }
.apu-fab svg { flex: none; }
.apu-fab { transition: transform .2s, opacity .25s; }
@media (max-width: 860px) { body.hero-nakyvissa .apu-fab { opacity: 0; pointer-events: none; transform: translateY(16px); } }
@media (hover: hover) { .apu-fab:hover { transform: translateY(-2px); } }
body.apu-auki .apu-fab { display: none; }
.apu-panel { position: fixed; right: 18px; bottom: 18px; z-index: 95; width: min(400px, calc(100vw - 36px)); max-height: min(680px, calc(100vh - 36px));
  display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border);
  box-shadow: 0 30px 70px -24px rgba(43,15,23,.45); border-radius: var(--r-lg); overflow: hidden; }
.apu-panel[hidden] { display: none; }
.apu-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--c-dark); color: #fff; }
.apu-head b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.apu-head span { font-size: .8rem; color: var(--c-on-dark-2); }
.apu-close { border: 0; background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.apu-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-surface-2); border-bottom: 1px solid var(--c-border); }
.apu-tab { border: 0; background: transparent; padding: 13px 10px; font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--c-muted); cursor: pointer; border-bottom: 3px solid transparent; }
.apu-tab.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); background: var(--c-surface); }
.apu-body { overflow-y: auto; padding: 16px; background: var(--c-bg); flex: 1; }
.apu-pane[hidden] { display: none; }
.apu-call { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.apu-call svg { flex: none; }
.apu-call b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-weight: 600; }
.apu-call small { display: block; font-size: .85rem; opacity: .92; }
.apu-faktat { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.apu-faktat li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.apu-faktat li::before { content: "✓"; color: var(--c-primary); font-weight: 700; flex: none; }
.apu-linkki { display: inline-block; font-weight: 700; color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.apu-haku { display: flex; gap: 8px; margin-bottom: 14px; }
.apu-haku input { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-sm); font: inherit; font-size: 16px; background: var(--c-surface); color: var(--c-text); }
.apu-haku input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 16%, transparent); }
.apu-haku button { padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--c-primary); color: #fff; font-weight: 700; font-family: var(--font-body); min-height: 44px; }
.apu-keskustelu { display: grid; gap: 12px; align-content: start; }
.apu-kupla { max-width: 94%; padding: 12px 14px; border-radius: var(--r); font-size: .96rem; line-height: 1.55; }
.apu-kupla p { margin: 0 0 .6em; }
.apu-kupla p:last-child { margin: 0; }
.apu-kupla--meilta { background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); justify-self: start; }
.apu-kupla--sinulta { background: var(--c-primary); color: #fff; justify-self: end; font-weight: 600; }
.apu-kupla a { color: var(--c-primary); text-decoration: underline; }
.apu-valinnat { display: grid; gap: 8px; }
.apu-vihje { font-size: .85rem; color: var(--c-muted); margin: 4px 0 0; }
.apu-kysymys { text-align: left; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-heading); padding: 10px 14px; border-radius: var(--r-sm); font-family: var(--font-body); font-weight: 600; font-size: .93rem; cursor: pointer; }
@media (hover: hover) { .apu-kysymys:hover { border-color: var(--c-primary); color: var(--c-primary); } }
.apu-foot { padding: 10px 16px; font-size: .82rem; color: var(--c-muted); border-top: 1px solid var(--c-border); background: var(--c-surface); }
.apu-foot a { color: var(--c-primary); text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) {
  .apu-panel { right: 0; bottom: 0; width: 100vw; max-height: 88vh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .apu-fab { padding: 14px 18px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}
body.menu-open .apu-fab { display: none; }
