/* Poncho Pause site. Indigo from the app icon, one warm accent, system fonts
   (no third-party requests: the site practises what the app promises). */
:root {
  --indigo-900: #1a237e;
  --indigo-800: #283593;
  --indigo-600: #3949ab;
  --indigo-400: #5c6bc0;
  --indigo-50: #eef0fa;
  --amber: #ffb74d;
  --bg: #fbfbfe;
  --surface: #ffffff;
  --alt: #f2f3fa;
  --fg: #171a2e;
  --muted: #545a76;
  --line: #e0e3f0;
  --accent: var(--indigo-600);
  --on-accent: #ffffff;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10121f;
    --surface: #181b2d;
    --alt: #151829;
    --fg: #e8eaf6;
    --muted: #a3a8c3;
    --line: #2a2e47;
    --accent: #8c9eff;
    --on-accent: #10121f;
    --indigo-50: #1f2440;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; overflow-wrap: anywhere; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand img { border-radius: 8px; }
nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav a:hover { color: var(--fg); }
nav .nav-cta { color: var(--on-accent); background: var(--accent); padding: 7px 16px; border-radius: 999px; }
nav .nav-cta:hover { color: var(--on-accent); filter: brightness(1.08); }
@media (max-width: 640px) { nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--indigo-400) 22%, transparent), transparent 70%),
    var(--bg);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.lede-sm { color: var(--muted); max-width: 62ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  padding: 12px 22px; border-radius: 12px; text-decoration: none;
  font-weight: 650; line-height: 1.25; min-height: 52px;
}
.btn-sub { font-size: 0.78rem; font-weight: 500; opacity: 0.85; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--indigo-800) 70%, transparent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--fg); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* Phone mock: the app's real status card, drawn in CSS */
.phone {
  margin: 0; justify-self: center; width: min(300px, 100%);
  aspect-ratio: 9 / 16; border-radius: 36px; padding: 10px;
  background: #0d0f1c; box-shadow: 0 30px 60px -30px rgba(26, 35, 126, 0.55);
}
.phone-screen {
  height: 100%; border-radius: 28px; overflow: hidden;
  background: #f5f6fc; color: #171a2e; font-size: 12px;
  display: flex; flex-direction: column; gap: 10px; padding: 14px 12px;
}
.ps-bar { font-weight: 700; font-size: 15px; padding: 6px 4px 2px; }
.ps-card { background: #fde2df; color: #3b0a07; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ps-head { display: flex; gap: 10px; align-items: center; }
.ps-head strong { display: block; font-size: 18px; }
.ps-head small { opacity: 0.75; }
.ps-dot { width: 34px; height: 34px; border-radius: 50%; background: #b3261e; flex: none; position: relative; }
/* Pause glyph: two bars */
.ps-dot::before, .ps-dot::after { content: ""; position: absolute; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: #fff; }
.ps-dot::before { left: 11px; }
.ps-dot::after { right: 11px; }
.ps-chip { align-self: flex-start; background: rgba(59, 10, 7, 0.1); border-radius: 99px; padding: 4px 10px; font-weight: 600; }
.ps-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps-stats div { background: rgba(255, 255, 255, 0.6); border-radius: 10px; padding: 6px 7px; }
.ps-stats b { display: block; font-size: 16px; }
.ps-stats small { font-size: 9.5px; }
.ps-list { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.ps-list div { display: flex; justify-content: space-between; border-bottom: 1px solid #e3e5f1; padding-bottom: 6px; }
.ps-list small { color: #6b7090; }

/* Sections */
.band { padding-block: clamp(56px, 8vw, 88px); }
.band-alt { background: var(--alt); border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.features article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.features p { color: var(--muted); }
.tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; vertical-align: middle; color: var(--accent); background: var(--indigo-50); border-radius: 99px; padding: 2px 8px; margin-left: 6px; }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--muted); }
.facts b { color: var(--fg); }

.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--accent); color: var(--on-accent);
}
.steps p { color: var(--muted); font-size: 0.96rem; }
.note { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 55%, var(--line)); max-width: 80ch; }
.adb { margin-top: 18px; max-width: 80ch; }
.adb summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.adb p { margin-top: 10px; color: var(--muted); }
pre { background: #0d0f1c; color: #e8eaf6; border-radius: 12px; padding: 14px 16px; overflow-x: auto; margin: 10px 0 0; }
pre code { font-size: 0.85rem; overflow-wrap: normal; }

.download { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.dl-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; align-items: flex-start; }
.meta { margin: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.meta div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.meta dt { color: var(--muted); font-size: 0.92rem; }
.meta dd { margin: 0; min-width: 0; }
.qr { margin: 0; background: #ffffff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); width: 280px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.qr img { display: block; width: 100%; height: auto; }
.qr figcaption { color: #545a76; font-size: 0.85rem; }
.qr a { color: #3949ab; }

.foot { padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Prose pages (privacy policy) */
.prose { max-width: 720px; padding-block: clamp(40px, 7vw, 72px); display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.3rem; margin: 18px 0 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose .updated { font-size: 0.9rem; }

@media (max-width: 860px) {
  .hero-grid, .privacy, .download { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone { width: min(260px, 80%); }
}
@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .meta div { grid-template-columns: 1fr; gap: 2px; }
}
