/* Zen Inbox Cleaner — zeninboxcleaner.com
   Static, no-JS, mobile-first. Palette derived from the app icon:
   night indigo ground, sprout green accent, cream paper. */

:root {
  --bg: #faf9f5;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5b6473;
  --line: #e3e2da;
  --accent: #2e8f66;
  --accent-ink: #226b4d;
  --leaf: #84dcac;
  --night-1: #151c33;
  --night-2: #2e3d6b;
  --star: #ffe9a3;
  --paper: #fffdf4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141f;
    --surface: #1a2130;
    --ink: #e9ecf4;
    --muted: #9aa4b8;
    --line: #2a3145;
    --accent: #6cd9a4;
    --accent-ink: #8ce6b8;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
}
h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; height: auto; }
code {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  overflow-wrap: break-word;
}

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--night-1), var(--night-2));
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fffdf4;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: #cdd5ec;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 7px 11px;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: #fffdf4;
  background: rgba(255, 253, 244, 0.1);
}

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 233, 163, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 12% 30%, rgba(255, 233, 163, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 62%, rgba(255, 233, 163, 0.1) 0 1.5px, transparent 2.5px),
    linear-gradient(135deg, var(--night-1), var(--night-2));
  color: #fffdf4;
  padding: 56px 0 64px;
  text-align: center;
}
.hero img.mark {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(3, 8, 24, 0.55);
}
.hero h1 {
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  margin: 22px 0 10px;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: #b9c3e2;
  max-width: 34em;
  margin: 0 auto;
}
.hero .soon {
  display: inline-block;
  margin-top: 26px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 253, 244, 0.35);
  border-radius: 999px;
  color: #e8ecf9;
  font-size: 0.92rem;
}
.hero .soon strong { color: var(--leaf); }

/* ---------- Sections ---------- */
main section { padding: 52px 0 8px; }
main section:last-of-type { padding-bottom: 56px; }
.kicker {
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}
main h2 { font-size: 1.65rem; margin: 0 0 14px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.screens img {
  width: calc((100% - 36px) / 3);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
}
@media (max-width: 720px) {
  .screens {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .screens img {
    width: 72vw;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 22px; list-style: none; padding: 0; }
.features li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 0.97rem;
}
.features li strong { display: block; margin-bottom: 3px; }
.features li span { color: var(--muted); font-size: 0.92rem; }

.privacy-card {
  background: linear-gradient(135deg, var(--night-1), var(--night-2));
  color: #e8ecf9;
  border-radius: 18px;
  padding: 30px 28px;
  margin-top: 22px;
}
.privacy-card h3 { color: #fffdf4; font-size: 1.25rem; margin: 0 0 10px; }
.privacy-card ul { margin: 0 0 14px; padding-left: 20px; }
.privacy-card li { margin: 7px 0; }
.privacy-card a { color: var(--leaf); }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 22px; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.plan.pro { border-color: var(--accent); border-width: 2px; }
.plan h3 { margin: 0 0 4px; font-size: 1.2rem; }
.plan .price { font-size: 1.5rem; font-weight: 700; margin: 6px 0 12px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.plan .price small { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.95rem; }
.plan li { margin: 5px 0; }

/* FAQ */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin: 10px 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 11px 0;
  list-style-position: inside;
}
details p, details ul { color: var(--muted); margin-top: 0; }

/* ---------- Legal / prose pages ---------- */
.prose { padding: 44px 0 60px; }
.prose h1 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin: 0 0 6px; }
.prose .updated { color: var(--muted); margin: 0 0 26px; font-size: 0.95rem; }
.prose h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 7px 0; }
.prose > p, .prose li { max-width: 72ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--night-1), var(--night-2));
  color: #b9c3e2;
  padding: 34px 0 40px;
  font-size: 0.92rem;
  margin-top: 40px;
}
.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #cdd5ec; }
.site-footer .legal { margin-top: 18px; font-size: 0.82rem; color: #8b97bf; max-width: 62ch; }
