:root {
    color-scheme: light dark;
    --text: #222222;
    --text-secondary: #6e6e6e;
    --brand: #1186cb;
    --brand-hover: #0b6ba5;
    --brand-fill: #1186cb;
    --brand-fill-hover: #0b6ba5;
    --background: #ffffff;
    --surface: #f3f4f5;
    --border: #e2e4e7;
    --warning: #ef6b57;
    --note-bg: #fdf4f2;
    --note-border: #f3d5cd;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #e7e8ea;
        --text-secondary: #9a9ea3;
        --brand: #58acdf;
        --brand-hover: #7cc0e9;
        --brand-fill: #0b6ba5;
        --brand-fill-hover: #095a8b;
        --background: #16181b;
        --surface: #1f2226;
        --border: #2e3237;
        --warning: #f08a78;
        --note-bg: #2a1f1d;
        --note-border: #4a332e;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

main {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

h2 {
    font-size: 1.2rem;
    margin: 2rem 0 0.6rem;
}

p {
    margin: 0 0 0.9rem;
}

.meta,
.note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lead {
    font-size: 1.1rem;
}

a {
    color: var(--brand);
}

.button {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    background: var(--brand-fill);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.todo {
    background: var(--surface);
    border-left: 4px solid var(--warning);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1rem;
    font-size: 0.94rem;
}

th,
td {
    text-align: left;
    vertical-align: top;
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--surface);
    font-weight: 600;
}

ul {
    margin: 0 0 0.9rem;
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.35rem;
}

.stores {
    list-style: none;
    padding: 0;
}

.stores li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
    main {
        padding: 1.75rem 1rem 3rem;
    }

    h1 {
        font-size: 1.55rem;
    }

    .lead {
        font-size: 1rem;
    }

    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-scroll table {
        min-width: 32rem;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #f2f2f2;
        --text-secondary: #a0a4aa;
        --background: #161719;
        --surface: #202225;
        --border: #2e3135;
    }
}
.pagenav {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border, rgba(0,0,0,.12));
    font-size: 0.9rem;
    line-height: 1.9;
}

.legal-note {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
