:root {
  --bg-top: #2a1b5e;
  --bg-bottom: #6a2c91;
  --ink: #2a1e4a;
  --muted: #6e6488;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --surface: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.2);
  --tile: #fff7ea;
  --tile-edge: #d9c3a0;
  --accent: #ff8a3d;
  --accent-edge: #c9561a;
  --gold: #ffc93c;
  --gold-edge: #c9921a;
  --green: #34d399;
  --green-edge: #1f9a6c;
  --card: #ffffff;
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 55%, var(--bg-top) 100%) fixed;
  background-color: var(--bg-top);
  overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 46px); text-align: center; }
.lead { color: var(--text-muted); font-size: 20px; max-width: 640px; margin: 0 auto 36px; text-align: center; }
section { padding: 72px 0; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 19px 'Fredoka', sans-serif; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 16px; border: 0;
  color: #fff; background: var(--accent); border-bottom: 5px solid var(--accent-edge);
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); border-bottom-width: 2px; margin-top: 3px; }
.btn.green { background: var(--green); border-bottom-color: var(--green-edge); }
.btn.gold { background: var(--gold); border-bottom-color: var(--gold-edge); color: var(--ink); }
.btn.ghost { background: var(--surface); border: 1px solid var(--border); border-bottom: 4px solid rgba(0,0,0,0.25); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; padding: 40px 0 72px; }
.setup { color: var(--text-muted); font-size: 22px; font-weight: 500; margin: 0 0 6px; }
.title { font-size: clamp(48px, 8vw, 86px); line-height: 0.98; margin: 0 0 18px; text-shadow: 0 5px 0 rgba(0,0,0,0.3); }
.title .now { color: var(--gold); }
.title .ready { color: var(--accent); }
.hero p.pitch { font-size: 21px; color: var(--text-muted); max-width: 520px; margin: 0 0 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); font-weight: 500; }
.badge small { display: block; font-size: 12px; color: var(--text-muted); line-height: 1; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .ape { width: min(420px, 90%); filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }

/* Signup */
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input[type=email], .field input, .field textarea {
  flex: 1 1 240px; min-width: 0; font: 500 18px 'Fredoka', sans-serif; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 0; background: #fff;
}
.note { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
.ok { color: var(--gold); font-weight: 600; margin-top: 10px; min-height: 1.5em; }
.hidden { display: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .num { width: 46px; height: 46px; border-radius: 12px; background: var(--tile); color: var(--ink); border-bottom: 4px solid var(--tile-edge); display: grid; place-items: center; font-weight: 700; font-size: 24px; margin-bottom: 14px; }
.step p { color: var(--text-muted); margin: 0; }

/* Demo */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; background: var(--card); color: var(--ink); border-radius: 30px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.demo h2 { text-align: left; color: var(--ink); }
.demo p { color: var(--muted); }
.demo .pic { border-radius: 20px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(42,30,74,0.25); aspect-ratio: 1; background: #eee; }
.demo .pic img { width: 100%; height: 100%; object-fit: cover; }
.slots { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 18px 0; }
.row { display: flex; gap: 6px; flex-wrap: wrap; }
.slot { width: 40px; height: 46px; border-radius: 10px; background: #efe9f8; border-bottom: 4px solid #d8cfea; display: grid; place-items: center; font-weight: 700; font-size: 24px; color: var(--ink); transition: background 0.2s; }
.slot.on { background: var(--green); border-bottom-color: var(--green-edge); color: #fff; animation: pop 0.35s ease both; }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.ona { display: inline-block; background: var(--bg-bottom); color: var(--gold); border-radius: 999px; padding: 0 14px; font-weight: 600; }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; }
.feature .ic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; }
.feature p { margin: 0; color: var(--text-muted); }
.feature.big { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(255,138,61,0.25), rgba(255,201,60,0.15)); }

/* Screens */
.screens { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.phone { width: 220px; border-radius: 34px; padding: 8px; background: #140c30; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.phone img { border-radius: 27px; }
.phone figcaption { text-align: center; color: var(--text-muted); font-size: 15px; padding: 10px 0 4px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; border: 4px solid #fff; transform: rotate(var(--r, 0deg)); transition: transform 0.2s; }
.gallery img:hover { transform: rotate(0) scale(1.05); }

/* Suggest */
.suggest { background: var(--surface); border: 1px solid var(--border); border-radius: 30px; padding: 32px; max-width: 760px; margin: 0 auto; }
.suggest form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.suggest .full { grid-column: 1 / -1; }
.field input { width: 100%; }
.suggest .ona { justify-self: center; }

/* Pages */
.page { background: var(--card); color: var(--ink); border-radius: 26px; padding: clamp(22px, 4vw, 48px); margin: 20px auto 60px; max-width: 860px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); }
.page h2 { text-align: left; font-size: 24px; margin-top: 32px; }
.page p, .page li { color: #3e3560; }
.page a { color: var(--bg-bottom); }
.page .meta { color: var(--muted); font-size: 15px; }
details { border-bottom: 1px solid #ece6f6; padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; }

/* Footer */
footer { padding: 40px 0 50px; color: var(--text-muted); font-size: 15px; border-top: 1px solid var(--border); }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--text-muted); }
.tm { font-size: 13px; max-width: 760px; margin-top: 18px; }

@media (max-width: 820px) {
  .hero, .demo { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .ape { width: 240px; }
  .steps, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .nav nav { display: none; }
  section { padding: 52px 0; }
  .suggest form { grid-template-columns: 1fr; }
  .phone { width: 46%; min-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
