/* Turoff studio site. Everything you see comes from the apps themselves: real
   screens, the map skylines, the character cast and Lišák, animated in CSS.
   Self-hosted Montserrat: the site makes no third-party requests. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-017F; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* The apps' daytime sky. The site keeps it in a dark OS theme too: the
   screens and the cast are drawn for daylight. */
:root {
  --sky-1: #a9d4ff;
  --sky-2: #d6eaff;
  --sky-end: #eef6ff;
  --ink: #14213d;
  --body: #27324d;
  --muted: #3a4866;
  --soft: #5d6a86;
  --card: #ffffff;
  --gold: #ffc531;
  --shadow: 0 2px 6px rgba(20, 50, 110, .06), 0 18px 48px rgba(20, 50, 110, .12);
  /* Frosted glass: the translucent buttons and badges over the sky. */
  --glass: rgba(255, 255, 255, .45);
  --glass-hover: rgba(255, 255, 255, .65);
  --glass-line: rgba(255, 255, 255, .8);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px rgba(30, 70, 150, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--sky-end);
  font: 400 16px/1.6 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

/* One language at a time: every localized string is rendered three times. */
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="uk"] [data-l]:not([data-l="uk"]),
html[data-lang="ru"] [data-l]:not([data-l="ru"]) { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 16px; }

.glass, .langs, .picks a, .soon, .chips li, .glass-badge, .say, .back, .cast-row figcaption, .finale-apps a {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
/* Blur costs a re-render per frame under anything that moves; where it shows
   nothing (flat tints) or the device is likely slow, glass turns solid. */
.chips li, .soon { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .62); }
@media (max-width: 960px), (hover: none) {
  .glass-badge, .picks a, .finale-apps a, .say { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .74); }
}
.paused, .paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; padding: 3px; background: var(--glass);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.langs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.langs a { color: var(--muted); font-weight: 700; font-size: 13px; line-height: 1; text-decoration: none;
  padding: 9px 12px; border-radius: 999px; letter-spacing: .03em; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
/* Ink ring with a white halo: visible on the sky, the tints and dark pills alike. */
a:focus-visible, button:focus-visible, .lisak-wrap:focus-visible, .cast-row figure:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }

