/* DropDock legal pages — one stylesheet, no framework, no external fonts.
   Cloudflare Pages serves this directory as-is; there is no build step and
   nothing to install. Same reasoning as the app drawing its own glyphs: a
   dependency here would be a dependency to maintain for three static pages. */

:root {
    color-scheme: light dark;
    --bg:     #ffffff;
    --fg:     #1b1b1b;
    --muted:  #5b5b5b;
    --rule:   #e3e3e3;
    --accent: #1a5fb4;
    --code-bg:#f5f5f5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:     #1b1b1b;
        --fg:     #e8e8e8;
        --muted:  #a0a0a0;
        --rule:   #333333;
        --accent: #78aeed;
        --code-bg:#262626;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0 auto;
    padding: 3rem 1.25rem 5rem;
    max-width: 46rem;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.65 -apple-system, "Segoe UI", system-ui, sans-serif;
}

header { border-bottom: 1px solid var(--rule); padding-bottom: 1.25rem; margin-bottom: 2rem; }
header .product { font-weight: 700; letter-spacing: .01em; }
header .version { color: var(--muted); font-size: .875rem; margin-top: .25rem; }

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1rem;    margin: 1.75rem 0 .5rem; }

p, li { margin: 0 0 .9rem; }
ul, ol { padding-left: 1.4rem; }

a { color: var(--accent); }
a:hover { text-decoration: none; }

.lead { font-size: 1.05rem; }

/* The one-line answer, stated before the detail. */
.summary {
    border-left: 3px solid var(--accent);
    padding: .9rem 1.1rem;
    margin: 1.5rem 0 2rem;
    background: var(--code-bg);
    border-radius: 0 4px 4px 0;
}
.summary p:last-child { margin-bottom: 0; }

code, pre, .path {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: .9em;
}
code, .path { background: var(--code-bg); padding: .1em .35em; border-radius: 3px; }
pre {
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;      /* long licence lines scroll here, never the page */
    line-height: 1.5;
}
pre code { background: none; padding: 0; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

footer {
    margin-top: 4rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: .875rem;
}
footer a { color: var(--muted); }

nav.pages { margin-top: .75rem; }
nav.pages a { margin-right: 1.1rem; white-space: nowrap; }
