/* Keep Up site. Same palette as the app: cream, evergreen, amber. */
:root {
  --bg: #F7F3EC;
  --surface: #ECE8E1;
  --ink: #1A1C1B;
  --muted: #5B5F5D;
  --line: #DDD9D2;
  --accent: #14504A;
  --amber: #8A6A1F;
  --amber-bg: #FBE7B8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141615;
    --surface: #202322;
    --ink: #E3E2DE;
    --muted: #AFB4B2;
    --line: #3F4946;
    --accent: #8FD3C8;
    --amber: #F2B441;
    --amber-bg: #584200;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header { padding: 72px 0 48px; }

.mark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.mark svg { display: block; }
.mark span { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }

h1 {
  font-size: clamp(34px, 6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 680;
  margin: 32px 0 16px;
}

.lede { font-size: 20px; color: var(--muted); margin: 0 0 8px; max-width: 34em; }

h2 {
  font-size: 22px; font-weight: 650; letter-spacing: -0.012em;
  margin: 56px 0 12px;
}
h3 { font-size: 17px; font-weight: 650; margin: 32px 0 6px; }

p { margin: 0 0 16px; max-width: 36em; }
a { color: var(--accent); text-underline-offset: 3px; }

ul { padding-left: 20px; max-width: 36em; }
li { margin-bottom: 8px; }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 28px 0;
}
.note p:last-child { margin-bottom: 0; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0 8px;
}
.shots img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.caption { font-size: 14px; color: var(--muted); margin-top: 4px; }

.meta { font-size: 15px; color: var(--muted); }

footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 28px 0 64px;
  font-size: 15px;
  color: var(--muted);
}
footer a { color: var(--accent); }

/* Home page bits added with the pages themselves. */
.hero-shot {
  width: 100%; max-width: 330px; height: auto; display: block;
  margin: 8px auto 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cta {
  display: inline-block; margin: 4px 12px 4px 0; padding: 12px 22px;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--accent); color: var(--bg);
}
.cta.secondary { background: transparent; color: var(--accent);
  border: 1px solid var(--line); }
.pill {
  display: inline-block; font-size: 13px; font-weight: 650;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--amber-bg); color: var(--amber);
  padding: 5px 12px; border-radius: 999px;
}
