/* Secret Jingle — shared site styles.
   Design tokens and layout reproduced from the approved design canvas. */

:root {
  --bg: #0C0614;
  --text: #F6EFFF;
  --pink: #FF2E88;
  --pink-hover: #FF6FB5;
  --purple: #9D5CFF;
  --lime: #E8FF47;
  --green: #3DF08C;
  --muted: #B7A6D2;
  --muted-2: #A48FC2;
  --muted-3: #6E5990;
  --card: #160C22;
  --card-2: #120A1C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-hover); }
img { display: block; max-width: 100%; }

.display {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-style: italic;
}

.t-lime { color: var(--lime); }
.t-pink { color: var(--pink); }
em.em { color: var(--pink-hover); font-style: normal; font-weight: 600; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== animations ===== */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(6deg); } }
@keyframes eqbar { 0% { transform: scaleY(.25); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.25); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,255,71,.5); } 50% { box-shadow: 0 0 0 14px rgba(232,255,71,0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== page shell ===== */
.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 82% -6%, rgba(157,92,255,.22), rgba(12,6,20,0) 60%),
    radial-gradient(760px 560px at 6% 22%, rgba(255,46,136,.16), rgba(12,6,20,0) 55%),
    var(--bg);
}

.note {
  position: absolute;
  pointer-events: none;
  animation: floaty 6s ease-in-out infinite;
  user-select: none;
}
.note--1 { top: 120px; left: 6%; font-size: 44px; color: rgba(157,92,255,.28); }
.note--2 { top: 280px; right: 9%; font-size: 30px; color: rgba(255,46,136,.30); animation-duration: 7s; animation-delay: .8s; }
.note--3 { top: 520px; left: 12%; font-size: 26px; color: rgba(232,255,71,.28); animation-duration: 8s; animation-delay: 1.4s; }

/* ===== nav ===== */
.nav {
  position: relative;
  z-index: 20;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-chip {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg);
  box-shadow: 4px 4px 0 var(--pink);
  flex-shrink: 0;
}
.logo-chip img { width: 34px; height: 34px; }
.brand-name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 22px; font-weight: 800; font-style: italic; letter-spacing: -.5px;
  color: var(--text);
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.nav__link {
  color: var(--muted-2);
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
}
.nav__link:hover { color: var(--text); }

/* ===== buttons ===== */
.btn-lime {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--lime); color: var(--bg);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 14px; font-weight: 800; font-style: italic;
  padding: 10px 18px; border-radius: 10px;
  box-shadow: 3px 3px 0 var(--pink);
}
.btn-lime:hover { filter: brightness(1.05); color: var(--bg); }

