:root {
  --pink: #FF4F8B;
  --pink-soft: #FFE3EE;
  --blue: #4F7BFF;
  --blue-soft: #E3ECFF;
  --ink: #14121F;
  --ink-soft: #4B4960;
  --muted: #7A7890;
  --line: #ECE9F2;
  --bg: #FFFFFF;
  --bg-alt: #FAF7FF;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1120px;
  --shadow-sm: 0 1px 2px rgba(20,18,31,.06), 0 4px 12px rgba(20,18,31,.04);
  --shadow-md: 0 8px 24px rgba(20,18,31,.08), 0 2px 6px rgba(20,18,31,.04);
}

* { box-sizing: border-box; }

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--pink); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0; color: var(--ink-soft); }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-size: 1.1rem;
}
.brand-name { color: var(--ink); }
.brand-ar  { color: var(--pink); }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--ink-soft); }
.nav-links a { color: var(--ink-soft); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 56px 24px 80px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.lede {
  margin-top: 22px;
  font-size: 1.125rem;
  max-width: 580px;
  color: var(--ink-soft);
}
.hero-blob {
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, var(--pink-soft), transparent 60%),
              radial-gradient(circle at 70% 70%, var(--blue-soft), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}

/* ── CTAs ─────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-dark  { background: var(--ink); color: #fff; }
.cta-dark:hover { color: #fff; }
.cta-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.cta-pre   { font-size: 0.7rem; opacity: .75; }
.cta-store { font-size: 1.05rem; }

/* ── Features ─────────────────────────────────────────── */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}
.features h2 { margin-bottom: 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.feature-icon {
  font-size: 1.5rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.feature h3 { margin-bottom: 6px; }
.feature p  { font-size: 0.95rem; }

/* ── Support cards (clickable feature cards) ──────────── */
.support-card {
  display: block;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.support-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-soft);
}
.support-card h3 { color: var(--ink); }
.support-card p  { color: var(--ink-soft); }

/* ── Screenshots ──────────────────────────────────────── */
.screenshots {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 100px;
  text-align: center;
}
.section-lede {
  max-width: 540px;
  margin: 14px auto 48px;
  color: var(--ink-soft);
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shot-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; } }
.shot-frame {
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(180deg, #f2eefb, #e9e4f5);
  box-shadow: var(--shadow-md);
}
.shot-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: repeating-linear-gradient(
    45deg,
    #fafafa,
    #fafafa 10px,
    #f3f1f8 10px,
    #f3f1f8 20px
  );
  border: 2px dashed #d6cfe3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
}
.shot-label { font-weight: 600; color: var(--ink-soft); }
.shot-hint  { font-size: 0.85rem; }

/* ── CTA band ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--pink), #FF7AA8 60%, var(--blue));
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 14px auto 28px; max-width: 520px; }
.cta-band .cta-row { justify-content: center; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-soft); font-size: 0.95rem; }
.footer-copy { font-size: 0.85rem; color: var(--muted); width: 100%; text-align: center; margin-top: 8px; }

/* ── Legal pages (privacy / terms) ────────────────────── */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
.legal .updated {
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal a { color: var(--pink); text-decoration: underline; }
.legal .toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0 32px;
}
.legal .toc strong { display: block; margin-bottom: 6px; color: var(--ink); }
.legal .toc ol { padding-left: 1.2em; margin: 0; }
.legal .toc a { color: var(--ink-soft); text-decoration: none; }
.legal .toc a:hover { color: var(--pink); }

/* ── Skip link (a11y) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; color: #fff; }

/* ── Hero badges ──────────────────────────────────────── */
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero-badges li span {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── About ────────────────────────────────────────────── */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}
.about h2 { margin-bottom: 20px; max-width: 760px; }
.about p {
  font-size: 1.05rem;
  max-width: 780px;
  margin-bottom: 16px;
}

/* ── How it works (steps) ─────────────────────────────── */
.howto {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}
.howto h2 { margin-bottom: 10px; }
.howto .section-lede { margin: 0 0 40px; max-width: 540px; }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 6px; }
.steps p  { font-size: 0.95rem; }

/* ── Audience ─────────────────────────────────────────── */
.audience {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.audience h2 { margin-bottom: 36px; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.audience-card h3 { margin-bottom: 8px; color: var(--pink); }
.audience-card p  { font-size: 0.95rem; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.faq h2 { margin-bottom: 28px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: background .15s ease;
}
.faq details[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pink);
  transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ── Account deletion ─────────────────────────────────── */
.deletion-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
  max-width: 560px;
}
.deletion-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.deletion-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.deletion-form input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.deletion-form input[type="text"]:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.deletion-hint { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.deletion-hint a { color: var(--pink); }
.deletion-note {
  border-left: 3px solid var(--pink);
  padding: 4px 0 4px 18px;
  margin: 40px 0 0;
  max-width: 720px;
}
.deletion-note h2 { font-size: 1.35rem; margin-bottom: 10px; }
.deletion-note a { color: var(--pink); text-decoration: underline; }

/* ── 404 ──────────────────────────────────────────────── */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  text-align: center;
}
.notfound .code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.notfound h1 { margin-bottom: 12px; }
.notfound p { max-width: 460px; margin: 0 auto 28px; }
.notfound .home-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
}
.notfound .home-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); transition: all .15s ease; }
