/* Shared by the three pages. Colours follow the app icon's gradient. */
:root {
    --brand: #2a4dc7;
    --brand-light: #61a3fa;
    --bg: #ffffff;
    --bg-soft: #f4f6fb;
    --text: #15181f;
    --text-dim: #5a6274;
    --rule: #e2e7f0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --brand: #7ba9fb;
        --brand-light: #61a3fa;
        --bg: #12141a;
        --bg-soft: #1a1e27;
        --text: #eef1f7;
        --text-dim: #9aa3b5;
        --rule: #272d3a;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

header.site {
    border-bottom: 1px solid var(--rule);
    padding: 20px 0;
    margin-bottom: 48px;
}

header.site .wrap { display: flex; align-items: center; gap: 16px; }

header.site .name {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    margin-right: auto;
}

header.site nav a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
}

header.site nav a:hover { color: var(--brand); }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 28px 0 6px; }

.lede { font-size: 19px; color: var(--text-dim); margin: 0 0 32px; }

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

.hero-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; }

ul.features { list-style: none; padding: 0; }
ul.features li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--rule); }
ul.features li::before { content: "→"; position: absolute; left: 0; color: var(--brand); }

table { border-collapse: collapse; width: 100%; margin: 16px 0; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }
kbd {
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 5px;
    padding: 2px 7px;
    font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.callout {
    background: var(--bg-soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 24px 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

footer.site {
    margin-top: 72px;
    padding: 28px 0 56px;
    border-top: 1px solid var(--rule);
    color: var(--text-dim);
    font-size: 14px;
}

footer.site a { color: var(--text-dim); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 40px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    transition: filter 0.15s ease;
}

.btn:hover { filter: brightness(1.08); }

@media (prefers-color-scheme: dark) {
    .btn { color: #0f1218; }
}

.actions .meta { color: var(--text-dim); font-size: 14px; }

/* Optically centred: the mark's leaf sits high, so it needs nudging down. */
.btn-logo { width: 17px; height: 17px; margin-top: -2px; }