.store-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px 13px 20px;
  border-radius: 14px;
}
.store-btn svg { flex-shrink: 0; }
.store-btn--ios { background: #F6EFFF; color: var(--bg); box-shadow: 5px 5px 0 var(--pink); }
.store-btn--ios:hover { filter: brightness(.97); transform: translateY(-1px); color: var(--bg); }
.store-btn--android {
  background: var(--card);
  border: 1.5px solid rgba(246,239,255,.2);
  color: var(--text);
  box-shadow: 5px 5px 0 rgba(0,0,0,.5);
}
.store-btn--android:hover { border-color: var(--purple); transform: translateY(-1px); color: var(--text); }
.store-btn__label { text-align: left; }
.store-btn__label small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1px; }
.store-btn--ios .store-btn__label small { color: #5A5560; }
.store-btn--android .store-btn__label small { color: #8A77A8; }
.store-btn__name {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 19px; font-weight: 800; font-style: italic; line-height: 1;
}

/* ===== hero ===== */
.hero {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1.5px solid rgba(255,46,136,.4);
  border-radius: 99px;
  padding: 7px 15px;
  margin-bottom: 26px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.eyebrow__text { font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; color: #C9B8E0; }
.hero h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 76px; line-height: .92; font-weight: 800; font-style: italic;
  letter-spacing: -3px; margin: 0 0 22px;
}
.lede { font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 490px; margin: 0 0 34px; }
.ratings {
  display: flex; align-items: center; gap: 18px;
  margin-top: 26px; font-size: 11px; color: var(--muted-3); letter-spacing: .5px;
}
.ratings .stars { color: var(--lime); }
.ratings__dot { width: 4px; height: 4px; border-radius: 50%; background: #3D2E52; }

/* ===== phone mockup ===== */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px; height: 590px;
  border-radius: 44px;
  background: #050208;
  border: 2px solid #2A1B3D;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(157,92,255,.28), 14px 14px 0 rgba(255,46,136,.12);
  animation: floaty 9s ease-in-out infinite;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #160C22 0%, #0C0614 100%);
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 18px;
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #050208; border-radius: 0 0 14px 14px;
}
.phone__header { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.phone__logo {
  width: 34px; height: 34px; border-radius: 9px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg); box-shadow: 2.5px 2.5px 0 var(--pink);
}
.phone__logo img { width: 26px; height: 26px; }
.phone__brand { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 16px; font-weight: 800; font-style: italic; }
.phone__label { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--muted-3); }
.phone__label--who { margin: 18px 0 9px; }
.phone__label--arrived { margin: 20px 0 9px; }

.jingle-card {
  background: linear-gradient(160deg, rgba(157,92,255,.22), rgba(255,46,136,.12));
  border: 1.5px solid rgba(255,46,136,.35);
  border-radius: 18px;
  padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  text-align: center;
}
.jingle-card__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #9D5CFF, #FF2E88);
  display: flex; align-items: center; justify-content: center;
  animation: bob 2.4s ease-in-out infinite;
}
.jingle-card__title { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 15px; font-weight: 800; font-style: italic; line-height: 1.15; }
.jingle-card__meta { font-size: 8.5px; font-weight: 700; letter-spacing: 1px; color: var(--pink-hover); }

.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq span { width: 4px; height: 26px; border-radius: 2px; transform-origin: bottom; animation: eqbar .5s infinite; }
.eq span:nth-child(1) { background: var(--lime); }
.eq span:nth-child(2) { background: var(--pink); animation-delay: .1s; }
.eq span:nth-child(3) { background: var(--purple); animation-delay: .2s; }
.eq span:nth-child(4) { background: var(--lime); animation-delay: .3s; }
.eq span:nth-child(5) { background: var(--pink); animation-delay: .4s; }

.suspects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.suspect {
  display: flex; align-items: center; gap: 7px;
  background: var(--card-2);
  border: 1.5px solid rgba(246,239,255,.1);
  border-radius: 11px; padding: 8px 9px;
}
.suspect--active { background: var(--card); border-color: rgba(255,46,136,.6); }
.suspect__avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.suspect__name { font-size: 11px; font-weight: 700; }
.lock-btn {
  margin-top: 12px; height: 42px; border-radius: 12px;
  background: var(--lime); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 14px; font-weight: 800; font-style: italic;
  box-shadow: 3px 3px 0 var(--pink);
}

/* ===== marquee band ===== */
.marquee {
  position: relative; z-index: 10;
  background: var(--lime); overflow: hidden;
  padding: 12px 0; transform: rotate(-1.2deg);
  margin: 44px -12px 0;
  box-shadow: 0 6px 0 rgba(0,0,0,.4);
}
.marquee__track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee__group {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 19px; font-weight: 800; font-style: italic; color: var(--bg);
  white-space: nowrap;
}

/* ===== how it works ===== */
.section {
  position: relative; z-index: 10;
  max-width: 1180px; margin: 0 auto; padding: 80px 24px 30px;
}
.section-head { text-align: center; margin-bottom: 52px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--muted-3); margin-bottom: 14px; }
.section-head h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 46px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; margin: 0;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--card);
  border: 1.5px solid rgba(246,239,255,.1);
  border-radius: 20px; padding: 24px 20px;
  box-shadow: 6px 6px 0 #1E0B33;
}
.step__num {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 20px; font-weight: 800; font-style: italic;
  margin-bottom: 18px; box-shadow: 3px 3px 0 rgba(0,0,0,.4);
}
.step__num--1 { background: var(--purple); color: var(--bg); }
.step__num--2 { background: var(--pink); color: #fff; }
.step__num--3 { background: var(--lime); color: var(--bg); }
.step__num--4 { background: var(--green); color: var(--bg); }
.step__title { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 20px; font-weight: 800; font-style: italic; margin-bottom: 9px; }
.step p { font-size: 13px; line-height: 1.6; color: var(--muted-2); margin: 0; }

/* ===== drama strip ===== */
.drama { position: relative; z-index: 10; max-width: 1180px; margin: 0 auto; padding: 60px 24px; }
.drama__inner {
  background: linear-gradient(135deg, rgba(255,46,136,.14), rgba(157,92,255,.1));
  border: 1.5px solid rgba(255,46,136,.3);
  border-radius: 26px; padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.drama__kicker { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--pink-hover); margin-bottom: 14px; }
.drama h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 40px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; line-height: 1; margin: 0 0 18px;
}
.drama p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.alerts { display: flex; flex-direction: column; gap: 12px; }
.alert {
  background: var(--card);
  border: 1.5px solid rgba(255,90,90,.4);
  border-radius: 14px; padding: 13px 15px;
  display: flex; gap: 11px; align-items: flex-start;
}
.alert--1 { transform: rotate(-1deg); }
.alert--2 { transform: rotate(.8deg); }
.alert--3 { transform: rotate(-.6deg); }
.alert__icon {
  width: 32px; height: 32px; border-radius: 8px; background: #FF5A5A;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transform: rotate(-6deg);
}
.alert__head { font-size: 9.5px; font-weight: 700; letter-spacing: 1px; color: #FF5A5A; }
.alert__body { font-size: 12.5px; color: var(--text); margin-top: 3px; line-height: 1.35; }

/* ===== final cta ===== */
.final-cta {
  position: relative; z-index: 10;
  max-width: 820px; margin: 0 auto; padding: 40px 24px 90px; text-align: center;
}
.final-cta__mark {
  width: 88px; height: 88px; border-radius: 24px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px; transform: rotate(-6deg);
  box-shadow: 7px 7px 0 var(--pink);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.final-cta__mark img { width: 66px; height: 66px; }
.final-cta h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 52px; font-weight: 800; font-style: italic; letter-spacing: -2px; line-height: 1; margin: 0 0 18px;
}
.final-cta p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 460px; margin: 0 auto 34px; }
.final-cta .store-row { justify-content: center; }

