/* remika.app — the Play banner's colours. System fonts, nothing fetched.
   Built into remika-site/home.css by scripts/site-nine-languages.mjs; the
   legal pages keep their own style.css. */
:root {
  color-scheme: light dark;
  --b1: #a43cf2; --b2: #6a3de8; --b3: #3a3fdc; --b4: #2233c9;
  --accent: #524ae7; --accent-soft: #eeecff;
  --bg: #f7f6fc; --card: #fff; --ink: #16151d; --muted: #5b566d; --line: #e5e2f0;
  --band: #15122e; --band-ink: #f4f2ff;
  --radius: 1.5rem;
  --gradient: radial-gradient(120% 140% at 100% 0%, var(--b1) 0%, var(--b2) 38%, var(--b3) 70%, var(--b4) 100%);
}
/* Dark: the system's choice, unless the visitor picked with the header
   button (effects.js stores it; the page head applies it before paint). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #100e1c; --card: #1c1930; --ink: #f3f1fb; --muted: #bdb7d2; --line: #312c4a; --accent: #a9a2ff; --accent-soft: #29244a; --band: #0a0816; --dark: 1; }
  :root:not([data-theme="light"]) .play-small { border: 1px solid rgba(255, 255, 255, .22); }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #100e1c; --card: #1c1930; --ink: #f3f1fb; --muted: #bdb7d2; --line: #312c4a; --accent: #a9a2ff; --accent-soft: #29244a; --band: #0a0816; --dark: 1; }
:root[data-theme="dark"] .play-small { border: 1px solid rgba(255, 255, 255, .22); }
:root[data-theme="light"] { color-scheme: light; }
/* Moon in light, sun in dark. */
.theme { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.theme:hover { color: var(--accent); }
.theme .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-sun { display: block; } :root:not([data-theme="light"]) .theme .i-moon { display: none; } }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
body { transition: background-color .3s ease, color .3s ease; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible, .strip:focus-visible { outline: 3px solid var(--b1); outline-offset: 3px; border-radius: .5rem; }
h1, h2, .finale-title { font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: 1.25rem; }
.wrap { width: min(100%, 72rem); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 22%; }
.top-actions { display: flex; align-items: center; gap: .75rem; }
.languages { position: relative; }
.languages summary { list-style: none; display: flex; align-items: center; gap: .4rem; cursor: pointer; padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .95rem; }
.languages summary::-webkit-details-marker { display: none; }
.languages .lang-code { display: none; }
.brand { min-width: 0; }
.top-actions { flex: none; }
.languages nav { position: absolute; right: 0; top: calc(100% + .5rem); display: grid; min-width: 11rem; padding: .4rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 18px 40px rgba(20, 16, 90, .18); }
.languages nav a { padding: .5rem .75rem; border-radius: .6rem; color: var(--ink); text-decoration: none; }
.languages nav a:hover { background: var(--accent-soft); }
.languages nav a[aria-current] { background: var(--accent); color: #fff; }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.35rem .7rem 1.1rem; border-radius: 1rem; background: #0f0e16; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.25rem; line-height: 1.1; box-shadow: 0 14px 30px rgba(10, 8, 40, .3); transition: transform .15s ease, box-shadow .15s ease; }
.play small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.play:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(10, 8, 40, .38); }
.play-small { padding: .45rem .9rem .45rem .7rem; font-size: 1rem; border-radius: .8rem; box-shadow: none; }
.play-small svg { width: 20px; height: 20px; }
.play-small span { white-space: nowrap; }
/* Two store buttons fit the header from 760 px up; narrower, App Store stays
   in the hero's pair and the header keeps Play alone (as before 28 September). */
@media (max-width: 760px) { .top .store-ios { display: none; } }
.ghost { display: inline-flex; align-items: center; gap: .4rem; padding: .85rem 1.3rem; border-radius: 1rem; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 700; text-decoration: none; }
.ghost:hover { background: rgba(255, 255, 255, .12); }
.ghost.dark { border-color: var(--line); color: var(--accent); background: var(--card); }
/* One size for every button on the site (the author, 28 September): same
   height, same minimum width, side by side in one row wherever they pair.
   Only the small header button keeps its own size. */
.play:not(.play-small), .ghost, .soon-close { box-sizing: border-box; height: 3.6rem; min-width: 13rem; padding: 0 1.3rem; justify-content: center; border-radius: 1rem; font-size: 1.1rem; }
.play:not(.play-small) span { font-size: 1.2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--gradient); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); text-wrap: balance; }
.hero .sub { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 650; color: rgba(255, 255, 255, .85); margin: 1.1rem 0 0; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .92); max-width: 34rem; margin: 1.5rem 0 0; }
/* Two store buttons side by side, the Plus link on its own row below. */
.cta { display: grid; grid-template-columns: repeat(2, max-content); align-items: center; gap: .9rem; margin-top: 2.2rem; }
.cta > .ghost { grid-column: 1 / -1; justify-self: start; }
.cta.center > .ghost { justify-self: center; }
.cta .play { background: #fff; color: #16151d; }
.cta.center { justify-content: center; }
/* Headline steps joined by a thin arrow (the author, 28 September: the dashes read rough). */
.steps .step { white-space: nowrap; }
.step-arrow { display: inline-block; width: .62em; height: .34em; margin-left: .12em; vertical-align: .2em; opacity: .7; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.spark { position: absolute; width: 2.6rem; height: 2.6rem; color: #fff; opacity: .35; }
.hero-art .spark:nth-of-type(1) { left: 4%; top: 2%; animation: twinkle 4s ease-in-out infinite; }
.hero-art .spark:nth-of-type(2) { right: 0; top: 34%; width: 1.4rem; height: 1.4rem; animation: twinkle 3.2s ease-in-out .8s infinite; }
.hero-art .spark:nth-of-type(3) { left: 16%; bottom: 0; width: 1.1rem; height: 1.1rem; animation: twinkle 5s ease-in-out 1.6s infinite; }
.hero .wrap { position: relative; z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.orb-a { width: 34rem; height: 34rem; background: #c65bff; top: -12rem; left: -10rem; animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 28rem; height: 28rem; background: #2d6bff; bottom: -14rem; right: 8%; animation: drift 23s ease-in-out infinite alternate-reverse; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; } .hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-art { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) .2s both; }
.phrase .rest { color: transparent; }
.said .dot { width: .45rem; height: .45rem; border-radius: 50%; background: #e5484d; margin-left: .2rem; opacity: 0; }
.listening .dot { opacity: 1; animation: pulse 1s ease-in-out infinite; }
/* The bubble stands beside the phone, not on it (the author: it covered the
   screen) — its tail points right, at the phone. */
/* Every size here is fixed: the phrase is typed into a bubble that already
   has its final size (effects.js keeps the untyped rest invisible), so
   nothing grows and nothing pushes the phone (the author, 27 September). */
.float { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; animation: float 7s ease-in-out infinite; }
.talk { flex: none; display: flex; align-items: center; margin-bottom: 30%; }
.arrow { flex: none; width: 3.2rem; height: 1.2rem; margin: 0 .35rem; }
.bubble { position: relative; z-index: 2; flex: none; width: 13rem; padding: 1rem 1.2rem; background: #fff; color: #16151d; border-radius: 1.3rem 1.3rem .35rem 1.3rem; box-shadow: 0 22px 46px rgba(20, 16, 90, .35); font-weight: 500; font-size: 1.05rem; line-height: 1.35; text-wrap: balance; }
.said { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: #524ae7; margin-bottom: .35rem; }

/* Phone frame around a real screenshot */
.phone { width: min(100%, 17.5rem); padding: .6rem; border-radius: 2.4rem; background: #0f0e16; box-shadow: 0 30px 60px rgba(10, 8, 60, .35); }
.phone img { width: 100%; border-radius: 1.85rem; }
/* Turned toward the pointer by effects.js through --rx / --ry. */
.phone.tilt { flex: none; width: clamp(13.5rem, 20vw, 17.5rem); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-4deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }

/* Spoken examples */
.voice { padding: 2.75rem 0 1rem; }
.voice p { display: flex; gap: 1rem; align-items: flex-start; margin: 0 auto; max-width: 52rem; padding: 1.4rem 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.12rem; box-shadow: 0 10px 30px rgba(20, 16, 90, .06); }
.voice svg { flex: none; width: 2.5rem; height: 2.5rem; padding: .6rem; margin-top: .1rem; border-radius: 50%; background: var(--gradient); color: #fff; }

/* Sections of the listing, each beside its screen */
.feature { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature:nth-of-type(odd) .feature-copy { order: 2; }
.feature-art { display: flex; justify-content: center; position: relative; }
.feature-art::before { content: ""; position: absolute; inset: 12% 8%; background: var(--gradient); filter: blur(60px); opacity: .28; border-radius: 50%; }
.feature-art .phone { position: relative; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Privacy band */
.privacy { background: var(--band); color: var(--band-ink); padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.privacy .wrap { max-width: 50rem; }
.privacy-icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1.2rem; background: var(--gradient); margin-bottom: 1.4rem; }
.privacy .ticks { text-align: left; max-width: 40rem; margin: 0 auto; }
.privacy .ticks li::before { background-color: #6a3de8; }

/* Plus */
.plus-teaser { padding: clamp(3rem, 7vw, 5rem) 0; }
.plus-card { position: relative; max-width: 52rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--card); border-radius: var(--radius); border: 2px solid transparent; background-image: linear-gradient(var(--card), var(--card)), var(--gradient); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 20px 50px rgba(20, 16, 90, .1); }
.plus-card .ghost { margin-top: 1.6rem; }

/* All screens */
.gallery { padding: 1rem 0 clamp(3rem, 7vw, 5rem); }
.strip { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem .25rem 1.5rem; scrollbar-width: thin; }
.strip a { flex: 0 0 auto; width: min(62vw, 14rem); scroll-snap-align: center; }
.strip .phone { width: 100%; box-shadow: 0 16px 34px rgba(10, 8, 60, .22); transition: transform .2s ease; }
.strip a:hover .phone { transform: translateY(-4px); }

/* Closing call */
.finale { position: relative; overflow: hidden; background: var(--gradient); color: #fff; text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.finale .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.finale .spark { right: 12%; top: 18%; }
.finale-icon { border-radius: 22%; box-shadow: 0 18px 40px rgba(10, 8, 60, .4); }
.finale-title { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 40rem; text-wrap: balance; }
.finale .play { background: #fff; color: #16151d; }
.closing { max-width: 40rem; margin: 1rem 0 0; color: rgba(255, 255, 255, .85); }
.closing a { color: #fff; }

/* The root language-choice pages (/ and /plus/). */
.hero-plus { text-align: center; }
.hero-plus .wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-plus h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.pick { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pick a { color: #fff; padding: .4rem .8rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; text-decoration: none; }

/* Plus page: three points as cards, the limits as two plans. */
.plus-points { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.plus-points .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 56rem; }
.point { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 14px 36px rgba(20, 16, 90, .08); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.point:hover { transform: perspective(900px) rotateX(4deg) translateY(-6px); box-shadow: 0 26px 50px rgba(20, 16, 90, .16); }
.point p { margin: 0; }
.point-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.1rem; border-radius: 1rem; background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(106, 61, 232, .35); }
.plans { padding: clamp(3rem, 7vw, 5rem) 0; }
.plans h2 { text-align: center; margin-bottom: 2rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 56rem; margin: 0 auto; align-items: stretch; }
.plan { position: relative; border-radius: var(--radius); padding: 1.8rem; background: var(--card); border: 1px solid var(--line); }
.plan-name { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.2rem; font-weight: 800; font-size: 1.3rem; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.plan li strong { font-size: 1.15rem; white-space: nowrap; }
.plan-plus { background: var(--gradient); color: #fff; border: 0; overflow: hidden; box-shadow: 0 26px 60px rgba(106, 61, 232, .45); transform: translateY(-.6rem); }
.plan-plus li { border-top-color: rgba(255, 255, 255, .25); }
.plan-plus .spark { position: static; width: 1.2rem; height: 1.2rem; opacity: 1; animation: twinkle 3s ease-in-out infinite; }
.plan-plus::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); animation: shine 6s ease-in-out 1s infinite; pointer-events: none; }
.plan-note { margin: 1rem 0 0; font-weight: 700; opacity: .9; }
.inf { font-size: 2rem; line-height: .8; }
/* Prices: the app's own words; the tag sits on the card's top edge so the three line up. */
.prices { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.prices h2 { text-align: center; margin-bottom: 2.4rem; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
.price { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 2rem 1.4rem 1.7rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.price p { margin: 0; }
.price-best { border: 2px solid var(--accent); }
.price-name { font-weight: 800; font-size: 1.2rem; }
.price-sum { font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price-sum s { font-size: .5em; font-weight: 600; opacity: .75; margin-left: .25em; }
.price-note { font-weight: 600; }
.price-when { font-weight: 400; font-size: .95rem; max-width: 16rem; }
.price-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: .3rem .9rem; border-radius: 999px; background: var(--gradient); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.price-foot { max-width: 44rem; margin: 1.8rem auto 0; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finale .cta { margin-top: .2rem; }

/* Legal pages (Impressum, Datenschutz, Privacy): the site's header, theme and
   footer around the unchanged text; a thin brand band on top. */
.lang-link { display: flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.legal-band { height: 7rem; background: var(--gradient); }
.legal { max-width: 48rem; margin: -4.5rem auto 3rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(20, 16, 90, .1); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .6rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.legal h3 { font-size: 1.08rem; margin: 1.5rem 0 .5rem; }
.legal .stand { color: var(--muted); margin: 0 0 1.5rem; }
.legal .card { background: var(--accent-soft); border-radius: 1.1rem; padding: 1.1rem 1.3rem; margin: 1.2rem 0; }
.legal .card p { margin: 0; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.3rem; }
.legal li + li { margin-top: .4rem; }

/* Footer */
.foot { padding: 2.5rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--accent); }

/* Button shine: once on hover, and now and then on the main calls. */
.play { position: relative; overflow: hidden; isolation: isolate; }
.play::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(164, 60, 242, .28) 50%, transparent 70%); transform: translateX(-130%); }
.play:hover::after { transform: translateX(130%); transition: transform .8s ease; }
.cta .play::after, .finale .play::after { animation: shine 5s ease-in-out 2s infinite; }
.privacy-icon { animation: glow 3s ease-out infinite; }

/* Rise into view (effects.js adds .in); without JS nothing is hidden. */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal .ticks li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in .ticks li { opacity: 1; transform: none; }
.js .reveal.in .ticks li:nth-child(2) { transition-delay: .08s; } .js .reveal.in .ticks li:nth-child(3) { transition-delay: .16s; }
.js .reveal.in .ticks li:nth-child(4) { transition-delay: .24s; } .js .reveal.in .ticks li:nth-child(5) { transition-delay: .32s; }
.feature-art .phone, .strip .phone { will-change: transform; }
.strip { perspective: 900px; }

/* "Coming soon" instead of the Play page, until release. */
.soon { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 1.25rem; background: rgba(12, 10, 30, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.soon:target, .soon.open { display: grid; }
.soon-card { width: min(100%, 25rem); padding: 2.2rem 1.8rem 1.8rem; background: var(--card); color: var(--ink); border-radius: 1.8rem; text-align: center; box-shadow: 0 30px 80px rgba(10, 8, 60, .45); animation: pop .5s cubic-bezier(.2, 1.3, .4, 1) both; }
.soon-card img { margin: 0 auto 1.1rem; border-radius: 22%; box-shadow: 0 14px 30px rgba(10, 8, 60, .3); animation: float 5s ease-in-out infinite; }
.soon-badge { display: inline-block; margin: 0; padding: .35rem .9rem; border-radius: 999px; background: var(--gradient); color: #fff; font-weight: 700; font-size: .9rem; }
#soon-text { font-size: 1.2rem; font-weight: 650; line-height: 1.4; margin: 1.1rem 0 1.5rem; text-wrap: balance; }
.soon-close { display: inline-flex; align-items: center; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }

/* On a phone: an install bar once the hero is out of sight (effects.js). */
.install-bar { display: none; }

/* Back to the top: appears once the first screen is behind. */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 21; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--gradient); color: #fff; box-shadow: 0 12px 28px rgba(20, 16, 90, .35); opacity: 0; transform: translateY(12px) scale(.85); pointer-events: none; transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.to-top.show, html:not(.js) .to-top { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Screens, large: swipe or arrows between them, Esc or × to leave. */
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem; background: rgba(8, 6, 22, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .25s ease both; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; height: 100%; align-content: center; }
.lightbox img { max-height: calc(100dvh - 6rem); width: auto; max-width: 100%; border-radius: 1.6rem; border: .5rem solid #0f0e16; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .3s cubic-bezier(.2, 1.2, .4, 1) both; }
.lightbox figcaption { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.lb-btn { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes twinkle { 0%, 100% { opacity: .15; scale: .7; } 50% { opacity: .75; scale: 1.1; } }
@keyframes drift { from { translate: 0 0; } to { translate: 8rem 4rem; } }
@keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .7; } }
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(164, 60, 242, .55); } 100% { box-shadow: 0 0 0 22px rgba(164, 60, 242, 0); } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

@media (max-width: 820px) {
  .install-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 20; display: flex; align-items: center; gap: .65rem; padding: .5rem .5rem .5rem .6rem; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 16px 40px rgba(10, 8, 60, .25); transform: translateY(160%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
  .install-bar.show { transform: none; }
  .install-bar img { border-radius: 22%; }
  /* The icon names the app; the two stores share the rest of the bar equally,
     the same pair as in the hero. */
  .install-bar img { flex: none; }
  .install-bar .play { flex: 1 1 0; min-width: 0; justify-content: center; gap: .35rem; padding: .5rem .35rem; }
  .install-bar .play svg { width: 18px; height: 18px; flex: none; }
  .install-bar .play span { font-size: .95rem; }
  .install-bar .play small { font-size: .58rem; }
  .foot { padding-bottom: 6.5rem; }
  .to-top { bottom: 5.6rem; right: .9rem; width: 2.75rem; height: 2.75rem; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 3.5rem .75rem 1rem; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 1.2rem; }
  .lightbox .lb-prev { left: 1.2rem; } .lightbox .lb-next { right: 1.2rem; }
  .lightbox img { max-height: calc(100dvh - 9rem); }
  .orb-a { width: 22rem; height: 22rem; }
  .orb-b { width: 18rem; height: 18rem; }
  .hero-grid, .feature-grid, .plus-points .wrap, .plan-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .price-grid { gap: 2rem; }
  .plan-plus { transform: none; }
  .feature:nth-of-type(odd) .feature-copy { order: 0; }
  .hero-art { margin-top: 1rem; }
  /* Stacked: the bubble above the phone, its tail pointing down at it. */
  .float { flex-direction: column; align-items: center; }
  .talk { flex-direction: column; margin: 0; }
  .bubble { width: min(100%, 18rem); border-radius: 1.3rem 1.3rem 1.3rem .35rem; }
  .arrow { transform: rotate(90deg); margin: 1.2rem 0 1.7rem; }
  .phone.tilt { width: min(80%, 17rem); }
  .feature-art .phone { width: min(80%, 16rem); }
}
@media (max-width: 520px) {
  .top .play-small { display: none; }
  /* On a phone the full language name pushed over the site's name (the
     author's screenshot, larger system text): the globe and a code suffice. */
  .languages .lang-name { display: none; }
  .languages .lang-code { display: inline; }
  /* With large system text the two stores need the whole bar. */
  .install-bar { padding-left: .5rem; }
  .install-bar img { display: none; }
  .cta.center > .ghost { justify-self: stretch; }
  .hero-art { flex-direction: column; align-items: stretch; }
  /* Still one row on a phone: the pair shares the width equally. */
  .cta { display: grid; grid-template-columns: 1fr 1fr; }
  .cta > .ghost { justify-self: stretch; }
  .cta > a.play:not(.play-small), .cta > a.ghost { min-width: 0; padding: 0 .5rem; font-size: 1rem; white-space: nowrap; }
  .cta .play { gap: .4rem; }
  .cta .play svg { width: 18px; height: 18px; flex: none; }
  .cta .play span { font-size: .95rem; white-space: nowrap; }
  .cta .play small { font-size: .62rem; }
  .hero-art .spark:nth-of-type(1) { display: none; }
  .voice p { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal .ticks li { opacity: 1; transform: none; }
}
