/* Styles for the quiz, About, Help and Policies pages, plus shared additions. */
.nav a.on { color: var(--ink); font-weight: 600; }
.nav-quiz { display: none; }
@media (max-width: 760px) { .nav .nav-quiz { display: inline; color: var(--ink); font-weight: 600; text-decoration: none; } }
.nudge { margin-top: 12px; background: var(--soft); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.nudge b { color: var(--accent); }

/* Page header band (inner pages) */
.page-band { background: var(--band); color: var(--band-ink); padding: 0; position: relative; overflow: hidden; }
.page-band .wrap { padding-block: 56px 72px; position: relative; z-index: 1; }
.page-band .eyebrow { color: var(--sun); }
.page-band h1 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 10px; max-width: 20ch; }
.page-band p.sub { color: var(--band-muted); font-size: 18px; margin-top: 14px; max-width: 52ch; }

/* Long-form text */
.prose { max-width: 68ch; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; margin: 0 0 14px; display: grid; gap: 6px; }
.prose .meta { color: var(--muted); font-size: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.values div { border-top: 2px solid var(--ink); padding-top: 16px; }
.values h3 { font-size: 21px; margin-bottom: 6px; }
.values p { color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.note-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--muted); }

/* Free printables band on the homepage */
.freebie { background: var(--band); color: var(--band-ink); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 36px; }
.freebie .pic { border-radius: 6px; overflow: hidden; box-shadow: 0 14px 32px rgba(0,0,0,.35); transform: rotate(-3deg); aspect-ratio: 612/792; background: rgba(255,255,255,.08); }
.freebie .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.freebie h2 { font-size: clamp(28px, 3.2vw, 38px); }
.freebie p { color: var(--band-muted); margin-top: 10px; max-width: 48ch; }
.freebie .eyebrow { color: var(--sun); }
@media (max-width: 720px) { .freebie { grid-template-columns: 1fr; padding: 26px; } .freebie .pic { max-width: 170px; } }

/* Quiz */
.quiz { max-width: 760px; }
.q { border: 0; padding: 0; margin: 0 0 34px; }
.q legend { font-family: var(--f-display); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.q .hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-weight: 500; }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.quiz-msg { color: var(--muted); font-size: 14px; }
.results { margin-top: 48px; }
.results h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 8px 0 22px; }
.why { color: var(--muted); font-size: 14px; }

/* How long each plan takes */
.card-cover { position: relative; }
.plan-pill { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(247,242,232,.95); color: #1F3A2E; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.plan-line { font-size: 14px; color: var(--muted); margin: -2px 0 0; line-height: 1.4; }
.plan-line b { color: var(--ink); font-weight: 600; }
.clock { flex: none; vertical-align: -2px; }
.plan-sub { display: flex; align-items: center; gap: 5px; }
.p-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; font-size: 16px; color: rgba(247,242,232,.85); }
.p-plan-len { display: inline-flex; align-items: center; gap: 7px; background: var(--gs, #E8916C); color: #1B1712; font-weight: 700; font-size: 17px; padding: 7px 14px; border-radius: 999px; }
.p-plan-len .clock { width: 16px; height: 16px; }
.paces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pace-col { background: var(--soft, #EDE7DA); border-radius: 12px; padding: 18px 16px; }
.pace-len { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.pace-bar { height: 6px; border-radius: 999px; background: var(--line); margin: 10px 0 14px; position: relative; overflow: hidden; }
.pace-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sun, #D9734E); border-radius: inherit; }
.pace-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pace-col li a { font-weight: 600; text-decoration: none; display: block; }
.pace-col li a:hover { text-decoration: underline; }
.pace-col li span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .paces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .paces { grid-template-columns: 1fr; } }