/* ── Hero: one centred scene ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 60%, var(--sky-end) 100%);
  transition: background-color .5s ease; }
.hero-copy { position: relative; z-index: 2; padding-top: 104px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
  margin: 0 auto 14px; max-width: 15ch; text-wrap: balance; }
.hero .lead { font-size: clamp(16px, 1.7vw, 19px); font-weight: 500; color: var(--muted); max-width: 660px; margin: 0 auto; text-wrap: pretty; }
.picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.picks a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 18px;
  text-decoration: none; font-weight: 800; text-align: left; transition: transform .2s ease, background .2s ease; }
.picks a:hover, .picks a:focus-visible { transform: translateY(-3px); background: var(--glass-hover); }
.picks img { width: 40px; height: 40px; border-radius: 11px; }
.picks span { line-height: 1.15; }
.picks small { display: block; font-weight: 600; font-size: 12px; color: var(--soft); }

.stage { position: relative; height: 440px; max-width: 1100px; margin: 10px auto 0; }
.stage .phone { position: absolute; z-index: 0; width: 240px; }
.stage .phone-a { left: 19%; top: 40px; animation: float-a 7s ease-in-out infinite; }
.stage .phone-b { right: 19%; top: 14px; animation: float-b 8s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-11deg) translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: rotate(10deg) translateY(-6px); } 50% { transform: rotate(11deg) translateY(10px); } }
.lisak-wrap { position: absolute; left: 50%; bottom: 8px; width: 280px; margin-left: -140px; z-index: 3; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.sparkle { position: absolute; width: 20px; height: 20px; background: var(--gold); z-index: 2;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* Lišák's speech bubble: tap him and he greets you in the three languages. */
.say { position: absolute; left: 50%; bottom: 100%; margin-bottom: -18px; transform: translate(-10%, 8px) scale(.9);
  padding: 10px 18px; border-radius: 18px 18px 18px 4px; font-weight: 800; font-size: 20px; white-space: nowrap;
  opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.say.on { opacity: 1; transform: translate(-10%, 0) scale(1); }

.glass-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: 18px; text-align: left; animation: float-g 6s ease-in-out infinite; }
.glass-badge img { width: 34px; height: 34px; object-fit: contain; }
.glass-badge b { display: block; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
.glass-badge small { display: block; font-size: 12px; font-weight: 600; color: var(--soft); line-height: 1.25; white-space: nowrap; }
.glass-badge.g3 { left: 1%; top: 40%; }
.glass-badge.g4 { right: 1%; top: 16%; animation-delay: -3s; }
@keyframes float-g { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cloud { position: absolute; width: 180px; height: 56px; background: #fff; border-radius: 60px; opacity: .9; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; left: 26px; top: -40px; }
.cloud::after { width: 104px; height: 104px; left: 70px; top: -58px; }
.cloud.c1 { top: 16%; left: -10%; transform: scale(.9); animation-duration: 70s; }
.cloud.c2 { top: 7%; left: 40%; transform: scale(.6); opacity: .75; animation-duration: 95s; animation-delay: -40s; }
.cloud.c3 { top: 42%; left: 70%; transform: scale(.75); opacity: .85; animation-duration: 80s; animation-delay: -20s; }
.cloud.c4 { top: 58%; left: 10%; transform: scale(.5); opacity: .7; animation-duration: 110s; animation-delay: -70s; }
@keyframes drift { from { translate: -30vw 0; } to { translate: 130vw 0; } }

/* The skyline is the ground the scene stands on. */
.skyline { position: absolute; left: 0; right: 0; bottom: -6px; z-index: 1; display: flex; justify-content: center;
  align-items: flex-end; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.skyline img { height: 210px; width: auto; max-width: none; margin-inline: -5vw; transition: filter .4s ease; }
.skyline img.krakow { height: 240px; position: relative; z-index: 1; }
.hero[data-focus] .skyline img { filter: grayscale(.7) opacity(.5); }
.hero[data-focus="cesky"] .skyline img.prague,
.hero[data-focus="polski"] .skyline img.krakow,
.hero[data-focus="deutsch"] .skyline img.berlin { filter: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--sky-end)); }

/* ── Real screens as floating glass cards (no device chrome) ─────────── */
.phone { aspect-ratio: 1080 / 2238; padding: 7px; border-radius: 34px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 28px 60px rgba(30, 60, 140, .22), 0 6px 16px rgba(30, 60, 140, .12); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 40, 90, .06); }
.phone .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .7s ease; }
.phone .screen > img.on, .phone .screen > img:only-of-type { opacity: 1; }

/* ── Lišák: rig parts animated around their pivots ──────────────────────── */
.lisak { width: 100%; height: auto; overflow: visible; }
.lisak-wrap::after { content: ""; position: absolute; left: 20%; right: 16%; bottom: 3%; height: 16px; z-index: -1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 25, 70, .25), transparent); }

/* ── App sections: tints flow into each other ───────────────────────────── */
.app { position: relative; padding-block: 64px; overflow: hidden; scroll-margin-top: 10px;
  background: linear-gradient(180deg, var(--prev) 0, var(--tint) 140px, var(--tint) calc(100% - 140px), var(--next) 100%); }
