/* ============================================================================
   Popin marketing site — design system
   Served from /assets/site.css. External stylesheet on purpose: helmet's
   default CSP allows 'unsafe-inline' for styles but NOT for scripts, so the
   whole site stays script-free and CSP-clean.
   ========================================================================== */

:root {
  --brand: #ff4d8d;
  --brand-dark: #e02d72;
  --brand-dim: #ffe4ee;
  --grad: linear-gradient(135deg, #ff4d8d 0%, #ff7a3d 100%);
  --grad-soft: linear-gradient(135deg, #fff0f5 0%, #fff6ec 100%);

  --ink: #14121a;
  --ink-2: #4a4658;
  --ink-3: #76718a;
  --line: #ece9f2;
  --bg: #ffffff;
  --bg-2: #faf9fc;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(20, 18, 26, 0.06);
  --shadow: 0 10px 30px rgba(20, 18, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 18, 26, 0.12);

  --wrap: 1140px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
}
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 21px; }

p { margin: 0 0 1em; color: var(--ink-2); }

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

.section { padding: 84px 0; }
.section--tint { background: var(--bg-2); }
.section--grad { background: var(--grad-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
  max-width: 660px;
}

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 77, 141, 0.32);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(255, 77, 141, 0.42); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.26); }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 38px; font-size: 17px; }

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

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  flex: 0 0 auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--bg-2);
  text-decoration: none;
}
.nav__links a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-dim); }
.nav__cta { padding: 10px 22px; font-size: 15px; }

@media (max-width: 860px) {
  .nav__links .nav__hide { display: none; }
  .nav__cta { padding: 9px 16px; font-size: 14px; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  background:
    radial-gradient(1000px 460px at 12% -8%, #ffe4ee 0%, transparent 62%),
    radial-gradient(820px 420px at 92% 8%, #ffeede 0%, transparent 60%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__proof svg { flex: 0 0 auto; color: #16a34a; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
}

/* Phone mock — pure CSS + SVG, no image assets (CSP img-src 'self') */
.phone {
  width: min(300px, 78vw);
  margin: 0 auto;
  aspect-ratio: 9 / 18.6;
  border-radius: 40px;
  background: linear-gradient(160deg, #201c2b, #100e16);
  padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.09) inset;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(175deg, #ff8ab5 0%, #ffb07a 55%, #ffd9a8 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 12px;
}
.phone__notch {
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #100e16;
  margin: 0 auto 4px;
  flex: 0 0 auto;
}
.phone__card {
  flex: 1 1 auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  gap: 5px;
}
.phone__name { color: #fff; font-weight: 800; font-size: 19px; }
.phone__meta { color: rgba(255, 255, 255, 0.86); font-size: 12.5px; }
.phone__tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.phone__tag {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.phone__acts { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.phone__act {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
}
.phone__act--big {
  width: 56px;
  height: 56px;
  background: var(--grad);
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}
.phone__act--like { color: #7ee2a8; }
.phone__act--nope { color: #ff9b9b; }
.phone__act--like svg { width: 24px; height: 24px; }
.phone__act--nope svg { width: 22px; height: 22px; }
.phone__act--big svg { width: 26px; height: 26px; color: #fff; }

.float-badges { display: grid; gap: 12px; margin-top: 20px; }
.float-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.float-badge span small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.float-badge svg { color: var(--brand); flex: 0 0 auto; }

/* ── Store badges ────────────────────────────────────────────────────────── */

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  min-width: 168px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { flex: 0 0 auto; }
.store small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  line-height: 1.3;
}
.store b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; }

/* ── Grids / cards ───────────────────────────────────────────────────────── */

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-dim);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: 15.5px; }

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(255, 77, 141, 0.3);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15.5px; }

/* ── Stats ───────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b {
  display: block;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat span { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }

/* ── Testimonials ────────────────────────────────────────────────────────── */

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote p {
  font-size: 16px;
  color: var(--ink);
  flex: 1 1 auto;
  margin-bottom: 18px;
}
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__av {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  flex: 0 0 auto;
}
.quote__who b { display: block; font-size: 14.5px; }
.quote__who small { color: var(--ink-3); font-size: 13px; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

.plans { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--hot {
  border: 2px solid var(--brand);
  box-shadow: 0 20px 50px rgba(255, 77, 141, 0.18);
  position: relative;
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 19px; font-weight: 800; color: var(--ink); }
.plan__for { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.plan__price span { color: var(--ink-3); font-size: 15px; }
.plan__note { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; min-height: 20px; }
.plan .btn { margin-bottom: 22px; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1 1 auto; }
.plan__list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan__list svg { flex: 0 0 auto; margin-top: 4px; color: #16a34a; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 11px; font-size: 16px; color: var(--ink-2); }
.checklist svg { flex: 0 0 auto; margin-top: 4px; color: #16a34a; }
.checklist--two { grid-template-columns: repeat(2, 1fr); gap: 13px 28px; }
@media (max-width: 700px) { .checklist--two { grid-template-columns: 1fr; } }

/* ── FAQ (native <details>, no JS) ───────────────────────────────────────── */

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  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: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  flex: 0 0 auto;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 18px 22px 22px; }
.faq__body p { margin-bottom: 0; font-size: 15.5px; }

/* ── CTA band ────────────────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, #ff4d8d 0%, #ff6f4d 55%, #ff8a3d 100%);
  border-radius: var(--r-lg);
  padding: 56px 44px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer { background: var(--ink); color: #b9b4c6; padding: 60px 0 34px; margin-top: 0; }
.footer a { color: #ded9e8; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer li { font-size: 14.5px; }
.footer__about { font-size: 14.5px; max-width: 320px; color: #9d97ac; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #8b8499;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfc9dd;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge svg { color: #6ee7a0; }

/* ── Misc ────────────────────────────────────────────────────────────────── */

.note {
  background: var(--grad-soft);
  border: 1px solid var(--brand-dim);
  border-radius: var(--r);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.note strong { color: var(--ink); }

.breadcrumb { font-size: 14px; color: var(--ink-3); padding-top: 22px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb span { margin: 0 7px; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { font-size: 16px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 34px; } }

.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .footer { padding-bottom: 90px; }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
