/* Jase Works LLC — one stylesheet for the whole site.
 *
 * Three static pages, no build step, no framework. The site exists mainly so
 * the App Store listing has a company page, a support URL and a privacy URL
 * that resolve to something real, so the priorities are: loads instantly,
 * reads cleanly on a phone, and says nothing that isn't true.
 */

:root {
    color-scheme: light dark;

    --bg: #ffffff;
    --bg-subtle: #f6f7f9;
    --text: #16181d;
    --text-muted: #5c6370;
    --border: #e3e6ea;
    --accent: #1f6feb;

    --width: 44rem;
    --radius: 10px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #14161a;
        --bg-subtle: #1b1e24;
        --text: #e8eaed;
        --text-muted: #a0a7b4;
        --border: #2c3038;
        --accent: #6ba5f5;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

.wrap {
    max-width: var(--width);
    margin: 0 auto;
    padding: 4.5rem 0 3rem;
}

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

a:hover {
    text-decoration-thickness: 2px;
}

/* --- Header ------------------------------------------------------------- */

header.site {
    margin-bottom: 3rem;
}

.company {
    margin: 0 0 0.5rem;
    font-size: 1.9rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.tagline {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 34rem;
}

/* Back-link on the interior pages. */
.back {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}

.back:hover {
    color: var(--accent);
}

/* --- Sections ----------------------------------------------------------- */

h2 {
    margin: 2.75rem 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 620;
    letter-spacing: -0.01em;
}

h3 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.4rem;
}

/* --- Venture cards (home page) ------------------------------------------ */

.ventures {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 40rem) {
    .ventures {
        grid-template-columns: 1fr 1fr;
    }
}

.venture {
    margin: 0;
    padding: 1.35rem 1.4rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.venture h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 620;
}

.venture p {
    margin: 0 0 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.venture .links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.92rem;
}

/* --- Definition-style contact block ------------------------------------- */

.contact {
    margin: 1rem 0 0;
    padding: 1.25rem 1.4rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact dd {
    margin: 0 0 1rem;
}

.contact dd:last-child {
    margin-bottom: 0;
}

/* --- Footer ------------------------------------------------------------- */

footer.site {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer.site nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin-bottom: 0.85rem;
}

footer.site p {
    margin: 0;
}

/* Small print used for the "last updated" line on the policy pages. */
.updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
