/* G115: the answer pages. The home page's colours and navigation, one reading column. */
:root {
  --bg: #f4f5f7; --surface: #ffffff; --ink: #15161a; --muted: #5b616e; --faint: #8a909c;
  --line: #e6e8ec; --red: #c5202e; --radius-sm: 11px; --maxw: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; font-weight: 600; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a91a26; }

header.nav { position: sticky; top: 0; z-index: 50; background: rgba(244,245,247,.82); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.brand .logo { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-actions .signin { font-weight: 600; font-size: .95rem; }
.nav-actions .signin:hover { color: var(--red); }

.answer-page { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.answer-page .crumb { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.answer-page h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 22px; }
.answer-page h2 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.015em; margin: 44px 0 14px; }
.answer-page h3 { font-size: 1.08rem; line-height: 1.3; margin: 26px 0 6px; }
.answer-page p { color: var(--muted); margin-bottom: 14px; }
.answer-page p.answer { font-size: 1.14rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 8px; }
.answer-page strong { color: var(--ink); }
.answer-page ol, .answer-page ul { color: var(--muted); margin: 0 0 14px 22px; }
.answer-page li { margin-bottom: 8px; }
.answer-page p a, .answer-page li a { color: var(--red); font-weight: 600; }
.answer-page p a:hover, .answer-page li a:hover { text-decoration: underline; }
.answer-page ul.links { list-style: none; margin-left: 0; }
.answer-page ul.links li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.answer-page ul.links li a { display: block; padding: 14px 18px; color: var(--ink); }
.answer-page ul.links li a:hover { color: var(--red); text-decoration: none; }
.answer-page .cta { margin-top: 40px; }
.answer-page .cta a { color: #fff; }
.answer-page .cta a:hover { text-decoration: none; }
.answer-page .published { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--faint); }

footer { background: #0c0e12; color: #aab0bd; padding: 40px 0; font-size: .9rem; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer a { color: #cfd4de; }
footer a:hover { color: #fff; }

@media (max-width: 680px) { .nav-links { display: none; } .answer-page { padding-top: 36px; } }
