/* /faq page styles. */

/* Header and body share one measure so they line up and the gutters stay even.
   Don't re-cap inner blocks: a max-width with no `margin-inline: auto` shifts the
   whole page left. */
:root { --measure: 844px; }  /* 780px of content + 2rem padding each side */


body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.page-header {
    background:
        radial-gradient(720px 380px at 88% -20%, rgba(223,143,171,0.14), transparent 60%),
        linear-gradient(160deg, #d6e9f8 0%, #eaf3fb 50%, #FBFAFE 80%);
    border-bottom: 1px solid var(--color-border);
}
.page-header-inner { max-width: var(--measure); margin: 0 auto; padding: 4.5rem 2rem 3.5rem; }
.page-header h1 { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
.page-header .subtitle { font-size: 1.15rem; color: var(--color-text-secondary); line-height: 1.7; }

.content { max-width: var(--measure); margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.content-section { margin-bottom: 3rem; }
.content-section h2 {
    font-family: var(--font-display); font-size: 1.6rem;
    margin-bottom: 1.25rem; letter-spacing: -0.01em;
}
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: #c3d8ec; box-shadow: 0 10px 30px rgba(47, 111, 181, 0.08); }
.faq-item summary {
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 600; font-size: 1rem; color: #283046;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-family: var(--font-display);
    font-size: 1.35rem; line-height: 1; color: var(--color-accent);
    transition: transform 0.2s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.35rem 1.2rem; font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.7; }
.faq-item p + p { margin-top: -0.4rem; }
.faq-item a { color: var(--color-accent-strong); text-decoration: none; font-weight: 600; }
.faq-item a:hover { text-decoration: underline; }

.faq-cta {
    margin-top: 1rem; background: var(--color-accent-soft);
    border: 1px solid #cfe4f6; border-radius: 16px;
    padding: 2rem;
}
.faq-cta h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.5rem; }
.faq-cta p { color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 0; }
.faq-cta a { color: var(--color-accent-strong); text-decoration: none; font-weight: 600; }
.faq-cta a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .page-header-inner { padding: 3rem 1.5rem 2.5rem; }
    .page-header h1 { font-size: 2.1rem; }
    .content { padding: 2.5rem 1.5rem 3rem; }
    .nav-inner { padding: 0.9rem 1.5rem; }
    .nav-links { gap: 1.25rem; }
}
@media (max-width: 480px) {
    .nav-links { gap: 0.85rem; }
    .nav-links a { font-size: 0.82rem; }
    .nav-links li.nav-optional { display: none; }
}
