/* Copyright (c) 2025-2026 ReEntropyAI. */
:root {
    --accent: #2ec4cc;
    --accent-2: #69d1e0;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font: 16px/1.55 "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #555a60;
    display: flex;
    flex-direction: column;
    background: #3faed1;
}

main {
    flex: 1;
    padding-bottom: 16px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-logo {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo .brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.header-logo .brand-link:hover {
    color: #dfe7ec;
}

.brand-logo {
    width: 20px;
    height: 20px;
    border-radius: 0;
}

.brand-text {
    display: inline-block;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a:hover {
    color: #ffffff;
}

.header-nav a.nav-current {
    color: var(--accent);
    font-weight: 500;
}

.header-nav a {
    font-size: 1rem;
    font-weight: 400;
    color: #c7d1d8;
    text-decoration: none;
}

.hero,
.hero-secondary {
    background: #256da0;
    text-align: center;
    color: #ffffff;
}

.hero {
    padding: 120px 0 100px;
}

.site-header+.hero {
    padding-top: 165px;
}

.hero-secondary {
    padding: 80px 0 60px;
}

.site-header+.hero-secondary {
    padding-top: 145px;
}

.hero-section-title {
    color: #c7d1d8;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-transform: none;
    margin: 32px 0 6px;
}

h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.2rem);
    font-weight: 400;
    color: #c7d1d8;
    text-shadow: none;
    margin: 0;
}

.brand-tagline {
    color: #ffffff;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 0;
    max-width: none;
    padding: 0;
    text-align: center;
}

.panel {
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 5px;
    box-shadow: var(--shadow);
    width: 95%;
    max-width: 1500px;
    margin: 40px auto 0;
    padding: 32px;
    min-height: 45vh;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h2 {
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 0.4px;
    color: #2d3540;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

h3 {
    font-weight: 500;
    font-size: 1.05rem;
    margin-top: 1.6rem;
    margin-bottom: 0.6rem;
}

.panel h2 {
    font-size: 1.08rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    color: #5f646b;
}

.panel h3,
.panel .panel-subheading {
    font-size: 1.02rem;
    font-weight: 500;
    color: #63686f;
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
}

.panel p {
    margin: 0 0 0.75rem 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: #6d737b;
}

.panel li {
    color: #6d737b;
    font-size: 0.97rem;
}

.panel a,
.panel a:visited {
    color: var(--accent);
    text-decoration: none;
}

.panel a:hover {
    color: var(--accent-2);
}

.accordion {
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 0.7rem;
}

.accordion:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.acc-toggle,
.accordion input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.acc-title {
    font-size: 1.00rem;
    font-weight: 450;
    display: block;
    cursor: pointer;
    padding: 0.35rem 0 0.35rem 1.4rem;
    color: #63686f;
    position: relative;
}

.acc-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6b7683;
    border-bottom: 2px solid #6b7683;
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.accordion input:checked~.acc-content,
.acc-toggle:checked~.acc-content {
    max-height: 500px;
    margin-top: 0.6rem;
}

.accordion input:checked+.acc-title::before,
.acc-toggle:checked+.acc-title::before {
    transform: translateY(-50%) rotate(45deg);
    border-color: var(--accent);
}

footer {
    background: #142841e0;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

.footer-inner {
    max-width: 1500px;
    width: 95%;
    margin: 0 auto;
}

.footer-secondary {
    color: #9aa4af;
    opacity: 0.9;
}

.footer-line {
    color: #d0d7de;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    opacity: 0.9;
}

.footer-line a {
    color: #b6e3f3;
    text-decoration: none;
    font-weight: 500;
}

.footer-line a:hover {
    color: #d8f4ff;
    text-decoration: underline;
}

#progressbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    width: 0%;
    z-index: 2000;
}

.hero-secondary a,
.hero-secondary a:visited,
.hero-secondary a:active {
    color: #9aa4af;
    text-decoration: none;
}

.hero-secondary a:hover {
    color: #c7d1d8;
}

@media (min-width: 769px) {
    .brand-tagline {
        margin-top: 40px;
    }

    .hero {
        padding-bottom: 120px;
    }
}

@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    .header-inner {
        width: 94%;
        margin: 0 auto;
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
    }

    .header-logo {
        position: static;
        transform: none;
        align-self: flex-start;
        margin-left: 8px;
    }

    .brand-link {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 1rem;
    }

    .brand-logo {
        width: 18px;
        height: 18px;
        border-radius: 0;
    }

    .header-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 8px 16px;
    }

    .header-nav a {
        font-size: 0.95rem;
        color: var(--accent);
        text-decoration: none;
        padding: 0;
        margin: 0;
    }

    .header-nav a.nav-current {
        font-weight: 600;
        text-decoration: underline;
    }

    .hero {
        padding: 120px 16px 56px;
        text-align: center;
    }

    .hero .brand-tagline {
        font-size: 0.95rem;
        line-height: 1.45;
        margin-top: 16px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        text-align: center;
    }

    .hero-section-title {
        font-size: 1.0rem;
        text-align: center;
        margin: 12px 0 6px;
    }

    .panel {
        width: 94%;
        margin: 18px auto 0;
        padding: 18px 16px;
        max-width: 100%;
        min-height: auto;
    }

    .panel p {
        margin-bottom: 0.9rem;
    }

    .accordion {
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .acc-title {
        font-size: 0.98rem;
        padding: 0.35rem 0 0.35rem 1.3rem;
    }

    .footer-line {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 92%;
        margin: 0 auto 2px;
        text-align: center;
    }
}