/* Privacy, terms and support pages. Colours follow the app's theme. */
:root {
    color-scheme: light dark;
    --bg: #faf9f5;
    --card: #ffffff;
    --ink: #1f1e1c;
    --muted: #6b6965;
    --line: #e8e6df;
    --accent: #007afe;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --card: #1c1c1e;
        --ink: #f2f1ed;
        --muted: #9a9893;
        --line: #2c2c2e;
        --accent: #3d9bff;
    }
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    font-size: 15px;
}
.top strong {
    font-weight: 600;
}
h1 {
    margin: 0 0 4px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}
h2 {
    margin: 36px 0 8px;
    font-size: 21px;
    line-height: 1.3;
}
h3 {
    margin: 24px 0 4px;
    font-size: 17px;
    line-height: 1.4;
}
p,
ul {
    margin: 0 0 14px;
}
ul {
    padding-left: 22px;
}
li {
    margin-bottom: 6px;
}
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.muted {
    color: var(--muted);
}
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px 6px;
    margin: 24px 0 8px;
}
footer {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
@media (max-width: 600px) {
    main {
        padding: 32px 16px 48px;
    }
    h1 {
        font-size: 28px;
    }
}

/* Home page */
.home main {
    max-width: 1040px;
}
.home .top {
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
}
.brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.hero {
    text-align: center;
    max-width: 640px;
    margin: 24px auto 40px;
}
.hero .icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.hero h1 {
    margin-top: 20px;
    font-size: 44px;
}
.hero p.tagline {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}
.hero p {
    color: var(--muted);
}
.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px 0 8px;
}
.badges a {
    display: block;
    line-height: 0;
}
.badges img {
    height: 48px;
    width: auto;
}
.small {
    font-size: 15px;
}
.screens {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 20px 24px;
    margin: 0 -20px;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}
.screens li {
    flex: 0 0 220px;
    margin: 0;
    scroll-snap-align: center;
    text-align: center;
}
.screens img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.screens figure {
    margin: 0;
}
.screens figcaption {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--muted);
}
@media (min-width: 1000px) {
    .screens {
        justify-content: center;
        overflow: visible;
        padding: 8px 0 24px;
        margin: 0;
    }
    .screens li {
        flex: 0 1 152px;
    }
    .screens img {
        border-radius: 20px;
    }
}
.section {
    max-width: 720px;
    margin: 56px auto 0;
}
.section h2 {
    margin-top: 0;
    font-size: 26px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.grid .card {
    margin: 0;
    padding: 18px 20px;
}
.grid h3 {
    margin: 0 0 4px;
}
.grid p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}
@media (max-width: 600px) {
    .screens {
        margin: 0 -16px;
        padding: 8px 16px 24px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p.tagline {
        font-size: 21px;
    }
}
.home footer {
    max-width: 720px;
    margin: 56px auto 0;
}
