/* Pathside's palette, taken from the app rather than from taste: the neutral canvas greys are
   PathsideCanvas.backdrop (apps/pathside/.../ui/PathsideCanvas.kt) and the coral is the factory
   seed, FactorySeed in design-system. A viewer for artwork has to be neutral around the artwork,
   so colour is spent only on the one action. Nunito is the app's own face. */
:root {
  --page: #F7F5F3;
  --raised: #FFFFFF;
  --shade: #E9E9EC;
  --rule: #DCDAD8;
  --ink: #1C1C1E;
  --ink-muted: #63615F;
  --accent: #C2502F;
  --on-accent: #FFFFFF;
  --accent-soft: #FBE7E0;
  --on-accent-soft: #8A3418;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #141414;
    --raised: #1C1C1E;
    --shade: #232326;
    --rule: #34343A;
    --ink: #EDEAE7;
    --ink-muted: #A3A09C;
    --accent: #F0836A;
    --on-accent: #2A0F06;
    --accent-soft: #3A1E16;
    --on-accent-soft: #F6BCA9;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin-bottom: 40px;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site a { color: var(--ink); text-decoration: none; font-weight: 700; }
header.site nav a { color: var(--ink-muted); font-weight: 600; font-size: 15px; margin-left: 18px; }
header.site nav a:hover, header.site a:hover { color: var(--accent); }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
code {
  background: var(--shade);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.meta { color: var(--ink-muted); font-size: 15px; margin-bottom: 28px; }

/* The Short answer box: every guide opens with one, because most of the traffic wants the answer
   and not the article. */
.short {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 0 0 24px;
}
.short p:last-child { margin-bottom: 0; }
.short strong { display: block; margin-bottom: 6px; }

.cta-inline { margin: 0 0 28px; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
}
.cta:hover { opacity: 0.92; }
.card {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  margin: 40px 0;
}
.card h2 { margin-top: 0; }
.more { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 24px; }
.more ul { list-style: none; padding: 0; }
.more li { margin-bottom: 10px; }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding: 28px 0 48px;
  color: var(--ink-muted);
  font-size: 15px;
}
footer.site a { color: var(--ink-muted); }
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  body { font-size: 16px; }
}
