/* Shared by every page under /guides/. Load after /style.css. */
.guide { max-width: 720px; padding-top: 8px; }
.guide h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 6px; }
.guide h2 { font-size: 22px; line-height: 1.25; color: var(--accent); margin: 36px 0 10px; }
.guide h3 { font-size: 18px; margin: 22px 0 6px; }
.guide p, .guide li { margin: 0 0 12px; }
.guide ul { padding-left: 22px; }
.guide-meta { color: var(--ink2); font-size: 15px; margin: 0 0 20px; }
.answer { font-size: 20px; line-height: 1.5; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 0 0 24px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 24px; }
.steps > li { counter-increment: step; position: relative; padding: 2px 0 2px 48px; margin-bottom: 16px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--bg); font-weight: 700; text-align: center; line-height: 32px; font-size: 15px; }
.guide table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 16px; display: block; overflow-x: auto; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.guide th { color: var(--ink2); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
/* Phones: wide tables scroll sideways. Columns keep a readable width, and a shadow at the edge shows there is more. */
@media (max-width: 600px) {
  .guide table { background: linear-gradient(to right, var(--bg) 30%, transparent) left / 32px 100% no-repeat local, linear-gradient(to left, var(--bg) 30%, transparent) right / 32px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.22), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.22), transparent) right / 12px 100% no-repeat scroll; }
  .guide td, .guide th { min-width: 8.5em; }
  .guide th { white-space: normal; }
  .guide tr > :first-child { min-width: 6.5em; padding-left: 0; }
}
.disclaimer { border: 1px solid var(--rule); background: var(--surface); border-radius: 14px; padding: 14px 18px; margin: 28px 0; color: var(--ink2); font-size: 15px; }
aside.cta { display: block; margin: 28px 0; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--accent); background: var(--surface); }
aside.cta h2 { margin-top: 0; }
aside.cta p:last-child { margin-bottom: 0; }
.sources { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink2); }
.sources h2 { font-size: 18px; }
.sources li { overflow-wrap: anywhere; }
/* /guides/ index. Scoped under .guide so these beat `.guide ul`, `.guide li` and the tap-target rule
   `.guide li > a:only-child` in style.css, which otherwise indent the list and strip the cards' padding. */
.guide .guide-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.guide .guide-list > li { margin: 0; }
.guide .guide-list > li > a[href] { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; }
.guide .guide-list > li > a[href]:hover { border-color: var(--accent); }
.guide-list strong { display: block; font-size: 18px; line-height: 1.35; color: var(--accent); margin-bottom: 6px; }
.guide-list span { display: block; color: var(--ink2); font-size: 16px; }
.guide-list em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink2); }
@media (max-width: 480px) { .guide .answer { font-size: 18px; padding: 14px 16px; } }
