:root {
    --primary: #e42728;
    --neutral-50: #f5f7fa;
    --neutral-200: #d6dee8;
    --neutral-700: #1c2237;
    --font-heading: "Sora", sans-serif;
    --font-body: "Source Sans 3", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-700);
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
}

body.consent-banner-visible {
    padding-bottom: 6.5rem;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.page {
    width: 100%;
    max-width: 28rem;
    text-align: center;
}

.logo {
    display: block;
    width: min(200px, 80vw);
    height: auto;
    margin: 0 auto 2rem;
}

.apps {
    list-style: none;
    text-align: left;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    background: var(--neutral-50);
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

.apps:not(:has(li)) {
    display: none;
}

.apps li {
    border-bottom: 1px solid var(--neutral-200);
}

.apps li:last-child {
    border-bottom: none;
}

.apps a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.apps a:hover {
    text-decoration: underline;
}

footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
    font-size: 0.875rem;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    background: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    z-index: 100;
    box-sizing: border-box;
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner__inner {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.consent-banner__text {
    display: block;
    margin: 0 0 1rem;
    color: var(--neutral-700);
    font-size: 1rem;
    line-height: 1.5;
    overflow: visible;
    white-space: normal;
}

.consent-banner__ok {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    background: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 0.625rem 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-banner__ok:hover {
    background: #ea5455;
}
