:root {
    --bg: #eef4ff;
    --panel: #ffffff;
    --panel-alt: #f3f6ff;
    --primary: #3a9dff;
    --primary-dark: #1d7fe0;
    --accent: #4fd0b3;
    --text: #14213d;
    --text-muted: #4e5c84;
    --border: rgba(20, 33, 61, 0.12);
    --shadow-soft: 0 16px 40px rgba(45, 72, 130, 0.12);
    --max-width: 1080px;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, rgba(58, 157, 255, 0.28), transparent 55%), linear-gradient(180deg, rgba(79, 208, 179, 0.12), transparent 70%), var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--primary-dark);
}

.container {
    width: min(95%, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 24px rgba(45, 72, 130, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-mark {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 1.6rem;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease;
}

.hero {
    padding: 7rem 0 5rem;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 3.3rem);
    line-height: 1.1;
    margin: 0.4rem 0 0.8rem;
}

.hero-copy p {
    margin: 0 0 1.8rem;
    color: var(--text-muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.hero-card {
    background: linear-gradient(135deg, rgba(58, 157, 255, 0.16), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(58, 157, 255, 0.28);
    border-radius: 1.5rem;
    padding: 2rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    margin: 0;
    font-size: 1.5rem;
}

.hero-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.hero-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(29, 127, 224, 0.3);
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn.ghost {
    border: 1px solid rgba(20, 33, 61, 0.18);
}

.btn.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-lead {
    color: var(--text-muted);
    max-width: 620px;
}

.services {
    padding: 4rem 0;
}

.services h2,
.family h2,
.support h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.service-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-top: 2.2rem;
}

.service-card {
    background: var(--panel);
    border-radius: 1.4rem;
    padding: 1.8rem;
    border: 1px solid var(--border);
    display: grid;
    gap: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(45, 72, 130, 0.08);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(58, 157, 255, 0.38);
    box-shadow: 0 24px 36px rgba(45, 72, 130, 0.16);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 157, 255, 0.12);
    color: var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 18px rgba(45, 72, 130, 0.12);
}

.service-card:hover .service-icon {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 24px rgba(45, 72, 130, 0.18);
}

.service-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: currentColor;
}

.service-icon.icon-photos {
    background: rgba(58, 157, 255, 0.16);
    color: #1d7fe0;
}

.service-icon.icon-books {
    background: rgba(79, 208, 179, 0.18);
    color: #1b9a87;
}

.service-icon.icon-plex {
    background: rgba(255, 189, 89, 0.22);
    color: #db8a1b;
}

.service-icon.icon-requests {
    background: rgba(95, 205, 255, 0.2);
    color: #1f8ed6;
}

.service-icon.icon-poker {
    background: rgba(120, 140, 255, 0.18);
    color: #4053dd;
}

.service-icon.icon-mail {
    background: rgba(66, 165, 245, 0.2);
    color: #1c74d4;
}

.service-icon.icon-admin {
    background: rgba(79, 208, 179, 0.18);
    color: #168a76;
}

.service-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
}

.chip {
    display: inline-flex;
    align-self: start;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(58, 157, 255, 0.12);
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.family {
    padding: 4rem 0 5rem;
}

.avatar-grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 2.2rem;
}

.avatar-card {
    text-align: center;
    background: var(--panel-alt);
    padding: 1.6rem;
    border-radius: 1.4rem;
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(45, 72, 130, 0.08);
}

.avatar-card figcaption {
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.rounded {
    border-radius: 50%;
    border: 4px solid rgba(58, 157, 255, 0.32);
}

.support {
    padding: 4rem 0 6rem;
}

.support-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.support-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: 2rem;
    display: grid;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.support-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    padding: 2.5rem 0;
    box-shadow: 0 -8px 24px rgba(45, 72, 130, 0.08);
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-social h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 0.65rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 33, 61, 0.08);
    color: var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 20px rgba(20, 33, 61, 0.1);
}

.social-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 24px rgba(20, 33, 61, 0.2);
}

.social-icon.xbox {
    background: rgba(16, 124, 16, 0.16);
    color: #107c10;
}

.social-icon.twitter {
    background: rgba(29, 155, 240, 0.18);
    color: #1d9bf0;
}

.social-icon.linkedin {
    background: rgba(14, 118, 168, 0.18);
    color: #0e76a8;
}

.footer-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq .page-hero {
    padding: 6rem 0 2rem;
}

.faq .page-hero h1 {
    margin: 0.4rem 0 0.8rem;
    font-size: clamp(2.2rem, 5vw, 3rem);
}

.faq-list {
    padding: 1rem 0 4rem;
}

.faq-card {
    background: var(--panel);
    border-radius: 1.4rem;
    border: 1px solid var(--border);
    padding: 2rem;
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.faq-card h2 {
    margin: 0;
    font-size: 1.6rem;
}

.faq-card p {
    margin: 0;
    color: var(--text-muted);
}

.faq-contact {
    padding: 0 0 6rem;
}

@media (max-width: 768px) {
    .site-nav {
        position: absolute;
        top: 100%;
        right: 5%;
        left: 5%;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--border);
        border-radius: 1.2rem;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .site-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
