:root {
    --blue-light: #667eea;
    --blue-mid: #3a5ba0;
    --blue-dark: #0d1b3b;
    --red: #ff6b6b;
    --red-mid: #ee5a24;
    --red-deep: #e55039;
    --green: #00b894;
    --green-mid: #00a085;
    --green-dark: #008876;
    --sub: rgba(42, 63, 110, 0.83);
    --subsub: rgba(13, 27, 59, 0.6);
    --surface: rgba(42, 63, 110, 0.42);
    --surface2: rgba(42, 63, 110, 0.72);
    --text: #e8eeff;
    --muted: #8faad8;
    --border: rgba(102, 126, 234, 0.18);
    --glow-blue: rgba(102, 126, 234, 0.3);
    --glow-red: rgba(255, 107, 107, 0.3);
    --glow-green: rgba(0, 184, 148, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(155deg, #667eea 0%, #3a5ba0 40%, #1a2f6b 100%);
    min-height: 100vh;
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    animation: twinkle var(--d, 4s) ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.06;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.2);
    }
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    animation: drift var(--d, 20s) ease-in-out infinite alternate;
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -40px) scale(1.1);
    }
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2.5rem;
    background: rgba(58, 91, 160, 0.88);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    cursor: pointer;
}

.hippo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    mix-blend-mode: screen;
    animation: bop 3.5s ease-in-out infinite;
}

@keyframes bop {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0px);
    }

    30% {
        transform: rotate(5deg) translateY(-3px);
    }

    60% {
        transform: rotate(-2deg) translateY(1px);
    }
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-weight: 900;
    font-size: 1.08rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 0.4rem;
}

.nav-btn {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--muted);
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    transition: all 0.22s;
}

.nav-btn:hover {
    color: var(--text);
    background: var(--surface);
}

.nav-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
    border-color: rgba(102, 126, 234, 0.45);
    box-shadow: 0 0 18px var(--glow-blue);
}

/* PAGES */
.page {
    display: none;
    position: relative;
    z-index: 1;
}

.page.active {
    display: block;
    animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.page-hero {
    padding: 4.5rem 2.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--green);
    background: rgba(0, 184, 148, 0.1);
    border: 1.5px solid rgba(0, 184, 148, 0.28);
    border-radius: 999px;
    padding: 0.3rem 0.95rem;
    margin-bottom: 1.6rem;
}

.page-title {
    font-weight: 900;
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
}

.page-title em {
    font-style: italic;
    background: linear-gradient(90deg, var(--red), var(--red-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.green-em {
    background: linear-gradient(90deg, var(--green), #00dbb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 510px;
    margin: 0 auto;
}

/* CONTENT */
.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 2.5rem 6rem;
}

/* FAQ */
.faq-group {
    margin-bottom: 2.8rem;
}

.group-label {
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--blue-light);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.group-label::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.faq-item {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    margin-bottom: 0.65rem;
    overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.15s;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 6px 28px rgba(6, 13, 31, 0.5);
    transform: translateY(-1px);
}

.faq-item.open {
    border-color: rgba(102, 126, 234, 0.5);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 1.05rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.93rem;
    color: var(--text);
}

.faq-pill {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface2);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-light);
    transition: transform 0.3s, background 0.2s, color 0.2s;
    line-height: 1;
}

.faq-item.open .faq-pill {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: white;
    box-shadow: 0 0 12px var(--glow-red);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

.faq-item.open .faq-a {
    max-height: 600px;
}

.faq-a-inner {
    padding: 0 1.35rem 1.2rem;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 600;
}

.faq-a-inner strong {
    color: var(--text);
}

.faq-a-inner code {
    background: rgba(102, 126, 234, 0.15);
    border-radius: 4px;
    padding: 0.1em 0.4em;
    font-family: 'Space Mono', monospace;
    font-size: 0.82em;
    color: var(--blue-light);
}

.faq-a-inner em {
    color: var(--green);
    font-style: normal;
    font-weight: 800;
}

/* CONTACT CARD */
.contact-card {
    background: linear-gradient(135deg, var(--sub), rgba(13, 27, 59, 0.8));
    border: 1.5px solid rgba(102, 126, 234, 0.25);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 40px rgba(6, 13, 31, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15), transparent 70%);
    pointer-events: none;
}

.contact-card h3 {
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--muted);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.6rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 0 24px var(--glow-red);
    transition: opacity 0.2s, transform 0.2s;
}

.contact-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* PRIVACY */
.policy-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.38rem 0.9rem;
    margin-bottom: 2.8rem;
}

.policy-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--green);
    box-shadow: 0 0 8px var(--glow-green);
}

.policy-section {
    margin-bottom: 2.6rem;
    padding-bottom: 2.6rem;
    border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-weight: 900;
    font-size: 1.12rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.policy-num {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--red);
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
    border-radius: 5px;
    padding: 0.12rem 0.45rem;
}

.policy-section p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 0.85rem;
}

.policy-section p strong {
    color: var(--text);
}

.policy-section ul {
    list-style: none;
    margin: 0.7rem 0 1rem;
}

.policy-section ul li {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.policy-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.78rem;
    top: 0.38rem;
}

.policy-section ul li strong {
    color: var(--text);
}

.policy-highlight {
    background: var(--sub);
    border-left: 3px solid var(--blue-light);
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.75;
}

.policy-contact-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.policy-contact-row a {
    color: var(--green);
    text-decoration: none;
}

.policy-contact-row a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.78rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.heart {
    color: var(--red);
}

.footer-green {
    color: var(--green);
    font-weight: 800;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--blue-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-mid);
    border-radius: 3px;
}

@media (max-width: 600px) {
    nav {
        padding: 0.85rem 1.1rem;
    }

    .page-hero,
    .content-wrap {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}