/* Shared by the public pages: /about, /privacy, /terms (LB-146). */
:root {
  --bg: #fbfbfe;
  --fg: #1d1c2b;
  --muted: #5d5b72;
  --accent: #b4471a;
  --rule: #e2e1ec;
  --brand: #1b1a3f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14131f;
    --fg: #ecebf5;
    --muted: #a9a7bd;
    --accent: #f6a04d;
    --rule: #2d2b40;
    --brand: #ecebf5;
  }
}
:root[data-theme="dark"] {
  --bg: #14131f;
  --fg: #ecebf5;
  --muted: #a9a7bd;
  --accent: #f6a04d;
  --rule: #2d2b40;
  --brand: #ecebf5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 8px; }
header a.brand { color: var(--brand); font-weight: 700; font-size: 22px; text-decoration: none; }
header nav a { margin-left: 16px; }
a { color: var(--accent); }
h1 { font-size: 32px; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
p, li { max-width: 68ch; }
.muted { color: var(--muted); }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600;
}
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 16px 0; }
.plan { border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.plan strong { display: block; font-size: 22px; }
footer { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 16px; padding-bottom: 32px; font-size: 15px; }
footer a { margin-right: 16px; }

/* The About page's header: the autumn stream from the sign-in screen. */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 380px; margin: 24px 0 8px; border-radius: 16px; overflow: hidden;
  background: #2e2318 url(/images/landing.jpg) center 32% / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1) 65%);
}
.hero-text { position: relative; padding: 24px; }
.hero h1 { margin: 0 0 8px; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.hero p { margin: 0 0 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.hero .button { background: #b4471a; color: #fff; }
@media (max-width: 480px) {
  .hero { min-height: 320px; }
  .hero-text { padding: 16px; }
  .hero h1 { font-size: 26px; }
}

/* The Terms' short version, before the full text. */
.summary { border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 12px; padding: 4px 18px; margin: 20px 0; }
.summary ul { padding-left: 20px; }
