/* modeep.net (light look, 2026-11-21): the app's "mac beyaz" - a soft grey ground, white cards, Apple label greys, iOS
   blue - and colour only in small things that mean something (the app's system tones: green voice, purple Modi...).
   Short on purpose: the first screen says what MODeep is and shows the app; the features turn inside one window.
   Shared by every page (sayfa.css adds the topic and legal pages' blocks). Paths are root-relative (/mac/...) so /en/
   and the other languages load them too; sides use logical properties so Arabic (dir="rtl") mirrors. Only transform
   and opacity move; prefers-reduced-motion stills it. */

:root {
  /* ground ladder (the app's light look) */
  --ground: #f5f5f7;
  --bg: #ebebf0;
  --surface: #ffffff;
  --surface-2: #e8e8ed;
  /* words */
  --text: #1d1d1f;
  --text-2: #48484d;
  --text-3: #636366;
  --text-hover: #000000;
  /* iOS blue: --accent marks things, --accent-text is blue words, --button the fill white words sit on (#007aff gives
     white words only 4.0:1, so filled buttons use the deeper blue Apple's own pages use: 4.7:1) */
  --accent: #007aff;
  --accent-text: #0062cc;
  --button: #0071e3;
  --button-hover: #0068d1;

  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px -20px rgba(0, 0, 0, 0.22);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.04), 0 24px 60px -24px rgba(0, 0, 0, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI Variable Display', 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  /* the room the floating menu bar takes at the top (its 64 px and the gap above it) */
  --nav-h: 92px;

  interpolate-size: allow-keywords;
  color-scheme: light;
}

