/* The Founder Glue Workshop landing page. Brand: The Savvy Marketing Guy. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
}

:root {
  --navy: #1b395d;
  --navy-deep: #12284a;
  --orange: #e95020;
  --orange-dark: #c8431b;
  --sky: #20b9e9;
  --ink: #1b395d;
  --body: #2c3f58;
  --muted: #5a6b80;
  --line: #dfe6ee;
  --tint: #f2f6fa;
  --white: #fff;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
  margin: 0 0 0.8em;
}
.eyebrow--light { color: var(--sky); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 999px;
  padding: 0.8em 1.5em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn:focus-visible, .linklike:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.btn--big { font-size: 1.2rem; padding: 0.95em 1.9em; }
.btn--small { font-size: 0.95rem; padding: 0.65em 1.2em; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-top: env(safe-area-inset-top, 0px); }
.brand img { display: block; height: 40px; width: auto; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dbe6f3; padding: clamp(40px, 8vw, 88px) 0 clamp(40px, 7vw, 72px); }
.hero h1 { color: var(--white); margin-bottom: 0.15em; }
.hero__tag { font-family: var(--head); font-weight: 800; font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--sky); margin: 0 0 1em; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 40em; color: #eaf1f9; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 1.6em 0 2.4em; }
.hero__note { color: #b9cbe0; font-size: 0.95rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.facts > div { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--white); font-weight: 600; line-height: 1.45; }
.facts .dim { color: #b9cbe0; font-weight: 400; font-size: 0.95rem; }

/* Sections */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #dbe6f3; }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.lead { font-size: 1.2rem; }

/* Problem and better way */
.turn h2 { max-width: 20em; }
.turn p { max-width: 38em; }
.turn__line { font-family: var(--head); font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.3; margin: 2em 0 1.2em; }
.turn__line strong { color: var(--sky); }
.steps { list-style: none; margin: 0 0 2em; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; max-width: none; }
.step { position: relative; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-top: 4px solid transparent; border-radius: var(--radius); padding: 22px 22px 20px; min-width: 0; }
.step h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; color: var(--white); margin-bottom: 0.3em; }
.step p { margin: 0; font-size: 1rem; color: #dbe6f3; }
.turn__bridge { margin: 0; font-size: 1.1rem; color: var(--sky); font-weight: 600; max-width: none; }
.turn .wrap.narrow { max-width: 900px; }

/* Cards */
.cards { list-style: none; margin: 1.6em 0 1.2em; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; font-size: 1rem; }
.card__n {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--head); font-weight: 800; margin-bottom: 12px;
}
.aside { color: var(--muted); font-size: 1rem; margin-top: 1.4em; }

/* Timeline */
.timeline { list-style: none; margin: 1.6em 0 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 12px; padding: 0 0 18px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--orange); border: 3px solid var(--white); }
.timeline time { font-family: var(--head); font-weight: 800; color: var(--ink); }
.timeline strong { display: block; line-height: 1.3; }
.timeline span { display: block; color: var(--muted); font-size: 0.98rem; }

/* About */
.about { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 6vw, 64px); align-items: center; }
.about__text { min-width: 0; }
.about__sig { display: block; width: 190px; max-width: 60%; height: auto; margin-top: 0.6em; }
.about__photo { margin: 0; min-width: 0; }
.about__photo img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 10px 28px rgba(18, 40, 74, 0.22); }
.reg { font-size: 0.45em; font-weight: 700; vertical-align: super; line-height: 0; margin-left: 0.06em; }

/* Two column */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 64px); }
.two > div { min-width: 0; }

/* Ticks */
.ticks { list-style: none; padding: 0; margin: 1.2em 0 1.4em; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 11px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(40deg); }

