/* JKST Note site — one stylesheet, no fonts loaded, no third-party requests.
   Colours are the app's own tokens (quick-capture-notes-app/designs/brand/palette.md):
   neutrals on hue 250, and the brand azure is accent/jot.

   One deliberate divergence: --secondary is text/secondary (#6e757d) in light mode but
   text/tertiary (#8c939a) in dark. Measured on these grounds, text/secondary dark
   (#6d747b on #08090a) is 4.21:1 — under the 4.5:1 floor for normal-size body text, and
   3.86:1 on the raised surface. Tertiary reaches 6.41:1 on the dark page while secondary
   reaches 4.59:1 on the light one, so one token per mode clears AA on both. */

:root {
    --page: #fdfdfe;
    --raised: #f5f7f9;
    --card: #eef0f3;
    --hairline: #d3d8dd;
    --text: #292e34;
    --emphasis: #13161a;
    --secondary: #6e757d;
    --accent: #2d78bd;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #08090a;
        --raised: #131518;
        --card: #1c1f22;
        --hairline: #34383d;
        --text: #dfe2e6;
        --emphasis: #f2f3f5;
        --secondary: #8c939a;
        --accent: #6ab3fd;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 3rem 1.5rem 5rem;
    background: var(--page);
    color: var(--text);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
}

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

h1 {
    font-size: 2.125rem;
    line-height: 1.15;
    letter-spacing: -0.021em;
    margin: 0 0 0.5rem;
    color: var(--emphasis);
}

h2 {
    font-size: 1.1875rem;
    letter-spacing: -0.01em;
    margin: 2.75rem 0 0.625rem;
    color: var(--emphasis);
}

h3 {
    font-size: 1rem;
    margin: 1.75rem 0 0.375rem;
    color: var(--emphasis);
}

p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: 0.375rem; }

strong { color: var(--emphasis); font-weight: 600; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

code, .code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9375em;
    background: var(--card);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

/* Masthead: the app mark beside the name. Inline SVG, so no extra request. */
.mast { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.25rem; }
.mast svg { width: 46px; height: 46px; color: var(--accent); flex: none; }
.mast h1 { margin: 0; }

.lede {
    font-size: 1.1875rem;
    line-height: 1.5;
    color: var(--secondary);
    margin-bottom: 2rem;
}

/* The one pulled-out claim on the landing page and the privacy summary. */
.claim {
    background: var(--raised);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 1.125rem 1.25rem;
    margin: 0 0 2rem;
}
.claim p:last-child { margin-bottom: 0; }

.features { list-style: none; padding: 0; }
.features li { margin-bottom: 1.125rem; }
.features strong { display: block; }

dl { margin: 0 0 1rem; }
dt { color: var(--emphasis); font-weight: 600; margin-top: 1.125rem; }
dd { margin: 0.25rem 0 0; }

nav {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hairline);
    font-size: 0.9375rem;
}
nav a { margin-right: 1.25rem; }

.meta {
    color: var(--secondary);
    font-size: 0.875rem;
    margin-top: 1.25rem;
}
