/* CareNotes /faq : questions page, layered on sample3.css */

:root { --fq: #0d9488; --fq-deep: #0f766e; --fq-soft: #ccfbf1; }

/* ---------------- HERO ---------------- */
.fq-hero {
    margin-top: -76px; padding: 150px 22px 80px; text-align: center; overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #ecfdf8 45%, #ccf3ea 100%);
    color: #1d1d1f;
}
.fq-hero .eyebrow, .detail .eyebrow { color: var(--fq-deep); }
.fq-hero h1 {
    margin: 10px auto 0; max-width: 900px;
    font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance;
}
.fq-hero .lede {
    margin: 18px auto 0; max-width: 640px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35;
    color: #2f5a52; letter-spacing: -.01em; text-wrap: balance;
}
.fq-hero .lede a { color: var(--fq-deep); font-weight: 600; }
.fq-hero .lede a:hover { text-decoration: underline; }

.fq-topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 44px auto 0; width: min(1000px, 100%); text-align: left; }
.fq-topic {
    display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 20px; color: inherit;
    background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -40px rgba(10, 80, 70, .4), inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(0, 0, 0, .04);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fq-topic:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10, 80, 70, .45), 0 0 0 1px rgba(0, 0, 0, .05); }
.fq-topic .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fq-soft), #99f6e4); color: var(--fq-deep); font-size: 15px; }
.fq-topic b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.fq-topic small { font-size: 12.5px; color: #6e6e73; }

/* ---------------- Q&A GROUPS ---------------- */
.fq-group { padding: 90px 22px 90px; }
.fq-group .detail-inner { max-width: 860px; }
.fq-head { display: flex; align-items: center; gap: 14px; text-align: left; }
.fq-head .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fq-soft), #99f6e4); color: var(--fq-deep); font-size: 19px; }
.fq-head .eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.fq-head h3 { margin-top: 2px; font-size: clamp(24px, 3vw, 34px); text-align: left; }

.fq-qa { margin-top: 26px; text-align: left; }
.fq-qa details { border-top: 1px solid rgba(0, 0, 0, .1); }
.fq-qa details:last-child { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.fq-qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.fq-qa summary::-webkit-details-marker { display: none; }
.fq-qa summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; color: #86868b; transition: transform .3s var(--ease); flex: 0 0 auto; }
.fq-qa details[open] summary::after { transform: rotate(45deg); }
.fq-qa .ans { padding: 0 4px 22px 4px; font-size: 16px; line-height: 1.55; color: #424245; letter-spacing: -.01em; max-width: 760px; }
.fq-qa .ans p + p { margin-top: 12px; }
.fq-qa .ans a { color: var(--fq-deep); font-weight: 600; }
.fq-qa .ans a:hover { text-decoration: underline; }
.fq-qa .ans strong { color: #1d1d1f; }
.fq-qa .ans .states { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #f5f5f7; font-size: 14.5px; line-height: 1.5; }
.detail-alt .fq-qa .ans .states { background: #fff; }
.fq-qa .ans .states b { display: block; color: #1d1d1f; margin-bottom: 4px; }
.fq-qa .ans .states + .states { margin-top: 10px; }
.consent { margin-top: 22px; display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 20px; background: #f5f5f7; }
.detail-alt .consent { background: #fff; }
.consent img { width: 100%; border-radius: 10px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); }
.consent b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: #1d1d1f; }
.consent p { margin-top: 6px; font-size: 14.5px; color: #6e6e73; }
.consent .ctas { justify-content: flex-start; margin-top: 14px; }
.consent .btn { font-size: 15px; padding: 9px 18px; }
.consent .btn-fill { background: #1d1d1f; color: #fff; }
.consent .btn-fill:hover { background: var(--fq); }
.consent .btn-line { color: #1d1d1f; box-shadow: inset 0 0 0 1px #1d1d1f; }
.consent .btn-line:hover { background: #1d1d1f; color: #fff; }

/* ---------------- CLOSER ---------------- */
.fq-dark { background: #1d1d1f; color: #f5f5f7; }
.fq-dark .eyebrow { color: #5eead4; }
.fq-dark h3 { color: #f5f5f7; }
.fq-dark .lede { margin: 14px auto 0; max-width: 620px; font-size: 17px; line-height: 1.47; color: #a1a1a6; letter-spacing: -.01em; }
.fq-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.fq-help a {
    display: flex; gap: 14px; align-items: flex-start; background: #2a2a2e; border-radius: 20px; padding: 20px 20px 18px; color: inherit;
    transition: background .25s var(--ease), transform .3s var(--ease);
}
.fq-help a:hover { background: #333338; transform: translateY(-3px); }
.fq-help .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(94, 234, 212, .14); color: #5eead4; font-size: 16px; }
.fq-help .txt { display: block; min-width: 0; }
.fq-help .txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.fq-help .txt span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: #a1a1a6; }
.fq-dark .ctas { margin-top: 34px; }
.fq-dark .ctas .btn-fill { background: #f5f5f7; color: #1d1d1f; }
.fq-dark .ctas .btn-line { color: #f5f5f7; box-shadow: inset 0 0 0 1px #f5f5f7; }
.fq-dark .ctas .btn-line:hover { background: #f5f5f7; color: #1d1d1f; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1068px) {
    .fq-topics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 734px) {
    .fq-hero { padding-top: 120px; padding-bottom: 60px; }
    .fq-topics { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
    .fq-topic { padding: 14px; }
    .fq-group { padding: 70px 22px; }
    .fq-qa summary { font-size: 16px; padding: 16px 2px; }
    .consent { grid-template-columns: 1fr; }
    .consent img { max-width: 240px; }
    .fq-help { grid-template-columns: 1fr; }
}

/* Inside answers, links are teal; the consent buttons must keep their button colors. */
.fq-qa .ans .consent .btn-fill { color: #fff; }
.fq-qa .ans .consent .btn-line { color: #1d1d1f; }
.fq-qa .ans .consent .btn-line:hover { color: #fff; }
.fq-qa .ans .consent a:hover { text-decoration: none; }