/* FAQ */
.faq { margin-top: 1.4em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { font-family: var(--head); font-weight: 700; color: var(--ink); cursor: pointer; padding: 14px 32px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; }

/* Booking block */
.book .lead { color: #eaf1f9; }
.terms { text-align: left; margin: 2.6em auto 0; padding: 24px; max-width: 640px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); }
.terms h3 { color: var(--sky); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.terms ul { margin: 0; padding-left: 1.2em; }
.terms li { margin-bottom: 0.5em; }
.terms p:last-child, .terms ul:last-child { margin-bottom: 0; }

/* Footer */
.footer { background: var(--navy-deep); color: #b9cbe0; font-size: 0.92rem; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer p { margin: 0; }
.footer a, .linklike { color: #dbe6f3; }
.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

/* Consent banner */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--navy-deep); color: #eaf1f9;
  border-top: 3px solid var(--sky);
  padding: 16px max(20px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}
.consent__in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.consent p { margin: 0; flex: 1 1 380px; font-size: 0.95rem; line-height: 1.5; }
.consent a { color: var(--sky); }
.consent strong { color: var(--white); }
.consent__btns { display: flex; gap: 10px; }

/* Small screens */
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .brand img { height: 34px; }
  .timeline li { grid-template-columns: 3.6rem 1fr; padding-left: 16px; }
  .hero__cta .btn { width: 100%; }
  .consent__btns .btn { flex: 1; }
}

/* ===================== Motion ===================== */

/* Scroll progress bar and header shadow */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 40; background: linear-gradient(90deg, var(--orange), var(--sky)); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.topbar { transition: box-shadow 0.25s ease; }
.topbar.scrolled { box-shadow: 0 6px 24px rgba(8, 20, 40, 0.35); }

/* Hero: drifting glow and staged entrance */
.hero { position: relative; overflow: hidden; }
.hero__in { position: relative; z-index: 1; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; pointer-events: none; will-change: transform; }
.hero__glow--a { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(32, 185, 233, 0.55), transparent 65%); animation: drift-a 16s ease-in-out infinite alternate; }
.hero__glow--b { width: 440px; height: 440px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(233, 80, 32, 0.38), transparent 65%); animation: drift-b 19s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-70px, 60px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(80px, -50px) scale(1.1); } }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(0.92); } 100% { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero__lead, .hero__cta { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.18s; }
.hero__tag span { display: inline-block; animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero__tag span:nth-child(1) { animation-delay: 0.45s; }
.hero__tag span:nth-child(2) { animation-delay: 0.6s; }
.hero__tag span:nth-child(3) { animation-delay: 0.75s; }
.hero__lead { animation-delay: 0.95s; }
.hero__cta { animation-delay: 1.1s; }
.facts > div { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; transition: translate 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.facts > div:nth-child(1) { animation-delay: 1.25s; }
.facts > div:nth-child(2) { animation-delay: 1.4s; }
.facts > div:nth-child(3) { animation-delay: 1.55s; }
.facts > div:hover { translate: 0 -4px; background: rgba(255, 255, 255, 0.11); border-color: rgba(32, 185, 233, 0.6); }

/* Buttons: ring pulse on the hero button, sheen on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }
.btn:hover { translate: 0 -2px; }
.hero__cta .btn--big { animation: ring 3.2s ease-out 2.4s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(233, 80, 32, 0.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(233, 80, 32, 0); } }

/* Scroll reveals (only when JS is running, so the page is always readable) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease var(--d, 0s), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s), translate 0.2s ease, box-shadow 0.2s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--photo { transform: translateY(20px) scale(0.94); }
.js .sigwrap img { clip-path: inset(0 100% 0 0); transition: clip-path 1.7s cubic-bezier(0.5, 0, 0.2, 1) 0.2s; }
.js .sigwrap.in img { clip-path: inset(0 0 0 0); }
.js .reveal--flat { transform: none; }

/* Highlighter under "what would stop?" */
.hl { color: inherit; background: linear-gradient(transparent 62%, rgba(233, 80, 32, 0.3) 62%) no-repeat 0 0 / 0% 100%; padding: 0 0.1em; margin: 0 -0.1em; }
.js .reveal.in .hl { background-size: 100% 100%; transition: background-size 0.9s ease 0.5s; }
.no-js-fallback .hl, :root:not(.js) .hl { background-size: 100% 100%; }

/* Cards */
.card { transition: translate 0.2s ease, box-shadow 0.2s ease; }
.card:hover { translate: 0 -5px; box-shadow: 0 14px 30px rgba(18, 40, 74, 0.14); }
.js .card .card__n { transform: scale(0); }
.js .card.in .card__n { transform: none; transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0s) + 0.3s); }

/* Timeline: the line draws as you scroll, dots pop when it reaches them */
.timeline { position: relative; border-left: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(180deg, var(--orange), var(--sky)); transform-origin: 0 0; transform: scaleY(var(--p, 1)); }
.js .timeline { --p: 0; }
.js .timeline li::before { transform: scale(0); background: var(--orange); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.js .timeline li.on::before { transform: scale(1); }
.js .timeline li > * { opacity: 0; transform: translateX(-14px); transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s; }
.js .timeline li.on > * { opacity: 1; transform: none; }
.timeline li::before { z-index: 1; }

/* Ticks: little pop as each one arrives */
.js .ticks li::before { transform: scale(0); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0s) + 0.25s); }
.js .ticks li.in::before { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .sigwrap img { clip-path: none !important; }
  .js .card .card__n, .js .ticks li::before, .js .timeline li::before { transform: none !important; }
  .js .timeline li > * { opacity: 1 !important; transform: none !important; }
  .hl { background-size: 100% 100% !important; }
  .progress { display: none; }
}
.timeline li::before { left: -6px; }

