:root {
  --violet: #5b4bff;
  --violet-deep: #3a2fd6;
  --ink: #141b3d;
  --bg: #0e1330;
  --surface: #161d42;
  --line: #262f5c;
  --fg: #eef0fb;
  --mute: #aab1d3;
  --yes: #2ee6a6;
  --no: #ff6b8e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Rubik, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.muted { color: var(--mute); }

/* header */
.top, footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.3px; }
.brand img { border-radius: 9px; }
.top nav, footer nav { margin-inline-start: auto; display: flex; gap: 20px; font-weight: 500; color: var(--mute); }
.top nav a:hover, footer nav a:hover { color: var(--fg); }

/* hero */
main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 72px;
}
.eyebrow { color: var(--yes); font-weight: 700; margin: 0 0 10px; letter-spacing: 0.3px; }
h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.5px; }
h1 span {
  background: linear-gradient(90deg, var(--yes), #8b7dff 55%, var(--no));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 19px; color: var(--mute); max-width: 30em; margin: 0 0 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  min-width: 150px;
}
.store small { font-weight: 400; color: var(--mute); font-size: 12px; }

/* phone mock */
.phone {
  position: relative;
  background: linear-gradient(160deg, var(--violet), var(--violet-deep));
  border-radius: 36px;
  padding: 56px 22px;
  min-height: 420px;
  box-shadow: 0 30px 80px rgba(91, 75, 255, 0.35);
}
.card {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(20, 27, 61, 0.25);
}
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.card .muted { color: #6b7294; }
.chip { background: #ecebff; color: var(--violet-deep); padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.q { font-size: 20px; font-weight: 700; margin: 12px 0 14px; }
.split { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.split i { display: block; height: 100%; transition: flex 1.2s ease; }
.split .yes { background: var(--yes); border-radius: 0 99px 99px 0; animation: yes 6s ease-in-out infinite; }
.split .no { background: var(--no); border-radius: 99px 0 0 99px; animation: no 6s ease-in-out infinite; }
@keyframes yes { 0%, 100% { flex: 62; } 50% { flex: 41; } }
@keyframes no { 0%, 100% { flex: 38; } 50% { flex: 59; } }
.split-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }
.t-yes { color: #0c9e6f; }
.t-no { color: #d93a63; }
.pct-yes::after { content: "62%"; animation: pyes 6s steps(1) infinite; }
.pct-no::after { content: "38%"; animation: pno 6s steps(1) infinite; }
@keyframes pyes { 0%, 100% { content: "62%"; } 35% { content: "51%"; } 50% { content: "41%"; } 65% { content: "52%"; } }
@keyframes pno { 0%, 100% { content: "38%"; } 35% { content: "49%"; } 50% { content: "59%"; } 65% { content: "48%"; } }
.row { display: flex; gap: 10px; margin-top: 16px; }
.btn { flex: 1; text-align: center; padding: 11px; border-radius: 12px; font-weight: 700; }
.btn.yes { background: var(--yes); color: var(--ink); }
.btn.no { background: var(--no); color: var(--ink); }
.toast {
  position: absolute;
  inset-inline-start: -18px;
  bottom: 70px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}
.rank {
  position: absolute;
  inset-inline-end: -14px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px 8px 10px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: float 5s ease-in-out -2.5s infinite;
}
.frame {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, #ffe29a, #e39a06, #fff3cc, #c98200, #ffe29a);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 30px #ffd7a8;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sections */
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 24px; font-weight: 800; }
.how { padding: 24px 0 56px; }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.how li {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.how li::before {
  content: counter(s);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--violet);
  font-weight: 800;
  margin-bottom: 6px;
}
.how li b { font-size: 18px; }
.how li span { color: var(--mute); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 56px; }
.features article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.features .ic { font-size: 28px; }
.features h3 { margin: 8px 0 4px; font-size: 18px; }
.features p { margin: 0; color: var(--mute); }

.fair {
  background: linear-gradient(160deg, rgba(46, 230, 166, 0.12), rgba(91, 75, 255, 0.12));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 56px;
}
.fair ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fair li { padding-inline-start: 28px; position: relative; font-size: 17px; }
.fair li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--yes); font-weight: 800; }

footer { border-top: 1px solid var(--line); flex-wrap: wrap; color: var(--mute); }
footer p { width: 100%; margin: 0; font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .phone { margin: 8px 12px 0; }
  .how ol, .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .top nav a:first-child { display: none; }
  .how ol, .features { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .toast { inset-inline-start: -6px; }
  .rank { inset-inline-end: -6px; }
  footer nav { margin-inline-start: 0; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
