/* pages.css — the six Weekly Challenge menu pages (23/10/2026). Loaded AFTER styles.css, so it may build on its variables and classes.
   Prose layout only: the header, menu, buttons, footer and the pink/line colours all come from styles.css, which keeps the pages looking like the landing. */

.page-head{padding:64px 0 38px;border-bottom:1px solid var(--line)}
.page-head .eyebrow{color:var(--pink)}
.page-head h1{font-family:var(--display);font-weight:600;font-size:clamp(40px,5.2vw,66px);line-height:1.02;letter-spacing:-.045em;margin:18px 0 16px;max-width:22ch}
.page-lead{color:#cfcfcf;font-size:17px;line-height:1.65;max-width:60ch}
.page-meta{margin-top:16px;font-size:13px;color:var(--muted)}
.page-body{padding:46px 0 30px}
.prose{max-width:840px}
.prose h2{font-family:var(--display);font-weight:600;font-size:clamp(24px,2.6vw,31px);line-height:1.2;letter-spacing:-.025em;margin:44px 0 14px;color:#fff}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--display);font-weight:600;font-size:19px;line-height:1.35;letter-spacing:-.01em;margin:26px 0 8px;color:#f3f3f3}
.prose p{color:#cfcfcf;font-size:15px;line-height:1.85;margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px;color:#cfcfcf}
.prose li{font-size:15px;line-height:1.8;margin:7px 0}
.prose strong{color:#fff;font-weight:600}
.prose a{color:var(--pink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{color:#ffa8d2}
.prose .note{color:var(--muted);font-size:13px;line-height:1.75}
.prose .step{border-top:1px solid var(--line);padding-top:20px;margin-top:30px}
.prose .step:first-of-type{border-top:0;padding-top:0;margin-top:0}
.prose .step-no{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.14em;color:var(--pink);margin-bottom:6px}
.table-wrap{overflow-x:auto;margin:18px 0 22px;border:1px solid var(--line);border-radius:10px;background:#101010}
.prose table{width:100%;border-collapse:collapse;min-width:430px}
.prose th,.prose td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;line-height:1.5}
.prose th{color:#fff;font-weight:600;background:#161616;white-space:nowrap}
.prose td{color:#dcdcdc}
.prose td:last-child,.prose th:last-child{text-align:right;white-space:nowrap}
.prose tr:last-child td{border-bottom:0}
.copy-block{white-space:pre-wrap;overflow-wrap:anywhere;background:#121212;border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin:0 0 14px;font:400 14px/1.8 var(--mono);color:#dcdcdc}
.copy-btn{min-height:44px}
.cta-band{border-top:1px solid var(--line);padding:36px 0 8px;margin-top:20px}
.cta-band h2{font-family:var(--display);font-weight:600;font-size:clamp(24px,2.6vw,30px);letter-spacing:-.03em;margin:0 0 16px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.pager{border-top:1px solid var(--line);margin-top:36px;padding-top:26px;display:flex;gap:10px 28px;flex-wrap:wrap;font-size:14px}
.pager a{color:var(--pink);min-height:44px;display:inline-flex;align-items:center}
.pager a:hover{color:#ffa8d2}
.faq-group{margin-bottom:36px}
.faq-group>h2{margin-top:0}
.faq-list details p{margin:14px 0 0}
@media(max-width:800px){
  .page-head{padding:46px 0 30px}
  .page-body{padding:34px 0 22px}
  .prose p,.prose li{font-size:14px}
  .prose table{min-width:470px}
}
@media(max-width:540px){
  .page-head h1{font-size:clamp(32px,10vw,44px)}
  .page-lead{font-size:15px}
  .prose h2{font-size:23px;margin-top:36px}
  .prose h3{font-size:17px}
  /* A phone shows the whole table: no inner scroll, no clipped column. The cells wrap instead, and the first column takes the leftover width. */
  .table-wrap{overflow-x:visible}
  .prose table{min-width:0;table-layout:auto}
  .prose th,.prose td{padding:9px 8px;font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
  .prose th{font-size:11px}
  .prose td:last-child,.prose th:last-child{text-align:right;white-space:normal}
  .cta-row .button{width:100%}
}
