:root {
    --page-bg: #f5f7fb;
    --surface: #ffffff;
    --text: #111827;
    --muted: #667085;
    --border: #e5e7eb;
    --header-bg: #111827;
    --header-text: #ffffff;
    --accent: #7d8df6;
    --accent-hover: #6778eb;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--page-bg);
    color: var(--text);
}

a {
    color: inherit;
}

/* Header */

.site-header {
    background: var(--header-bg);
    color: var(--header-text);
}

.header-inner {
    max-width: var(--content-width);
    min-height: 72px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
}

.brand-name {
    font-size: 20px;
}

.main-nav {
    flex: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 12px 16px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    color: #d1d5db;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.language select {
    min-width: 130px;

    padding: 10px 36px 10px 14px;

    border: 1px solid #374151;
    border-radius: 8px;

    background: #ffffff;
    color: #111827;

    font-size: 15px;
    font-weight: 600;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 0;
    border-radius: 8px;

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: #ffffff;
    border-radius: 2px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

/* Hero */

.hero {
    background:
        linear-gradient(180deg,
            #ffffff 0%,
            #f5f7fb 100%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px 72px;

    text-align: center;
}

.app-icon {
    width: 136px;
    height: 136px;

    border-radius: 30px;

    box-shadow:
        0 18px 45px rgba(17, 24, 39, 0.14);
}

.hero h1 {
    margin: 28px 0 8px;

    font-size: 42px;
    line-height: 1.1;
}

.hero-subtitle {
    margin: 0;

    font-size: 20px;
    color: var(--muted);
}

.invite-box {
    max-width: 520px;
    margin: 28px auto 0;
    padding: 18px 20px;

    border: 1px solid #dfe3ff;
    border-radius: 12px;

    background: #f3f5ff;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

.invite-box span {
    color: var(--muted);
    line-height: 1.5;
}



/* Main content */

.content-width {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

.info-section {
    padding: 64px 0 80px;
}

.info-section h2 {
    margin-top: 0;

    text-align: center;
    font-size: 30px;
}

.info-section>.content-width>p {
    max-width: 720px;
    margin: 0 auto 36px;

    text-align: center;
    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-card p {
    margin-bottom: 0;

    color: var(--muted);
    line-height: 1.65;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 28px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    color: var(--muted);
    font-size: 14px;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--text);
}

/* Documents */

.document-page {
    padding: 56px 24px 80px;
}

.document-content {
    max-width: 860px;
    margin: 0 auto;

    padding: 42px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 16px;
}

.document-content h1 {
    margin-top: 0;
    margin-bottom: 28px;

    font-size: 34px;
}

.document-content h2 {
    margin-top: 38px;
    margin-bottom: 14px;

    font-size: 23px;
}

.document-content p,
.document-content li {
    color: var(--muted);
    line-height: 1.75;
}

.document-content ul {
    padding-left: 24px;
}

.document-content a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.document-versions {
    margin-top: 52px;
    padding-top: 28px;

    border-top: 1px solid var(--border);
}

.document-versions h2 {
    margin-top: 0;
}

.document-versions ul {
    margin-bottom: 0;
}


/* Policy Center */

.policy-list {
    max-width: 860px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.policy-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;

    padding: 24px 26px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.policy-card:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 30px rgba(17, 24, 39, 0.08);
}

.policy-card-main {
    min-width: 0;
}

.policy-card-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 700;
}

.policy-card-description {
    margin-top: 8px;

    color: var(--muted);
    line-height: 1.6;
}

.policy-card-meta {
    flex-shrink: 0;

    color: var(--muted);
    font-size: 14px;
}

.new-badge {
    display: inline-block;

    padding: 4px 7px;

    border-radius: 999px;

    background: #eef1ff;
    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}


.hero-description {
    max-width: 640px;
    margin: 18px auto 0;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

/* Support */

.support-content {
    max-width: 860px;
    margin: 0 auto;
}

.support-header {
    margin-bottom: 32px;
}

.support-header h1 {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 34px;
}

.support-header p {
    margin: 0;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 12px;

    overflow: hidden;
}

.faq-item summary {
    padding: 20px 22px;

    cursor: pointer;

    font-size: 17px;
    font-weight: 650;
}

.faq-item summary:hover {
    background: #fafafa;
}

.faq-answer {
    padding: 0 22px 22px;

    color: var(--muted);
    line-height: 1.7;
}

.support-contact {
    margin-top: 36px;
    padding: 26px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.support-contact h2 {
    margin-top: 0;
}

.support-contact p {
    color: var(--muted);
}

.support-contact a {
    color: var(--text);
    font-weight: 650;

    text-decoration: none;
}

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

.support-secondary {
    margin-top: 18px;
}


/* Store - Demo buttons */
/* Store / Download buttons */

.store-buttons {
    margin-top: 32px;

    display: grid;
    grid-template-columns: repeat(2, 320px);
    justify-content: center;
    gap: 18px 24px;
}

.store-action {
    width: 320px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;

    padding: 10px 22px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #111827;
    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.store-action:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 22px rgba(17, 24, 39, 0.12);
}

.store-action-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    object-fit: contain;
    border-radius: 10px;
}

.store-action-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.2;
}

.store-action-small {
    margin-bottom: 3px;

    font-size: 12px;
    font-weight: 500;
    opacity: 0.78;
}

.store-action-main {
    font-size: 20px;
    font-weight: 700;
}


/* Official Google Play / App Store artwork */

.store-action-official {
    justify-content: center;
    padding: 8px 20px;
}

.store-official-badge {
    display: block;

    max-width: 250px;
    max-height: 58px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* Demo */

.demo-link-wrap {
    margin-top: 20px;

    display: flex;
    justify-content: center;
}

.demo-action {
    background: #ffffff;
    color: #111827;

    justify-content: center;
}

.demo-action .store-action-copy {
    align-items: center;
}

@media (max-width: 760px) {

    .header-inner {
        min-height: auto;
        padding: 14px 18px;

        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;

        gap: 12px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;

        min-width: 0;
    }

    .language {
        grid-column: 2;
        grid-row: 1;
    }

    .language select {
        min-width: 150px;
        color: #111827;
        background: #ffffff;
    }

    .menu-toggle {
        display: block;

        grid-column: 3;
        grid-row: 1;
    }

    .main-nav {
        display: none;

        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;

        margin-top: 8px;
        padding-top: 10px;

        border-top: 1px solid rgba(255, 255, 255, 0.10);

        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 16px;

        border-radius: 10px;

        text-align: left;
        white-space: normal;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Hero */
    .hero-content {
        padding-top: 58px;
        padding-bottom: 54px;
    }

    .app-icon {
        width: 112px;
        height: 112px;
        border-radius: 25px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }


    /* Info */
    .info-grid {
        grid-template-columns: 1fr;
    }


    /* Documents */
    .document-page {
        padding: 28px 14px 50px;
    }

    .document-content {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .document-content h1 {
        font-size: 28px;
    }


    /* Policies */
    .policy-card {
        flex-direction: column;
        gap: 14px;
    }


    /* Store buttons */
    .store-buttons {
        grid-template-columns: 1fr;
    }

    .store-action {
        width: min(100%, 320px);
        margin-left: auto;
        margin-right: auto;
    }


    /* Footer */
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}