:root {
  --red: #c8102e;
  --red-hover: #9e1129;
  --red-light: #ea4a5e;
  --red-faint: #fdf1f3;
  --red-border: rgba(200, 16, 46, 0.18);
  --glow: rgba(200, 16, 46, 0.1);
  --bg: #ffffff;
  --bg-soft: #faf7f8;
  --surface: #ffffff;
  --surface2: #f6f4f5;
  --border: #ebe6e8;
  --border2: #d9d2d5;
  --text: #1c1c22;
  --text2: #4d4d58;
  --muted: #7a7a86;
  --heading: #1c1c22;
  --green: #1f8a4c;
  --green-faint: #eef8f1;
  --amber: #b45309;
  --amber-faint: #fdf7e9;
  --sky: #0a6cc2;
  --sky-faint: #eef5fd;
  --code-bg: #1d1c22;
  --code-text: #e6e3ea;
  --ink-band: #1c1c22;
  --phone-bezel: #1c1c1f;
  --shadow-sm: 0 1px 2px rgba(28, 28, 34, 0.06);
  --shadow-md: 0 8px 28px -12px rgba(28, 28, 34, 0.18);
  --shadow-lg: 0 30px 70px -28px rgba(120, 10, 30, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --font:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 64px;
}

[data-theme="dark"] {
  --bg: #19181c;
  --bg-soft: #1f1d22;
  --surface: #242228;
  --surface2: #2a282f;
  --border: #34313a;
  --border2: #45414c;
  --text: #ecebef;
  --text2: #c4c1ca;
  --muted: #8f8b97;
  --heading: #ffffff;
  --red: #ea4a5e;
  --red-hover: #f06a7b;
  --red-faint: rgba(234, 74, 94, 0.12);
  --red-border: rgba(234, 74, 94, 0.3);
  --glow: rgba(234, 74, 94, 0.16);
  --green: #3fbf73;
  --green-faint: rgba(63, 191, 115, 0.12);
  --amber: #f0a43a;
  --amber-faint: rgba(240, 164, 58, 0.12);
  --sky: #4ea3f5;
  --sky-faint: rgba(78, 163, 245, 0.12);
  --code-bg: #121115;
  --ink-band: #2a2230;
  --phone-bezel: #2c2b31;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-round);
  color: var(--heading); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em;
}
strong { color: var(--heading); font-weight: 650; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* Light / dark screenshot pairs */
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-round); font-weight: 700; font-size: 20px; color: var(--heading); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand-name .nag, .brand .nag { color: var(--red); }
.main-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.main-nav a { color: var(--text2); font-size: 15px; font-weight: 550; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--heading); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn, .nav-toggle {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-btn svg, .nav-toggle svg { width: 18px; height: 18px; }
.theme-btn:hover, .nav-toggle:hover { border-color: var(--border2); color: var(--heading); }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }
.nav-toggle { display: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 14px;
  font-weight: 650; font-size: 16px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-secondary { background: var(--red-faint); color: var(--red); }
.btn-secondary:hover { border-color: var(--red-border); }
.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 11px; }

/* App Store badge */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 13px;
  padding: 10px 20px 10px 16px; border: 1px solid #000;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.appstore-badge:hover { text-decoration: none; opacity: 0.88; color: #fff; }
.appstore-badge:active { transform: scale(0.98); }
[data-theme="dark"] .appstore-badge { background: #fff; color: #000; border-color: #fff; }
[data-theme="dark"] .appstore-badge:hover { color: #000; }
.appstore-badge svg { width: 24px; height: 24px; }
.appstore-badge .lines { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore-badge .small { font-size: 11px; opacity: 0.85; }
.appstore-badge .big { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* ── Shared bits ────────────────────────────────────────── */
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  color: var(--red); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.lede { font-size: 19px; color: var(--text2); }
.pill-new {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--red-border);
  font-size: 14px; font-weight: 600; color: var(--text2); margin-bottom: 22px;
}
.pill-new b { background: var(--red); color: #fff; font-size: 11.5px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; }
.chip {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: var(--text2);
}
.system-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Phone frame */
.phone {
  position: relative; width: 100%;
  padding: var(--bezel, 7px); border-radius: 14% / 6.5%;
  background: var(--phone-bezel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, var(--shadow-lg);
}
.phone img { width: 100%; border-radius: 12.4% / 5.75%; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; padding: 88px 0 72px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 85% 35%, var(--glow), transparent 70%),
    radial-gradient(45% 45% at 5% 95%, color-mix(in srgb, var(--glow) 60%, transparent), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-bottom: 22px; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--red); }
.hero .lede { max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--green); }
.hero-phone { position: relative; max-width: 330px; margin: 0 auto; }
.hero-phone .phone { --bezel: 8px; transform: rotate(2deg); }
.hero-widget {
  position: absolute; left: -34%; bottom: 9%; width: 62%;
  border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(-4deg);
  background: #fff;
}
[data-theme="dark"] .hero-widget { background: #1c1c1e; }
.hero-bottom-fade { display: none; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; letter-spacing: -0.02em; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Spotlight rows */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.spotlight + .spotlight { margin-top: 112px; }
.spotlight.reverse .spot-media { order: -1; }
.spot-text h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; letter-spacing: -0.02em; }
.spot-text > p { font-size: 18px; margin-bottom: 22px; }
.spot-media { position: relative; display: flex; justify-content: center; }
.spot-media .phone { max-width: 310px; }
.spot-media::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--red); }
.widget-stack { display: grid; gap: 18px; max-width: 420px; width: 100%; }
.widget-stack img { border-radius: 26px; box-shadow: var(--shadow-md); background: #fff; }
[data-theme="dark"] .widget-stack img { background: #1c1c1e; }
.widget-stack .row { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: 18px; align-items: center; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-faint); color: var(--red);
}
.feature-icon svg { width: 22px; height: 22px; }
.fi-green { background: var(--green-faint); color: var(--green); }
.fi-sky { background: var(--sky-faint); color: var(--sky); }
.fi-amber { background: var(--amber-faint); color: var(--amber); }
.feature-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.feature-card p { font-size: 15.5px; color: var(--muted); }

/* Screenshot gallery */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  margin: 0 calc(50% - 50vw);
  padding: 12px 24px 36px;
}
.shot { scroll-snap-align: center; }
.shot .phone { --bezel: 5px; box-shadow: var(--shadow-md); }
.shot figcaption { text-align: center; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--text2); }
.shots-hint { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px;
  background: var(--red-faint); color: var(--red);
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* Notification plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.plan.featured { border-color: var(--red-border); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 17px; color: var(--muted); font-weight: 650; margin-bottom: 8px; }
.plan-amount { font-family: var(--font-round); font-size: 30px; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.plan-amount small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan p { font-size: 15px; color: var(--muted); }
.plans-note { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 22px; }
.plans > * { min-width: 0; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }

/* App Store reviews */
.reviews { columns: 3 300px; column-gap: 18px; }
.review {
  break-inside: avoid; margin: 0 0 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; margin-bottom: 8px; }
.review h3 { font-size: 17px; margin-bottom: 8px; }
.review blockquote { font-size: 15px; color: var(--text2); line-height: 1.6; }
.review figcaption { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; color: var(--text2);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.guide-card:hover { text-decoration: none; border-color: var(--red-border); transform: translateY(-2px); }
.guide-card .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.guide-card h3 { font-size: 18.5px; margin-bottom: 6px; }
.guide-card p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.guide-card .more { font-size: 14.5px; font-weight: 650; color: var(--red); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 650; color: var(--heading); font-size: 16.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; font-size: 15.5px; color: var(--text2); }

/* Closing band */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, var(--glow), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 32px; padding: 76px 40px;
}
.cta-band img.cta-icon { width: 72px; height: 72px; margin: 0 auto 22px; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.cta-band p { color: var(--text2); font-size: 18px; max-width: 56ch; margin: 0 auto 30px; }
.cta-band .note { font-size: 14px; color: var(--muted); margin: 18px auto 0; }
[data-theme="dark"] .cta-band {
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(234, 74, 94, 0.35), transparent 70%),
    var(--ink-band);
  border-color: transparent;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: 96px; background: var(--bg-soft); border-top: 1px solid var(--border);
  color: var(--muted); padding: 60px 0 32px; font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--heading); font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--heading); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-round); font-weight: 700; font-size: 19px; color: var(--heading); margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand .nag { color: var(--red); }
.footer-about { max-width: 34ch; font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; font-size: 13.5px;
}

/* ── Guide article pages ────────────────────────────────── */
.article-hero { position: relative; padding: 64px 0 36px; }
.article-hero::before {
  content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--header-h)); bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: radial-gradient(40% 90% at 85% 0%, var(--glow), transparent 70%);
  pointer-events: none;
}
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.article-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 18px; letter-spacing: -0.02em; }
.article-hero .lede { font-size: 19px; color: var(--text2); }
.article-meta { display: flex; gap: 14px; margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 600; }
article.guide { padding-bottom: 40px; }
article.guide h2 { font-size: 28px; margin: 48px 0 16px; }
article.guide h3 { font-size: 20px; margin: 30px 0 12px; }
article.guide p { margin-bottom: 16px; }
article.guide ul, article.guide ol { margin: 0 0 18px 24px; }
article.guide li { margin-bottom: 8px; }
.guide-phone { --bezel: 6px; width: min(270px, 72%); margin: 36px auto 44px; }
.callout {
  border-left: 3px solid var(--red); background: var(--red-faint);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 22px 0; font-size: 15.5px;
}
.callout.tip { border-color: var(--green); background: var(--green-faint); }
.callout.info { border-color: var(--sky); background: var(--sky-faint); }
pre.code {
  background: var(--code-bg); color: var(--code-text);
  border-radius: 14px; padding: 18px 22px; font-family: var(--mono);
  overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 18px 0;
}
pre.code code { background: none; border: 0; padding: 0; color: inherit; }
.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface); border: 1px solid var(--red-border);
  border-radius: var(--radius-lg); padding: 24px 28px; margin: 44px 0;
  box-shadow: var(--shadow-md);
}
.inline-cta strong { color: var(--heading); font-size: 18px; display: block; margin-bottom: 2px; }
.inline-cta > div > span { font-size: 15px; color: var(--muted); }
article.guide .guide-card h3 { margin: 0 0 6px; }
article.guide .guide-card p { margin-bottom: 12px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .spotlight { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 64px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-trust, .system-chips { justify-content: center; }
  .hero-phone { max-width: 290px; }
  .hero-widget { left: -22%; }
  .spotlight.reverse .spot-media { order: 0; }
  .spot-text { text-align: center; }
  .checklist { text-align: left; max-width: 480px; margin: 0 auto; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0; display: none; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 24px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 72px 0; }
  .feature-grid, .steps, .guide-grid { grid-template-columns: 1fr; }
  .spotlight + .spotlight { margin-top: 80px; }
  .shots { grid-auto-columns: 200px; padding: 12px 16px 32px; }
  .cta-band { padding: 56px 22px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-widget { width: 58%; left: -14%; }
  .inline-cta { padding: 22px; }
}

.hero-grid > *, .spotlight > *, .feature-grid > *, .guide-grid > *, .steps > * { min-width: 0; }
.footer-bottom .heart { color: var(--red); }
