/* Guide site for a local page. Light + dark tokens; amber is a fill/underline only on light (1.9:1 as text). */
:root {
  --bg: #fafaf8; --surface: #ffffff; --text: #2b2b2b; --muted: #5a5a57; --line: #e4e3df;
  --accent: #f2b632; --accent-soft: #fcf1d6; --on-accent: #2b2b2b; --link-line: #d99a12;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-sm: 0 0 0 1px rgb(0 0 0 / .06), 0 1px 2px -1px rgb(0 0 0 / .06), 0 2px 4px 0 rgb(0 0 0 / .04);
  --shadow-md: 0 0 0 1px rgb(0 0 0 / .06), 0 3px 3px -1.5px rgb(0 0 0 / .06), 0 12px 12px -6px rgb(0 0 0 / .06);
  --radius: 14px; --radius-in: 6px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1b; --surface: #252524; --text: #ecebe7; --muted: #b3b1ab; --line: #3a3936;
    --accent-soft: #33291a; --link-line: #f2b632;
    --shadow-sm: 0 0 0 1px rgb(255 255 255 / .08), 0 2px 4px 0 rgb(0 0 0 / .3);
    --shadow-md: 0 0 0 1px rgb(255 255 255 / .08), 0 12px 12px -6px rgb(0 0 0 / .35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); }
.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.mark { font: 700 1.25rem/1.1 var(--serif); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.mark::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.top-fb { font-size: .9375rem; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(2rem, 6vw + .5rem, 2.875rem); margin: 40px 0 8px; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; margin: 40px 0 12px; }
h3 { font-size: 1.1875rem; margin: 28px 0 8px; }
p { margin: 0 0 16px; text-wrap: pretty; }
.meta { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }

.answer { background: var(--accent-soft); border-radius: var(--radius); padding: 20px; margin: 0 0 32px; box-shadow: var(--shadow-sm); }
.answer h2 { font: 700 .8125rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.answer p { font: 400 1.1875rem/1.5 var(--serif); margin: 0; }

.hero { margin: 0 0 32px; }
.ratio { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.ratio img { width: 100%; height: 100%; object-fit: cover; display: block; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.hero figcaption { color: var(--muted); font-size: .8125rem; margin-top: 8px; }

.body p, .body li, .intro p { max-width: 36em; }
.body ul, .body ol { padding-left: 1.25rem; margin: 0 0 16px; }
.body li { margin-bottom: 8px; }
.note { border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); padding: 16px 20px; margin: 0 0 20px; }
.note p { margin: 0; }
.sources { border-top: 1px solid var(--line); margin-top: 40px; }
.sources h2 { font-size: 1.125rem; }
.sources ul { padding-left: 1.25rem; color: var(--muted); }

.ask { margin: 40px 0 40px; padding: 24px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-md); }
.ask p { font: 700 1.25rem/1.3 var(--serif); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 4px 10px -2px rgb(0 0 0 / .14); transition: transform 150ms var(--ease-out); }
.btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); background: #e0a31f; } }
@media (max-width: 480px) { .btn { width: 100%; } }

.intro { padding-bottom: 8px; }
.intro p { color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.list { list-style: none; padding: 0; margin: 16px 0 56px; display: grid; gap: 16px; }
.list a { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform 150ms var(--ease-out); }
.list a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .list a:hover .t { text-decoration-color: var(--text); }
}
.list li:first-child a { padding: 28px 20px; box-shadow: var(--shadow-md); }
.list li:first-child .t { font-size: 1.625rem; }
.list .t { font: 700 1.25rem/1.2 var(--serif); text-wrap: balance; text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.list .d { color: var(--muted); }
.list .m { color: var(--muted); font-size: .875rem; }
.empty { color: var(--muted); padding: 24px 0 56px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; padding: 24px 0 40px; }
@media (prefers-reduced-motion: reduce) { .btn, .list a { transition: none; } }
