body {
    min-height: 100vh;
    background-color: #001233;
}

body.page-landing {
    height: 100vh;
    overflow: hidden;
}

.baloo-font {
    font-family: 'Baloo 2', cursive;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.text-glass {
    background: linear-gradient(180deg, #d8e2ff 0%, rgba(216, 226, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Site footer — match header treatment per page type */
.site-footer {
    border-top: 1px solid rgba(36, 52, 86, 0.2);
}

body.page-landing .site-footer {
    background-color: #001233;
}

body.page-products .site-footer,
body.page-app-reviews .site-footer,
body.page-customer-service .site-footer,
body.page-team .site-footer,
body.page-data-privacy .site-footer,
body.page-imprint .site-footer {
    background-color: rgba(0, 18, 51, 0.6);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-top-color: rgba(226, 232, 240, 0.8);
}

body.page-app nav {
    background-color: rgba(30, 187, 238, 0.62);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

body.page-app .site-footer {
    background-color: rgba(30, 187, 238, 0.62);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-top-color: rgba(30, 187, 238, 0.7);
}

body.page-app .site-footer span,
body.page-app .site-footer a {
    color: rgba(0, 18, 51, 0.75);
}

body.page-app .site-footer a:hover {
    color: rgba(0, 18, 51, 1);
}

body.page-app .nav-link,
body.page-app .nav-link-active {
    color: #001233;
}

body.page-app .nav-link:hover {
    color: #0d2c6e;
}

body.page-app .nav-link-active {
    border-bottom-color: #001233;
}

.site-footer span,
.site-footer a {
    font-family: 'Baloo 2', cursive;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Navigation bar labels */
.nav-link,
.nav-link-active {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
}

.nav-link {
    color: #ffff55;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav-link:hover {
    color: #ffffcc;
}

.hero-explore-btn {
    display: inline-block;
    background-color: #ffff55;
    color: #001233;
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
}

.hero-explore-btn:hover {
    background-color: #ffffcc;
}

.nav-link-active {
    color: #ffff55;
    border-bottom: 2px solid #ffff55;
    padding-bottom: 0.25rem;
}

/* Fifth nav item — right-aligned with extra space from main links */
.nav-link-end {
    margin-left: 2rem;
}

@media (min-width: 1024px) {
    .nav-link-end {
        margin-left: 4rem;
    }
}

/* Titles on dark blue: high contrast (white); keep yellow where .text-primary is used */
main h1,
main h2:not(.text-primary) {
    color: #ffffff;
}

main details summary {
    color: #ffffff;
}

/* Light subpages (white background, navy headings) */
body.page-products,
body.page-app-reviews,
body.page-customer-service,
body.page-team,
body.page-app,
body.page-data-privacy,
body.page-imprint {
    background-color: #ffffff;
}

body.page-products main h1,
body.page-products main h2:not(.text-primary),
body.page-app-reviews main h1,
body.page-app-reviews main h2:not(.text-primary),
body.page-customer-service main h1,
body.page-customer-service main h2:not(.text-primary),
body.page-team main h1,
body.page-team main h2:not(.text-primary),
body.page-app main h1,
body.page-app main h2:not(.text-primary),
body.page-data-privacy main h1,
body.page-data-privacy main h2:not(.text-primary),
body.page-data-privacy .legal-prose h2,
body.page-imprint main h1,
body.page-imprint main h2:not(.text-primary),
body.page-imprint .legal-prose h2 {
    color: #001233;
}

body.page-team .team-intro {
    max-width: 38ch;
    text-wrap: balance;
}

body.page-app .app-intro {
    max-width: 38ch;
    text-wrap: balance;
}

body.page-team .team-chart {
    display: block;
    width: auto;
    max-width: min(100%, 18rem);
    height: auto;
    max-height: calc((100vh - 7rem - 3.75rem - 1rem) * 0.92);
    object-fit: contain;
}

@media (min-width: 768px) {
    body.page-team .team-chart {
        max-height: calc((100vh - 8rem - 3.75rem - 1rem) * 0.92);
        max-width: min(100%, 20rem);
    }
}

@media (min-width: 1024px) {
    body.page-team .team-chart {
        max-width: min(100%, 21.5rem);
    }
}

body.page-customer-service main details summary {
    color: #001233;
}

body.page-customer-service .support-panel summary {
    list-style: none;
}

body.page-customer-service .support-panel summary::-webkit-details-marker {
    display: none;
}

body.page-customer-service .support-panel-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
}

body.page-customer-service .support-panel-summary::after {
    content: "+";
    flex-shrink: 0;
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
}

body.page-customer-service .support-panel[open] .support-panel-summary::after {
    content: "−";
    color: #a98e00;
}

body.page-customer-service .support-panel[open] {
    border-color: rgba(233, 196, 0, 0.6);
}

body.page-customer-service .support-panel-content {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem;
    margin: 0 0.75rem 0.75rem;
}

body.page-customer-service main {
    padding-bottom: 2rem;
}

/* Fixed nav is h-20 (5rem); add gap before page title on white subpages */
body.page-products main,
body.page-app-reviews main,
body.page-customer-service main,
body.page-team main,
body.page-app main,
body.page-data-privacy main,
body.page-imprint main {
    padding-top: 7rem;
}

@media (min-width: 768px) {
    body.page-products main,
    body.page-app-reviews main,
    body.page-customer-service main,
    body.page-team main,
    body.page-app main,
    body.page-data-privacy main,
    body.page-imprint main {
        padding-top: 8rem;
    }
}

/* Match bottom gap to top gap below fixed nav (h-20) on app reviews */
body.page-app-reviews main {
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    body.page-app-reviews main {
        padding-bottom: 3rem;
    }
}

body.page-app-reviews .review-box {
    text-align: justify;
    hyphens: auto;
}

body.page-app-reviews .store-badge-img {
    display: block;
    height: 2.25rem;
    width: auto;
    max-width: 100%;
}

@media (min-width: 1024px) {
    body.page-app-reviews .app-reviews-main {
        padding-top: calc(1rem + 0.375rem + 2.25rem * 1.25 + 0.75rem);
    }
}

.legal-prose {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #475569;
}

.legal-prose section {
    margin-bottom: 2rem;
}

.legal-prose h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.legal-prose p,
.legal-prose ul {
    margin-bottom: 0.75rem;
}

.legal-prose ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.legal-prose li {
    margin-bottom: 0.35rem;
}

.legal-prose address {
    font-style: normal;
    margin-bottom: 0.75rem;
    color: #334155;
}

.legal-prose a {
    color: #a98e00;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-prose a:hover {
    color: #e9c400;
}

/* Heading sizes and typography (colors set above) */
.heading-hero,
.heading-page,
.heading-card,
.heading-card-lg,
.heading-card-sm {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
}

.heading-hero {
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

@media (min-width: 768px) {
    .heading-hero {
        font-size: 2.25rem;
    }
}

.heading-page {
    font-size: 1.5rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .heading-page {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .heading-page {
        font-size: 2.25rem;
    }
}

.heading-card-sm {
    font-size: 0.875rem;
}

.heading-card {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .heading-card {
        font-size: 1rem;
    }
}

.heading-card-lg {
    font-size: 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .heading-card-lg {
        font-size: 1.125rem;
    }
}

.review-stat-value {
    font-family: 'Baloo 2', cursive;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.1;
    color: #001233;
}

@media (min-width: 768px) {
    .review-stat-value {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    body.page-app-reviews .review-stat-value {
        font-size: 1.625rem;
    }
}
