@font-face {
  font-family: "Visby";
  src: url("assets/fonts/VisbyExtrabold.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Muli";
  src: url("assets/fonts/muli-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Muli";
  src: url("assets/fonts/muli-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --j-teal: #00b8c7;
  --j-teal-dark: #0095a1;
  --j-ink: #111622;
  --j-ink-soft: #2c3345;
  --j-cream: #fff8ec;
  --j-sun: #ffd84a;
  --j-coral: #ff6b63;
  --j-purple: #4c35e9;
  --j-border: rgba(17, 22, 34, 0.14);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Muli", sans-serif;
  color: var(--j-ink);
  background:
    radial-gradient(circle at 12% 8%, #fbefbf 0, #fbefbf 12%, transparent 13%),
    radial-gradient(circle at 88% 12%, #d8f7ff 0, #d8f7ff 14%, transparent 15%),
    linear-gradient(180deg, #fffefb 0%, var(--j-cream) 46%, #f8fbff 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, #000 0.8px, transparent 0.8px);
  background-size: 6px 6px;
  z-index: -1;
}

section,
.site-header,
.site-footer {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0 0.7rem;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(9px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--j-ink);
  font-family: "Visby", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.26rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 184, 199, 0.35);
}

.top-nav {
  display: flex;
  gap: 1.25rem;
}

.top-nav a {
  color: var(--j-ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--j-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--j-border);
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--j-ink);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header.menu-open .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 3rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--j-purple);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Visby", sans-serif;
  line-height: 1.1;
}

h1 {
  margin-top: 0.35rem;
  font-size: clamp(2.1rem, 4.9vw, 4rem);
  max-width: 12ch;
}

.hero-sub {
  margin: 1rem 0 1.35rem;
  max-width: 44ch;
  font-size: 1.02rem;
  color: var(--j-ink-soft);
}

.hero-sub strong {
  color: var(--j-ink);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--j-teal), #30d2de);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 184, 199, 0.35);
}

.btn-dark {
  background: #121722;
  color: #fff;
}

.hero-stats {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.hero-stats span {
  color: var(--j-teal-dark);
  font-weight: 700;
  margin-right: 0.32rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.phone-shell {
  width: min(430px, 94%);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  /*background: linear-gradient(160deg, #fff 0%, #f6f8fb 100%);
  border: 1px solid var(--j-border);
  box-shadow: var(--shadow-soft);*/
  overflow: hidden;
  animation: floatY 4.2s ease-in-out infinite;
}

.phone-shell img {
  width: 100%;
  display: block;
}

.floating-tag {
  position: absolute;
  font-family: "Visby", sans-serif;
  font-size: 0.78rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: #fff;
}

.floating-tag.one {
  background: #fd6ab3;
  top: 34px;
  left: -6px;
}

.floating-tag.two {
  background: #d86f31;
  right: -4px;
  bottom: 110px;
}

.ticker-wrap {
  margin-top: 1.6rem;
  padding: 1rem 0 0.3rem;
}

.ticker-wrap h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
}

.ticker {
  overflow: hidden;
  border: 1px solid var(--j-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  padding: 0.8rem 0.95rem;
  animation: tickerMove 58s linear infinite;
}

.brand-chip {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  margin-bottom: 1.2rem;
}

.how,
.community,
.rewards,
.for-brands,
.download {
  padding: 3.6rem 0 0.6rem;
}

.section-head h2,
.download h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--j-border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(16, 20, 35, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--j-teal);
  color: #fff;
  font-weight: 700;
}

.step-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.15rem;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.reel-grid iframe {
  width: 100%;
  border: 1px solid var(--j-border);
  border-radius: 16px;
  aspect-ratio: 9 / 16;
  background: #000;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.reward-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--j-border);
  background: #fff;
  padding: 0.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reward-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 22, 34, 0.16);
}

.for-brands {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #101723 0%, #18253a 55%, #027f8a 130%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(9, 14, 26, 0.35);
}

.for-brands::before,
.for-brands::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.for-brands::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -150px;
  background: radial-gradient(circle at center, rgba(255, 216, 74, 0.28), transparent 70%);
}

.for-brands::after {
  width: 320px;
  height: 320px;
  left: -110px;
  bottom: -160px;
  background: radial-gradient(circle at center, rgba(0, 184, 199, 0.34), transparent 72%);
}

.for-brands .eyebrow {
  color: #9af4fb;
}

.brands-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.15rem;
  align-items: center;
}

