:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;
    --secondary: #c2410c;
    --text-dark: #134e4a;
    --text-light: #5b6b6a;
    --bg-light: #f0fdfa;
    --bg-muted: #ecfdf5;
    --bg-white: #ffffff;
    --border-color: #ccfbf1;
    --shadow: 0 1px 3px rgba(15, 118, 110, 0.08);
    --shadow-md: 0 6px 16px rgba(15, 118, 110, 0.12);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

#site-root[aria-hidden="true"] {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

#site-root[aria-hidden="false"] {
    visibility: visible;
    height: auto;
    overflow: visible;
}

.compliance-bar {
    background: #0f3d3a;
    color: #e6fffb;
    font-size: 0.82rem;
}

.compliance-bar__inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.compliance-bar__badge {
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
}

.compliance-bar p,
.compliance-bar a {
    color: #e6fffb;
    margin: 0;
}

.aff-bar {
    background: #ecfdf5;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.aff-bar p {
    margin: 0;
    padding: 0.55rem 0;
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 21, 36, 0.88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-gate.is-hidden {
    display: none;
}

.age-gate__card {
    background: #fff;
    border-radius: 14px;
    width: min(520px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 26px 22px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.age-gate__badge {
    display: inline-flex;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #0f1c2e;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.age-gate__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.age-gate__lead {
    color: #334155;
    margin-bottom: 0.8rem;
}

.age-gate__list {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0 0 0.8rem;
}

.age-gate__list li {
    margin-bottom: 0.35rem;
    color: #334155;
}

.age-gate__warning {
    margin-bottom: 0.7rem;
}

.age-gate__help {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.age-gate__actions {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.7rem 1.05rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
}

.btn--outline,
.btn--outline-light {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn--outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #0f172a;
    color: #e5e7eb;
}

.cookie-bar__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.cookie-bar p,
.cookie-bar a {
    color: #e5e7eb;
    margin: 0;
}

.cookie-bar__actions {
    display: flex;
    gap: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.hero {
    padding: 4.5rem 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(20, 184, 166, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(194, 65, 12, 0.2) 0%, transparent 45%),
        linear-gradient(145deg, #134e4a 0%, #0f766e 55%, #115e59 100%);
    color: white;
    text-align: center;
}

.hero h1,
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-note {
    font-size: 0.95rem;
    max-width: 640px;
    margin: 1.25rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

.overview {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.overview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-lead {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--primary-light);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.15);
}

.info-card .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about {
    padding: 4rem 0;
    background:
        linear-gradient(180deg, var(--bg-white) 0%, var(--bg-muted) 100%);
}

.about h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}

.about-list {
    list-style: none;
    margin-top: 1.5rem;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: var(--text-light);
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

.about-aside {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.about-aside h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.about-aside ul {
    list-style: none;
}

.about-aside li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-aside li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-aside strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.platforms {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.platforms h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.platforms-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.platform-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.platform-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.platform-logo {
    flex: 0 0 200px;
    width: 200px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border-radius: 8px;
    padding: 0.85rem;
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.platform-body {
    flex: 1 1 auto;
    min-width: 0;
}

.platform-card h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.platform-details {
    flex-grow: 1;
}

.platform-details p {
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
    color: var(--text-light);
}

.platform-details strong {
    color: var(--text-dark);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
}

.badge {
    display: inline-block;
    background-color: var(--bg-muted);
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-link {
    flex: 0 0 auto;
    align-self: center;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color var(--transition);
    white-space: nowrap;
    text-align: center;
}

.platform-link:hover {
    background-color: var(--primary-dark);
    color: white;
}

.comparison {
    padding: 4rem 0;
    background:
        linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.comparison h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

.comparison-table thead {
    background-color: var(--primary);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-light);
}

.comparison-table a {
    color: var(--primary);
    font-weight: 500;
}

.criteria {
    padding: 4rem 0;
    background-color: var(--bg-muted);
}

.criteria h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.criteria-item {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}

.criteria-item h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.criteria-item p {
    margin-bottom: 0;
    font-size: 0.98rem;
}

.safety {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.safety h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.safety-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.safety-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.safety-extra {
    margin-top: 2.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-light) 100%);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.safety-extra p {
    margin-bottom: 0.75rem;
}

.safety-extra a {
    font-weight: 600;
}

.faq {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.faq h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.98rem;
}

.contact {
    padding: 4rem 0;
    background:
        linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-light) 100%);
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-box {
    display: inline-block;
    background-color: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer {
    background-color: #0f3d3a;
    color: white;
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-info-list li {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.footer-info-list strong {
    color: rgba(255, 255, 255, 0.95);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.tsd-footer__regulatory-inner {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tsd-footer__regulatory-title {
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tsd-footer__regulatory-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.tsd-footer__regulatory-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 56px;
    transition: transform var(--transition), opacity var(--transition);
}

.tsd-footer__regulatory-item:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.tsd-footer__regulatory-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tsd-footer__social {
    width: 48px;
    height: 48px;
}

.tsd-footer__social img {
    width: 48px;
    height: 48px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1,
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .info-grid,
    .safety-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .platform-logo {
        width: 100%;
        flex-basis: auto;
        height: 100px;
    }

    .platform-link {
        width: 100%;
    }

    .overview,
    .about,
    .platforms,
    .comparison,
    .criteria,
    .safety,
    .faq,
    .contact {
        padding: 2rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .age-gate__actions {
        flex-direction: column;
    }

    .tsd-footer__regulatory-grid {
        gap: 0.75rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .platform-details p {
        font-size: 0.9rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .info-card,
    .platform-card,
    .safety-card,
    .criteria-item,
    .faq-item {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1rem;
    }

    .contact-link {
        font-size: 1rem;
    }

    .info-card .icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
