/* whynot.run: the plan, tool, race and guide pages (the SEO upgrade). Black, orange and white, on styles.css. The locked
   calendar and the example session mirror the app's locked plan: the shape of the plan, nothing to follow. Every size is
   fixed in CSS and the markup is static, so the calendar never shifts the page as it loads. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seo-lead { font-size: clamp(16px, 1.7vw, 18px); color: var(--text-2); line-height: 1.65; max-width: 760px; }
.seo-answer { border-left: 3px solid var(--orange); background: var(--gp-card); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 18px 0 6px; max-width: 760px; color: var(--gp-warm); font-size: 16px; line-height: 1.6; }
.seo-answer b { color: #fff; }
.seo-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.seo-fact { background: var(--gp-card); border: 1.5px solid var(--gp-oline); border-radius: 14px; padding: 12px 18px; min-width: 132px; }
.seo-fact .k { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gp-dim); }
.seo-fact .v { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; color: #fff; font-variant-numeric: tabular-nums; }
.seo-fact .v small { font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.seo-cta-note { font-size: 12px; color: var(--text-3); margin-top: 12px; }
.seo-hero-keys { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.seo-hero-keys .btn-primary, .lc-foot .btn-primary, .tool-cta-card .btn-primary { text-decoration: none; }
.seo-note { font-size: 13px; color: var(--text-3); margin-top: 10px; max-width: 760px; line-height: 1.55; }
.seo-byline { font-size: 13px; color: var(--text-3); margin-top: 10px; }
.seo-byline a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── the locked calendar ── */
.lc { background: #0d0d0d; border: 1.5px solid var(--gp-oline); border-radius: 18px; padding: 18px; box-shadow: var(--gp-glow); margin: 22px 0 26px; max-width: 920px; }
.lc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 12px; }
.lc-lock { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.lc-ico { flex: none; }
.lc-facts { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-fact { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; }
.lc-legend { display: none; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; font-size: 12px; color: var(--text-2); }
.lc-key { display: inline-flex; align-items: center; gap: 6px; }
.lc-key .lc-t { min-height: 22px; min-width: 40px; padding: 2px 6px; font-size: 11px; }
.lc-grid { display: block; color: inherit; text-decoration: none; border-radius: 10px; }
.lc-grid:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.lc-week { display: grid; grid-template-columns: 70px repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.lc-dow { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); text-align: center; margin-bottom: 6px; }
.lc-wk { font-size: 12px; font-weight: 800; color: var(--text-2); display: flex; align-items: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-phase { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.lc-phase::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.lc-phase i { font-style: normal; font-weight: 700; letter-spacing: 0.4px; text-transform: none; color: var(--text-3); }
.lc-t { min-height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.15; padding: 4px 3px; border: 1px solid transparent; }
.lc-t .a, .lc-wk .a { display: none; }
.t-rest { background: #101010; border: 1px dashed #262626; color: #8c8c8c; font-weight: 600; }
.t-none { background: transparent; }
.t-easy, .t-runwalk, .t-cross, .t-strength { background: #1d1d1d; color: #ececec; }
.t-long { background: #2b2b2b; border-color: #5c5c5c; color: #fff; }
.t-threshold, .t-intervals, .t-hills, .t-racepace { background: rgba(252, 76, 2, 0.16); border-color: rgba(252, 76, 2, 0.4); color: #ff9466; }
.t-raceday { background: var(--orange); color: #0a0a0a; font-weight: 900; }
.lc-grid:hover .lc-t:not(.t-rest):not(.t-none) { filter: brightness(1.12); }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.lc-foot p { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.5; flex: 1 1 320px; margin: 0; }
.lc-foot .lc-ico { color: var(--orange); margin-top: 3px; }
@media (max-width: 720px) {
  .lc { padding: 14px 10px; border-radius: 16px; }
  .lc-legend { display: flex; }
  .lc-week { grid-template-columns: 30px repeat(7, minmax(0, 1fr)); gap: 3px; margin-bottom: 3px; }
  .lc-t { min-height: 34px; font-size: 11px; border-radius: 6px; padding: 2px 1px; }
  .lc-grid .lc-t .f, .lc-wk .f { display: none; }
  .lc-grid .lc-t .a, .lc-wk .a { display: inline; }
  .lc-wk { font-size: 11px; }
  .lc-dow { font-size: 11px; letter-spacing: 0; }
  .lc-foot .btn-primary { width: 100%; text-align: center; justify-content: center; }
}

/* ── the example session ── */
.ex { display: block; max-width: 520px; background: #0d0d0d; border: 1.5px solid var(--line-2); border-radius: 18px; padding: 18px; margin: 18px 0 8px; color: inherit; text-decoration: none; transition: border-color 0.15s; }
.ex:hover, .ex:focus-visible { border-color: var(--orange); }
.ex-tag { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }
.ex-title { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.4px; margin: 6px 0 14px; color: #fff; }
.ex-steps { display: flex; flex-direction: column; gap: 6px; }
.ex-step { display: flex; flex-direction: column; gap: 2px; background: #151515; border-radius: 10px; padding: 10px 12px 10px 14px; border-left: 4px solid #5c5c5c; }
.ex-step b { font-size: 14px; font-weight: 800; color: #fff; }
.ex-step span { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.ex-step.s-hard, .ex-step.s-pace { border-left-color: var(--orange); }
.ex-step.s-rest { border-left-color: #2f2f2f; }
.ex-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.ex-foot > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ex-foot .lc-ico { color: var(--orange); }
.ex-go { font-weight: 800; color: var(--orange); }

/* ── lists of pages (hubs) ── */
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.seo-card { display: block; background: var(--gp-card); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.seo-card:hover, .seo-card:focus-visible { border-color: var(--orange); transform: translateY(-1px); }
.seo-card b { display: block; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.seo-card span { display: block; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.seo-card i { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.seo-steps { counter-reset: step; display: grid; gap: 10px; margin: 16px 0; max-width: 760px; padding: 0; list-style: none; }
.seo-steps li { counter-increment: step; position: relative; background: var(--gp-card); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px 14px 58px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.seo-steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #0a0a0a; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.seo-steps li b { color: #fff; display: block; }

/* ── tables on tool pages ── */
.seo-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line-2); border-radius: 14px; max-width: 920px; }
.seo-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; min-width: 420px; }
.seo-table caption { text-align: left; padding: 12px 14px; font-size: 12px; color: var(--text-3); caption-side: bottom; }
.seo-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gp-dim); padding: 10px 14px; background: #101010; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.seo-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.seo-table tr:last-child td { border-bottom: 0; }
.seo-table td:first-child, .seo-table th[scope="row"] { color: #fff; font-weight: 800; }
.seo-table tr.hl td { background: rgba(252, 76, 2, 0.1); color: #fff; }
.seo-out { min-height: 132px; }
.seo-count { min-height: 84px; }
.seo-band { max-width: 300px; border: 2px solid #fff; border-radius: 10px; padding: 10px 12px; margin: 14px 0; background: #0d0d0d; }
.seo-band h3 { font-size: 14px; margin: 0 0 6px; }
.seo-band table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.seo-band td { padding: 3px 4px; border-bottom: 1px solid var(--line-2); }
.seo-band td:last-child { text-align: right; font-weight: 800; color: #fff; }
.seo-article { max-width: 760px; }
.seo-article h2 { margin-top: 34px; }
@media print {
  body.printing-band * { visibility: hidden; }
  body.printing-band .seo-band, body.printing-band .seo-band * { visibility: visible; color: #000 !important; }
  body.printing-band .seo-band { position: absolute; left: 0; top: 0; background: #fff; border: 1px solid #000; }
  body.printing-band .seo-band td { border-bottom: 1px solid #999; }
}

/* ── fixes from the render review ── */
main [hidden] { display: none !important; }
.tool-prose a.btn-primary, .tool-prose a.btn-primary:hover { color: #fff; text-decoration: none; }
.tool-prose a.btn-secondary { color: #fff; text-decoration: none; }
.seo-table tbody th { font-size: 14px; letter-spacing: 0; text-transform: none; background: transparent; color: #fff; border-bottom: 1px solid var(--line); text-align: left; padding: 9px 14px; }
.seo-table tbody tr:last-child th { border-bottom: 0; }
.seo-table td a, .seo-table th a { color: var(--orange); }
