/* molikdev.cz — studio-style showcase. Dark only, every app brings its own accent colour. */
:root {
  --bg: #07060a; --bg-2: #0e0c13; --surface: rgba(255,255,255,.035); --surface-2: rgba(255,255,255,.06);
  --text: #f4f1ec; --muted: rgba(244,241,236,.6); --faint: rgba(244,241,236,.38); --line: rgba(255,255,255,.08);
  --ivory: #f4f1ec; --dim: rgba(244,241,236,.4);
  --wrap: 1240px; --ease: cubic-bezier(.2,.7,.1,1); --ease-out: cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif; background: var(--bg);
  color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgba(244,241,236,.22); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 6px; }

/* type */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.045em; line-height: .98; }
h1 { font-size: clamp(50px, 6.6vw, 108px); }
h2 { font-size: clamp(42px, 6.6vw, 96px); }
h3 { letter-spacing: -0.025em; line-height: 1.1; }
/* the second half of a headline is set in a quieter tone instead of a colour */
h1 em, h2 em { font-style: normal; color: var(--dim); }
.case-tagline em { font-style: normal; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; margin-top: 32px; line-height: 1.6; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 700;
  font-size: 16px; text-decoration: none; color: #0b0a0f; background: var(--text); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #ffffff; transform: translateY(101%);
  transition: transform .45s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(255,255,255,.35); }
.btn:hover::before { transform: translateY(0); }
.btn .ic { transition: transform .35s var(--ease-out); }
.btn:hover .ic { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost::before { background: rgba(255,255,255,.08); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #0b0a0f; }
.btn-accent::before { background: linear-gradient(100deg, var(--accent), var(--accent-2)); }
.btn-accent:hover { box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--accent) 70%, transparent); }

/* progress + nav */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ivory); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7,6,10,.9); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #0b0a0f; background: var(--ivory);
  transition: transform .5s var(--ease-out); }
