/* Flakk sales site v2: pinned scroll scenes. 04.11.2026. Loaded after /styles.css (untouched).
   Static layout is the default (no JS = everything visible). html.fx turns the acts into pinned scenes
   driven by scroll.js; html.rm (reduced motion) keeps the scenes but scroll.js moves nothing, it only fades.
   Only transform and opacity animate. No text under 13 px. No background photo or video. */

html { scroll-behavior: auto; }
body { overflow-x: clip; }
.v2 { --bar: var(--navy); --bar-ink: #EEF2F7; --hot: var(--amber); --hot-ink: var(--navy-deep); --red: #C8372D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .v2 { --bar: #2C5A8C; } }
:root[data-theme="dark"] .v2 { --bar: #2C5A8C; }

/* ---------- nav (same items as the live site) ---------- */
.v2 .nav-guest { font-family: var(--f-ui); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.v2 .nav-lang { font-size: 14px; }

/* ---------- type ---------- */
.v2 h1 { font-size: clamp(42px, 11vw, 86px); line-height: 1; letter-spacing: -0.03em; }
.v2 h2 { font-size: clamp(32px, 8.6vw, 62px); line-height: 1.04; letter-spacing: -0.025em; }
.v2 .sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--text-soft); margin: 18px 0 0; max-width: 24em; }
.v2 .btn { font-size: 16px; }
.tag-demo { font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; color: var(--text-soft); opacity: .85; }

/* ---------- acts: static by default ---------- */
.act { position: relative; }
.pin { position: relative; padding: 56px 0; }
.pin-in { position: relative; display: flex; flex-direction: column; gap: 28px; }
.stack { display: grid; gap: 18px; }
.ghost { display: none; }
.fx .act { height: calc(var(--span, 3) * 100vh); height: calc(var(--span, 3) * 100svh); }
.fx .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0; }
.fx .pin-in { height: 100%; padding-top: 84px; padding-bottom: 20px; gap: 16px; }
.fx .stack { gap: 0; }
.fx .stack > * { grid-area: 1 / 1; align-self: start; }
@media (min-width: 980px) { .fx .hz.stack > * { align-self: center; } }
.fx .h0 { opacity: 0; visibility: hidden; }
.fx [data-rv] { opacity: 0; }
@media (min-width: 1280px) { .act .pin-in.wrap { max-width: 1320px; } }
@media (min-width: 980px) {
  .pin-in { flex-direction: row; align-items: center; gap: 64px; }
  .fx .pin-in { padding-top: 70px; padding-bottom: 0; gap: 64px; }
  .hz { flex: 0 0 40%; min-width: 0; }
  .act .hz + * { flex: 1 1 auto; min-width: 0; }
}
.fx .act .hz { align-self: stretch; align-content: start; }
@media (min-width: 980px) { .fx .act .hz { align-self: center; align-content: center; } }

@media (max-width: 979px) { .fx .act-issues .pin-in, .fx .act-phone .pin-in { justify-content: center; padding-top: 64px; } }

/* ghost word (gummigiga-style outlined name sliding behind the first scene) */
.fx .ghost {
  display: block; position: absolute; left: 0; bottom: -0.16em; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(180px, 30vw, 440px); line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); opacity: .55; will-change: transform;
}

