/* ─── Tokens ──────────────────────────────────────────── */
:root {
  --bg:        #0A0A0B;
  --surface:   #15151A;
  --surface-2: #1F1F26;
  --hairline:  rgba(255, 255, 255, 0.08);
  --ink:       #F4F4F5;
  --ink-mute:  #A1A1AA;
  --ink-dim:   #71717A;

  --accent:        #FF2D87;
  --accent-2:      #6B2BFF;
  --accent-soft:   rgba(255, 45, 135, 0.14);
  --accent-glow:   rgba(255, 45, 135, 0.35);

  --max:    1120px;
  --radius: 18px;

  --t-1: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --t-2: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ─── Reset-ish ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

body {
  font-family: var(--t-1);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* Subtle radial halo behind the hero — sells the dark theme. */
  background-image:
    radial-gradient(ellipse 60% 35% at 75% 5%, rgba(255, 45, 135, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 0%, rgba(107, 43, 255, 0.12), transparent 65%),
    linear-gradient(to bottom, #0A0A0B 0%, #0A0A0B 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Tiny dot grain overlay — keeps flat surfaces from looking AI-flat. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

::selection { background: var(--accent); color: #fff; }

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
/* `.brand__mark` is now an <img> rendering the real app icon. Round
   the corners to match the app's adaptive icon, drop a soft glow so
   the pink reads on the dark backdrop, and crisp-edge so the small
   sizes don't go blurry. */
img.brand__mark {
  display: inline-block;
  border-radius: 7px;
  box-shadow: 0 4px 14px -6px rgba(255, 45, 135, 0.55);
  image-rendering: -webkit-optimize-contrast;
}
.brand__word { font-size: 16px; }
.brand--sm .brand__word { font-size: 13px; }
.brand--sm img.brand__mark { border-radius: 5px; }

.nav__links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-size: 14px;
  color: var(--ink-mute);
}
.nav__links a { transition: color 160ms; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

.cta {
  font-weight: 600;
  font-size: 14px;
}
.cta--pill {
  margin-left: auto;
  background: var(--ink);
  color: #0A0A0B;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform 200ms, background 200ms;
}
.cta--pill:hover {
  transform: translateY(-1px);
  background: #fff;
}
.cta--block {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 18px;
  transition: transform 200ms, box-shadow 200ms, background 200ms, border-color 200ms;
}
.cta--block:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -10px var(--accent-glow);
}
/* Outline variant — sits on the Free plan card so its visual weight
   stays below the Pro CTA without disappearing entirely. */
.cta--ghost {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.cta--ghost:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

/* ─── Legal pages ─────────────────────────────────────── */
/* Lightweight layout for Privacy + Terms — mirrors the section
   styling on the home page so the brand reads as one site. */
.legal {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}
.legal h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 16px 0 10px;
  font-weight: 800;
}
.legal__meta {
  font-family: var(--t-2);
  font-size: 12px;
  color: var(--ink-dim);
  margin: 0 0 36px;
  letter-spacing: 0.4px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 38px 0 12px;
  color: var(--ink);
}
.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--ink);
}
.legal p,
.legal li {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.7;
}
.legal p {
  margin: 0 0 14px;
}
.legal ul {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.legal ul li {
  margin: 6px 0;
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal a:hover {
  color: #fff;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--t-2);
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.legal__back:hover { color: var(--accent); }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 24px 70px;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 20px 40px; gap: 48px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--t-2);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--ink-mute);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

.hero__title {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 18px 0 18px;
  font-weight: 800;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 540px;
  margin: 0 0 28px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}
.hero__note {
  font-family: var(--t-2);
  font-size: 12px;
  color: var(--ink-dim);
  margin: 0;
}

.hero__signals {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 22px 36px;
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  max-width: 520px;
}
.hero__signals li {
  display: flex;
  flex-direction: column;
}
.hero__signals strong {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.hero__signals span {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
}
@media (max-width: 540px) {
  .hero__signals { grid-template-columns: 1fr 1fr; }
}

/* Play badge — semi-bespoke so it doesn't read as a stock asset. */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0A0A0B;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 200ms, background 200ms;
}
.play-badge:hover {
  transform: translateY(-1px);
  background: #15151A;
}
.play-badge__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.play-badge__txt small {
  font-family: var(--t-2);
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--ink-mute);
}
.play-badge__txt strong {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.play-badge--lg {
  padding: 14px 22px;
}
.play-badge--lg .play-badge__txt strong {
  font-size: 17px;
}

/* ─── Phone mock ──────────────────────────────────────── */
.phone {
  position: relative;
  width: 270px;
  height: 540px;
  margin: 0 auto;
  background: #15151A;
  border: 1px solid var(--hairline);
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 8px 30px -8px var(--accent-glow);
  /* Tiny tilt — the most direct way to say "this wasn't laid out by a wizard". */
  transform: rotate(3deg);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.phone:hover { transform: rotate(1deg) translateY(-4px); }
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0A0A0B 0%, #15151A 100%);
  border-radius: 28px;
  padding: 36px 18px 18px;
  overflow: hidden;
  position: relative;
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  font-family: var(--t-2);
  font-size: 10px;
  color: var(--ink-mute);
}
.phone__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 18px;
}
.phone__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.4px;
}
.phone__brand img {
  border-radius: 5px;
  box-shadow: 0 2px 6px -2px rgba(255, 45, 135, 0.5);
}
.phone__menu {
  color: var(--ink-mute);
  font-size: 18px;
}
.phone__hero {
  background: linear-gradient(135deg, rgba(255, 45, 135, 0.18), transparent 60%);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px;
}
.phone__heroLabel {
  font-family: var(--t-2);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.phone__heroValue {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 6px;
}
.phone__heroDelta {
  font-family: var(--t-2);
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
}
.phone__chart {
  width: 100%;
  height: 110px;
  margin-top: 14px;
}
.phone__pills {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.phone__pill {
  font-family: var(--t-2);
  font-size: 10px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--ink-mute);
}
.phone__pill--alt {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 900px) {
  .phone { transform: rotate(0); width: 240px; height: 480px; }
}

/* ─── Marquee ─────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(255,45,135,0.04), transparent 30%, transparent 70%, rgba(107,43,255,0.04));
}
.marquee__track {
  display: flex;
  gap: 36px;
  width: max-content;
  font-family: var(--t-2);
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--ink-mute);
  animation: scroll 38s linear infinite;
}
.marquee__track span:nth-child(odd) {
  color: var(--ink);
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .eyebrow .dot   { animation: none; }
}

/* ─── Section heads ───────────────────────────────────── */
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.kicker {
  font-family: var(--t-2);
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--accent);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 12px 0 16px;
  font-weight: 800;
}
.section-head p {
  color: var(--ink-mute);
  font-size: 16px;
  margin: 0;
}

/* ─── Features ────────────────────────────────────────── */
.features, .how, .pricing, .faq, .finale {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
}
@media (max-width: 720px) {
  .features, .how, .pricing, .faq, .finale { padding: 70px 20px; }
  .section-head { margin-bottom: 36px; }
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features__grid { grid-template-columns: 1fr; } }

.feat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 260ms, border-color 260ms, background 260ms;
  overflow: hidden;
}
.feat::before {
  /* Decorative corner accent — gives each card a small handmade detail. */
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 280ms;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 135, 0.35);
  background: #181820;
}
.feat:hover::before { opacity: 1; }
.feat--accent {
  background: linear-gradient(155deg, #1A1018 0%, #15151A 60%);
  border-color: rgba(255, 45, 135, 0.18);
}
.feat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 14px;
}
.feat h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.feat p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ─── How ─────────────────────────────────────────────── */
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
@media (max-width: 820px) {
  .how__steps { grid-template-columns: 1fr; }
}
.how__steps li {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.how__num {
  display: inline-block;
  font-family: var(--t-2);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 14px;
}
.how__steps h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.how__steps p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ─── Pricing ─────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.plan header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.plan__tag {
  font-family: var(--t-2);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--ink-mute);
}
.plan__price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.plan__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 2px;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink);
}
.plan ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.plan--pro {
  background: linear-gradient(165deg, rgba(255,45,135,0.10) 0%, var(--surface) 50%);
  border-color: rgba(255, 45, 135, 0.35);
}
.plan--pro .plan__tag { color: var(--accent); }
.ribbon {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}
.plan__fine {
  display: block;
  font-family: var(--t-2);
  font-size: 11px;
  color: var(--ink-dim);
  text-align: center;
  margin-top: 10px;
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 4px 22px;
  transition: border-color 200ms, background 200ms;
}
.faq details[open] {
  border-color: rgba(255, 45, 135, 0.3);
  background: #181820;
}
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--ink-mute);
  font-size: 22px;
  font-weight: 300;
  transition: transform 200ms;
}
.faq details[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq p {
  color: var(--ink-mute);
  margin: 0 0 18px;
  line-height: 1.65;
  font-size: 14.5px;
}

/* ─── Finale ──────────────────────────────────────────── */
.finale__card {
  background: linear-gradient(155deg, rgba(255,45,135,0.14) 0%, rgba(107,43,255,0.10) 100%);
  border: 1px solid rgba(255, 45, 135, 0.3);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finale__card::before {
  content: '';
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  pointer-events: none;
}
.finale__mark {
  position: relative;
  display: block;
  margin: 0 auto 22px;
  border-radius: 22px;
  box-shadow:
    0 22px 50px -16px rgba(255, 45, 135, 0.55),
    0 6px 18px -6px rgba(0, 0, 0, 0.5);
  image-rendering: -webkit-optimize-contrast;
}
.finale h2 {
  position: relative;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.8px;
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto 26px;
  font-weight: 800;
}
.finale__sub {
  position: relative;
  font-family: var(--t-2);
  font-size: 12px;
  color: var(--ink-mute);
  margin: 22px 0 0;
}
.finale .play-badge {
  position: relative;
}

/* ─── Footer ──────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.foot__row p { margin: 0; }
.foot__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.foot__links a:hover { color: var(--ink); }
@media (max-width: 540px) {
  .foot__links { margin-left: 0; }
}