.logo-mark svg { width: 26px; height: 26px; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.logo-word { display: flex; flex-direction: column; line-height: 1.05; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.logo-word small { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.langs { display: flex; align-items: center; gap: 4px; }
.flag { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; transition: background .2s, opacity .2s; }
.flag svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag.is-current { background: rgba(255,255,255,.08); }
a.flag { opacity: .5; }
a.flag:hover, a.flag:focus-visible { opacity: 1; background: rgba(255,255,255,.06); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero-bg, .final-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; opacity: .55; background: radial-gradient(circle, var(--c) 0%, color-mix(in srgb, var(--c) 40%, transparent) 38%, transparent 70%); }
.orb-1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; --c: #4a4450; animation: drift1 22s ease-in-out infinite alternate; }
.orb-2 { width: 42vw; height: 42vw; right: -14vw; top: 8vh; --c: #3a3546; animation: drift2 26s ease-in-out infinite alternate; }
.orb-3 { width: 30vw; height: 30vw; left: 38vw; bottom: -16vw; --c: #5a5560; opacity: .3; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -8vh) scale(1.2); } }
.grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; width: 100%; }
.hero-copy { position: relative; z-index: 2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero-art { position: relative; height: 640px; perspective: 1400px; }
.hero-phone { position: absolute; display: block; }
.hero-phone-1 { left: 0; top: 90px; z-index: 2; }
.hero-phone-2 { left: 30%; top: 0; z-index: 3; }
.hero-phone-3 { right: 2%; top: 120px; z-index: 1; }
.hero-phone .device { width: 230px; }
.hero-phone-1 .device { transform: rotate(-9deg); }
.hero-phone-2 .device { transform: rotate(2deg); width: 250px; }
.hero-phone-3 .device { transform: rotate(10deg); }
.float-icon { position: absolute; display: block; z-index: 4; }
.float-icon .app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }
.float-icon-1 { left: -6%; top: 40px; animation: bob 7s ease-in-out infinite; }
.float-icon-2 { left: 72%; top: -10px; animation: bob 8s ease-in-out -2s infinite; }
.float-icon-3 { left: 20%; bottom: 10px; animation: bob 9s ease-in-out -4s infinite; }
.float-icon > * { display: block; }
@keyframes bob { 50% { translate: 0 -14px; } }
.scroll-hint { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); text-decoration: none; }
.scroll-hint .ic { animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0%, 100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }

/* device */
.device { position: relative; width: 260px; border-radius: 44px; padding: 8px; background: linear-gradient(145deg, #2a2730, #0a090c 40%, #1c1a20);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 90px -30px rgba(0,0,0,.9), 0 30px 60px -30px rgba(0,0,0,.6); }
.device-screen { display: block; overflow: hidden; border-radius: 36px; background: #000; }
.device-screen img { width: 100%; }
.device-island { position: absolute; left: 50%; top: 18px; width: 30%; height: 22px; translate: -50% 0; border-radius: 99px; background: #000; }
.device-framed { padding: 0; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 50px 60px rgba(0,0,0,.7)); }
.device-framed img { width: 100%; }

/* marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; width: max-content; list-style: none; animation: marquee 48s linear infinite; }
.marquee li { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 700;
  letter-spacing: -0.03em; color: rgba(244,241,236,.85); white-space: nowrap; }
.marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(244,241,236,.45); }
.marquee .star { color: var(--faint); display: grid; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stats */
.stats-band { padding: 90px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 34px 30px; }
.stat-num { font-size: clamp(48px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* sections */
.section { position: relative; padding: 150px 0; scroll-margin-top: 40px; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 900px; margin-bottom: 90px; }

/* case studies */
.cases { display: grid; gap: 40px; }
.case { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px; border-radius: 40px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.case-glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -20%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 68%); opacity: .6; }
.case-rev .case-glow { right: auto; left: -20%; }
.case-rev .case-copy { order: 2; }
.case-index { font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--faint); }
.case-index span { color: var(--accent); }
.case-head { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.app-icon { width: 60px; height: 60px; border-radius: 15px; flex: none; box-shadow: 0 10px 24px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.app-icon-ringtone { display: grid; place-items: center; background: linear-gradient(135deg, #7C3BED, #5B1DB8); }
.app-icon-ringtone svg { width: 58%; height: 58%; }
.case h3 { font-size: 30px; }
.case-cat { color: var(--muted); font-size: 15px; margin-top: 4px; }
.case-tagline { margin-top: 34px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.case-tagline em { color: var(--accent); }
.case-desc { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 32em; }
.case-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 28px; }
.case-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.case-features .ic { color: var(--accent); margin-top: 2px; }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.case-facts .stat { background: none; padding: 0; }
.case-facts .stat-num { font-size: clamp(30px, 3vw, 42px); }
.case-facts .stat-label { font-size: 13px; margin-top: 6px; }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 38px; }
.case-meta { color: var(--muted); font-size: 14px; font-weight: 600; }
.case-note { margin-top: 12px; font-size: 13px; color: var(--faint); }
.case-art { position: relative; display: block; height: 620px; perspective: 1200px; text-decoration: none; }
.case-art > span { position: absolute; display: block; }
.case-ring { left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 0 0 60px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 0 120px color-mix(in srgb, var(--accent) 3%, transparent); }
.case-shot-1 { left: 12%; top: 20px; z-index: 2; }
.case-shot-2 { left: 52%; top: 90px; z-index: 1; }
.case-art .device { transition: transform .6s var(--ease-out); }
.device-main { width: 270px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); }
.device-side { width: 230px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(6deg); opacity: .92; }
.device-framed.device-main { width: 290px; }
.device-framed.device-side { width: 250px; }
.case-rev .case-shot-1 { left: 36%; }
.case-rev .case-shot-2 { left: 4%; }

/* approach cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 40px 34px 44px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), border-color .5s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.07), transparent 60%); }
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.16); }
.card:hover::before { opacity: 1; }
.card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--ivory); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { font-size: 26px; margin-top: 34px; }
.card p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* process */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 28px; padding-top: 50px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--ivory); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -56px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.step-num { font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--faint); }
.step h3 { font-size: 30px; margin-top: 16px; }
.step p { color: var(--muted); margin-top: 12px; }

/* final */
.final { position: relative; padding: 170px 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.final .orb-1 { left: 10%; top: 20%; width: 34vw; height: 34vw; }
.final .orb-2 { right: 8%; top: 10%; width: 32vw; height: 32vw; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .lead { margin-inline: auto; }
.final-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 56px; }
.final-app { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 30px 22px; min-width: 190px; border-radius: 26px;
  text-decoration: none; background: var(--surface); border: 1px solid var(--line); font-weight: 700;
  transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.final-app .app-icon { width: 76px; height: 76px; border-radius: 19px; }
.final-app:hover { transform: translateY(-8px); background: var(--surface-2); border-color: rgba(255,255,255,.18); }

/* footer */
.footer { padding: 46px 0; border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.fine { width: 100%; font-size: 13px; color: var(--faint); }

/* 404 */
.nf { min-height: 100vh; position: relative; overflow: hidden; }
.nf-in { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.nf h1 { font-size: clamp(44px, 7vw, 92px); }
.nf .lead { margin-top: 14px; }
.nf-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ================= app websites (body.app-page carries --accent / --accent-2) ================= */
.app-page h1 em, .app-page h2 em { color: var(--accent); }
.app-page .kicker { color: color-mix(in srgb, var(--accent) 70%, var(--ivory)); }
.app-page .card-ic { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }
.app-page .card::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.app-page .progress span, .app-page .steps-line span { background: var(--accent); }
.js .app-page .steps .step.is-in::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.app-page .step-num { color: var(--accent); }
.app-page .marquee .star { color: var(--accent); }
.app-page ::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); }
.orb-accent { width: 40vw; height: 40vw; right: -6vw; top: 0; --c: var(--accent); opacity: .3; animation: drift2 24s ease-in-out infinite alternate; }

/* breadcrumb in the nav: molikdev logo / app */
.crumb-sep { color: var(--faint); font-size: 22px; font-weight: 300; margin: 0 -12px; }
.crumb { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.crumb-icon { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.crumb-icon.app-icon-ringtone, span.crumb-icon { display: grid; place-items: center; background: linear-gradient(135deg, #7C3BED, #5B1DB8); }
span.crumb-icon svg { width: 60%; height: 60%; }
.btn-soon { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.btn-soon::before { display: none; }
.btn-soon:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

/* app hero */
.app-hero { min-height: 92vh; }
.app-hero h1 { font-size: clamp(44px, 5.4vw, 88px); }
.app-badge { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.app-badge .app-icon { width: 64px; height: 64px; border-radius: 16px; }
.app-badge-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.app-badge-cat { font-size: 14px; color: var(--muted); margin-top: 2px; }
.app-hero-art { height: 640px; }
.app-hero-art > span { position: absolute; display: block; }
.app-hero-art .case-shot-1 { left: 8%; top: 30px; z-index: 2; }
.app-hero-art .case-shot-2 { left: 48%; top: 110px; z-index: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); }
.chips .ic { color: var(--accent, var(--ivory)); }
.chips .chip-meta { background: none; border-color: transparent; color: var(--muted); padding-left: 4px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent, var(--ivory)); font-weight: 700; text-decoration: none; }
.text-link .ic { transition: transform .3s var(--ease-out); }
.text-link:hover .ic { transform: translateX(4px); }
.more-link { margin-top: 40px; }
.final-icon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 34px; }
.final-icon.app-icon-ringtone svg { width: 56%; height: 56%; }

/* showcase rows */
.showcase { padding-top: 40px; }
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 70px 0; }
.show + .show { border-top: 1px solid var(--line); }
.show-rev .show-copy { order: 2; }
.show-copy h2 { font-size: clamp(36px, 4.6vw, 64px); }
.show-copy .lead { margin-top: 24px; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks .ic { color: var(--accent); margin-top: 3px; }
.show-art { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1200px; }
.show-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 68%); }
.show-art .case-ring { position: absolute; }
.show-device { position: relative; display: block; }
.show-device .device { transition: transform .6s var(--ease-out); }

/* devices row (iPad / iPhone / Watch) */
.device-row { display: flex; align-items: flex-end; justify-content: center; gap: 48px; }
.device-fig { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0; }
.device-fig figcaption { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.device-fig-ipad .device { width: 460px; }
.device-fig-phone .device { width: 230px; }
.device-fig-watch .device { width: 170px; }
.device-ipad { width: 460px; border-radius: 34px; padding: 14px; background: linear-gradient(145deg, #2a2730, #0a090c 40%, #1c1a20);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 90px -30px rgba(0,0,0,.9); }
.device-ipad .device-screen { border-radius: 22px; }
.device-watch { width: 170px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #34313a, #0c0b0e 45%, #222026);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 40px 70px -24px rgba(0,0,0,.9); }
.device-watch .device-screen { border-radius: 34px; }
.watch-crown { position: absolute; right: -6px; top: 30%; width: 8px; height: 34px; border-radius: 4px; background: linear-gradient(90deg, #3a373f, #19171c); }

/* FAQ */
.faq-wrap { max-width: 980px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; transition: background .3s, border-color .3s; }
.faq details[open] { background: var(--surface-2); border-color: rgba(255,255,255,.14); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; font-weight: 400; color: var(--accent, var(--ivory)); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.answer { margin-top: 14px; color: var(--muted); }
.answer p + p, .answer p + ul, .answer ul + p { margin-top: 10px; }
.answer ul { padding-left: 20px; display: grid; gap: 4px; }
.answer strong { color: var(--text); }

/* footer (app pages) */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col p { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; width: fit-content; }
.footer-col a:hover { color: var(--text); }
.footer-fine { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line); }

/* document pages: privacy, support, donate */
.doc-hero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.doc-hero .wrap { position: relative; }
.doc-hero h1 { font-size: clamp(44px, 6.4vw, 92px); }
.doc-meta { margin-top: 18px; font-size: 14px; color: var(--faint); }
.narrow { max-width: 960px; }
.doc-body { padding-bottom: 120px; display: grid; gap: 70px; }
.doc-cards { grid-template-columns: repeat(3, 1fr); }
.doc-cards .card { padding: 30px 26px 32px; }
.doc-cards .card h3 { font-size: 20px; margin-top: 22px; }
.doc-cards .card p { font-size: 15px; }
.prose { display: grid; gap: 14px; }
.prose-block { padding: 30px 0; border-top: 1px solid var(--line); }
.prose-block h2 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 14px; }
.prose-block p, .prose-block li { color: var(--muted); font-size: 16.5px; }
.prose-block p + p, .prose-block p + ul, .prose-block p + ol, .prose-block ul + p, .prose-block ol + p, .prose-block table + p { margin-top: 12px; }
.prose-block ul, .prose-block ol { padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.prose-block a, .answer a { color: var(--accent, var(--ivory)); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th { text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 0 12px 10px 0; }
.prose td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.prose td:first-child { color: var(--text); font-weight: 600; }
.prose td:last-child { white-space: nowrap; color: var(--accent); font-weight: 600; }
.note-ok { padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.parties { list-style: none; padding: 0 !important; display: grid; gap: 12px !important; margin-top: 16px !important; }
.parties li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.parties strong { color: var(--text); }
.parties a { font-size: 14px; font-weight: 700; text-decoration: none; }
.doc-h { display: flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: -0.03em; margin-bottom: 24px; }
.doc-h .ic { color: var(--accent); }
.doc-h-big { display: block; font-size: clamp(36px, 4.4vw, 56px); }
.guide { list-style: none; display: grid; gap: 12px; }
.guide li { display: flex; gap: 22px; padding: 24px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.guide .step-num { flex: none; padding-top: 4px; }
.guide h3 { font-size: 19px; }
.guide p { color: var(--muted); margin-top: 6px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 40px; border-radius: 30px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 14%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.contact-copy { max-width: 520px; }
.contact h2 { font-size: 30px; letter-spacing: -0.03em; margin-top: 20px; }
.contact p { color: var(--muted); margin-top: 8px; }
.contact-note { font-size: 14px; color: var(--faint) !important; }
.dev { display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.dev-mark { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.dev-mark svg { width: 36px; height: 36px; }
.dev .kicker { margin-bottom: 8px; }
.dev h3 { font-size: 22px; }
.dev p { color: var(--muted); margin-top: 8px; }
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; padding: 44px; border-radius: 34px;
  background: var(--surface); border: 1px solid var(--line); }
.qr-img { padding: 18px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.qr-img img { width: 240px; height: 240px; image-rendering: pixelated; }
.qr-copy h2 { font-size: 30px; letter-spacing: -0.03em; }
.qr-copy > p { color: var(--muted); margin-top: 10px; }
.qr-steps { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.qr-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.qr-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.qr-secure { display: flex; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--faint) !important; }
.qr-secure .ic { flex: none; margin-top: 2px; color: var(--accent); }
.quote { padding: 44px 48px; border-radius: 30px; border: 1px solid var(--line); background: var(--bg-2); }
.quote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; }
.quote footer { margin-top: 18px; color: var(--muted); font-weight: 600; }

/* ---------------- motion (only with JS; without it everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms); }
@media (max-width: 760px) { .js .reveal { transform: translateY(18px); transition-duration: .6s; transition-delay: calc(var(--d, 0) * 40ms); } }
.js .reveal.is-in { opacity: 1; transform: none; }
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .word-in { display: inline-block; }
.js .split .word-in { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 100ms); }
.js .split.is-in .word-in { transform: none; }
.js .hero-art { opacity: 0; transform: translateY(60px) scale(.96); transition: opacity 1.4s var(--ease-out) .3s, transform 1.6s var(--ease-out) .3s; }
.js.is-ready .hero-art { opacity: 1; transform: none; }
.js .steps .step::before { transition: background .5s, box-shadow .5s; }
.js .steps .step.is-in::before { background: var(--ivory); box-shadow: 0 0 0 5px rgba(255,255,255,.1); }

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

/* ---------------- responsive */
@media (max-width: 1100px) {
  .crumb-sep, .crumb span { display: none; }
  .crumb { margin-left: -8px; }
  .app-hero-art { height: 560px; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .show { grid-template-columns: 1fr; gap: 30px; padding: 60px 0; }
  .show-rev .show-copy { order: 0; }
  .show-art { min-height: 560px; }
  .cards-3, .doc-cards { grid-template-columns: repeat(2, 1fr); }
  .device-fig-ipad .device { width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .crumb-sep { display: none; }
  .app-hero-art { height: 460px; }
  .app-hero-art .case-shot-1 { left: 4%; } .app-hero-art .case-shot-2 { left: 46%; top: 80px; }
  .cards-3, .doc-cards { grid-template-columns: 1fr; }
  .show-art { min-height: 470px; }
  .show-glow { width: 300px; height: 300px; }
  .device-row { flex-direction: column; align-items: center; gap: 40px; }
  .device-fig-ipad .device { width: min(340px, 86vw); }
  .doc-hero { padding: 120px 0 40px; }
  .doc-body { gap: 50px; padding-bottom: 80px; }
  .qr-card { grid-template-columns: 1fr; padding: 28px 22px; justify-items: center; text-align: left; }
  .qr-img img { width: 200px; height: 200px; }
  .contact, .quote { padding: 28px 22px; }
  .guide li { padding: 20px; gap: 14px; }
  .prose td:last-child { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 560px; max-width: 640px; width: 100%; margin: 20px auto 0; }
  .case { grid-template-columns: 1fr; padding: 56px 48px; gap: 30px; }
  .case-rev .case-copy { order: 0; }
  .case-art { height: 580px; max-width: 560px; width: 100%; margin: 0 auto; }
  .case-rev .case-shot-1 { left: 12%; } .case-rev .case-shot-2 { left: 52%; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 70px; }
  .steps-line { display: none; }
  .step::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .nav-links, .nav-cta { display: none; }
  .langs { margin-left: auto; }
  .nav-in { height: 64px; }
  .hero { padding: 110px 0 100px; }
  .hero-art { height: 440px; }
  .hero-phone .device { width: 160px; border-radius: 30px; padding: 6px; }
  .hero-phone-2 .device { width: 176px; }
  .hero-phone-1 { left: 2%; top: 70px; } .hero-phone-2 { left: 28%; } .hero-phone-3 { left: 56%; top: 90px; }
  .float-icon { display: none; }
  .device-screen { border-radius: 26px; }
  .device-island { top: 12px; height: 15px; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 56px; }
  .case { padding: 40px 22px; border-radius: 30px; }
  .case-features { grid-template-columns: 1fr; }
  .case-art { height: 460px; }
  .device-main { width: 200px; } .device-side { width: 170px; }
  .device-framed.device-main { width: 214px; } .device-framed.device-side { width: 184px; }
  .case-shot-1, .case-rev .case-shot-1 { left: 4%; } .case-shot-2, .case-rev .case-shot-2 { left: 46%; top: 70px; }
  .case-ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .stats-band { padding: 60px 0 10px; }
  .stat { padding: 26px 20px; }
  .final { padding: 120px 0; }
  .final-app { min-width: 0; flex: 1 1 140px; padding: 22px 16px 18px; }
}

/* ---------------- phones: final overrides (keep last so they win) */
.logo-word { white-space: nowrap; }
@media (max-width: 760px) {
  h1 { font-size: clamp(40px, 11.5vw, 64px); }
  .app-hero h1 { font-size: clamp(38px, 10.5vw, 58px); }
  h2 { font-size: clamp(34px, 9.6vw, 52px); }
  .lead { font-size: 17px; margin-top: 22px; }
  .kicker { font-size: 11.5px; letter-spacing: .2em; margin-bottom: 18px; }
  .scroll-hint { display: none; }
  .hero { min-height: 0; padding: 104px 0 56px; }
  .hero-cta { margin-top: 30px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .app-hero { min-height: 0; }
  .app-badge { margin-bottom: 24px; }
  .app-badge .app-icon { width: 54px; height: 54px; border-radius: 14px; }
  .chips { margin-top: 24px; }

  /* every device is sized from the screen width and the second one is pinned to the right edge,
     so nothing is cut off on narrow phones */
  .hero-art { height: 112vw; max-height: 470px; margin-top: 34px; }
  .hero-phone .device { width: 40vw; border-radius: 7.5vw; padding: 1.5vw; }
  .hero-phone-2 .device { width: 44vw; }
  .hero-phone-1 { left: 0; top: 13vw; } .hero-phone-2 { left: 27vw; top: 0; } .hero-phone-3 { left: auto; right: 0; top: 18vw; }
  .case-art, .app-hero-art { height: 122vw; max-height: 500px; margin-top: 10px; }
  .device-main { width: 52vw; max-width: 230px; } .device-side { width: 44vw; max-width: 195px; }
  .device-framed.device-main { width: 55vw; max-width: 245px; } .device-framed.device-side { width: 47vw; max-width: 205px; }
  .case-shot-1, .case-rev .case-shot-1, .app-hero-art .case-shot-1 { left: 0; top: 0; }
  .case-shot-2, .case-rev .case-shot-2, .app-hero-art .case-shot-2 { left: auto; right: 0; top: 16vw; }
  .case-ring { width: 78vw; height: 78vw; margin: -39vw 0 0 -39vw; }
  .device:not(.device-framed):not(.device-ipad):not(.device-watch) { border-radius: 9vw; padding: 1.8vw; }
  .device:not(.device-ipad):not(.device-watch) .device-screen { border-radius: 7.4vw; }
  .device-island { top: 3.4vw; height: 4vw; }
  .show-art { min-height: 0; padding: 20px 0; }
  .show-art .device-main { width: 60vw; max-width: 260px; }
  .show-art .device-framed.device-main { width: 64vw; max-width: 275px; }
  .show { padding: 48px 0; gap: 18px; }
  .show-copy h2 { font-size: clamp(32px, 9vw, 46px); }
  .device-ipad { padding: 2.4vw; border-radius: 6vw; }
  .device-ipad .device-screen { border-radius: 4vw; }
  .device-fig-phone .device { width: 56vw; max-width: 230px; }
  .device-fig-watch .device { width: 40vw; max-width: 170px; border-radius: 11vw; padding: 2.8vw; }
  .device-fig-watch .device-screen { border-radius: 8vw; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .case { padding: 30px 18px 26px; border-radius: 26px; }
  .case h3 { font-size: 24px; }
  .case-tagline { margin-top: 24px; font-size: clamp(26px, 7.4vw, 34px); }
  .case-desc { font-size: 16px; }
  .case-facts { gap: 10px; }
  .case-facts .stat-num { font-size: clamp(24px, 7vw, 32px); }
  .card { padding: 26px 22px 28px; border-radius: 22px; }
  .card h3 { font-size: 21px; margin-top: 20px; }
  .card-ic { width: 46px; height: 46px; border-radius: 13px; }
  .stats { border-radius: 22px; }
  .stat-num { font-size: clamp(38px, 11vw, 52px); }
  .faq details { padding: 18px 18px; border-radius: 16px; }
  .faq summary { font-size: 16px; min-height: 28px; align-items: center; }
  .step h3 { font-size: 24px; }
  .final { padding: 90px 0; }
  .final-apps { gap: 12px; }
  .doc-hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .prose-block h2 { font-size: 22px; }
  .doc-h { font-size: 23px; }
  .contact h2, .qr-copy h2 { font-size: 25px; }
  .crumb { padding: 6px; margin: -6px 0 -6px -10px; }
  .footer { padding: 36px 0; }
}
@media (max-width: 420px) {
  .logo-word small { display: none; }
  .logo-word { font-size: 15px; }
  .logo-mark { width: 36px; height: 36px; }
  .nav-in { gap: 14px; }
  .flag { width: 32px; height: 32px; }
  .stat { padding: 22px 16px; }
  .chips li { font-size: 13px; padding: 7px 12px; }
}

/* ---------------- tablets: keep the nav and the device row inside the screen */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .device-row { gap: 28px; }
  .device-fig-ipad .device { width: min(300px, 40vw); }
  .device-fig-phone .device { width: min(190px, 25vw); }
  .device-fig-watch .device { width: min(140px, 18vw); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 760px) {
  /* phones are rotated, so keep a little air at the edges for their corners */
  .hero-phone-1 { left: 3vw; } .hero-phone-3 { right: 3vw; }
  .case-shot-2, .case-rev .case-shot-2, .app-hero-art .case-shot-2 { right: 3vw; }
  .case-shot-1, .case-rev .case-shot-1, .app-hero-art .case-shot-1 { left: 2vw; }
  .device-fig-ipad .device { width: min(340px, 86vw); }
  .device-fig-phone .device { width: 56vw; max-width: 230px; }
  .device-fig-watch .device { width: 40vw; max-width: 170px; }
}

/* ---------------- touch devices: drop the effects that make phones stutter while scrolling */
@media (hover: none), (max-width: 760px) {
  .orb, .grid, .float-icon { animation: none !important; }
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,6,10,.96); }
  .device-framed { filter: none; }
  .device:not(.device-framed) { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 40px -20px rgba(0,0,0,.9); }
  .marquee ul { animation-duration: 60s; }
}
/* Phones, tablets, touch: content is never hidden behind a reveal animation, so a stalled or late transition
   can't leave an empty screen. Reveals stay on desktop. */
@media (hover: none), (max-width: 1100px) {
  .js .reveal, .js .split .word-in, .js .hero-art { opacity: 1; transform: none; transition: none; }
}
@media (hover: none), (max-width: 760px) {
  .nav { background: rgba(7,6,10,.96); border-color: var(--line); }
}

/* macOS window screenshots (TV Remote) — the image already contains the window, so no device frame */
.device-window img { border-radius: 0; }
.device-window-wide.device-main { width: 470px; }
@media (max-width: 1100px) { .device-window-wide.device-main { width: min(470px, 80vw); } }
@media (max-width: 760px) {
  .show-art .device-window-wide.device-main, .device-window-wide.device-main { width: 88vw; max-width: 440px; }
}
