:root {
    color-scheme: light dark;
    --bg: #faf9f7;
    --raised: #ffffff;
    --fg: #1a1a1a;
    --muted: #6b6b6b;
    --rule: #e2ddd5;
    --accent: #7c5cbf;
    --on-accent: #ffffff;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #16151a;
        --raised: #1e1c24;
        --fg: #e8e6e3;
        --muted: #9a97a0;
        --rule: #2e2c35;
        --accent: #a98fe0;
        --on-accent: #16151a;
    }
}
* {
    margin: 0;
    box-sizing: border-box;
}
body {
    background: var(--bg);
    color: var(--fg);
    font:
        17px/1.65 Charter,
        Georgia,
        "Times New Roman",
        serif;
    padding: 3rem 1.25rem 5rem;
}
main {
    max-width: 40rem;
    margin: 0 auto;
}
h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 span {
    color: var(--accent);
}
p {
    margin: 0 0 0.9rem;
}
ul {
    margin: 0 0 0.9rem;
    padding-left: 1.2rem;
}
li {
    margin-bottom: 0.35rem;
}
code {
    font:
        0.85em ui-monospace,
        monospace;
    background: color-mix(in srgb, var(--fg) 7%, transparent);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}
a {
    color: var(--accent);
}
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Privacy page */
.date {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem;
}
h2 {
    font-size: 1.15rem;
    margin: 2.25rem 0 0.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}

/* Site identity, both pages */
.mast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.mast img {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 10px;
}
/* The privacy page wears it small, as a header above its own title. */
.topbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2.5rem;
}
.topbar img {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 6px;
}
.topbar a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font:
        600 1.05rem/1 system-ui,
        "Segoe UI",
        sans-serif;
    color: var(--accent);
    text-decoration: none;
}
.topbar a:hover {
    text-decoration: underline;
}

/* Landing page */
.pitch {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 1.4rem 0 0;
}
.pitch span {
    color: var(--muted);
}
.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.9rem 0 0.6rem;
}
.cta a {
    flex: 1 1 13rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font:
        600 15px/1 system-ui,
        "Segoe UI",
        sans-serif;
    text-align: center;
    text-decoration: none;
    transition: filter 120ms ease-out;
}
.cta a:hover {
    filter: brightness(1.12);
}
.cta .label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.cta .brand {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    fill: currentColor;
}
/* No opacity here: fading it against the accent drops it under 4.5:1. */
.store {
    display: block;
    margin-top: 0.4rem;
    font-size: 12px;
    font-weight: 400;
}
.free {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}
.shots {
    margin: 2.25rem 0 0;
}
.shots ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.shots ul::-webkit-scrollbar {
    display: none;
}
.shots li {
    flex: none;
    width: 88%;
    margin: 0;
    scroll-snap-align: start;
    scroll-margin-top: 1rem;
}
/* Trailing room so the last slide can snap to the start like the others. */
.shots ul::after {
    content: "";
    flex: none;
    width: 12%;
}
.shots figure {
    margin: 0;
}
.shots li > figure > a {
    display: block;
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
    background: var(--raised);
    cursor: zoom-in;
}
.shots img {
    display: block;
    width: 100%;
    height: auto;
}
.shots figcaption {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--muted);
}
.shots figcaption b {
    font-weight: 600;
    color: var(--fg);
}
.dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.9rem;
}
.dots a {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--rule);
    transition: background 120ms ease-out;
}
.dots a:hover,
.dots a[aria-current] {
    background: var(--accent);
}

.view {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 1.25rem;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.view:target {
    display: flex;
}
.view .close {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}
.view figure {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;
}
.view img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: var(--raised);
}
.view figcaption {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    margin-top: 0.75rem;
}
.view figcaption span {
    flex: 1;
    text-align: center;
}
.view figcaption a {
    flex: none;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font: 600 15px/1.4 system-ui, "Segoe UI", sans-serif;
    text-decoration: none;
}

.features {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    border-top: 1px solid var(--rule);
}
.features li {
    margin: 0;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
}
.features b {
    font-weight: 600;
}
.features span {
    color: var(--muted);
}
.trust {
    margin: 2rem 0 0;
    padding: 1.1rem 1.25rem;
    background: var(--raised);
    border: 1px solid var(--rule);
    border-radius: 10px;
    font-size: 0.95rem;
}
.trust p:last-child {
    margin: 0;
}
footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 0.85rem;
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 0.5rem;
}
