/* Shared across the studio site. Mirrors the Road Trip app's palette:
   warm neutral ground, the app icon's orange as the only accent, and
   light/dark following the reader's system setting. */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1c1917;
  --text-secondary: #6b635b;
  --text-muted: #938a80;
  --accent: #c2521c;
  --hairline: #e6dfd5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140f;
    --surface: #241f19;
    --text: #f7f3ee;
    --text-secondary: #b8afa4;
    --text-muted: #8a8178;
    --accent: #e8763f;
    --hairline: #2e2822;
  }
}

* { box-sizing: border-box; }

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

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

header { margin-bottom: 2.5rem; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 0.5rem; font-weight: 600; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; font-weight: 600; }
h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; font-weight: 600; }

p, li { color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.lede { font-size: 1.1rem; color: var(--text-secondary); }

.updated { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.summary {
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: transparent;
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a { color: var(--text-secondary); }

nav.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}