#cesky { --brand: #2f6bff; --brand-ink: #1d4fd6; --tint: #d3e5ff; --prev: var(--sky-end); --next: #e4dcff; }
#polski { --brand: #6c4ee3; --brand-ink: #5233c9; --tint: #e4dcff; --prev: #e4dcff; --next: #ffe9bf; }
#deutsch { --brand: #e2a200; --brand-ink: #8a5a00; --tint: #ffe9bf; --prev: #ffe9bf; --next: #fff4dc; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.app.flip .app-stage { order: 2; }
.app-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.app-stage .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 26%, transparent), transparent); }
.app-stage .land { position: absolute; bottom: 36px; width: 112%; max-width: 620px; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 62%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 62%, #000 62%, transparent 100%); }
.app-stage .phone { position: relative; z-index: 1; width: 260px; transform: rotate(-3deg); }
.app.flip .app-stage .phone { transform: rotate(3deg); }
.app-stage .buddy { position: absolute; z-index: 2; height: 170px; width: auto; bottom: 46px;
  filter: drop-shadow(0 12px 10px rgba(13, 25, 70, .16)); animation: bob 3.6s ease-in-out infinite; }
.app-stage .buddy.l { left: calc(50% - 250px); }
.app-stage .buddy.r { right: calc(50% - 250px); animation-delay: -1.8s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.dots { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; cursor: pointer;
  background: #c7d3ea; background: color-mix(in srgb, var(--brand) 30%, white); transition: width .3s ease, background .3s ease; }
.dots button.on { width: 26px; background: var(--brand); }

.app-copy h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin: 0; }
.app-copy h2 img { width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--shadow); }
.app-copy .sub { color: var(--brand-ink); font-weight: 700; font-size: 16px; margin: 14px 0 12px; }
.app-copy .desc { color: var(--muted); font-weight: 500; font-size: 18px; margin: 0 0 22px; max-width: 470px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 12px; color: var(--brand-ink); font-weight: 700; font-size: 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: block; border-radius: 10px; transition: transform .2s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }
.soon { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 18px; border-radius: 14px;
  color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.soon { position: relative; }
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand, #2f6bff); flex: none; }
.soon::after { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: var(--brand, #2f6bff); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }

/* Deutsch has no build yet: a frosted "soon" over a blurred screen of the
   sister app (same layout, the German one will look like it). */
.soon-screen { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; }
.soon-screen .ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: blur(7px) saturate(.5); transform: scale(1.06); }
.soon-screen::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .42); }
.soon-screen > :not(.ghost) { position: relative; }
.soon-screen .icon { width: 96px; height: 96px; border-radius: 26px; box-shadow: var(--shadow); }
.soon-screen b { font-size: 22px; letter-spacing: -.02em; padding: 8px 18px; border-radius: 14px; }

/* ── Cast: a group photo ────────────────────────────────────────────────── */
.cast { position: relative; padding-block: 80px 70px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #fff4dc 0, #f1f5ff 55%, #e6f1ff 100%); }
.cast h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 0 auto 14px; max-width: 760px; text-wrap: balance; }
.cast > .wrap > p { color: var(--muted); font-weight: 500; font-size: 18px; margin: 0 auto 44px; max-width: 620px; text-wrap: pretty; }
.cast-row { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 24px; }
.cast-row::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 6px; height: 46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 107, 255, .16), transparent); }
.cast-row figure { position: relative; margin: 0 -10px; z-index: 2; animation: bob 3.8s ease-in-out infinite; outline: none; }
.cast-row figure:nth-child(odd) { z-index: 1; translate: 0 -34px; scale: .86; }
.cast-row figure.star { z-index: 3; translate: 0 0; scale: 1.22; margin-inline: 4px; }
.cast-row figure:nth-child(3n) { animation-delay: -1.3s; }
.cast-row figure:nth-child(4n) { animation-delay: -2.4s; }
.cast-row img { height: clamp(96px, 13vw, 170px); width: auto; transition: transform .25s ease; }
.cast-row figure:hover img, .cast-row figure:focus-visible img { transform: translateY(-8px); }
.cast-row figcaption { position: absolute; left: 50%; top: -12px; translate: -50% 0; padding: 4px 12px; border-radius: 10px;
  font-weight: 800; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.cast-row figure:hover figcaption, .cast-row figure:focus-visible figcaption { opacity: 1; }

/* ── Finale: the last call, like simpler.link's "Download now" ──────────── */
.finale { position: relative; padding: 40px 16px 70px; text-align: center; background: #e6f1ff; }
.finale .lisak-wrap { position: relative; left: auto; bottom: auto; margin: 0 auto -6px; width: 150px; }
.finale h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.035em; margin: 0 0 26px; }
.finale-apps { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.finale-apps a { display: grid; justify-items: center; gap: 10px; width: 150px; padding: 18px 10px 16px; border-radius: 24px;
  text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.finale-apps a:hover, .finale-apps a:focus-visible { transform: translateY(-4px); background: var(--glass-hover); }
.finale-apps img { width: 64px; height: 64px; border-radius: 17px; }
.finale-apps small { font-weight: 600; font-size: 12px; color: var(--soft); }

/* ── Reveal on scroll (only when JS runs and motion is welcome) ─────────── */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ── Documents: a card on the sky ───────────────────────────────────────── */
.doc-page { padding: 104px 16px 56px; background: linear-gradient(180deg, var(--sky-1), var(--sky-end) 420px); }
.doc-wrap { position: relative; max-width: 800px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 16px 8px 10px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 14px; }
.doc { position: relative; background: var(--card); border-radius: 32px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow);
  font-size: 17px; line-height: 1.75; color: var(--body); }
.doc-wrap .lisak-wrap { position: absolute; left: auto; right: 36px; bottom: auto; top: -18px; width: 110px; margin: 0; z-index: 1; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 8px; color: var(--ink); max-width: calc(100% - 120px); }
.doc .updated { color: var(--soft); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 21px; letter-spacing: -.015em; margin: 34px 0 10px; color: var(--ink); }
.doc p, .doc ul { max-width: 66ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc a { color: #2558e0; }
.doc code { background: #eef3fb; border-radius: 6px; padding: 1px 6px; font-size: .9em; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { text-align: center; padding: 30px 16px 44px; color: var(--soft); font-size: 14px; background: #d9e9ff; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; }
footer nav a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .stage { height: 470px; }
  .stage .phone { width: 200px; }
  .stage .phone-a { left: 8%; }
  .stage .phone-b { right: 8%; }
  .lisak-wrap { width: 250px; margin-left: -125px; }
  .glass-badge.g3 { display: none; }
  .app-grid { grid-template-columns: 1fr; gap: 26px; }
  .app.flip .app-stage { order: 0; }
  .app-copy { text-align: center; }
  .app-copy h2 { justify-content: center; }
  .app-copy .desc { margin-inline: auto; }
  .chips, .badges { justify-content: center; }
}
@media (max-width: 560px) {
  .hero-copy { padding-top: 96px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 15px; }
  .picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
  .picks a { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; font-size: 14px; }
  .picks small { display: none; }
  .stage { height: 360px; margin-top: 8px; }
  .stage .phone { width: 150px; border-radius: 24px; padding: 5px; }
  .stage .phone .screen { border-radius: 19px; }
  .stage .phone-a { left: 0; top: 40px; }
  .stage .phone-b { right: 0; top: 14px; }
  .lisak-wrap { width: 190px; margin-left: -95px; bottom: 0; }
  .glass-badge { display: none; }
  .glass-badge img { width: 26px; height: 26px; }
  .glass-badge b { font-size: 15px; }
  .glass-badge small { font-size: 10.5px; }
  .skyline img { height: 110px; }
  .skyline img.krakow { height: 126px; }
  .say { font-size: 16px; }
  .app { padding-block: 40px; }
  .app-stage { min-height: 450px; }
  .app-stage .phone { width: 220px; }
  .app-stage .buddy { height: 118px; bottom: 34px; }
  .app-stage .buddy.l { left: 0; }
  .app-stage .buddy.r { right: 0; }
  .badges img { height: 46px; }
  .soon { height: 46px; }
  .cast-row { display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 14px; }
  .cast-row figure, .cast-row figure:nth-child(odd), .cast-row figure.star { margin: 0; translate: none; scale: 1; }
  .cast-row img { height: 92px; margin-inline: auto; }
  .doc-wrap .lisak-wrap { width: 80px; right: 16px; top: -8px; }
  .doc h1 { max-width: calc(100% - 70px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ── The apps' own documents (/cesky/privacy, /uk/polski/terms, …) ─────── */
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.legal-page { --brand-ink: color-mix(in srgb, var(--brand) 78%, black); --tint: color-mix(in srgb, var(--brand) 9%, white); }
.legal-wrap { position: relative; max-width: 1120px; margin: 0 auto; }
.legal-hero { position: relative; margin-bottom: 16px; padding: clamp(24px, 4.5vw, 52px); border-radius: 32px;
  background: linear-gradient(135deg, var(--tint), #fff 70%); box-shadow: var(--shadow); }
.legal-hero .lisak-wrap { position: absolute; left: auto; right: clamp(16px, 4vw, 48px); top: -44px; bottom: auto;
  width: clamp(84px, 11vw, 132px); margin: 0; z-index: 1; }
.legal-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--glass-line); font-weight: 700; font-size: 14px; color: var(--brand-ink); }
.legal-eyebrow img { width: 28px; height: 28px; border-radius: 8px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 12px;
  max-width: calc(100% - 140px); }
.legal-hero .lead { color: var(--muted); font-weight: 500; font-size: clamp(16px, 1.8vw, 18px); max-width: 720px; margin: 0 0 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--soft); background: rgba(255, 255, 255, .78); border: 1px solid var(--glass-line); }
.pill b { color: var(--ink); }
.legal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 14px;
  text-decoration: none; color: var(--ink); background: #fff; border: 1px solid #e3eaf6; box-shadow: 0 2px 8px rgba(20, 50, 110, .06);
  transition: transform .15s ease, box-shadow .15s ease; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 50, 110, .1); }
.chip .ic { color: var(--brand-ink); }
.chip.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.primary .ic { color: #fff; }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.glance-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .82);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.glance-card .ic { width: 26px; height: 26px; color: var(--brand-ink); }
.glance-card strong { font-size: 15px; letter-spacing: -.01em; }
.glance-card span { color: var(--soft); font-size: 14px; line-height: 1.5; }
.legal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; padding: 18px 16px 18px 18px; border-radius: 24px;
  background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.toc-title { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin: 6px 0; color: var(--soft); }
.toc a { color: var(--muted); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--brand-ink); text-decoration: underline; }
.doc.legal { max-width: none; }
.tldr { margin-bottom: 8px; padding: 18px 22px; border-radius: 20px; background: var(--tint); }
.tldr-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 800; color: var(--brand-ink); }
.tldr ul { margin: 0; }
.sec { scroll-margin-top: 20px; }
.sec h2 { display: flex; align-items: center; gap: 10px; }
.sec h2 .h-ic { width: 26px; height: 26px; color: var(--brand-ink); }
.sec-lead { font-size: 18px; color: var(--ink); }
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 14px 18px; border-radius: 16px;
  background: #eef4ff; border: 1px solid #d8e5ff; }
.callout > .ic { margin-top: .25em; color: #2558e0; }
.callout.good { background: #ebfaf3; border-color: #c9eedd; }
.callout.good > .ic { color: #128a5c; }
.callout.warn { background: #fff6e5; border-color: #f7e1b5; }
.callout.warn > .ic { color: #b26a00; }
.callout.contact { background: var(--tint); border-color: color-mix(in srgb, var(--brand) 22%, white); }
.callout.contact > .ic { color: var(--brand-ink); }
.callout p { margin: 0; }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; padding: 2px 0 2px 46px; display: grid; gap: 2px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--brand); }
.steps span { color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
/* Four cards read better as 2×2 than as 3 + 1. */
.mini-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.doc.legal > .sec:first-child > h2 { margin-top: 0; }
.mini { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 16px; background: #f5f8fe; font-size: 15px; line-height: 1.5; }
.mini .ic { width: 22px; height: 22px; color: var(--brand-ink); }
.mini span { color: var(--soft); font-size: 14px; }
.kv { display: grid; margin: 16px 0; border-radius: 16px; overflow: hidden; border: 1px solid #e6edf8; }
.kv div { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 12px; padding: 12px 16px; }
.kv div + div { border-top: 1px solid #eef2f9; }
.kv dt { color: var(--soft); font-weight: 600; font-size: 15px; }
.kv dd { margin: 0; }
.faq { margin: 16px 0; border-top: 1px solid #e8eef8; }
.faq details { border-bottom: 1px solid #e8eef8; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; cursor: pointer;
  font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform .2s ease; color: var(--soft); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq-body { padding: 0 2px 14px; color: var(--muted); }
.tbl { margin: 18px 0; }
.tbl .cap { font-weight: 700; margin-bottom: 8px; }
.tbl .hint { color: var(--soft); font-size: 14px; margin-top: 8px; }
.tbl-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid #e6edf8; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #eef2f9; }
.tbl thead th { background: #f4f7fd; font-size: 13px; font-weight: 800; color: var(--soft); letter-spacing: .02em; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.changelog { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.changelog li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 12px; align-items: baseline; }
.changelog .ver { padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; }
.changelog .date { color: var(--soft); font-size: 14px; white-space: nowrap; }
.doc a.ext { font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (max-width: 960px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
  .legal-body { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
}
@media (max-width: 560px) {
  .glance, .mini-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  .legal-hero h1 { max-width: calc(100% - 80px); }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .changelog li { grid-template-columns: auto 1fr; }
  .changelog .what { grid-column: 1 / -1; }
  .tbl-scroll { border: 0; overflow: visible; }
  .tbl table, .tbl thead, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 12px 14px; margin-bottom: 10px; border: 1px solid #e6edf8; border-radius: 14px; }
  .tbl th, .tbl td { padding: 4px 0; border: 0; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; color: var(--soft); }
}
