:root {
    --bg: #ffffff;
    --fg: #000000;
    --transition: 400ms ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --fg: #ffffff;
    }
}

html, body {
    height: 100%;
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color var(--transition), color var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

a:hover,
a:focus {
    opacity: 0.75;
}

.page {
    flex: 1 0 auto;
    width: 100%;
    padding: 2.5rem 1rem 1.5rem;
    box-sizing: border-box;
}

.logo-wrapper {
    width: 100%;
    max-width: 720px;
    padding: 0 1rem;
    box-sizing: border-box;
    color: var(--fg);
    transition: color var(--transition);
}

.logo-svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--fg);
}

@media (max-width: 575.98px) {
    .logo-wrapper {
        padding: 0;
        max-width: 100%;
    }
}

.payoff {
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(1.05rem, 2.4vw, 1.6rem);
    line-height: 1.6;
    margin-top: 1.75rem !important;
    padding: 0 1rem;
    max-width: 100%;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--fg);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 0.35em 0.95em;
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.2;
    transition: background-color var(--transition), color var(--transition), transform 150ms ease;
    vertical-align: baseline;
}

.btn-action:hover,
.btn-action:focus {
    transform: translateY(-1px);
    outline: none;
}

.btn-action:active {
    transform: translateY(0);
}

.btn-action .bi {
    font-size: 1em;
    line-height: 1;
}

.site-footer {
    flex-shrink: 0;
    padding: 1.5rem 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-text {
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--fg);
}

.footer-text a {
    border-bottom: none;
}

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

@media (min-width: 768px) {
    .page {
        padding-top: 4rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }
}
