/* Notify Both website. One stylesheet for all pages, light and dark. */

/* Inter, self-hosted (variable weight 400-800, Latin subset). License: fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --blue: #2f80ed;
  --violet: #6a3de8;
  --gradient: linear-gradient(135deg, var(--blue), var(--violet));
  --bg: #ffffff;
  --bg-soft: #f4f5fb;
  --card: #ffffff;
  --text: #16172b;
  --muted: #5b5e78;
  --line: #e3e5f0;
  --accent: #4a5ff0;
  --ok: #167a45;
  --shadow: 0 10px 30px rgba(40, 40, 110, 0.10);
  --radius: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f1a;
    --bg-soft: #151729;
    --card: #1b1d33;
    --text: #eceefa;
    --muted: #a3a7c4;
    --line: #2a2d4a;
    --accent: #8d9bff;
    --ok: #4ade80;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: #2b2f8f; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 24px rgba(74, 95, 240, 0.35); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient);
  color: #fff;
  padding: 72px 0 0;
  overflow: hidden;
}
.hero .wrap { text-align: center; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.hero p.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 680px; margin: 0 auto 28px; opacity: 0.95; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero .note { font-size: 0.95rem; opacity: 0.85; margin-bottom: 44px; }
.hero-art {
  max-width: 1000px; margin: 0 auto;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.center .sub { margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--gradient); color: #fff; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card.featured { border: 2px solid var(--accent); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gradient); color: #fff; margin-left: 6px; vertical-align: middle; }

/* Problem / solution split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient) center / 14px no-repeat;
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
}

/* ---------- Phone screenshots ---------- */
.phone {
  border-radius: 30px;
  border: 7px solid #15162a;
  background: #15162a;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 14px; }
@media (max-width: 900px) {
  .shots { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shots figure { scroll-snap-align: center; }
}

/* ---------- Pricing ---------- */
.price-card { max-width: 560px; margin: 0 auto; text-align: center; }
.price-card .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.price-card .checklist { text-align: left; display: inline-block; margin: 18px 0 24px; }

/* ---------- FAQ ---------- */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; margin-bottom: 12px;
}
summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 650; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent);
}
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 18px; color: var(--muted); }
details > div p:last-child { margin-bottom: 0; }

/* ---------- Setup guide ---------- */
.page-head { background: var(--gradient); color: #fff; padding: 64px 0 56px; text-align: center; }
.page-head p { opacity: 0.92; font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.toc a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 11px 16px; border-radius: 999px; background: rgba(10, 12, 60, 0.24);
}
.toc a:hover { background: rgba(10, 12, 60, 0.36); }

.step { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.step:last-of-type { border-bottom: 0; }
.step-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center;
}
.step-head h2 { margin: 4px 0 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.step-head p { color: var(--muted); margin: 0; }
.in-app { max-width: 520px; margin: 26px 0 30px; }
.in-app img { border-radius: 16px; box-shadow: var(--shadow); }
.ok { color: var(--ok); }
.summary { padding-left: 1.4em; margin: 0 0 1em; }
.summary li { margin-bottom: 6px; }
.label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

.swipe { display: none; color: var(--muted); font-size: 0.9rem; margin: -4px 0 12px; }
.flow { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; counter-reset: shot; }
.flow figure { margin: 0; }
.flow figcaption { margin-top: 12px; font-size: 0.97rem; }
.flow figcaption::before {
  counter-increment: shot; content: counter(shot);
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: 0.8rem; font-weight: 700; margin-right: 8px;
}
@media (max-width: 560px) {
  .flow { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .flow figure { scroll-snap-align: start; }
  .swipe { display: block; }
}
@media (max-width: 720px) { .hero h1 br { display: none; } }

.callout {
  border-left: 4px solid var(--accent); background: var(--bg-soft);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 22px 0 0;
}
.callout.warn { border-color: #e5484d; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Text pages (privacy) ---------- */
.prose { padding-top: 56px; padding-bottom: 72px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.meta { color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
footer nav a { display: inline-block; padding: 10px 0; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Analytics consent (added by script.js) ---------- */
.consent {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20;
  width: calc(100% - 32px); max-width: 560px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 20, 60, 0.25);
  padding: 18px 20px;
}
.consent p { margin: 0 0 14px; font-size: 0.95rem; }
.consent-actions { display: flex; gap: 12px; }
.btn-choice {
  flex: 1; justify-content: center; cursor: pointer; font-family: inherit;
  background: var(--card); color: var(--accent); border: 2px solid var(--accent);
  padding: 11px 18px;
}

/* ---------- Fade in on scroll (classes added by script.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
