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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #f5f5f7;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    background-color: #ffffff;
    min-height: calc(100vh - 80px);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1d1d1f;
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.35rem;
}

.effective-date {
    font-size: 0.9rem;
    color: #6e6e73;
    margin-bottom: 2rem;
}

/* FAQ details/summary */
details {
    margin-bottom: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

details[open] {
    padding-bottom: 0.75rem;
}

summary {
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "\25B6";
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

details[open] > summary::before {
    transform: rotate(90deg);
}

summary:hover {
    background-color: #f5f5f7;
}

details > p,
details > ul {
    padding: 0 1rem;
    margin-top: 0.25rem;
}

/* Compatibility table */
.compat-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.compat-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.compat-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: #6e6e73;
}

/* Page index list */
.page-index {
    list-style: none;
    padding-left: 0;
}

.page-index li {
    margin-bottom: 0.75rem;
}

.page-index a {
    font-size: 1.1rem;
    font-weight: 500;
}

.page-index .description {
    display: block;
    font-size: 0.9rem;
    color: #6e6e73;
    margin-top: 0.1rem;
}

/* Footer */
footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #6e6e73;
    border-top: 1px solid #e0e0e0;
}

footer a {
    color: #6e6e73;
}

footer a:hover {
    color: #0066cc;
}

/* Responsive */
@media (max-width: 480px) {
    main {
        padding: 2rem 1rem 1.5rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    footer {
        padding: 1rem;
    }
}

/* Print */
@media print {
    body {
        background-color: #ffffff;
    }

    main {
        padding: 0;
    }

    details {
        border: none;
    }

    details[open] > summary {
        font-weight: 700;
    }

    summary::before {
        display: none;
    }
}
