/* The public guide (/guide). A static file so the page's CSP can allow
   style-src 'self' and nothing inline. Not under public/guide/: a real
   directory there would shadow the /guide route (nginx and the dev server
   both look for files before handing a request to Laravel). Colours and type follow BigDesign, as
   bc/error.blade.php does: white panels on the control panel's grey. */

body {
    margin: 0;
    padding: 2rem 1rem 4rem;
    background: #f6f7fc;
    color: #313440;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
}

main { max-width: 46rem; margin: 0 auto; }

header h1 { font-size: 1.75rem; font-weight: 400; margin: 0 0 0.25rem; }
header p { color: #5e637a; margin: 0 0 1.5rem; }

nav.contents {
    background: #fff; border-radius: 4px; padding: 1rem 1.5rem; margin-bottom: 1.5rem;
    box-shadow: 0 1px 6px rgba(49, 52, 64, 0.2);
}
nav.contents ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
nav.contents li { margin: 0.15rem 0; }

section {
    background: #fff; border-radius: 4px; padding: 1.5rem; margin-bottom: 1.5rem;
    box-shadow: 0 1px 6px rgba(49, 52, 64, 0.2);
}
section h2 { font-size: 1.35rem; font-weight: 600; margin: 0 0 0.75rem; }
section h3 { font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 0.4rem; }
p, li { margin: 0 0 0.6rem; }
ul, ol { padding-left: 1.25rem; }

a { color: #3c64f4; }
code, .ui { background: #f0f1f6; border-radius: 3px; padding: 0 0.3rem; font-size: 0.95em; }
.ui { font-family: inherit; font-weight: 600; }

dl { margin: 0; }
dt { font-weight: 600; margin-top: 0.75rem; }
dd { margin: 0.15rem 0 0 0; }

.note { color: #5e637a; font-size: 0.95rem; }

figure { margin: 1rem 0; }
figure img { max-width: 100%; border: 1px solid #d9dce9; border-radius: 4px; }
figcaption { color: #5e637a; font-size: 0.9rem; margin-top: 0.35rem; }

.top { font-size: 0.85rem; }

@media (max-width: 40rem) {
    nav.contents ol { columns: 1; }
    body { padding: 1rem 0.75rem 3rem; }
}

/* /privacy and /terms (legal.blade.php): the whole document in one panel. */
.brand { margin: 0 0 0.5rem; font-size: 0.95rem; }
.brand a { color: #5e637a; text-decoration: none; }
section.legal h2 { margin-top: 1.75rem; }
section.legal > :first-child { margin-top: 0; }

/* Tables in docs/LEGAL.md: what we store, retention, the support table. */
table { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.4rem 0.6rem; border-bottom: 1px solid #d9dce9; }
th { font-weight: 600; }
thead th:empty { padding: 0; border: 0; }

footer.site { text-align: center; color: #5e637a; font-size: 0.9rem; margin-top: 2rem; }

@media (max-width: 40rem) {
    table { display: block; overflow-x: auto; }
}