/* ---------- hero + calendar + talk ---------- */
.hero-copy .btn-row { margin-top: 26px; }
.act-hero .line { max-width: 12em; }
.cal-wrap { position: relative; width: 100%; max-width: 760px; will-change: transform; }
.cal-wrap > .tag-demo { position: absolute; right: 4px; top: -24px; }
.cal { --rh: clamp(30px, 4.4vh, 46px); --hh: 44px; --lw: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.cal-top { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cal-top .t { font-weight: 600; font-size: 15px; color: var(--head); }
.cal-top .w { font-family: var(--f-mono); font-size: 13px; color: var(--text-soft); }
.cal-top .clk { margin-left: auto; font-family: var(--f-mono); font-size: 14px; color: var(--head); display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.cal-top .clk i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.cal-body { position: relative; display: grid; grid-template-columns: var(--lw) repeat(7, minmax(0, 1fr)); }
.cal-h { position: relative; height: var(--hh); display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.05; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.cal-h > span { grid-area: 1 / 1; }
.cal-h b { display: block; font-size: 15px; font-weight: 600; color: var(--head); margin-top: 2px; }
.cal-h .up { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--hot-ink); background: var(--hot); padding: 4px 5px; border-radius: 7px; }
.cal-r { height: var(--rh); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.cal-c { height: var(--rh); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.satcol { position: absolute; top: 0; bottom: 0; left: calc(var(--lw) + (100% - var(--lw)) * 5 / 7); width: calc((100% - var(--lw)) / 7); background: var(--amber-soft); box-shadow: inset 0 0 0 1.5px var(--amber); pointer-events: none; }
.bars { position: absolute; left: var(--lw); right: 0; top: var(--hh); bottom: 0; }
.bar {
  position: absolute; left: calc(var(--s) * 100% / 7 + 2px); width: calc(var(--n) * 100% / 7 - 4px);
  top: calc(var(--r) * var(--rh) + 4px); height: calc(var(--rh) - 8px);
  display: flex; align-items: center; padding: 0 8px; border-radius: 8px; overflow: hidden; white-space: nowrap;
  background: var(--bar); color: var(--bar-ink); font-size: 13px; font-weight: 500; line-height: 1;
  transform-origin: left center; will-change: transform, opacity;
}
.bar.el { background: var(--hot); color: var(--hot-ink); font-weight: 600; box-shadow: 0 6px 16px -6px rgba(242, 167, 65, .7); z-index: 2; }

.talk { display: grid; gap: 8px; margin-top: 12px; }
.slot { display: grid; gap: 8px; }
.say, .ans { margin: 0; font-size: 16px; line-height: 1.35; will-change: transform, opacity; }
.say { justify-self: end; display: inline-flex; align-items: center; gap: 9px; max-width: 88%; padding: 10px 15px; border-radius: 18px 18px 5px 18px; background: var(--navy-2); color: #EEF2F7; }
.say svg { width: 17px; height: 17px; flex: none; color: var(--amber); }
.ans { justify-self: start; max-width: 94%; padding: 11px 15px; border-radius: 18px 18px 18px 5px; background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.ans b { color: var(--head); }
.ans p { margin: 0; }
.ask-x { margin-top: 10px; }
.ask .yn { display: flex; gap: 8px; margin: 0; }
.ask .yn span { flex: 1; padding: 8px 10px; font-size: 15px; border-radius: 10px; }
.ask .yn .go { will-change: transform; }
.ask .done { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok-ink); font-size: 15px; }
.ask .done svg { width: 18px; height: 18px; flex: none; }
.fx .ask-x { align-items: center; }
.fx .slot { gap: 0; }
.fx .slot > * { grid-area: 1 / 1; align-self: start; }

@media (max-width: 979px) {
  .fx .act-hero .cal-wrap { flex: none; }
  .act-hero .cal-wrap > .tag-demo { display: none; }
}
@media (min-width: 980px) {
  .act-hero .hz { flex-basis: 36%; }
  .act-hero .talk { position: absolute; right: -28px; bottom: -44px; width: min(420px, 62%); margin: 0; z-index: 3; }
  .act-hero .talk .say { box-shadow: 0 14px 30px -12px rgba(10, 29, 51, .55); }
  .act-hero .ans { box-shadow: 0 1px 0 rgba(15,42,71,.04), 0 24px 48px -18px rgba(10, 29, 51, .45); }
  .act-hero .cal-wrap { max-width: 820px; }
  .cal { --rh: clamp(38px, 5.6vh, 56px); --lw: 62px; --hh: 54px; border-radius: 22px; }
  .cal-top { padding: 12px 18px; }
  .cal-top .t { font-size: 17px; } .cal-top .w, .cal-top .clk { font-size: 15px; }
  .cal-h { font-size: 14px; } .cal-h b { font-size: 17px; }
  .cal-r { font-size: 14px; }
  .bar { font-size: 15px; padding: 0 12px; border-radius: 10px; }
  .talk { margin-top: 16px; }
  .say, .ans { font-size: 17px; }
}
@media (max-height: 700px) and (max-width: 979px) {
  .cal { --rh: 29px; --hh: 40px; }
  .cal-top { padding: 7px 12px; }
  .act-hero .line { font-size: 30px; }
  .say, .ans { font-size: 15px; padding: 8px 13px; }
  .talk, .slot { gap: 6px; }
  .talk { margin-top: 10px; }
  .ask-x { margin-top: 8px; }
  .ask .yn span { padding: 6px 8px; }
}

/* ---------- guest issues ---------- */
.iss-wrap { width: 100%; max-width: 600px; }
.orb-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.orb-row .tag-demo { margin-left: auto; }
.orb { width: 46px; height: 46px; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, #FFE0A6 0%, var(--amber) 52%, #C47A1A 100%); box-shadow: 0 0 0 7px var(--amber-soft), 0 12px 28px -8px rgba(242, 167, 65, .65); will-change: transform; }
.orb-lab { font-family: var(--f-mono); font-size: 14px; color: var(--head); }
.iss-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; }
.iss { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); will-change: transform, opacity; }
.iss .p { font-family: var(--f-mono); font-size: 13px; font-weight: 500; padding: 5px 8px; border-radius: 8px; white-space: nowrap; }
.iss .p1 { background: var(--red); color: #fff; }
.iss .p2 { background: var(--amber); color: var(--navy-deep); }
.iss .p3 { background: var(--navy-2); color: #EEF2F7; }
.iss .p4 { background: var(--line); color: var(--head); }
.iss .rm { grid-row: 1; grid-column: 2; justify-self: end; font-family: var(--f-mono); font-size: 13px; color: var(--text-soft); }
.iss .q { grid-column: 1 / -1; font-size: 16px; line-height: 1.35; color: var(--head); }
.iss .tr { grid-column: 1 / -1; margin-top: -2px; font-size: 14px; font-style: italic; color: var(--text-soft); }
.iss .glow { position: absolute; inset: -1px; border-radius: 16px; box-shadow: 0 0 0 2px var(--red), 0 10px 30px -10px rgba(200, 55, 45, .55); pointer-events: none; }
.fx .iss-list { display: block; height: var(--list-h, 420px); }
.fx .iss { position: absolute; left: 0; right: 0; top: 0; }
@media (min-width: 980px) { .iss .q { font-size: 17px; } }
@media (max-height: 700px) and (max-width: 979px) {
  .iss { padding: 9px 12px; gap: 4px 10px; }
  .iss .q { font-size: 15px; }
  .orb { width: 38px; height: 38px; }
  .orb-row { margin-bottom: 10px; }
}

/* ---------- team ratings ---------- */
.team-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .team-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.team-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 10px 18px 14px; }
.team-card .tag-demo { display: block; text-align: right; margin-top: 4px; }
.team { list-style: none; margin: 0; padding: 0; }
.mate { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mate:last-child { border-bottom: 0; }
.mate .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); color: var(--accent); font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.mate .nm { font-weight: 600; font-size: 17px; color: var(--head); line-height: 1.2; min-width: 0; }
.mate small { display: block; font-weight: 400; font-size: 14px; color: var(--text-soft); margin-top: 2px; }
.mate .sc { font-family: var(--f-mono); font-size: 16px; color: var(--head); font-weight: 500; }
.stars { position: relative; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.stars .s-bg { color: var(--line-strong); }
.stars .s-fg { position: absolute; inset: 0; overflow: hidden; }
.stars .s-in { display: block; color: var(--amber); white-space: nowrap; }
.s-fg, .s-in { will-change: transform; }
/* static: filled to the rating (JS animates the same two transforms) */
.stars .s-fg { transform: translateX(calc((var(--f) - 1) * 100%)); }
.stars .s-in { transform: translateX(calc((1 - var(--f)) * 100%)); }
@media (max-width: 389px) { .mate { grid-template-columns: 40px minmax(0, 1fr) auto; } .mate .av { width: 40px; height: 40px; } .mate .sc { display: none; } }

/* ---------- phone receptionist (night) ---------- */
.act-phone { background: var(--navy-deep); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .act-phone { background: #071526; } }
:root[data-theme="dark"] .act-phone { background: #071526; }
.act-phone .sub { color: #C6D0DD; }
.call { width: 100%; max-width: 540px; background: #10294A; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 16px; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8); }
.call-top { display: flex; align-items: center; gap: 12px; }
.call-av { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(242, 167, 65, .16); color: var(--amber); will-change: transform; }
.call-av svg { width: 22px; height: 22px; }
.call-st b { font-size: 17px; font-weight: 600; color: #F5F1E8; }
.call-tm { margin-left: auto; font-family: var(--f-mono); font-size: 15px; color: #C6D0DD; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 3px; height: 42px; margin: 16px 0 14px; }
.wave i { flex: 1; height: 100%; border-radius: 3px; background: var(--amber); opacity: .9; transform: scaleY(.18); will-change: transform; }
.conv .pair { display: grid; gap: 8px; }
.conv .say { background: rgba(255, 255, 255, .1); color: #F5F1E8; }
.conv .ans { background: rgba(242, 167, 65, .14); border-color: rgba(242, 167, 65, .3); color: #FBE7C6; box-shadow: none; }
.fx .conv { min-height: 118px; align-items: start; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lg { font-family: var(--f-mono); font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #AEBACB; }
.lg.on { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
@media (max-height: 700px) and (max-width: 979px) { .wave { height: 30px; margin: 10px 0; } .fx .conv { min-height: 104px; } }

/* ---------- numbers ---------- */
.act-nums .pin-in { align-items: center; justify-content: center; text-align: center; }
.nums { gap: 40px; justify-items: center; }
.num { will-change: transform, opacity; }
.num .n { font-family: var(--f-display); font-weight: 450; font-variation-settings: "opsz" 144; font-size: clamp(132px, 38vw, 300px); line-height: .9; letter-spacing: -0.05em; color: var(--head); }
.num .n em { font-style: italic; font-weight: 400; color: var(--accent); }
.num .l { margin: 18px auto 0; font-size: clamp(21px, 2.6vw, 32px); line-height: 1.25; color: var(--text-soft); max-width: 16em; }
.nums-note { margin: 0; font-family: var(--f-mono); font-size: 13px; color: var(--text-soft); text-align: center; }
.fx .nums-note { position: absolute; left: 0; right: 0; bottom: 22px; }

/* ---------- guest app (live iframe, unchanged src) ---------- */
.v2 .guest-sec .sub { color: #D9E0EA; }
.v2 .gphone { width: min(340px, 84vw); }

/* ---------- coming soon: every booking site ---------- */
.soon-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .soon-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.soon-tag { display: inline-block; margin-bottom: 16px; font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-deep); background: #F7D9A9; padding: 6px 10px; border-radius: 8px; }
.fan { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0; }
.price { position: relative; z-index: 1; font-family: var(--f-mono); font-size: 17px; font-weight: 500; color: var(--hot-ink); background: var(--hot); padding: 12px 14px; border-radius: 12px; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(242, 167, 65, .8); }
.sites { display: grid; gap: 12px; }
.site { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; }
.site .ln { height: 2px; position: relative; overflow: hidden; }
.site .ln i { position: absolute; inset: 0; background: var(--amber); transform-origin: left center; }
.site .sb { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--line-strong); color: var(--text-soft); font-size: 15px; min-width: 0; }
.site .sb svg { width: 20px; height: 20px; flex: none; }
.site .sb span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 419px) { .site { grid-template-columns: 16px minmax(0, 1fr); } .site .sb { padding: 11px 10px; gap: 8px; font-size: 14px; } .price { font-size: 15px; padding: 10px 11px; } }

/* ---------- video, CTA, footer ---------- */
.v2 .video-sec { padding: clamp(56px, 8vw, 104px) 0; }
.cta { text-align: center; max-width: 760px; margin: 0 auto; }
.cta .btn-row { justify-content: center; }
.s-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: space-between; padding: 28px var(--gut); }
.s-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.v2 .s-legal a { text-decoration: none; opacity: .85; font-size: 15px; }
.v2 .s-legal a:hover { opacity: 1; }
.s-copy { opacity: .75; font-size: 15px; }

/* ---------- reveal items (scroll.js fades them in AND out, both directions) ---------- */
[data-rv] { will-change: transform, opacity; }

@media print { .fx .act { height: auto; } .fx .pin { position: relative; height: auto; } .fx .h0, .fx [data-rv] { opacity: 1; visibility: visible; } }

/* ---------- v3 05.11.2026: richer showcase motion (all of it off under html.rm and reduced motion) ---------- */
.fx:not(.rm) .act-hero .bar:not(.fx-ring) { animation: fxBarIn .75s cubic-bezier(.2, .75, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 250ms); }
@keyframes fxBarIn { from { clip-path: inset(0 100% 0 0 round 8px); } to { clip-path: inset(0 0 0 0 round 8px); } }
.fx-ring { background: transparent !important; box-shadow: 0 0 0 2px var(--hot), 0 0 22px rgba(242, 167, 65, .55); z-index: 1; opacity: 0; visibility: hidden; }
.fx-cur { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 6; pointer-events: none; opacity: 0; visibility: hidden; transform-origin: 4px 3px; will-change: transform, opacity; filter: drop-shadow(0 4px 6px rgba(15, 42, 71, .35)); }
.fx-cur svg { width: 100%; height: 100%; display: block; }
.fx-cur path { fill: #fff; stroke: var(--navy-deep, #0B1B30); stroke-width: 1.6; stroke-linejoin: round; }
.call-av { position: relative; }
.fx-rw { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; pointer-events: none; }
.call.ringing .fx-rw { animation: fxRing 1.5s cubic-bezier(.1, .6, .3, 1) infinite; }
.call.ringing .fx-rw + .fx-rw { animation-delay: .75s; }
@keyframes fxRing { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(2.3); opacity: 0; } }
.fx:not(.rm) .wave.fx-live i { animation: fxWave calc(var(--t, .8) * 1s) ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1s); }
@keyframes fxWave { 0% { transform: scaleY(.2); } 45% { transform: scaleY(1); } 100% { transform: scaleY(.38); } }
.num .n { font-variant-numeric: tabular-nums; }
.fx-sp { flex: none; margin-left: auto; font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--hot-ink); background: var(--hot); padding: 4px 8px; border-radius: 8px; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.site .sb { transition: border-color .3s, color .3s; }
.site.got .sb { border-style: solid; border-color: var(--amber); color: var(--head); }
.gphone { isolation: isolate; }
.guest-sec { overflow-x: clip; }
.fx:not(.rm) .gphone::after { content: ""; position: absolute; inset: -14% -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 167, 65, .26), transparent 72%); z-index: -1; pointer-events: none; animation: fxGlow 5s ease-in-out infinite; }
@keyframes fxGlow { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .fx .gphone::after { animation: none !important; }
}

/* 05.11.2026: the nav had two amber highlights (logo key + Guest app pill). Guest app is now an outline pill; the logo keeps the only amber. */
.v2 .nav-guest { background: transparent; color: var(--head); box-shadow: inset 0 0 0 1px var(--line-strong); }
.v2 .nav-guest:hover { filter: none; box-shadow: inset 0 0 0 1px var(--head); }

/* 05.11.2026 b: header and page edges line up at every width; one style for the nav items. */
@media (min-width: 1280px) { .v2 .wrap { max-width: 1320px; } .v2 .wrap.cta { max-width: 760px; } }
.v2 .nav-right { gap: 10px; }
.v2 .nav-guest, .v2 .nav-lang { display: inline-flex; align-items: center; justify-content: center; height: 40px; line-height: 1; border-radius: 999px; }
.v2 .nav-guest { padding: 0 16px; }
.v2 .nav-lang { order: -1; min-width: 40px; padding: 0 10px; font-family: var(--f-ui); font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--text-soft); }
.v2 .nav-lang:hover { color: var(--head); background: var(--line); }
.v2 .nav .btn { height: 40px; min-height: 40px; }

/* ---------- 05.11.2026: light/dark switch, narrated tour, phone app on mobile only (ui.js) ---------- */
/* the phone app is for phones and tablets: hidden where the main pointer is a mouse or trackpad */
@media (hover: hover) and (pointer: fine) { a.btn[href$="/phone/"] { display: none !important; } }

/* light switch */
.theme-sw { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 52px; border-radius: 999px; color: var(--head); }
.theme-sw .ts-track { position: relative; display: block; width: 50px; height: 28px; border-radius: 999px; background: var(--line); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .25s ease; }
.theme-sw .ts-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); display: grid; place-items: center; transition: transform .28s cubic-bezier(.3, .7, .2, 1), background .25s ease; }
.theme-sw svg { grid-area: 1 / 1; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s ease, transform .28s ease; }
.theme-sw .ts-sun { color: var(--amber-ink); }
.theme-sw .ts-sun circle { fill: currentColor; stroke: none; }
.theme-sw .ts-moon { color: var(--navy-deep); fill: currentColor; stroke: none; opacity: 0; transform: rotate(-40deg) scale(.6); }
.theme-sw[aria-checked="true"] .ts-track { background: rgba(242, 167, 65, .22); box-shadow: inset 0 0 0 1px rgba(242, 167, 65, .45); }
.theme-sw[aria-checked="true"] .ts-knob { transform: translateX(22px); background: var(--amber); }
.theme-sw[aria-checked="true"] .ts-sun { opacity: 0; transform: rotate(40deg) scale(.6); }
.theme-sw[aria-checked="true"] .ts-moon { opacity: 1; transform: none; }
.theme-sw:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.v2 .nav-right .theme-sw { order: -2; }
html.theme-anim, html.theme-anim body, html.theme-anim .nav, html.theme-anim section, html.theme-anim .footer, html.theme-anim .cal, html.theme-anim .btn { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* play the tour */
.tour-btn { gap: 10px; cursor: pointer; font: inherit; }
.v2 .tour-btn { font-size: 16px; }
.tour-btn .tb-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); margin-left: -6px; flex: none; }
.tour-btn .tb-ic svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.tour-btn .tour-len { font-family: var(--f-mono); font-size: 12.5px; color: var(--text-soft); letter-spacing: .02em; }
.tour-btn:hover .tb-ic { background: #F6B964; }
.tour-btn:focus-visible, .tour-bar button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* floating player */
.tour-bar { position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(440px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong), 0 18px 40px -14px rgba(10, 29, 51, .45); animation: tbIn .35s cubic-bezier(.2, .8, .2, 1) both; }
.tour-bar[hidden] { display: none; }
@keyframes tbIn { from { opacity: 0; transform: translate(-50%, 14px); } }
.tour-bar button { -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; display: grid; place-items: center; flex: none; border-radius: 50%; padding: 0; }
.tour-bar .tb-pp { width: 40px; height: 40px; background: var(--amber); color: var(--navy-deep); }
.tour-bar .tb-pp svg { width: 18px; height: 18px; fill: currentColor; }
.tour-bar.is-paused .tb-pp svg { margin-left: 2px; }
.tour-bar .tb-x { width: 36px; height: 36px; background: transparent; color: var(--text-soft); }
.tour-bar .tb-x:hover { background: var(--line); color: var(--head); }
.tour-bar .tb-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tour-bar .tb-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tour-bar .tb-state { font-family: var(--f-ui); font-size: 12px; line-height: 1; color: var(--text-soft); min-height: 0; }
.tour-bar .tb-state:empty { display: none; }
.tour-bar .tb-track { position: relative; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; cursor: pointer; }
.tour-bar .tb-track i { position: absolute; inset: 0; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); border-radius: inherit; }
.tour-bar .tb-time { font-family: var(--f-mono); font-size: 12.5px; color: var(--text-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media print { .tour-bar, .tour-btn, .theme-sw { display: none !important; } }
