/*
  THE ANSWER PAGES (/guides). The simplified look of the plain pages (support,
  privacy, terms): same fonts, colours from /palette.css (html[data-page]), one
  column, generous space. White ground in light, near-black in dark, which is
  where Kayla wants the logo (option 8) to sit.
*/
@font-face { font-family: 'Playfair Display'; src: url('/fonts/PlayfairDisplay-var.woff2') format('woff2-variations'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ui: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; padding: 28px 20px 80px; background: var(--bg); color: var(--ink);
  font-family: var(--ui); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; }
a { color: var(--ink); text-decoration-color: var(--brand-red); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; border-radius: 4px; }

.top { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 36px; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 64px; width: auto; }
.slogan { margin: 0; color: var(--muted); font-size: 14px; }

.eyebrow { margin: 0 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow a { color: var(--muted); }
h1 { font-family: var(--display); font-size: 40px; line-height: 1.12; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: 19px; margin: 0 0 8px; }
h2 { font-family: var(--display); font-size: 25px; line-height: 1.25; font-weight: 700; margin: 44px 0 10px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 8px 0 14px; }
li { margin-bottom: 10px; }
strong { font-weight: 600; }
sup { font-size: 12px; line-height: 0; margin-left: 2px; }
sup a { display: inline-block; min-width: 24px; min-height: 24px; text-align: center; line-height: 24px; text-decoration: none; color: var(--muted); }

.tool { margin-top: 48px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.tool h2 { margin-top: 0; }
.cta { margin: 20px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 28px; border-radius: 14px; background: var(--brand); color: #fff;
  font-weight: 600; font-size: 18px; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }

.sources { margin-top: 44px; font-size: 15px; color: var(--muted); }
.sources h2 { font-size: 20px; color: var(--ink); }
.sources a { color: var(--muted); word-break: break-word; }
.sources .note { margin-top: 12px; }

.more ul, .index { list-style: none; padding: 0; }
.more li { margin-bottom: 4px; }
.more a, .index > li > a { display: inline-block; padding: 6px 0; font-weight: 600; }
.index > li { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.index p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }

.foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot a { color: var(--muted); display: inline-block; padding: 4px 0; }
.foot .help { color: var(--ink); }
.foot .help a { color: var(--ink); font-weight: 600; }

@media (max-width: 480px) {
  body { padding: 20px 16px 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; margin-top: 36px; }
  .tool { padding: 22px 18px; }
  .btn { width: 100%; }
  .logo img { height: 52px; }
}
