/* Pen & Capy Travels (task #834). The shared app palette (system-notes topics/app-palette.md), from the rickshaw art.
   Follows the device's light or dark setting. System fonts only: no webfont, nothing from anywhere else. */
:root {
  --bg: #fbf4e4; --card: #fffdf7; --card-2: #fdf3df; --text: #1b1915; --muted: #645a4d; --line: #eadcc2;
  --accent: #23696f; --accent-2: #36797f; --on-accent: #ffffff; --ink: #15130f; --saffron: #ee961b;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1819; --card: #152325; --card-2: #1a2b2d; --text: #f4ecdc; --muted: #a6b3b0; --line: #243a3c;
    --accent: #7cc6c4; --accent-2: #69b7b7; --on-accent: #0e1819;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 16px 18px 8px; }
h1, h2 { font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; line-height: 1.2; }
h2 { font-size: 1.15rem; margin: 0 0 10px; }
a { color: var(--accent); }
svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the top: the art on a saffron card, as the palette's hero */
.hero {
  text-align: center; padding: 18px 16px 22px; border: 2px solid var(--ink); border-radius: 22px; color: var(--ink);
  background: radial-gradient(circle at 85% 0%, #f6b44a 0, transparent 45%), linear-gradient(160deg, #d79a27, #ee961b 55%, #da8626);
}
.hero .art { display: block; width: min(100%, 380px); height: auto; margin: 0 auto 6px; }
.hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin: 4px 0 6px; letter-spacing: -.01em; }
.tagline { margin: 0; font-size: 1.08rem; font-weight: 600; }

section { margin: 22px 0; }
.about, .follow, .give { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.about p { margin: 0; }

/* the buttons: big and touch-sized (at least 56 px tall) */
.buttons { display: grid; gap: 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 18px;
  border-radius: 16px; border: 2px solid var(--ink); background: var(--accent-2); color: #fff;
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .btn { border-color: #000; } }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.btn.youtube { background: #9b2a1e; }
.btn.facebook { background: #23696f; }
.btn.instagram { background: #4c6464; }

/* the donation */
.give { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: var(--card-2); }
.give .side { width: min(70%, 240px); height: auto; }
.give h2 { display: flex; align-items: center; justify-content: center; gap: 8px; }
.give h2 svg { color: #2e7a55; }
.give .give-btn { background: var(--saffron); color: var(--ink); }

footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 4px 18px 28px; }
footer p { margin: 0; }

/* desk: art beside the words, buttons in a row */
@media (min-width: 760px) {
  main { max-width: 900px; padding-top: 28px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: left; gap: 18px; padding: 24px 30px; }
  .hero .art { grid-row: 1 / span 2; width: 100%; margin: 0; }
  .hero h1, .tagline { grid-column: 2; }
  .hero h1 { align-self: end; margin: 0; }
  .tagline { align-self: start; }
  .buttons { grid-template-columns: repeat(3, 1fr); }
  .give { flex-direction: row; text-align: left; }
  .give .side { width: 220px; }
  .give h2 { justify-content: flex-start; }
  .give .give-btn { display: inline-flex; }
}

.lost { text-align: center; padding-top: 60px; }
.lost .side { width: min(70%, 260px); height: auto; }