.brand-hero h2 {
  margin-top: 0.45rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 14ch;
}

.brand-lead {
  margin: 0.95rem 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
}

.brand-lead-strong {
  margin-top: 0.55rem;
  color: #ffd84a;
  font-weight: 700;
}

.brand-microstats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.brand-microstats span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-actions {
  margin-top: 1.05rem;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.btn-launch {
  margin-top: 0;
  background: linear-gradient(135deg, #ffd84a, #ffeb98);
  color: #18253a;
  box-shadow: 0 12px 28px rgba(255, 216, 74, 0.35);
}

.btn-brand-secondary {
  margin-top: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.offer-sample-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  padding: 0.9rem;
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 34px rgba(6, 10, 20, 0.36);
}

.offer-sample-kicker {
  margin: 0 0 0.45rem;
  color: #9af4fb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.offer-sample-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

.brand-punches {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.68rem;
}

.brand-punch {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
}

.brand-punch h3 {
  font-size: 1.02rem;
}

.brand-punch p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.brand-punch-jplus {
  background: rgba(255, 216, 74, 0.14);
  border-color: rgba(255, 216, 74, 0.5);
}

.download {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(100deg, rgba(255, 216, 74, 0.75), rgba(0, 184, 199, 0.75)),
    #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  padding-bottom: 2rem;
}

.download p {
  margin: 0.75rem auto 1.1rem;
  max-width: 40ch;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-row img {
  width: 170px;
  border-radius: 12px;
}

.site-footer {
  padding: 1.2rem 0 1.8rem;
  color: var(--j-ink-soft);
  text-align: center;
  font-size: 0.9rem;
}

.footer-contact {
  color: var(--j-teal-dark);
  text-decoration: none;
  font-weight: 700;
}

.footer-contact:hover {
  text-decoration: underline;
}

.audio-prompt {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: min(250px, calc(100vw - 1rem));
  padding: 1rem 1rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(150deg, #111b2a 0%, #1a2f45 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  text-align: center;
  z-index: 120;
  transform: translateX(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease, bottom 0.24s ease;
}

.audio-prompt.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.audio-prompt p {
  margin: 0;
  font-family: "Visby", sans-serif;
  font-size: 1.02rem;
}

.audio-prompt-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.audio-prompt-play {
  margin: 0.85rem auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--j-sun), #ffe897);
  color: #1a2536;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 216, 74, 0.32);
}

.audio-prompt-play span[aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(26, 37, 54, 0.15);
  font-size: 0.72rem;
}

.bg-audio-controls {
  position: fixed;
  right: 14px;
  bottom: 14px;
  transform: translateX(20px);
  z-index: 115;
  background: rgba(17, 27, 42, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.42rem 0.5rem 0.42rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.bg-audio-controls.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.audio-label {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.audio-control-btn {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.38rem 0.7rem;
  cursor: pointer;
}

.audio-control-close {
  background: rgba(255, 107, 99, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.2rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .reel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .for-brands {
    padding: 2rem 1.5rem;
  }

  .brands-layout {
    grid-template-columns: 1fr;
  }

  .offer-sample-card {
    max-width: 620px;
  }

  .brand-punches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .brand-punches {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    gap: 0.7rem;
    position: sticky;
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 0.55rem;
    border-radius: 16px;
    border: 1px solid var(--j-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 42px rgba(9, 16, 32, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 60;
  }

  .site-header.menu-open .top-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .top-nav a {
    font-size: 0.95rem;
    padding: 0.72rem 0.78rem;
    border-radius: 12px;
    font-weight: 700;
  }

  .top-nav a::after {
    display: none;
  }

  .top-nav a:hover,
  .top-nav a:focus-visible {
    background: rgba(0, 184, 199, 0.12);
    color: var(--j-ink);
  }

  .hero-cta {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .reel-grid {
    grid-template-columns: 1fr;
  }

  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .for-brands {
    padding: 1.7rem 1.05rem;
  }

  .brand-hero h2 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .brand-actions .btn {
    width: 100%;
  }

  .brand-chip {
    width: 74px;
    height: 74px;
  }

  .audio-prompt {
    right: 0.5rem;
    bottom: 0.5rem;
    width: min(330px, calc(100vw - 1rem));
  }

  .bg-audio-controls {
    right: 0.5rem;
    bottom: 0.5rem;
    width: min(340px, calc(100vw - 1rem));
    justify-content: center;
  }

  .audio-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
