/* Slow Change — site.
 *
 * Static on purpose: Apple needs a support and a privacy URL that never go
 * down, and a build step is a thing that breaks between here and review.
 * Colours are the app's own tokens (apps/slowchange-app/src/app/globals.css):
 * ink background, one pink accent, the blue of the first measurement.
 */
:root {
  --ink: #0a0c12;
  --ink-soft: #12151f;
  --ink-line: #1f2431;
  --pink: #ff62a0;
  --blue: #5cb8d6;
  --text: #f3f4f8;
  --text-muted: #9aa3b5;
  --text-faint: #667085;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 52rem; margin: 0 auto; padding: 2.5rem 1.5rem 6rem; }

header.brand {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink-line); margin-bottom: 3rem;
}
.brand a.name {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; letter-spacing: 0.02em;
  color: var(--text); text-decoration: none;
}
.brand a.name img { width: 32px; height: 32px; border-radius: 8px; }
.brand nav { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.brand nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.brand nav a:hover, .brand nav a[aria-current] { color: var(--text); }

h1 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(2.1rem, 6.5vw, 3.4rem); line-height: 1.08; margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h1 em { font-style: normal; color: var(--pink); }
h2 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; margin: 3.5rem 0 0.75rem;
}
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.35rem; color: var(--text); }
p, li { color: var(--text-muted); }
p { margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--pink); }
.lead { font-size: 1.2rem; color: var(--text); max-width: 36rem; }

/* Hero: text left, the real app right. */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.hero .phone { justify-self: center; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } .hero .phone { order: 2; } }

.phone {
  width: min(280px, 80vw); border-radius: 2.2rem; padding: 10px; background: #14171f;
  border: 1px solid var(--ink-line); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px #0a0c12 inset;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 1.7rem; }

/* App Store button. The link carries a ?ct= campaign token so App Analytics
 * can say which page produced a download — the only visitor count that bots
 * cannot inflate. One token per placement, never reused. */
.cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--pink); color: var(--ink); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 0.8rem; margin: 0.5rem 0 0.35rem;
  transition: transform .15s ease, filter .15s ease;
}
.cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.cta svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.cta-note { font-size: 0.9rem; margin-bottom: 0; color: var(--text-faint); }

/* Steps: how it works. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 1.1rem; padding: 1.25rem 1.35rem; }
.step .n {
  display: inline-block; width: 1.8rem; height: 1.8rem; line-height: 1.8rem; text-align: center;
  border-radius: 999px; background: var(--pink); color: var(--ink); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem;
}
.step h3 { margin-top: 0; }
.step p { margin: 0; font-size: 0.97rem; }

/* Shrink card: the example that sells the idea. */
.shrink {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, #1a1220, #12151f); border: 1px solid #3a1f2e; border-radius: 1.2rem; padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
@media (max-width: 720px) { .shrink { grid-template-columns: 1fr; } }
.shrink .label { color: var(--pink); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.4rem; }
.shrink .big { font-family: Georgia, serif; font-size: 1.6rem; color: var(--text); line-height: 1.25; margin: 0 0 0.5rem; }
.shrink .pct { font-family: Georgia, serif; font-size: 3rem; color: var(--pink); line-height: 1; white-space: nowrap; }
.shrink .pct small { display: block; font-family: "Manrope", system-ui, sans-serif; font-size: 0.8rem; color: var(--text-faint); margin-top: 0.3rem; }

/* Gallery of the other two real screens. */
.gallery { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 0; }
.gallery figure { margin: 0; text-align: center; }
.gallery figcaption { color: var(--text-faint); font-size: 0.9rem; margin-top: 0.75rem; }

/* Coming modules: announced, not promised. One button per module counts interest. */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 720px) { .modules { grid-template-columns: 1fr; } }
.module { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 1.1rem; padding: 1.35rem; display: flex; flex-direction: column; }
.module .tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.module h3 { margin: 0.4rem 0 0.5rem; font-family: Georgia, serif; font-weight: 400; font-size: 1.35rem; }
.module p { font-size: 0.95rem; flex: 1; }
.vote {
  align-self: flex-start; background: transparent; color: var(--text); border: 1px solid var(--ink-line);
  border-radius: 0.7rem; padding: 0.55rem 1rem; font: inherit; font-size: 0.95rem; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.vote:hover { border-color: var(--pink); }
.vote[data-done] { border-color: var(--pink); background: rgba(255,98,160,.12); cursor: default; }

.card { background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 1.1rem; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.card h3 { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

.price { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; }
.price div { flex: 1 1 14rem; background: var(--ink-soft); border: 1px solid var(--ink-line); border-radius: 1.1rem; padding: 1.25rem 1.5rem; }
.price .amount { font-family: Georgia, serif; font-size: 1.9rem; color: var(--text); }
.price .amount small { font-family: "Manrope", system-ui, sans-serif; font-size: 0.9rem; color: var(--text-faint); }
.price p { margin: 0.4rem 0 0; font-size: 0.95rem; }
.price .free { border-color: #2a3a45; }
.price .free .amount { color: var(--blue); }

footer.meta {
  color: var(--text-faint); font-size: 0.9rem; margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line); display: flex; gap: 1.25rem; flex-wrap: wrap;
}
footer.meta a { color: var(--text-muted); text-decoration: none; }
footer.meta a:hover { color: var(--text); }

@media (prefers-color-scheme: light) {
  :root {
    --ink: #fbfaf8; --ink-soft: #ffffff; --ink-line: #e8e6e1;
    --pink: #d9297a; --blue: #1f7f9e;
    --text: #14171c; --text-muted: #4b5563; --text-faint: #6b7280;
  }
  .phone { background: #e9e7e2; box-shadow: 0 30px 80px rgba(0,0,0,.18); }
  .shrink { background: linear-gradient(135deg, #fff1f6, #ffffff); border-color: #f3c6d8; }
  .vote[data-done] { background: rgba(217,41,122,.08); }
}
