:root { color-scheme: light dark; --bg:#FBEAEF; --card:#fff; --text:#24101A; --muted:#5E4652; --accent:#E11D48; --line:rgba(60,14,32,.12); }
@media (prefers-color-scheme: dark) { :root { --bg:#1C0A14; --card:#2a1220; --text:#F7ECEF; --muted:#C7AFB8; --accent:#FF4D6D; --line:rgba(255,226,234,.14); } }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color:var(--text);
  background: radial-gradient(60% 40% at 85% 0%, rgba(255,61,99,.28), transparent 70%),
              radial-gradient(60% 45% at 0% 75%, rgba(255,140,100,.16), transparent 70%), var(--bg); background-attachment: fixed; }
main { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
header { display:flex; align-items:center; gap:12px; margin-bottom: 28px; }
header img { width:48px; height:48px; border-radius:12px; }
header a { color:inherit; text-decoration:none; font-weight:800; font-size:28px; letter-spacing:-.5px; }
h1 { font-size: 30px; line-height:1.2; margin: 0 0 6px; letter-spacing:-.5px; }
h2 { font-size: 19px; margin: 28px 0 6px; }
.muted { color: var(--muted); }
section.card { background: var(--card); border:1px solid var(--line); border-radius: 20px; padding: 6px 22px 18px; margin: 18px 0; }
a { color: var(--accent); }
nav { display:flex; justify-content:center; gap:20px; flex-wrap:wrap; margin-top: 36px; padding-top: 18px; border-top:1px solid var(--line); font-size:15px; }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
.lang { font-size: 14px; }
.hero { display:flex; align-items:center; gap:28px; margin-bottom: 8px; }
.hero h1 { font-size: 38px; }
.hero .shot { width: 42%; max-width: 300px; height:auto; border-radius: 34px; box-shadow: 0 24px 60px rgba(60,14,32,.35); }
a.store { display:inline-block; margin-top: 14px; padding: 15px 24px; border-radius: 999px; background: linear-gradient(135deg,#FF4D6D,#D61F45); color:#fff; font-weight: 800; text-decoration:none; box-shadow: 0 12px 28px rgba(225,29,72,.35); }
@media (max-width: 600px) { .hero { flex-direction: column; text-align: center; } .hero .shot { width: 70%; } }
.hero > * { min-width: 0; } .hero h1 { overflow-wrap: anywhere; }
/* A light sweep across the App Store button every few seconds, to catch the eye. */
a.store { position: relative; overflow: hidden; }
a.store::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg);
  pointer-events: none; animation: store-sheen 3.5s ease-in-out infinite; }
@keyframes store-sheen { 0% { left: -60%; } 40%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { a.store::after { display: none; } }
/* The logo floats and tilts gently, with a soft glow — alive without being busy. */
header img.logo { animation: logo-float 4s ease-in-out infinite; box-shadow: 0 8px 22px rgba(225,29,72,.35); }
@keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { header img.logo { animation: none; } }
/* Footer links stay quiet. */
nav a { color: var(--muted); font-weight: 500; }
nav a, nav a:visited { color: color-mix(in srgb, var(--muted) 55%, transparent); }
/* Two screenshots over each other, slightly turned; they fan out once when the page opens. */
.snimky { position: relative; flex: 0 0 46%; height: 520px; }
.snimky img { position: absolute; top: 50%; width: 60%; max-width: 240px; height: auto; border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 34px 60px rgba(0,0,0,.5); }
.snimky img:first-child { left: 2%; transform: translateY(-56%) rotate(-8deg); animation: fan-left 1.1s cubic-bezier(.2,.8,.2,1) both; }
.snimky img:last-child { right: 2%; transform: translateY(-44%) rotate(7deg); z-index: 2; animation: fan-right 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fan-left { from { transform: translateY(-50%) translateX(25%) rotate(0deg); } }
@keyframes fan-right { from { transform: translateY(-50%) translateX(-25%) rotate(0deg); } }
@media (max-width: 600px) { .snimky { flex-basis: auto; width: 100%; height: 440px; } .snimky img { width: 48%; border-radius: 22px; } .snimky img:first-child { left: 6%; } .snimky img:last-child { right: 6%; } }
@media (prefers-reduced-motion: reduce) { .snimky img { animation: none !important; } }
/* Language switch: the only link in the other language, quiet on the right side of the header. */
header a.lang { margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
header a.lang:hover, header a.lang:focus-visible { color: var(--accent); }
