/*#region Home page */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* padding: 0 var(--page-inset-x); */
    max-width: 1200px;
    margin: 40px var(--page-inset-x);

    @media (max-width: 768px) {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }
}

.home-section-label {
    font-size: var(--font-xs);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-dark);
    margin-bottom: 16px;
    text-align: center;
}

.home-upcoming {
    padding: 32px 48px 32px 0;
    border-right: 1px solid var(--gray-darker);

    @media (max-width: 768px) {
        padding: 0 0 24px;
        border-right: none;
        border-bottom: 1px solid var(--gray-darker);
    }
}

.home-tournament-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.home-tournament-logo {
    display: block;
    width: 140px;
    height: auto;
    border-radius: 12px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.15);
}

.home-tournament-name {
    font-size: var(--font-h2);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.home-tournament-dates {
    font-size: var(--font-body);
    color: var(--gray-dark);
    text-align: center;
}

.home-tournament-cta {
    font-size: var(--font-small);
    font-weight: bold;
    color: var(--black-lighter);
}

.home-no-event {
    color: var(--gray-dark);
    font-size: var(--font-small);
}

.home-welcome {
    padding: 32px 0 32px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;

    @media (max-width: 768px) {
        padding: 24px 0 0;
    }
}

.home-welcome-title {
    font-size: var(--font-h3);
    font-weight: bold;
    line-height: 1.4;
}

.home-welcome-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-welcome-list li {
    list-style-type: disc;
    font-size: var(--font-body);
    color: var(--black);
}

.home-cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 8px;
}

.home-cta-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background-color: #7c3aed;
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: bold;
    font-size: var(--font-small);
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.home-cta-btn:hover {
    background-color: #6d28d9;
    transform: translateY(-1px);
}

.home-footer-links {
    text-align: center;
    border-top: 1px solid var(--gray-darker);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px var(--page-inset-x) 32px;
}

/*#endregion */
/*#region How It Works page */
.how-it-works {
    max-width: 900px;
    margin: 32px var(--page-inset-x);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hiw-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-darker);
}

.hiw-step:last-of-type {
    border-bottom: none;
}

.hiw-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--black-lighter);
    color: var(--white);
    font-size: var(--font-h3);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hiw-step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hiw-step-title {
    font-size: var(--font-h3);
    font-weight: bold;
}

.hiw-step-body p,
.hiw-step-body ul,
.hiw-step-body ol {
    font-size: var(--font-body);
    color: var(--black);
    line-height: 1.6;
}

.hiw-step-body ul,
.hiw-step-body ol {
    padding-left: 20px;
}

.hiw-step-body li {
    list-style-type: disc;
    margin-bottom: 4px;
}

.hiw-step-body ol li {
    list-style-type: decimal;
}

.hiw-step-body a:not(.hero-btn) {
    color: var(--blue-for-links);
    text-decoration: underline;
}

.hiw-option {
    margin-top: 4px;
}

.hiw-option-label {
    font-weight: bold;
    margin-bottom: 4px;
}

.hiw-step-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hiw-notice {
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    margin: 8px 0;
}

.hiw-notice--warning {
    background-color: #fffbe6;
    border: 1px solid var(--yellow);
}

.hiw-notice--important {
    background-color: #fffbe6;
    border: 1px solid var(--yellow);
}

.hiw-notice strong {
    display: block;
    margin-bottom: 8px;
}/*#endregion */
.policy-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 20px 48px;

    @media (max-width: 480px) {
        padding: 16px 12px 32px;
    }
}
.policy-updated {
    color: var(--gray-dark);
    font-size: var(--font-small);
    margin-bottom: 20px;
}
.policy-tldr {
    background: var(--gray);
    border-left: 4px solid var(--green);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    font-size: var(--font-body);
    line-height: 1.5;

    @media (max-width: 480px) {
        padding: 12px 14px;
        font-size: var(--font-small);
    }
}
.policy-tldr-label {
    font-weight: bold;
}
.policy-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
}
.policy-table-wrap .policy-table {
    min-width: 520px;

    @media (max-width: 480px) {
        min-width: 420px;
    }
}
.policy-section {
    margin-bottom: 36px;

    @media (max-width: 480px) {
        margin-bottom: 28px;
    }
}
.policy-section h2 {
    font-size: var(--font-h2);
    font-weight: bold;
    margin-bottom: 12px;

    @media (max-width: 480px) {
        font-size: var(--font-h3);
        word-wrap: break-word;
    }
}
.policy-section p,
.policy-section ul {
    font-size: var(--font-body);
    color: var(--black);
    margin-bottom: 10px;

    @media (max-width: 480px) {
        font-size: var(--font-small);
    }
}
.policy-section ul {
    padding-left: 20px;

    @media (max-width: 480px) {
        padding-left: 18px;
    }
}
.policy-section li {
    list-style-type: disc;
    margin-bottom: 6px;
}
.policy-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;

    @media (max-width: 480px) {
        .hero-btn {
            flex: 1 1 140px;
            text-align: center;
        }
    }
}

.policy-section li:hover *,
.policy-section li:hover {
    background-color: transparent;
    color: inherit;
    transition: none;
}
.policy-section a:not(.hero-btn) {
    color: var(--blue-for-links);
    text-decoration: underline;
}
.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-small);
    margin-bottom: 10px;
}
.policy-table th,
.policy-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-darker);
    vertical-align: top;

    @media (max-width: 480px) {
        padding: 6px 10px;
        font-size: var(--font-xs);
    }
}
.policy-table th {
    font-weight: bold;
    background: var(--gray);
}
.policy-table tr:last-child td {
    border-bottom: none;
}

