/* Colors follow App/DesignSystem/Theme.swift. */
:root {
  color-scheme: light dark;
  --bg: #f5efe4;
  --card: #fffbf2;
  --text: #2b2118;
  --muted: #5e5043;
  --line: #e6dccb;
  --accent: #c4432f;
  --accent-text: #ffffff;
  --soft: #ece3d3;
  --serif: "New York", ui-serif, Charter, "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --card: #151d2f;
    --text: #eef1f8;
    --muted: #a7b0c2;
    --line: #232d42;
    --accent: #ff7a6b;
    --accent-text: #2a0f0b;
    --soft: #1b2539;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 20px 0; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding: 36px 0 56px; }
h1 { font: 600 2.4rem/1.15 var(--serif); margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font: 600 1.45rem/1.3 var(--serif); margin: 2.2em 0 0.4em; }
h3 { font-size: 1.05rem; margin: 1.6em 0 0.2em; }
p, ul, ol, dl { margin: 0.6em 0; }
ul, ol { padding-left: 1.3em; }
li { margin: 0.25em 0; }
.lead { font: 1.3rem/1.5 var(--serif); color: var(--muted); max-width: 32em; }
.hero { padding: 24px 0 8px; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 24px rgba(43, 33, 24, .18); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.button { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; font-size: 16px; }
.button.secondary { background: var(--soft); color: var(--text); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 34px 0 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); display: block; }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.card h3 { margin: 0 0 4px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { background: var(--soft); border-radius: 14px; padding: 12px 16px; margin: 1.2em 0; }
.small { font-size: 14px; color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin: 10px 0; }
summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
details[open] summary { margin-bottom: 4px; }
@media (max-width: 520px) { h1 { font-size: 2rem; } }
