/*
 * Base reset for pages in the new design. These pages were built on top of Tailwind's reset,
 * so this repeats the parts they rely on, without loading Tailwind (a large script that builds
 * CSS in the browser and holds up the first paint, slow on phones).
 * Older pages that still use Tailwind classes load Tailwind instead (see header.php).
 */
*, ::before, ::after { box-sizing: border-box; border: 0 solid var(--g-200, #DDE5F0); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: "IBM Plex Sans", system-ui, sans-serif; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; background-color: transparent; background-image: none; }
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: var(--g-400, #9FB0C9); }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
progress { vertical-align: baseline; }

/* The page container (was "container mx-auto px-4 py-8") */
main.c-app { width: 100%; margin-left: auto; margin-right: auto; padding: 2rem 1rem; }
@media (min-width: 640px) { main.c-app { max-width: 640px; } }
@media (min-width: 768px) { main.c-app { max-width: 768px; } }
@media (min-width: 1024px) { main.c-app { max-width: 1024px; } }
@media (min-width: 1280px) { main.c-app { max-width: 1280px; } }
@media (min-width: 1536px) { main.c-app { max-width: 1536px; } }
