:root {
    color-scheme: dark;
    --page: #141922;
    --ink: #f6f7fa;
    --muted: #a9b3c2;
    --line: #303b4a;
    --action: #b9edbc;
    --accent: #b3f36d;
}

* {
    box-sizing: border-box;
}
[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}
a {
    color: inherit;
}
button,
a,
summary {
    -webkit-tap-highlight-color: transparent;
}
button,
summary {
    cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 20px 24px 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 650;
    letter-spacing: -0.35px;
    text-decoration: none;
}
.brand img {
    display: block;
    border-radius: 9px;
}
.open-app {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    color: var(--action);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}
h1,
h2 {
    font-family: Futura, Jost, 'Trebuchet MS', sans-serif;
    font-weight: 500;
}
.download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 13px;
    background: var(--action);
    color: #183522;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}
.download span {
    font-size: 1.375rem;
    font-weight: 400;
}
.site-footer {
    padding: 24px 24px 26px;
}
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 18px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    font-size: 0.75rem;
    text-decoration: none;
}
.site-footer p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
}

.site-footer .developer {
    margin-top: 14px;
    font-size: 0.75rem;
    color: #d4dbe2;
}

@media (max-width: 360px) {
    .site-header,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .brand {
        font-size: 0.875rem;
    }
}
