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

body {
    font-family: 'Lexend', sans-serif;
    background: #FBFAF9;
    color: #2E2E2E;
    line-height: 1.7;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 48px;
}

.hero-bear {
    width: min(302px, 62vw);
    height: auto;
    aspect-ratio: 302 / 218;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hero-bear img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.card {
    background: #FFFFFF;
    border-radius: 41px;
    box-shadow: 0 14px 17px rgba(37, 68, 107, 0.12);
    padding: 44px;
    max-width: 796px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.card--content {
    align-items: stretch;
    gap: 0;
}

.card--content .logo {
    align-self: center;
    margin-bottom: 36px;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.hero-headline {
    font-family: 'Lexend', sans-serif;
    font-size: min(72px, max(22px, calc((min(100vw - 6rem, 708px)) / 10.2)));
    font-weight: 800;
    line-height: 1.06;
    color: #25446B;
    text-align: center;
    width: 100%;
}

.hero-headline__line {
    display: block;
}

.hero-headline__line:first-child {
    white-space: nowrap;
}

.hero-tagline {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 300;
    color: #6B6B6B;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

.cta-primary {
    display: inline-block;
    padding: 20px 56px;
    background: #25446B;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(37, 68, 107, 0.15);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 68, 107, 0.25);
}

footer {
    padding: 40px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6B6B6B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2E2E2E;
}

/* Content pages */
.content-body h1 {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    font-weight: 900;
    color: #25446B;
    line-height: 1.15;
    margin-bottom: 16px;
}

.content-body .subheadline {
    font-size: 22px;
    font-weight: 300;
    color: #6B6B6B;
    line-height: 1.6;
    margin-bottom: 32px;
}

.content-body .last-updated {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 32px;
}

.content-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #25446B;
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: #25446B;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-body p {
    font-size: 16px;
    font-weight: 400;
    color: #4A4A4A;
    margin-bottom: 16px;
}

.content-body ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-body li {
    font-size: 16px;
    font-weight: 400;
    color: #4A4A4A;
    margin-bottom: 8px;
}

.content-body a {
    color: #25446B;
}

.content-body .contact-email {
    font-weight: 500;
    margin: 24px 0;
}

.content-body .contact-email a {
    text-decoration: none;
}

.content-body .contact-email a:hover {
    text-decoration: underline;
}

.cta-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(46, 46, 46, 0.08);
    text-align: center;
}

.cta-section h2 {
    margin-top: 0;
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .page-main {
        padding-top: 32px;
    }

    .card {
        padding: 32px 24px;
        border-radius: 32px;
    }

    .content-body h1 {
        font-size: 36px;
    }

    .content-body .subheadline {
        font-size: 18px;
    }

    .content-body h2 {
        font-size: 20px;
    }

    .cta-section h2 {
        font-size: 24px;
    }
}
