.fc-discovery {
    --fc-ink: #172447;
    --fc-muted: #536078;
    --fc-blue: #3046e8;
    --fc-lilac: #e9ebff;
    --fc-line: #dce0ea;
    background: #f8f7f4;
    color: var(--fc-ink);
    font-size: 17px;
    line-height: 1.55;
}

.fc-discovery__wrap {
    width: min(1192px, calc(100% - 48px));
    margin-inline: auto;
    padding: 24px 0 clamp(56px, 7vw, 104px);
}

.fc-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--fc-muted);
    font-size: 15px;
}

.fc-crumbs a { color: inherit; text-underline-offset: 3px; }
.fc-crumbs a:hover { color: var(--fc-blue); text-decoration: underline; }
.fc-crumbs [aria-current] { color: var(--fc-ink); font-weight: 700; }
.fc-crumbs i { font-size: 14px; }

.fc-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(25px, 5vw, 78px);
    padding: clamp(34px, 5.5vw, 76px);
    overflow: hidden;
    border-radius: 25px;
    background: #253bc2;
    color: white;
}

.fc-banner::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background:
        repeating-radial-gradient(ellipse at 86% 110%, transparent 0 34px, #c1caff2e 35px 36px, transparent 37px 52px),
        linear-gradient(112deg, #18285d 0%, #263bc2 55%, #3046e8 100%);
    pointer-events: none;
}

.fc-banner__copy { min-width: 0; }
.fc-banner h1 {
    margin: 0;
    max-width: 18ch;
    color: white;
    font-size: clamp(48px, 6.6vw, 86px);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .99;
    overflow-wrap: anywhere;
}

.fc-banner h1 span { color: #a9efdc; }
.fc-banner__copy > p {
    max-width: 40ch;
    margin: 18px 0 25px;
    color: #f0f3ff;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.5;
}

.fc-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.fc-link-button--light { background: white; color: #23349d; }
.fc-link-button--light:hover { background: var(--fc-lilac); color: #182562; }
.fc-link-button--primary { background: var(--fc-blue); color: white; }
.fc-link-button--primary:hover { background: #2334b3; color: white; }
.fc-link-button--secondary { border-color: #cad0df; background: white; color: var(--fc-ink); }
.fc-link-button--secondary:hover { background: var(--fc-lilac); color: var(--fc-ink); }

.fc-discovery :is(a, summary):focus-visible {
    outline: 3px solid var(--fc-blue);
    outline-offset: 4px;
}

.fc-banner .fc-link-button--light:focus-visible,
.fc-preview summary:focus-visible { outline-color: #caffef; }

.fc-preview-stage {
    width: min(100%, 340px);
    position: relative;
    isolation: isolate;
    justify-self: center;
    perspective: 950px;
}

.fc-preview-stage::before,
.fc-preview-stage::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1px;
    border: 1px solid #8897ff;
    border-radius: 18px;
    transform: translate(12px, 9px) rotate(7deg);
    background: #9ca9fb;
    box-shadow: 0 9px 15px #101c592c;
}

.fc-preview-stage::after { transform: translate(6px, 5px) rotate(3deg); background: #cbd2ff; }
.fc-preview {
    position: relative;
    background: #fffefa;
    color: var(--fc-ink);
    border: 1px solid white;
    border-radius: 18px;
    box-shadow: 0 12px 26px #11206640;
    transform: rotate(-4deg);
}

.fc-preview summary {
    display: flex;
    min-height: 235px;
    padding: 23px 27px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    list-style: none;
    border-radius: inherit;
    cursor: pointer;
}

.fc-preview summary::-webkit-details-marker { display: none; }
.fc-preview__label, .fc-preview__action, .fc-banner__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.fc-preview__label {
    color: #4a5790;
    font-size: 14px;
}
.fc-preview__question, .fc-preview__answer {
    font-weight: 700;
    font-size: clamp(25px, 2.4vw, 34px);
    letter-spacing: -.035em;
    line-height: 1.18;
}

.fc-preview__answer {
    position: absolute;
    inset: 50% 26px auto;
    transform: translateY(-50%);
    margin: 0;
    color: #173f37;
    font-size: clamp(20px, 1.8vw, 25px);
    pointer-events: none;
}

.fc-preview__action { color: #3345bb; font-size: 15px; }
.fc-preview__when-open,
.fc-preview[open] .fc-preview__when-closed { display: none; }
.fc-preview[open] .fc-preview__when-open { display: inline; }
.fc-preview[open] .fc-preview__question { visibility: hidden; }
.fc-preview[open] { background: #e7fff6; }

@media (prefers-reduced-motion: no-preference) {
    .fc-preview[open] { animation: fc-preview-turn .38s cubic-bezier(.17,.75,.27,1) both; }
    @keyframes fc-preview-turn {
        from { transform: rotate(-4deg) rotateY(-73deg); }
        to { transform: rotate(-4deg) rotateY(0deg); }
    }
}

.fc-shelf, .fc-exam-info { margin-top: clamp(36px, 5vw, 68px); }
.fc-shelf { scroll-margin-top: 105px; }
.fc-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
}

.fc-section-heading h2, .fc-exam-info h2, .fc-access h2 {
    margin: 0;
    color: var(--fc-ink);
    font-weight: 700;
    font-size: clamp(28px, 3.1vw, 40px);
    letter-spacing: -.045em;
    line-height: 1.13;
}

.fc-section-heading > span { color: var(--fc-muted); white-space: nowrap; }
.fc-shelf__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fc-deck {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #d2d8e4;
    border-radius: 17px;
    background: white;
    box-shadow: 0 4px 0 #e8e9ee;
}

.fc-deck__cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2.45 / 1;
    border-radius: 16px 16px 0 0;
    background: var(--fc-lilac);
}

.fc-deck__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fc-deck__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(18px, 2vw, 27px);
}

.fc-deck__metrics, .fc-banner__metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.fc-deck__metrics { color: var(--fc-muted); font-size: 15px; }
.fc-deck__metrics span { display: inline-flex; align-items: center; gap: 6px; }
.fc-deck__metrics i { color: #4352ae; }
.fc-deck h3 {
    margin: 10px 0 8px;
    color: var(--fc-ink);
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fc-deck p, .fc-access p, .fc-study-guide p {
    margin: 0;
    color: var(--fc-muted);
    font-size: 16px;
    line-height: 1.6;
}

.fc-deck p { margin-bottom: 18px; }
.fc-deck__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--fc-line);
    color: #2b3ebc;
    font-size: 16px;
    font-weight: 700;
}

.fc-deck__link::after { content: ""; position: absolute; inset: 0; border-radius: 17px; }
.fc-deck__link:focus-visible::after { outline: 3px solid var(--fc-blue); outline-offset: 3px; }
.fc-deck__link:hover { color: #192a9a; }
.fc-deck:has(.fc-deck__link:hover) { border-color: #7384e8; }
.fc-access__icon {
    display: inline-grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 12px;
    background: var(--fc-lilac);
    color: var(--fc-blue);
    font-size: 22px;
}

.fc-banner--exam { grid-template-columns: minmax(0, 1fr) minmax(290px, .68fr); }
.fc-banner__label { margin-bottom: 22px; color: #e3e7ff; font-size: 16px; }
.fc-banner__metrics { margin-top: 30px; gap: 16px 28px; }
.fc-banner__metrics span { display: inline-flex; align-items: baseline; gap: 6px; color: #e4e9ff; }
.fc-banner__metrics strong { color: white; font-size: 26px; line-height: 1; }
.fc-access {
    padding: clamp(22px, 2.6vw, 36px);
    border-radius: 17px;
    background: white;
    box-shadow: 5px 6px 0 #bec9fd, 10px 12px 0 #8795e9, 14px 20px 26px #0b163e35;
}
.fc-access h2 { margin: 14px 0 12px; font-size: clamp(24px, 2.3vw, 31px); }
.fc-access__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.fc-access__price strong { font-size: 32px; line-height: 1.15; color: var(--fc-ink); }
.fc-access__price del { color: var(--fc-muted); }
.fc-access .fc-link-button { width: 100%; margin-top: 18px; }
.fc-access .fc-link-button + .fc-link-button { margin-top: 8px; }
.fc-access__hub { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #2536bf; font-weight: 700; margin-top: 5px; }
.fc-exam-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(265px, .56fr);
    align-items: start;
    gap: clamp(26px, 5vw, 72px);
}
.fc-overview, .fc-study-guide { min-width: 0; }
.fc-exam-info h2 { margin-bottom: 17px; }
.fc-prose {
    color: var(--fc-ink);
    overflow-wrap: anywhere;
    overflow-x: auto;
    font-size: 18px;
    line-height: 1.7;
}
.fc-prose :is(p, li) { color: inherit; font-size: inherit; line-height: inherit; }
.fc-prose p { margin: 0 0 16px; }
.fc-prose :is(h2, h3, h4) { font-size: 23px; line-height: 1.35; margin: 24px 0 10px; }
.fc-prose a { color: #2a3cb5; text-decoration: underline; text-underline-offset: 3px; }
.fc-prose img { max-width: 100%; height: auto; }
.fc-study-guide { padding: 25px; border: 1px solid var(--fc-line); border-radius: 17px; background: white; }
.fc-study-guide h2 { font-size: 25px; }
.fc-study-guide > div { display: grid; align-items: start; grid-template-columns: auto 1fr; gap: 12px; }
.fc-study-guide > div + div { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--fc-line); }
.fc-study-guide > div > i { margin-top: 4px; color: var(--fc-blue); font-size: 20px; }
.fc-study-guide h3 { margin: 0 0 4px; font-size: 19px; color: var(--fc-ink); }

@media (max-width: 960px) {
    .fc-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
    .fc-banner, .fc-exam-info { grid-template-columns: minmax(0, 1fr); }
    .fc-banner { padding: 29px 26px 40px; gap: 34px; }
    .fc-banner h1 br { display: none; }
    .fc-banner__copy > p { margin: 14px 0 18px; }
    .fc-preview-stage { width: min(100% - 15px, 315px); }
    .fc-preview summary { min-height: 190px; padding: 19px 22px; gap: 12px; }
    .fc-banner--exam { gap: 24px; }
    .fc-banner__label { margin-bottom: 12px; }
    .fc-banner__metrics { margin-top: 19px; }
    .fc-access { width: min(100%, 480px); }
}
@media (max-width: 580px) {
    .fc-discovery__wrap { width: calc(100% - 32px); padding-top: 16px; }
    .fc-shelf__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .fc-crumbs { margin-bottom: 15px; }
    .fc-banner, .fc-study-guide { border-radius: 18px; }
    .fc-deck__cover { aspect-ratio: 2.7 / 1; }
    .fc-access { padding: 20px; }
}