/* ===== footer ===== */
.footer { position: relative; z-index: 10; border-top: 1px solid rgba(246,239,255,.08); padding: 30px 24px; }
.footer__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__chip {
  width: 32px; height: 32px; border-radius: 9px; background: var(--lime);
  display: flex; align-items: center; justify-content: center; transform: rotate(-6deg);
}
.footer__chip img { width: 24px; height: 24px; }
.footer__domain { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 16px; font-weight: 800; font-style: italic; }
.footer__links { display: flex; align-items: center; gap: 24px; font-size: 11.5px; color: var(--muted-3); letter-spacing: .5px; flex-wrap: wrap; }
.footer__links a { color: var(--muted-3); }
.footer__links a:hover { color: var(--text); }

/* ===== prose (legal + support pages) ===== */
.prose { position: relative; z-index: 10; max-width: 820px; margin: 0 auto; padding: 32px 24px 80px; }
.prose h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 46px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; margin: 0 0 6px;
}
.prose .updated { font-size: 12px; color: var(--muted-3); margin: 0 0 30px; letter-spacing: .5px; }
.prose h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 24px; font-weight: 800; font-style: italic; margin: 36px 0 10px; color: var(--text);
}
.prose h3 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
.prose p, .prose li { font-size: 14px; line-height: 1.75; color: var(--muted); }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose code {
  background: var(--card); border: 1px solid rgba(246,239,255,.12);
  border-radius: 6px; padding: 1px 6px; font-size: 13px; color: var(--lime);
}
.review-banner {
  background: rgba(232,255,71,.10);
  border: 1.5px solid rgba(232,255,71,.5);
  color: var(--lime);
  border-radius: 12px; padding: 13px 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
  margin-bottom: 28px;
}
.faq { margin-top: 8px; }
.faq__q { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 16px; font-weight: 800; font-style: italic; color: var(--text); margin: 22px 0 6px; }
.callout {
  background: var(--card); border: 1.5px solid rgba(246,239,255,.12);
  border-radius: 16px; padding: 20px 22px; margin: 22px 0;
}
.callout h2 { margin-top: 0; }

/* ===== invite interstitial ===== */
.invite {
  position: relative; z-index: 10;
  max-width: 560px; margin: 0 auto; padding: 60px 24px 90px;
  min-height: 62vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.invite__mark {
  width: 84px; height: 84px; border-radius: 22px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px; transform: rotate(-6deg);
  box-shadow: 6px 6px 0 var(--pink);
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.invite__mark img { width: 60px; height: 60px; }
.invite h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 40px; font-weight: 800; font-style: italic; letter-spacing: -1.5px; line-height: 1.02; margin: 0 0 18px;
}
.invite p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 440px; margin: 0 auto 30px; }
.invite .btn-lime { font-size: 16px; padding: 14px 26px; margin-bottom: 22px; }
.invite .store-row { justify-content: center; }
.invite__hint { font-size: 11.5px; color: var(--muted-3); margin-top: 28px; }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 24px; }
  .hero h1 { font-size: 56px; letter-spacing: -2px; }
  .phone-wrap { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .drama__inner { grid-template-columns: 1fr; padding: 32px; }
  .section-head h2 { font-size: 36px; }
  .final-cta h2 { font-size: 40px; }
  .drama h2 { font-size: 34px; }
}

@media (max-width: 560px) {
  .nav { padding: 18px 16px; }
  .nav__link { display: none; }
  .nav__links { gap: 14px; }
  .brand-name { font-size: 18px; }
  .logo-chip { width: 38px; height: 38px; }
  .logo-chip img { width: 29px; height: 29px; }
  .btn-lime { padding: 9px 14px; font-size: 13px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.5px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding-top: 56px; }
  .prose h1, .invite h1 { font-size: 34px; }
  .final-cta h2 { font-size: 34px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .note, .phone, .jingle-card__avatar, .eq span,
  .final-cta__mark, .invite__mark, .marquee__track {
    animation: none !important;
  }
  * { transition: none !important; }
}
