/* About tells the story; Rules is a reference. Neither uses the old card grid. */
.information-kicker { color: var(--app-muted); font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.about-story { max-width: 820px; margin: 1rem auto 2rem; }
.about-story-heading { padding: 1rem 0 2.5rem; border-bottom: 1px solid var(--app-line); }
.about-story h1 { color: var(--app-ink); font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.05; margin-bottom: 1.75rem; }
.about-story h1 span { color: var(--app-accent); }
.about-story-lead { max-width: 700px; color: var(--app-ink); font-size: 1.2rem; line-height: 1.8; }
.about-story-body { max-width: 680px; padding: 2.5rem 0; color: var(--app-muted); font-size: .95rem; line-height: 1.95; }
.about-story-body p + p { margin-top: 1rem; }
.about-story-body h2 { color: var(--app-ink); font-weight: 600; font-size: 1.4rem; letter-spacing: -.035em; line-height: 1.3; margin: 2rem 0 1rem; }
.about-story-body a, .rules-sections a:not(.button) { text-decoration: underline; text-underline-offset: .2em; }
.about-story-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #143b3b; border-radius: var(--app-radius); color: #f1fff9; padding: 1.75rem; }
.about-story-footer p { font-size: 1.1rem; font-weight: 500; letter-spacing: -.025em; }
.about-story-footer .button { flex-shrink: 0; gap: .75rem; }
.rules-reference { max-width: 1100px; margin: 1rem auto 2rem; }
.rules-reference-heading { padding: 1rem 0 2.5rem; border-bottom: 1px solid var(--app-line); }
.rules-reference-heading h1 { font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; color: var(--app-ink); letter-spacing: -.06em; line-height: 1.1; margin-bottom: 1.25rem; }
.rules-reference-heading > p:last-child { max-width: 660px; color: var(--app-muted); font-size: 1.05rem; line-height: 1.8; }
.rules-reference-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-top: 2.5rem; }
.rules-contents { position: sticky; top: 2rem; display: grid; gap: .25rem; border-left: 2px solid var(--app-line); padding-left: 1rem; }
.rules-contents h2 { font-size: .65rem; color: var(--app-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; padding: .5rem .5rem .75rem; }
.rules-contents a { color: var(--app-ink); padding: .55rem .5rem; font-size: .8rem; line-height: 1.5; border-radius: 9px; }
.rules-contents a:hover { background: var(--app-teal-soft); }
.rules-sections { min-width: 0; color: var(--app-muted); font-size: .9rem; line-height: 1.9; }
.rules-sections > section { scroll-margin-top: 2rem; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--app-line); }
.rules-sections > section:last-child { border-bottom: 0; margin-bottom: 0; }
.rules-sections h2 { color: var(--app-ink); font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; margin-bottom: 1rem; }
.rules-sections p + p { margin-top: 1rem; }
.rules-sections strong { color: var(--app-ink); font-weight: 600; }
.rules-note { background: var(--app-accent-soft); border-radius: 14px; color: var(--app-ink); padding: 1.1rem 1.25rem; margin-top: 1.25rem; font-size: .85rem; line-height: 1.8; }
.rules-table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--app-line); border-radius: 14px; margin: 1.25rem 0; background: var(--app-panel); }
.rules-table { width: 100%; border-collapse: collapse; font-size: .8rem; line-height: 1.7; }
.rules-table caption { text-align: left; color: var(--app-muted); font-size: .7rem; padding: .85rem 1rem; caption-side: top; }
.rules-table :is(th, td) { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--app-line); vertical-align: top; }
.rules-table thead th { background: var(--app-teal-soft); color: var(--app-ink); font-size: .65rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.rules-table th[scope='row'] { color: var(--app-ink); font-weight: 600; }
.rules-table tr:last-child > * { border-bottom: 0; }
.rules-table .col-rate { color: #146753; font-weight: 600; white-space: nowrap; }
.rules-inline-link { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; margin-top: 1rem; }
@media (max-width: 900px) {
    .rules-reference-layout { grid-template-columns: 1fr; gap: 2rem; }
    .rules-contents { position: static; grid-template-columns: 1fr 1fr; }
    .rules-contents h2 { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .about-story, .rules-reference { margin: 0 auto; }
    .about-story-heading, .rules-reference-heading { padding: .5rem 0 2rem; }
    .about-story h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
    .about-story-lead { font-size: 1rem; }
    .about-story-body { padding: 2rem 0; font-size: .9rem; }
    .about-story-body h2 { font-size: 1.25rem; }
    .about-story-footer { align-items: start; flex-direction: column; padding: 1.5rem; }
    .rules-reference-heading > p:last-child { font-size: .9rem; }
    .rules-reference-layout { padding-top: 1.5rem; }
    .rules-sections { font-size: .85rem; }
    .rules-sections h2 { font-size: 1.35rem; }
    .rules-table :is(th, td) { padding: .7rem .75rem; }
}