/* Steps: the orange bar draws across, then a small arrow points to the next one */
.step::before { content: ""; position: absolute; top: -4px; left: -1px; right: -1px; height: 4px; background: var(--orange); border-radius: var(--radius) var(--radius) 0 0; transform-origin: left; }
.step:not(:last-child)::after { content: "\203A"; position: absolute; right: -15px; top: 50%; translate: 0 -50%; color: var(--orange); font: 800 1.6rem/1 var(--head); }
.js .step.reveal { transition: opacity 0.75s ease var(--d, 0s), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s), translate 0.2s ease, box-shadow 0.2s ease; }
.js .step.reveal:not(.in) { transform: translateY(44px) scale(0.93); }
.js .step.reveal::before { transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1) calc(var(--d, 0s) + 0.45s); }
.js .step.reveal:not(.in)::before { transform: scaleX(0); transition: none; }
.js .step.reveal::after { transition: opacity 0.5s ease calc(var(--d, 0s) + 1s), translate 0.5s ease calc(var(--d, 0s) + 1s); }
.js .step.reveal:not(.in)::after { opacity: 0; translate: -10px -50%; transition: none; }
@media (max-width: 760px) { .step:not(:last-child)::after { display: none; } }

/* Client journey strip */
.journey { margin: 2.2em 0 2.4em; max-width: none; }
.journey__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.journey__track::before, .journey__track::after { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 13px; height: 3px; border-radius: 3px; transform-origin: left; }
.journey__track::before { background: rgba(255, 255, 255, 0.2); }
.journey__track::after { background: var(--sky); transition: transform 2.2s cubic-bezier(0.5, 0, 0.3, 1) 0.3s; }
.jstop { position: relative; z-index: 1; text-align: center; padding: 0 4px; min-width: 0; }
.jstop[data-s="g"] { --c: #2fb36d; }
.jstop[data-s="a"] { --c: #f2a623; }
.jstop[data-s="r"] { --c: #ef4b4b; }
.jdot { display: block; width: 28px; height: 28px; margin: 0 auto 10px; border-radius: 50%; background: var(--c); border: 3px solid var(--navy); box-shadow: 0 0 0 2px var(--c);
  transition: transform 0.45s cubic-bezier(0.3, 1.7, 0.5, 1) calc(0.3s + var(--i) * 0.42s), background-color 0.6s ease calc(3s + var(--i) * 0.15s), box-shadow 0.6s ease calc(3s + var(--i) * 0.15s); }
.jlabel { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.25; color: #dbe6f3; transition: opacity 0.5s ease calc(0.4s + var(--i) * 0.42s); }
.journey figcaption { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; margin-top: 22px; font-size: 0.88rem; color: #dbe6f3; }
.journey figcaption em { color: #b7c7da; font-style: italic; }
.key::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; background: var(--k); vertical-align: -1px; }
.key--g { --k: #2fb36d; } .key--a { --k: #f2a623; } .key--r { --k: #ef4b4b; }

/* Start state, only while motion is running */
.js .journey.reveal:not(.in) .journey__track::after { transform: scaleX(0); transition: none; }
.js .journey.reveal:not(.in) .jdot { transform: scale(0); background: rgba(255, 255, 255, 0.35); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); transition: none; }
.js .journey.reveal:not(.in) .jlabel { opacity: 0; transition: none; }
.js .journey.reveal.in .jstop[data-s="r"] .jdot { animation: jpulse 1.1s ease-out calc(3.7s + var(--i) * 0.15s) 2; }
@keyframes jpulse { 0% { box-shadow: 0 0 0 2px var(--c), 0 0 0 2px rgba(239, 75, 75, 0.7); } 100% { box-shadow: 0 0 0 2px var(--c), 0 0 0 16px rgba(239, 75, 75, 0); } }

@media (max-width: 640px) {
  .journey__track { grid-template-columns: 1fr; gap: 18px; }
  .journey__track::before, .journey__track::after { left: 13px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; transform-origin: top; }
  .js .journey.reveal:not(.in) .journey__track::after { transform: scaleY(0); }
  .jstop { display: flex; align-items: center; gap: 14px; text-align: left; padding: 0; }
  .jdot { margin: 0; flex: none; }
  .jlabel { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .journey__track::after, .jdot, .jlabel { transition: none !important; animation: none !important; }
}

/* Back to top */
.totop { position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--consent-h, 0px));
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(27, 57, 93, 0.35);
  transform: translateY(calc(100% + 70px + var(--consent-h, 0px) + env(safe-area-inset-bottom, 0px))); visibility: hidden;
  transition: transform 0.5s ease, visibility 0s linear 0.5s, background-color 0.2s ease, bottom 0.3s ease; }
.totop.show { transform: translateY(0); visibility: visible; transition: transform 0.5s ease, visibility 0s, background-color 0.2s ease, bottom 0.3s ease; }
.totop:hover { background: var(--orange-dark); }
.totop:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .totop, .totop.show { transition: none; } }
