:root {
  --seed: #6c4ab6;
  --seed-bright: #8a63e6;
  --mafia: #e74c3c;
  --town: #2e86de;
  --night-top: #0b0e1f;
  --night-bottom: #1b1035;
  --ink: #f4f1fc;
  --ink-dim: #b9b2d0;
  --ink-faint: #837c9c;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(
      1200px 800px at 80% -10%,
      rgba(138, 99, 230, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 0% 10%,
      rgba(46, 134, 222, 0.12),
      transparent 55%
    ),
    linear-gradient(180deg, var(--night-top), var(--night-bottom));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--seed-bright);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 31, 0.55);
  border-bottom: 1px solid var(--card-border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--seed), var(--mafia));
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(108, 74, 182, 0.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--seed);
  color: #fff !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Buttons / badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--seed);
  color: #fff;
  box-shadow: 0 10px 30px rgba(108, 74, 182, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--card-border);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  min-width: 200px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--seed-bright);
}
.store .glyph {
  font-size: 30px;
  line-height: 1;
}
.store small {
  display: block;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.4px;
}
.store strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 1px;
}
.store .soon {
  font-size: 10px;
  color: #ffd27d;
  letter-spacing: 0.6px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--seed-bright);
  background: rgba(138, 99, 230, 0.14);
  border: 1px solid rgba(138, 99, 230, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  margin: 20px 0 16px;
  letter-spacing: -1px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--seed-bright), var(--mafia));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 560px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Phone mock */
.phone {
  justify-self: center;
  width: 280px;
  height: 570px;
  border-radius: 44px;
  padding: 14px;
  background: linear-gradient(160deg, #241a3d, #120b24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  border-radius: 999px;
  background: #0a0713;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #150d2b, #0b0e1f);
  padding: 46px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
}
.chat-bubble .who {
  display: block;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 2px;
}
.chat-bubble.them {
  align-self: flex-start;
  background: #f5f2fc;
  color: #1e1830;
  border-bottom-left-radius: 4px;
}
.chat-bubble.them .who {
  color: #5b3fa6;
}
.chat-bubble.me {
  align-self: flex-end;
  background: var(--seed);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.phone .role-card {
  margin-top: auto;
  background: rgba(231, 76, 60, 0.16);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #ff9c93;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  text-align: center;
}

/* ---------- Sections ---------- */
section {
  padding: 56px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.section-head p {
  color: var(--ink-dim);
  font-size: 17px;
  margin: 0;
}

.story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story .col {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
}
.story .col h3 {
  margin: 8px 0 8px;
  font-size: 20px;
}
.story .col p {
  color: var(--ink-dim);
  margin: 0;
}
.story .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--seed-bright);
  letter-spacing: 1px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 99, 230, 0.5);
}
.feature .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(138, 99, 230, 0.16);
  margin-bottom: 14px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.feature p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.role {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-weight: 600;
}
.role .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.role.town .dot {
  background: var(--town);
}
.role.mafia .dot {
  background: var(--mafia);
}
.role.special .dot {
  background: var(--seed-bright);
}

/* privacy banner */
.privacy-band {
  text-align: center;
  background: linear-gradient(
    120deg,
    rgba(108, 74, 182, 0.22),
    rgba(46, 134, 222, 0.14)
  );
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 46px 28px;
}
.privacy-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 12px;
}
.privacy-band p {
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto 20px;
  font-size: 17px;
}

/* final CTA */
.cta {
  text-align: center;
}
.cta .stores {
  justify-content: center;
}

/* ---------- Article (privacy/terms/contact) ---------- */
.page-hero {
  padding: 60px 0 20px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 8px;
}
.page-hero p {
  color: var(--ink-dim);
  margin: 0;
}
.article {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px;
  margin: 20px auto 60px;
  max-width: 820px;
}
.article h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.article h2:first-child {
  margin-top: 0;
}
.article p,
.article li {
  color: var(--ink-dim);
}
.article strong {
  color: var(--ink);
}
.article ul {
  padding-left: 20px;
}
.article .muted {
  color: var(--ink-faint);
  font-size: 14px;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 20px auto 60px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 {
  margin: 0 0 6px;
}
.contact-card p {
  color: var(--ink-dim);
  margin: 0 0 8px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-dim);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--seed-bright);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  color: var(--ink-faint);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .story,
  .features,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 44px;
  }
  .phone {
    order: -1;
    margin-bottom: 10px;
  }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 14, 31, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 22px 16px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-cta {
    text-align: center;
    margin-top: 10px;
  }
  .nav-toggle {
    display: block;
  }
}