/* The app's system tones, the high-contrast ones its light look uses for words and marks. */
.tone-green { --tone: #248a3d; --tone-bg: rgba(52, 199, 89, 0.16); }
.tone-blue { --tone: #0062cc; --tone-bg: rgba(0, 122, 255, 0.12); }
.tone-indigo { --tone: #3634a3; --tone-bg: rgba(88, 86, 214, 0.14); }
.tone-orange { --tone: #c93400; --tone-bg: rgba(255, 149, 0, 0.16); }
.tone-purple { --tone: #8944ab; --tone-bg: rgba(175, 82, 222, 0.14); }
.tone-teal { --tone: #0071a4; --tone-bg: rgba(48, 176, 199, 0.16); }
.tone-graphite { --tone: #3a3a3c; --tone-bg: rgba(60, 60, 67, 0.1); }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
main { overflow-x: clip; }
::selection { background: rgba(0, 122, 255, 0.22); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 60;
  background: var(--button); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

/* Wide screens get a wide page (owner 2026-11-21: the first screen looked empty): up to 1440 px, 4vw at the sides. */
.wrap { width: min(1440px, 100% - 2 * clamp(24px, 4vw, 64px)); margin-inline: auto; }

/* ---------- type ---------- */
.title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sub { max-width: 34em; margin-top: 14px; color: var(--text-2); font-size: 19px; line-height: 1.45; text-wrap: pretty; }
.eyebrow { color: var(--text-3); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* The site's marks (site-home.mjs ICONS): in colour (their gradients sit once in the menu bar's .ico-defs), or drawn
   with a line for the small controls. */
.ico-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ico--line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--small { width: 14px; height: 14px; stroke-width: 2.2; }
.btn .ico--colour { transition: transform 0.3s var(--ease); }
.btn:hover .ico--colour { transform: scale(1.08); }
.btn--big .ico { width: 22px; height: 22px; }
.btn--small { min-height: 30px; padding: 0 14px; font-size: 13px; }
.btn--big { min-height: 52px; padding: 0 24px 0 20px; font-size: 17px; }
html[dir='rtl'] .btn--big { padding: 0 20px 0 24px; }
.btn--primary { background: var(--button); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 113, 227, 0.6); }
.btn--primary:hover { background: var(--button-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(0, 113, 227, 0.65); }
/* On the filled blue button Windows' panes are white. */
.btn--primary .ico-win { fill: currentColor; }
.btn--ghost { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.btn--ghost:hover { color: var(--text-hover); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }

.link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-text); font-size: 17px; text-decoration: none;
}
.link .ico--arrow { width: 15px; height: 15px; margin-top: 1px; transition: transform 0.25s var(--ease); }
.link:hover { color: var(--text-hover); text-decoration: underline; text-underline-offset: 4px; }
.link:hover .ico--arrow { transform: translateX(3px); }
html[dir='rtl'] .link .ico--arrow { transform: scaleX(-1); }
html[dir='rtl'] .link:hover .ico--arrow { transform: scaleX(-1) translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- menu bar: a frosted island floating over the page ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto; position: relative;
  /* As wide as the first screen's content, so the bar and the page line up (owner 2026-11-21: bigger, roomier). */
  width: min(1600px, 100% - 2 * clamp(24px, 4vw, 64px)); height: 76px;
  display: flex; align-items: center; gap: 8px;
  padding-inline: 30px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: saturate(1.8) blur(22px);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(29, 29, 31, 0.28);
  transform-origin: 50% 0;
  transition: transform 0.45s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
/* Once the page moves it draws in a little and grows more solid. */
.nav.is-scrolled .nav__bar {
  transform: translateY(-6px) scale(0.97);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 16px 40px -18px rgba(29, 29, 31, 0.34);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 28px; }
.brand small { color: var(--text-3); font-size: 13px; }
.nav .brand img { height: 32px; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a {
  position: relative;
  padding: 12px 16px; border-radius: 999px;
  color: var(--text-2); font-size: 16.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current] { color: var(--text-hover); }
/* The browser link: beside the download on wide screens, in the phone's menu panel on small ones. */
.nav__links .nav__web-m { display: none; }
.nav__web { min-height: 48px; margin-inline-start: 14px; padding: 0 20px 0 16px; font-size: 16px; }
.nav__web .ico { width: 20px; height: 20px; }
html[dir='rtl'] .nav__web { padding: 0 16px 0 20px; }
/* The section in view: a short blue line under its name. */
.nav__links a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 3px; width: 16px; height: 3px; margin-inline: auto;
  border-radius: 3px; background: var(--accent);
  transform: scaleX(0); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__links a[aria-current]::after { transform: none; opacity: 1; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle:hover { color: var(--text-hover); }
.nav__toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* Its two lines cross into a close mark while the menu is open. */
.nav__toggle path { transform-box: fill-box; transform-origin: center; transition: transform 0.3s var(--ease); }
.nav.is-open .nav__toggle .bar-a { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__toggle .bar-b { transform: translateY(-3px) rotate(-45deg); }

/* ---------- download menu ---------- */
.dl { position: relative; margin-inline-start: 10px; }
.nav__cta { min-height: 48px; padding: 0 18px 0 22px; gap: 6px; font-size: 16px; cursor: pointer; }
html[dir='rtl'] .nav__cta { padding: 0 20px 0 16px; }
.nav__cta .ico--small { transition: transform 0.3s var(--ease); }
.dl.is-open .nav__cta .ico--small { transform: rotate(180deg); }
.dl__menu {
  position: absolute; top: calc(100% + 14px); inset-inline-end: -6px; z-index: 2;
  width: 350px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: saturate(1.8) blur(22px);
  -webkit-backdrop-filter: saturate(1.8) blur(22px);
  box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(-8px) scale(0.97); transform-origin: top right;
  transition: opacity 0.2s, transform 0.35s var(--ease);
}
html[dir='rtl'] .dl__menu { transform-origin: top left; }
.dl.is-open .dl__menu { opacity: 1; transform: none; }
.dl__item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 14px;
  color: var(--text); text-decoration: none;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.dl__item:active { transform: scale(0.985); }
.dl__item:hover,
.dl__item:focus-visible { background: var(--ground); color: var(--text-hover); }
.dl__item:focus-visible { outline-offset: -2px; }
.dl__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--ground); transition: transform 0.3s var(--ease), background-color 0.2s; }
.dl__icon .ico { width: 24px; height: 24px; }
.dl__item:hover .dl__icon,
.dl__item:focus-visible .dl__icon { background: var(--surface); transform: scale(1.06); }
.dl__text { display: grid; gap: 1px; min-width: 0; }
.dl__text b { font-size: 15px; font-weight: 600; }
.dl__text small { color: var(--text-3); font-size: 13px; line-height: 1.35; }
.dl__badge { display: none; margin-inline-start: auto; padding: 3px 9px; border-radius: 999px; background: rgba(0, 122, 255, 0.1); color: var(--accent-text); font-size: 12px; font-style: normal; font-weight: 500; white-space: nowrap; }
/* The visitor's own device comes first, marked (site.js). */
.dl__item.is-suggested { order: -1; }
.dl__item.is-suggested .dl__badge { display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  .nav.is-scrolled .nav__bar { transform: none; }
  .dl__menu { transform: none; transition: opacity 0.15s; }
}

/* ---------- first screen: words beside the app ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 24px) 32px;
}
/* Soft lights behind the page, blue, indigo and green: the app's accent, the headline's word and its voice colour. The
   ground stays light. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 44% at 70% 38%, rgba(0, 122, 255, 0.12), rgba(0, 122, 255, 0) 70%),
    radial-gradient(28% 36% at 14% 22%, rgba(88, 86, 214, 0.09), rgba(88, 86, 214, 0) 70%),
    radial-gradient(24% 30% at 92% 82%, rgba(52, 199, 89, 0.08), rgba(52, 199, 89, 0) 70%),
    radial-gradient(30% 30% at 34% 92%, rgba(125, 79, 208, 0.07), rgba(125, 79, 208, 0) 70%);
}
html[dir='rtl'] .hero::before { transform: scaleX(-1); }
/* The first screen goes wider still on big screens, so the window grows with them. */
.hero .wrap { width: min(1600px, 100% - 2 * clamp(24px, 4vw, 64px)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero__title {
  margin-top: 12px;
  /* Three words since 2026-11-21: two lines at this size (measured from 375 to 1920). */
  font-size: clamp(52px, 5.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
/* The headline's last word: blue running into indigo. Painted on each risen word once site.js has split it (the
   span's own paint would show the words before they rise). */
/* Longer words in these languages: a little smaller, so they stay on two lines too. */
html:is([lang='el'], [lang='ja'], [lang='pt']) .hero__title { font-size: clamp(48px, 5.1vw, 78px); }
.hero__title .vurgu,
.hero__title .vurgu .w {
  background-image: linear-gradient(100deg, #007aff 0%, #5856d6 62%, #7d4fd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .vurgu:has(.w) { background-image: none; }
/* A risen word is a block as tall as the tight line: room below for y, g and ş, so the paint reaches them. */
.hero__title .vurgu .w { padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__lead { max-width: 23em; margin-top: 22px; color: var(--text-2); font-size: clamp(18px, 1.35vw, 21px); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; }
/* The download first, across; Android and the browser as an even pair under it. */
.hero__text .actions { display: grid; grid-template-columns: 1fr 1fr; width: max-content; max-width: 100%; margin-top: 32px; gap: 12px; }
.hero__text .actions .btn--primary { grid-column: 1 / -1; }
.hero__note { margin-top: 20px; color: var(--text-3); font-size: 15px; }

/* the app window and its screens */
.show { min-width: 0; perspective: 1600px; }
.show__stage { position: relative; }
.show__window {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 14px; background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 90px -36px rgba(29, 29, 31, 0.45), 0 12px 30px -18px rgba(29, 29, 31, 0.25);
}
.show__shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: translateX(4%) scale(1.02);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.show__shot.is-on { opacity: 1; transform: none; }
.show__shot.is-out { opacity: 0; transform: translateX(-4%) scale(0.99); }
html[dir='rtl'] .show__shot { transform: translateX(-4%) scale(1.02); }
html[dir='rtl'] .show__shot.is-on { transform: none; }
html[dir='rtl'] .show__shot.is-out { transform: translateX(4%) scale(0.99); }
/* close-ups rising over the window */
.show__pop {
  position: absolute; z-index: 2; height: auto;
  opacity: 0; transform: translateY(26px) scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.show__pop.is-on { opacity: 1; transform: none; transition-delay: 0.25s; }
.show__pop--phone { inset-inline-end: -3%; bottom: 5%; width: 21%; border-radius: 22px; box-shadow: 0 0 0 6px #fff, var(--shadow-lift); }
.show__pop--card { inset-inline-start: -5%; bottom: 8%; width: 42%; border-radius: 16px; box-shadow: 0 0 0 5px #fff, var(--shadow-lift); }

/* Pieces of the app floating round the window: the room in voice, a call, a name plate. They lean over the window's
   edges, never over the words or the tabs, and step aside while a close-up is up. */
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), var(--shadow-lift);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 14px; line-height: 1.25; white-space: nowrap; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.show__stage:has(.show__pop.is-on) .float { opacity: 0; }
.float img { display: block; border-radius: 50%; object-fit: cover; }
.float__text { display: grid; gap: 1px; color: var(--text-2); }
.float__text strong { color: var(--text); font-weight: 600; }
.float__text small { color: var(--tone, #248a3d); font-size: 13px; font-weight: 500; }

/* the room: three faces, its name, a voice wave */
.float--ses { inset-inline-start: -3.5%; top: 14%; --tone: #248a3d; }
.float__faces { display: flex; }
.float__faces img { width: 30px; height: 30px; box-shadow: 0 0 0 2px #fff; }
.float__faces img + img { margin-inline-start: -9px; }
.float__wave { display: flex; align-items: center; gap: 3px; height: 20px; margin-inline-start: 4px; }
.float__wave i { width: 3px; height: 100%; border-radius: 2px; background: #34c759; transform: scaleY(0.35); }

/* a call to the room */
.float--davet { inset-inline-end: -4%; top: -5%; gap: 12px; padding-inline-end: 10px; }
.float--davet .float__face { width: 36px; height: 36px; }
.float--davet .float__text { display: block; }
.float__join {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px;
  background: #34c759; color: #fff; font-size: 13px; font-weight: 600;
}

/* a name plate with the flag behind the name, as in the room list */
.float--plaka {
  inset-inline-end: -3%; bottom: 12%; gap: 9px; padding: 7px 12px 7px 7px; border-radius: 14px;
  background: linear-gradient(90deg, #b50d1e, #e30a17 70%); color: #fff;
  box-shadow: 0 0 0 4px #fff, var(--shadow-lift);
}
.float--plaka .float__face { width: 30px; height: 30px; }
.float__name { font-size: 16px; font-weight: 500; }
.float__tick { width: 18px; height: 18px; }
.float__tick path:first-child { fill: #0a84ff; }
.float__check { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float__flag { width: 36px; height: 24px; margin-inline-start: 18px; color: #e30a17; }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: drift 7s ease-in-out infinite; }
  .float--davet { animation-duration: 8s; animation-delay: -2.5s; }
  .float--plaka { animation-duration: 9s; animation-delay: -5s; }
  .float__wave i { animation: talk 1.1s ease-in-out infinite; }
  .float__wave i:nth-child(2) { animation-delay: -0.35s; }
  .float__wave i:nth-child(3) { animation-delay: -0.7s; }
  .float__wave i:nth-child(4) { animation-delay: -0.2s; }
}
@keyframes drift { 50% { translate: 0 -9px; } }
@keyframes talk { 50% { transform: scaleY(1); } }

/* the tabs under the window */
.show__bar { margin-top: 24px; }
/* One row; when the words are long (some languages) it scrolls sideways. */
.tabs {
  display: flex; gap: 4px; min-width: 0;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 4px 4px 10px; margin: -4px -4px -10px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  flex: none; scroll-snap-align: center;
  min-height: 42px; padding: 0 14px 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-2); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}
html[dir='rtl'] .tab { padding: 0 10px 0 14px; }
.tab i { display: grid; place-items: center; }
.tab .ico { width: 22px; height: 22px; transition: transform 0.35s var(--ease); }
.tab:hover { color: var(--text-hover); }
.tab:hover .ico { transform: scale(1.1); }
.tab:active { transform: scale(0.97); }
.tab[aria-selected='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
/* The time until the next tab, filling under the chosen one (site.js moves on when it is full). */
.tab::after {
  content: ''; position: absolute; inset: auto 16px 5px; height: 2px; border-radius: 2px;
  background: var(--tone); opacity: 0; transform: scaleX(0); transform-origin: left center;
}
html[dir='rtl'] .tab::after { transform-origin: right center; }
@media (prefers-reduced-motion: no-preference) {
  .show.is-auto .tab[aria-selected='true']::after { opacity: 0.55; animation: fill 6s linear forwards; }
  .show.is-paused .tab[aria-selected='true']::after,
  .show.is-auto:hover .tab[aria-selected='true']::after,
  .show.is-auto:focus-within .tab[aria-selected='true']::after,
  .show.is-away .tab[aria-selected='true']::after { animation-play-state: paused; }
}
@keyframes fill { to { transform: scaleX(1); } }
.show__pause {
  position: absolute; inset-inline-end: 0; top: 0;
  display: none; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--text-2); cursor: pointer; box-shadow: var(--shadow);
}
.show.is-auto .show__pause { display: grid; }
.show__pause:hover { color: var(--text-hover); }
.show__pause svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.show__pause .ico-play { display: none; }
.show.is-paused .show__pause .ico-play { display: block; }
.show.is-paused .show__pause .ico-pause { display: none; }

.show__notes { position: relative; min-height: 84px; margin-top: 18px; padding-inline: 6px 52px; }
.note h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.note p { margin-top: 6px; color: var(--text-2); font-size: 17px; line-height: 1.45; }
.note.is-in { animation: note-in 0.55s var(--ease); }
@keyframes note-in { from { opacity: 0; transform: translateY(8px); } }
.tag {
  display: inline-flex; align-items: center; margin-inline-start: 6px; padding: 2px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap;
}

/* First paint: the words, then the window, then the tabs, one after another. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .w { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(100ms + var(--i) * 90ms); }
  .js .in { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 100ms); }
  .js .show__stage.in { transform: translateY(28px) scale(0.97); }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sections after it ---------- */
.sec { padding-block: clamp(72px, 9vw, 120px); }
.sec__head { max-width: 760px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 28px 30px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--ground);
  transition: transform 0.4s var(--ease);
}
.card__icon .ico { width: 30px; height: 30px; }
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card h3 { margin-top: 8px; font-size: 21px; letter-spacing: -0.015em; }
.card p { color: var(--text-2); font-size: 16px; }
.card .link { margin-top: auto; padding-top: 8px; font-size: 16px; }


/* what's in it: six boxes, each ending in a small real piece of the app */
.feat { padding-bottom: 24px; }
.feat h3 { font-size: 20px; }
.feat p { line-height: 1.45; }
.feat__pic {
  position: relative; display: block; width: 100%; margin-top: auto; padding-top: 0;
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--ground);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.feat__pic > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.6s var(--ease); }
.feat:hover .feat__pic > img { transform: scale(1.03); }
/* the in-game panel, drawn over the game as the app shows it */
.feat__panel {
  position: absolute; inset-inline-start: 12px; top: 12px; display: grid; gap: 7px;
  padding: 10px 14px 11px 11px; border-radius: 14px;
  background: rgba(22, 22, 24, 0.78); color: #fff; font-size: 13px; line-height: 1.2;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.feat__panel b { font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.feat__who { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.feat__who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.feat__who.is-talking img { box-shadow: 0 0 0 2px #34c759; }

/* three steps in a row, the downloads under them */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.step { padding: 28px 28px 30px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.step__top { display: flex; align-items: center; gap: 14px; }
.step__n {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--button); color: #fff; font-size: 17px; font-weight: 600;
}
.step h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.015em; }
.step p { margin-top: 6px; color: var(--text-2); font-size: 16px; line-height: 1.45; }
.steps__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.trust {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 32px; align-items: center;
  margin-top: 18px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.trust__title .card__icon { width: 48px; height: 48px; border-radius: 15px; }
.trust__title .card__icon .ico { width: 28px; height: 28px; }
.trust__title { display: flex; align-items: center; gap: 14px; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust__list strong { display: block; font-size: 16px; font-weight: 600; }
.trust__list span { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* questions with the last call beside them */
.sec--faq { padding-top: 0; }
.faq--home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.last { margin-top: 40px; }
.last img { width: 48px; height: auto; }
.last__title { margin-top: 16px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.last .actions { margin-top: 18px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 22px; padding-inline-end: 58px;
  font-size: 17px; font-weight: 500; line-height: 1.35;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; inset-inline-end: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    var(--ground);
  color: var(--text-2);
  transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--text-hover); }
.faq summary:hover::after { color: var(--text-hover); background-color: var(--surface-2); }
.faq__a { padding: 0 22px 20px; color: var(--text-2); }
.faq__a a { color: var(--accent-text); text-underline-offset: 3px; }
.faq__a a:hover { color: var(--text-hover); }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- footer ---------- */
.foot { background: var(--bg); padding-block: 40px 48px; color: var(--text-2); font-size: 14px; }
.foot__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.foot__inner .langs { grid-column: 1 / -1; }
.foot .brand img { height: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.foot__links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.foot__links a:hover { color: var(--text-hover); text-decoration: underline; text-underline-offset: 3px; }
.foot__note { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; }

/* language menu (footer) */
.langs { position: relative; justify-self: start; }
.langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); color: var(--text-2); font-size: 14px;
  transition: color 0.2s;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { color: var(--text-hover); }
.langs summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.langs__list {
  position: absolute; inset-inline-start: 0; bottom: calc(100% + 10px); z-index: 5;
  width: min(720px, 100vw - 48px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 2px; padding: 10px;
  background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
}
.langs__list a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; color: var(--text-2); }
.langs__list a:hover { background: var(--ground); color: var(--text-hover); }
.langs__list a[aria-current] { background: var(--ground); color: var(--text); font-weight: 500; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), box-shadow 0.4s var(--ease); transition-delay: var(--rv-delay, 0ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .card.rv.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
}

/* ---------- narrower screens ---------- */
@media (max-width: 1020px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 48px); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__text .actions { margin-inline: auto; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__web { display: none; }
  .trust { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq--home { grid-template-columns: minmax(0, 1fr); }
}
/* Narrow: one floating piece, the room, tucked over the window's corner. */
@media (max-width: 900px) {
  .float--davet,
  .float--plaka { display: none; }
  .float--ses { inset-inline-start: -2%; top: -6%; gap: 8px; padding: 7px 10px 7px 7px; border-radius: 14px; font-size: 13px; }
  .float--ses .float__faces img { width: 24px; height: 24px; }
  .float__text small { font-size: 12px; }
}

@media (max-width: 760px) {
  .wrap,
  .hero .wrap { width: min(1240px, 100% - 40px); }
  :root { --nav-h: 70px; }
  .nav { inset: 10px 0 auto; }
  .nav__bar { width: calc(100% - 20px); height: 58px; padding-inline: 18px 6px; gap: 2px; }
  .brand img { height: 24px; }
  /* The links open as a frosted panel under the bar. */
  .nav__links {
    position: absolute; top: calc(100% + 10px); inset-inline: 0; display: none; flex-direction: column; gap: 0;
    padding: 8px; margin: 0; border-radius: 22px;
    background: var(--surface);
    backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px);
    box-shadow: var(--shadow-lift);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 16px; border-radius: 14px; font-size: 18px; color: var(--text); }
  .nav__links a::after { inset-inline: 16px auto; bottom: 8px; margin: 0; }
  .dl { position: static; margin-inline-start: auto; }
  .nav__cta { min-height: 42px; padding: 0 12px 0 16px; }
  .dl__menu { top: calc(100% + 10px); inset-inline: 0; width: auto; }
  .nav__toggle { display: inline-flex; }
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 24px; }
  .hero__text .actions { width: min(100%, 360px); }
  .show__window { border-radius: 10px; }
  .show__pop--phone { width: 26%; border-radius: 12px; box-shadow: 0 0 0 3px #fff, var(--shadow-lift); }
  .show__pop--card { width: 48%; border-radius: 10px; box-shadow: 0 0 0 3px #fff, var(--shadow-lift); }
  /* The tab strip runs edge to edge. */
  .show__bar { margin-inline: -20px; margin-top: 20px; }
  .tabs { padding-inline: 20px; margin-inline: 0; }
  .show__notes { padding-inline: 2px 48px; }
  .note h2 { font-size: 20px; }
  .note p { font-size: 16px; }
  .card { padding: 24px 22px 26px; }
  .trust { padding: 24px 22px; }
  .trust__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feats,
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { padding: 22px; }
  .nav__links .nav__web-m { display: block; color: var(--accent-text); }
  .nav .brand img { height: 26px; }
  .faq summary { padding: 18px 20px; padding-inline-end: 52px; font-size: 16px; }
  .faq summary::after { inset-inline-end: 14px; }
  .faq__a { padding: 0 20px 20px; }
  .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: flex-start; }
}
