/* Unsubscribed! shared look: one file so the home, app and privacy pages can't drift apart. No external requests, system fonts only. */
:root {
  --bg: #f3f3ef; --surface: #e8e8e2; --fg: #1d1f1c; --muted: #575a54; --line: #d3d4cc;
  --accent: #c2410c; --on-accent: #fff;
  --btn: var(--accent); --on-btn: var(--on-accent);
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Roboto Mono", monospace;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px; /* containers; buttons use the same radius, focus rings 6px */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a; --surface: #1e2125; --fg: #ecebe6; --muted: #a8aaa5; --line: #2d3036;
    --accent: #ff6a3d; --on-accent: #15171a;
  }
}
/* StackSplit's install button keeps its own navy, from its icon. */
.app-stacksplit { --btn: #1a1f4d; --on-btn: #fff; }
@media (prefers-color-scheme: dark) { .app-stacksplit { --btn: #3a47b0; } }

html[data-lang="es"] .en, html:not([data-lang="es"]) .es { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 1.0625rem/1.65 var(--text);
}
main { max-width: 40rem; margin: 0 auto; padding: 1rem 1rem 4rem; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
b { font-weight: 650; }

/* Top bar: where you are, and the language switch. */
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; font-size: .95rem; color: var(--muted); }
.top a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.top a[lang] { padding: 0 .75rem; margin-right: -.75rem; }

/* App pages */
.hero { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.25rem; }
.hero img { width: 4.5rem; height: 4.5rem; border-radius: 22%; flex: none; }
h1 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 2rem 0 .25rem; }
.hero h1 { margin: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; margin: 0 0 1.75rem; }
.download {
  display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .75rem 1rem;
  background: var(--btn); color: var(--on-btn); border-radius: var(--r);
  text-decoration: none; font: 650 1.15rem/1.3 var(--display); text-align: center;
  transition: transform .15s ease-out, filter .15s ease-out;
}
.download:hover { filter: brightness(1.08); }
.download:active { transform: translateY(1px); }
.download:focus-visible { outline-color: var(--fg); }
.note { font-size: .95rem; color: var(--muted); margin: .6rem 0 0; text-align: center; }
h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; margin: 2.75rem 0 .6rem; }
p, ul, ol { margin: 0 0 1rem; }
ol, ul { padding-left: 1.4rem; }
li { margin: .4rem 0; }
ol li::marker { color: var(--accent); font-weight: 700; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Privacy pages */
.date { color: var(--muted); margin: 0 0 2rem; }
.summary { background: var(--surface); border-radius: var(--r); padding: 1rem 1.25rem; }
.summary ul { margin: 0; padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
