:root {
  --bg: #16141f;
  --bg-deep: #0a0a0f;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3eef3;
  --muted: rgba(243, 238, 243, 0.62);
  --pink: #faa8c7;
  --pink-strong: #f472a4;
  --red: #db2933;
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(800px 500px at 15% 0%, rgba(244, 114, 164, 0.16), transparent 70%),
    radial-gradient(700px 500px at 100% 40%, rgba(219, 41, 51, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
code, kbd {
  font: 0.88em ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.4em;
}
kbd { border-bottom-width: 2px; white-space: nowrap; }
.muted { color: var(--muted); font-size: 0.9em; overflow-wrap: anywhere; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--pink); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }

.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.brand b { color: var(--pink); }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--muted); font-size: 0.95rem; }
.nav nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  color: #22101a; font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(244, 114, 164, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(244, 114, 164, 0.75); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.btn-sm { padding: 7px 16px; font-size: 0.92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.12rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }

.hero { max-width: 860px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; }
.hero-icon { width: 140px; filter: drop-shadow(0 20px 40px rgba(244, 114, 164, 0.35)); }
.eyebrow { margin: 18px 0 6px; color: var(--pink); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.accent { background: linear-gradient(135deg, var(--pink), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 1.18rem; }

.download { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-margin-top: 90px; }
.dl-meta { margin: 0; color: var(--muted); font-size: 0.92rem; }
.dl-note {
  margin: 4px 0 0; max-width: 520px; padding: 10px 16px; border-radius: 12px;
  background: rgba(250, 168, 199, 0.1); border: 1px solid rgba(250, 168, 199, 0.3); font-size: 0.95rem;
}
.platforms { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.platform {
  display: flex; flex-direction: column; align-items: center; min-width: 120px;
  padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font-weight: 600; font-size: 0.95rem; line-height: 1.3;
}
.platform small { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.platform:hover { text-decoration: none; border-color: var(--pink); }
.platform.soon { opacity: 0.55; cursor: not-allowed; }
.platform.soon:hover { border-color: var(--line); }
.platform.current { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; opacity: 1; }

.section { max-width: var(--max); margin: 0 auto; padding: 56px 24px; scroll-margin-top: 70px; }
.section h2 { margin: 0 0 28px; font-size: clamp(1.7rem, 3.4vw, 2.3rem); text-align: center; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p, .card li { color: var(--muted); }
.card p { margin: 0; }
.card ul { margin: 0; padding-left: 1.2em; }
.prose { max-width: 820px; margin: 0 auto; }
.prose p + p, .prose ol + p { margin-top: 14px; }
.prose ol { color: var(--muted); padding-left: 1.3em; margin: 14px 0 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }

.center { text-align: center; }
.sub { max-width: 720px; margin: -12px auto 28px; text-align: center; color: var(--muted); font-size: 1.08rem; }

.stage { max-width: 1080px; margin: 0 auto; }
.stage-tabs { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 18px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.stage-tabs button { font: inherit; font-size: 0.92rem; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.stage-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--pink), var(--pink-strong)); color: #1a0b12; font-weight: 600; }
.stage-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(244, 114, 164, 0.45); transition: box-shadow 0.6s; }
.stage-frame img { display: block; width: 100%; }
.stage-frame .stage-overlay { position: absolute; left: 10%; top: 30.37%; width: 80%; border-radius: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15), filter 0.7s ease; }
.stage[data-state="off"] .stage-overlay { opacity: 0; transform: translateY(6%) scale(0.96); filter: blur(8px); }
.stage[data-state="them"] .stage-overlay { opacity: 0; transform: none; filter: blur(2px); }
.stage[data-state="them"] .stage-frame { box-shadow: 0 0 0 3px #e5484d, 0 40px 100px -40px rgba(229, 72, 77, 0.6); }
.stage-key, .stage-share { position: absolute; opacity: 0; transition: opacity 0.4s, transform 0.4s; pointer-events: none; }
.stage-key { left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.9); }
.stage-key kbd { display: inline-block; font-size: clamp(1rem, 3vw, 2rem); padding: 0.35em 0.7em; border-radius: 12px; background: rgba(20, 18, 28, 0.85); border: 1px solid rgba(255, 255, 255, 0.25); border-bottom-width: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.stage[data-state="off"] .stage-key { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage[data-state="off"] .stage-key kbd { animation: keypress 1.2s ease-in-out infinite; }
@keyframes keypress { 0%, 55%, 100% { transform: translateY(0); border-bottom-width: 4px; } 70% { transform: translateY(3px); border-bottom-width: 1px; } }
.stage-share { left: 2%; bottom: 13%; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #e5484d; color: #fff; font-weight: 600; font-size: clamp(0.7rem, 1.4vw, 0.9rem); transform: translateY(8px); }
.stage-share i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.stage[data-state="them"] .stage-share { opacity: 1; transform: none; }
.stage-caption { margin: 16px 0 0; min-height: 1.6em; text-align: center; color: var(--text); }

.showcase { display: grid; gap: 72px; }
.showcase h2 { margin-bottom: 0; }
.show { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; }
.show:nth-of-type(even) img { order: 2; }
.show img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 80px -36px rgba(244, 114, 164, 0.4); }
.show img.window { border: 0; border-radius: 0; }
.show h3 { margin: 0 0 10px; font-size: 1.4rem; }
.show p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px;
  border-radius: 50%; background: rgba(250, 168, 199, 0.15); color: var(--pink); font-weight: 800;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--pink); font-size: 1.3rem; line-height: 1; top: 14px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.cta { text-align: center; padding-bottom: 80px; }

.footer { max-width: var(--max); margin: 0 auto; padding: 28px 24px 48px; border-top: 1px solid var(--line); text-align: center; font-size: 0.9rem; }
.footer p { margin: 4px 0; }

body.plain { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.plain-card { max-width: 520px; text-align: center; }

@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; gap: 20px; }
  .show:nth-of-type(even) img { order: 0; }
}
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .hero-icon { width: 110px; }
  .stage-tabs button { padding: 7px 12px; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .stage-overlay, .stage-key, .stage-share, .stage-frame, .stage-tabs button { transition: none; }
  .stage-key kbd, .stage-share i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
