/* Landing page — matches gcse-revision-redesign.html */
body.landing-page {
    background: var(--cream);
}

body.landing-page .header {
    background: var(--cream);
    border-bottom: none;
}

.header-right .login-link {
    font-size: 14px;
    font-weight: 800;
    color: #44504b;
}

.header-right .login-link:hover {
    color: var(--green);
}

.landing-hero {
    background: var(--cream);
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    min-height: 660px;
    padding: 76px max(6vw, 30px);
    display: grid;
    overflow: hidden;
}

.landing-hero .hero-copy {
    justify-self: end;
    max-width: 620px;
}

.eyebrow,
.kicker {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--green);
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
}

.eyebrow span {
    color: var(--orange);
    font-size: 16px;
}

.landing-hero h1 {
    letter-spacing: -4px;
    margin: 20px 0 28px;
    font-family: Georgia, serif;
    font-size: clamp(58px, 6vw, 92px);
    font-weight: 600;
    line-height: 0.92;
}

.landing-hero h1 em {
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--bright);
    text-underline-offset: -7px;
    font-style: italic;
    text-decoration-thickness: 14px;
}

.hero-lede {
    color: #53605a;
    max-width: 560px;
    font-size: 19px;
    line-height: 1.65;
    font-family: Arial, Helvetica, sans-serif;
}

.landing-hero .hero-actions {
    align-items: center;
    gap: 28px;
    margin-top: 34px;
    display: flex;
}

.text-link {
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    color: inherit;
    text-decoration: none;
}

.play {
    border: 1px solid var(--ink);
    border-radius: 50%;
    place-items: center;
    width: 34px;
    height: 34px;
    display: grid;
}

.proof {
    align-items: center;
    gap: 14px;
    margin-top: 42px;
    display: flex;
}

.avatars {
    display: flex;
}

.avatars span {
    border: 3px solid var(--cream);
    background: #f2b8a5;
    border-radius: 50%;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: -8px;
    font-size: 14px;
    font-weight: 900;
    display: grid;
}

.avatars span:first-child {
    background: #9fc7ff;
    margin-left: 0;
}

.avatars span:nth-child(3) {
    background: #f4da77;
}

.avatars span:last-child {
    background: var(--green);
    color: #fff;
    font-size: 13px;
}

.proof > div:last-child {
    flex-direction: column;
    display: flex;
}

.proof b {
    font-size: 13px;
}

.proof small {
    color: var(--muted);
    margin-top: 4px;
    font-size: 14px;
}

.stars {
    color: #f3a51f;
    letter-spacing: 1px;
}

.hero-visual {
    width: 100%;
    max-width: 590px;
    height: 515px;
    position: relative;
}

.dashboard-card {
    z-index: 3;
    border: 2px solid var(--ink);
    background: #fff;
    border-radius: 18px;
    width: 500px;
    padding: 24px;
    position: absolute;
    top: 40px;
    left: 24px;
    transform: rotate(-1deg);
    box-shadow: 13px 13px #a8d8c4;
}

.dash-top,
.question-meta,
.dash-footer,
.chart-card > div:first-child {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.dash-top > div:first-child {
    flex-direction: column;
    gap: 6px;
    display: flex;
}

.dash-top span,
.question-meta span,
.dash-footer span,
.panel-head small,
.metric-row small,
.next-topic small {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.dash-top strong {
    font-size: 19px;
}

.streak {
    background: #fff1e9;
    border-radius: 20px;
    padding: 9px 12px;
    color: #7f422e !important;
    font-size: 15px !important;
}

.question-card {
    background: #f7f5ef;
    border: 1px solid #e2ded5;
    border-radius: 13px;
    margin-top: 20px;
    padding: 18px;
}

.question-meta b {
    background: #e8e3d7;
    border-radius: 5px;
    padding: 5px 7px;
    font-size: 14px;
}

.question-card p {
    margin: 15px 0;
    font-family: Georgia, serif;
    font-size: 17px;
    line-height: 1.4;
}

.answers {
    gap: 8px;
    display: grid;
}

.answers span {
    background: #fff;
    border: 1px solid #d8d5ce;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 15px;
}

.answers span > b {
    margin-left: 9px;
}

.answers .selected {
    border: 2px solid var(--green);
    background: #effaf3;
}

.answers i {
    float: right;
    color: var(--green);
    font-weight: 700;
    font-style: normal;
}

.dash-footer {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    margin-top: 18px;
    display: grid;
}

.dash-footer b {
    font-size: 15px;
}

.bar {
    background: #e5e7e3;
    border-radius: 6px;
    height: 7px;
    overflow: hidden;
}

.bar i {
    background: var(--green);
    width: 40%;
    height: 100%;
    display: block;
}

.paper {
    border: 2px solid var(--ink);
    background: #fff9d9;
    border-radius: 8px;
    width: 300px;
    height: 190px;
    padding: 18px;
    position: absolute;
}

.paper-back {
    z-index: 1;
    color: #6b5a2e;
    top: 0;
    right: 0;
    transform: rotate(8deg);
}

.paper-back span {
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 900;
}

.scribble {
    margin: 45px 0 0 105px;
    font: italic 40px Georgia, serif;
}

.float-card {
    z-index: 5;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    background: #fff;
    border-radius: 12px;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    display: flex;
    position: absolute;
}

.float-card > span {
    border-radius: 9px;
    place-items: center;
    width: 36px;
    height: 36px;
    display: grid;
}

.float-card div {
    flex-direction: column;
    gap: 3px;
    display: flex;
}

.float-card small {
    color: var(--muted);
    font-size: 14px;
}

.float-card b {
    font-size: 13px;
}

.score {
    top: 128px;
    right: 0;
    transform: rotate(3deg);
}

.score > span {
    color: #4369ce;
    background: #e6edff;
}

.score b {
    font-size: 22px;
}

.score i {
    color: var(--green);
    font-size: 14px;
    font-style: normal;
}

.mastered {
    bottom: 16px;
    left: 0;
    transform: rotate(2deg);
}

.mastered > span {
    background: var(--bright);
}

.doodle {
    color: var(--orange);
    font-size: 60px;
    position: absolute;
    bottom: 55px;
    right: 20px;
    transform: rotate(15deg);
}

.trust-strip {
    background: var(--green);
    color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 34px;
    min-height: 88px;
    padding: 20px;
    display: flex;
}

.trust-strip span {
    color: #b8cebf;
    font: italic 16px Georgia, serif;
}

.trust-strip b {
    letter-spacing: 1px;
    font-size: 13px;
}

.trust-strip i {
    color: #76a08f;
}

.section {
    padding: 100px max(6vw, 28px);
}

.subjects,
.results {
    max-width: 1320px;
    margin: auto;
}

.section-heading {
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
    display: flex;
}

.section-heading h2,
.how h2,
.papers-promo h2 {
    letter-spacing: -2px;
    margin: 12px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.03;
    font-weight: 600;
}

.section-heading > p {
    max-width: 440px;
    color: var(--muted);
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
}

.subject-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    display: grid;
}

.landing-page .subject-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 18px;
    min-height: 170px;
    padding: 25px;
    transition: all 0.2s;
    display: grid;
    text-align: left;
    box-shadow: none;
    overflow: visible;
    text-decoration: none;
    color: inherit;
}

.landing-page .subject-card::before {
    display: none;
}

.landing-page .subject-card:hover {
    border-color: var(--ink);
    transform: translateY(-5px);
    box-shadow: 0 16px 30px #17251f17;
}

.landing-page .subject-icon {
    border-radius: 13px;
    place-items: center;
    width: 54px;
    height: 54px;
    font: 700 19px Georgia, serif;
    display: grid;
    margin: 0;
    color: inherit;
    box-shadow: none;
}

.mint .subject-icon { color: #17684d; background: #d9f3e7; }
.coral .subject-icon { color: #b44321; background: #ffe1d6; }
.blue .subject-icon { color: #315ea7; background: #dae6ff; }
.lime .subject-icon { color: #61751b; background: #e8f6b6; font-size: 14px; }
.violet .subject-icon { color: #7343a1; background: #eee2ff; }
.amber .subject-icon { color: #976514; background: #ffebbc; }

.landing-page .subject-card h3 {
    margin: 2px 0 8px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.landing-page .subject-card p {
    color: var(--muted);
    margin: 0 0 20px;
    font-size: 14px;
}

.landing-page .subject-card > div:nth-child(2) > span {
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #718078;
    font-size: 14px;
    font-weight: 800;
}

.circle-arrow {
    border: 1px solid var(--line);
    border-radius: 50%;
    place-items: center;
    width: 31px;
    height: 31px;
    display: grid;
}

.more-subjects {
    color: var(--green);
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0 0;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    text-decoration: none;
}

.how {
    background: #f0f4f0;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 100px;
    display: grid;
}

.how-copy {
    justify-self: end;
    max-width: 490px;
}

.how-copy > p {
    color: var(--muted);
    margin: 24px 0 34px;
    font-size: 16px;
    line-height: 1.7;
}

.how ul {
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
}

.how li {
    gap: 15px;
    display: flex;
}

.how li > span {
    background: var(--bright);
    border-radius: 10px;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    display: grid;
}

.how li div {
    flex-direction: column;
    gap: 6px;
    display: flex;
}

.how li small {
    color: var(--muted);
    line-height: 1.5;
    font-size: 15px;
}

.progress-panel {
    border: 2px solid var(--ink);
    background: #fff;
    border-radius: 17px;
    max-width: 630px;
    padding: 28px;
    box-shadow: 11px 11px #bfd0c5;
}

.panel-head {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.panel-head h3 {
    margin: 6px 0 0;
    font-size: 21px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.panel-head > span {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 8px 10px;
    font-size: 14px;
}

.metric-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0;
    display: grid;
}

.metric-row > div {
    border: 1px solid var(--line);
    border-radius: 10px;
    grid-template-columns: 1fr auto;
    padding: 15px;
    display: grid;
}

.metric-row b {
    grid-row: 2;
    margin-top: 7px;
    font-size: 25px;
}

.metric-row span {
    color: var(--green);
    grid-row: 2;
    align-self: end;
    font-size: 13px;
}

.chart-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 17px;
}

.chart-card > div:first-child {
    font-size: 15px;
}

.chart-card > div:first-child span {
    color: var(--muted);
}

.chart-bars {
    border-bottom: 1px solid var(--line);
    align-items: flex-end;
    gap: 15px;
    height: 115px;
    padding: 14px 10px 0;
    display: flex;
}

.chart-bars i {
    background: #b8d0c5;
    border-radius: 4px 4px 0 0;
    flex: 1;
}

.chart-bars .active {
    background: var(--green);
}

.chart-labels {
    color: var(--muted);
    justify-content: space-around;
    padding-top: 7px;
    font-size: 13px;
    display: flex;
}

.next-topic {
    background: #f2f7d9;
    border-radius: 10px;
    align-items: center;
    gap: 12px;
    margin-top: 13px;
    padding: 13px;
    display: flex;
    text-decoration: none;
    color: inherit;
}

.next-topic > span {
    background: var(--bright);
    border-radius: 8px;
    place-items: center;
    width: 35px;
    height: 35px;
    display: grid;
}

.next-topic > div {
    flex-direction: column;
    gap: 4px;
    display: flex;
}

.next-topic b {
    font-size: 14px;
}

.next-topic .go {
    background: var(--green);
    color: #fff;
    border: 0;
    border-radius: 50%;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    display: grid;
}

.papers-promo {
    background: var(--cream);
}

.papers-card {
    background: var(--green);
    color: #fff;
    border-radius: 32px;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 64px;
    max-width: 1170px;
    margin: auto;
    padding: 72px 64px;
    display: grid;
    position: relative;
    overflow: visible;
}

.papers-card h2 {
    color: #fff;
    margin: 14px 0 0;
}

.kicker.light {
    color: var(--bright);
}

.papers-card p {
    color: #d7e6de;
    margin: 24px 0 36px;
    line-height: 1.65;
    max-width: 420px;
    font-family: Arial, Helvetica, sans-serif;
}

.papers-card .btn.button-cream {
    background: #fff;
    color: var(--ink);
    border: 2px solid transparent;
    box-shadow: 5px 5px 0 var(--bright);
    font-size: 14px;
    font-weight: 900;
    padding: 14px 20px;
}

.papers-card .btn.button-cream:hover {
    color: var(--ink);
    background: #fff;
    box-shadow: 8px 8px 0 var(--bright);
    transform: translate(-2px, -2px);
}

.paper-stack {
    min-height: 340px;
    position: relative;
}

.paper-stack article {
    width: 100%;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    background: #fff;
    border-radius: 14px;
    align-items: center;
    gap: 15px;
    padding: 18px 16px;
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    box-shadow: 6px 8px 0 rgba(8, 40, 30, 0.35);
}

.paper-stack article:first-child {
    top: 0;
    transform: rotate(-2.5deg);
    z-index: 3;
}

.paper-stack article:nth-child(2) {
    top: 108px;
    transform: rotate(0.8deg);
    z-index: 2;
}

.paper-stack article:nth-child(3) {
    top: 216px;
    transform: rotate(-1.5deg);
    z-index: 1;
}

.pdf-icon {
    width: 44px;
    height: 44px;
    color: var(--orange);
    background: #ffe4dc;
    border-radius: 9px;
    flex: none;
    place-items: center;
    display: grid;
}

.paper-stack article > div {
    flex-direction: column;
    gap: 4px;
    display: flex;
    min-width: 0;
}

.paper-stack small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 13px;
    font-weight: 800;
    font-family: Arial, Helvetica, sans-serif;
}

.paper-stack b {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    font-weight: 800;
}

.paper-stack article div span {
    color: var(--muted);
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

.paper-stack a.view {
    border: 1.5px solid var(--ink);
    background: #fff;
    border-radius: 8px;
    margin-left: auto;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    color: var(--ink);
    flex: none;
}

.centered {
    text-align: center;
    justify-content: center;
}

.testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    display: grid;
}

.testimonial-grid article {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 28px;
}

.quote-mark {
    color: var(--green);
    height: 35px;
    font: 50px Georgia, serif;
}

.testimonial-grid article > p {
    font: 18px/1.55 Georgia, serif;
}

.testimonial-grid footer {
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    display: flex;
}

.testimonial-grid footer > span {
    background: var(--cream);
    border-radius: 50%;
    place-items: center;
    width: 38px;
    height: 38px;
    font-size: 15px;
    font-weight: 900;
    display: grid;
}

.testimonial-grid footer div {
    flex-direction: column;
    gap: 3px;
    display: flex;
}

.testimonial-grid footer b {
    font-size: 14px;
}

.testimonial-grid footer small {
    color: var(--green);
    font-size: 14px;
}

.final-cta {
    background: var(--bright);
    text-align: center;
    padding: 96px 24px 108px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.final-cta p {
    letter-spacing: 2.4px;
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.final-cta h2 {
    margin: 18px 0 34px;
    font-size: clamp(42px, 5.4vw, 68px);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
}

.final-cta .btn.btn-dark {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    padding: 16px 28px;
    font-size: 15px;
}

.final-cta .btn.btn-dark:hover {
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}

.final-cta > small {
    color: #3f4f32;
    margin-top: 22px;
    font-size: 14px;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}

.spark-one,
.spark-two {
    color: #fff;
    font-size: 64px;
    position: absolute;
    line-height: 1;
}

.spark-one { top: 28%; left: 11%; }
.spark-two { bottom: 22%; right: 12%; }

.closing-band {
    background: #fff;
}

@media (width <= 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
    }

    .landing-hero .hero-copy {
        justify-self: center;
    }

    .hero-visual {
        margin: auto;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .how-copy {
        justify-self: start;
    }

    .progress-panel {
        justify-self: center;
        width: 100%;
    }

    .papers-card,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .paper-stack {
        min-height: 360px;
    }
}

@media (width <= 600px) {
    .landing-hero {
        gap: 32px;
        padding: 52px 20px 65px;
    }

    .landing-hero h1 {
        letter-spacing: -3px;
        font-size: 57px;
    }

    .hero-lede {
        font-size: 16px;
    }

    .landing-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .text-link {
        justify-content: center;
    }

    .proof {
        margin-top: 30px;
    }

    .hero-visual {
        transform-origin: 0 0;
        width: 131%;
        height: 405px;
        margin-bottom: -90px;
        transform: scale(0.76);
    }

    .dashboard-card {
        left: 8px;
    }

    .score {
        right: -20px;
    }

    .trust-strip {
        flex-wrap: wrap;
        gap: 12px;
    }

    .trust-strip span {
        width: 100%;
    }

    .section {
        padding: 72px 20px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 18px;
    }

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .how {
        padding-inline: 20px;
    }

    .progress-panel {
        padding: 18px;
    }

    .metric-row {
        grid-template-columns: 1fr;
    }

    .papers-card {
        gap: 45px;
        padding: 42px 20px;
    }

    .paper-stack article {
        padding: 12px;
    }

    .paper-stack b {
        font-size: 15px;
    }

    .paper-stack a.view {
        display: none;
    }

    .final-cta {
        padding: 80px 20px 88px;
        border-radius: 0 0 28px 28px;
    }

    .spark-one,
    .spark-two {
        font-size: 35px;
    }
}

/* —— Mark Recovery Coach positioning —— */
.hero-trust {
    margin: 22px 0 0;
    color: #667671;
    font-size: 13px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.recovery-pill {
    background: #e7f6f0 !important;
    color: var(--green) !important;
    box-shadow: none !important;
}

.recovery-hero-stat {
    margin: 8px 0 18px;
    padding: 16px;
    border-radius: 14px;
    background: #f7f9f8;
}

.recovery-hero-stat b {
    display: block;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--green);
}

.recovery-hero-stat span {
    display: block;
    margin-top: 8px;
    color: #667671;
    font-size: 13px;
    line-height: 1.4;
}

.recovery-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.recovery-metrics div {
    padding: 12px;
    border: 1px solid #e4e9e5;
    border-radius: 12px;
    background: #fff;
}

.recovery-metrics small {
    display: block;
    color: #8a9894;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.recovery-metrics b {
    display: block;
    margin-top: 4px;
    font-size: 22px;
}

.recovery-next {
    margin-top: 4px !important;
}

.trust-strip .trust-dot {
    opacity: 0.45;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.journey-grid article {
    padding: 22px 18px;
    border: 1px solid #e4e9e5;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(25, 50, 43, 0.035);
}

.journey-step {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.journey-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.journey-grid p {
    margin: 0;
    color: #667671;
    font-size: 13px;
    line-height: 1.55;
}

.outcomes-panel .outcome-lead {
    margin: 0 0 16px;
    padding: 18px;
    border-radius: 16px;
    background: #eef7f3;
}

.outcomes-panel .outcome-lead small {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.outcomes-panel .outcome-lead b {
    display: block;
    margin: 6px 0;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--green);
}

.outcomes-panel .outcome-lead span {
    color: #53615d;
    font-size: 13px;
}

.outcome-row {
    grid-template-columns: repeat(3, 1fr) !important;
}

.outcome-note {
    margin: 12px 0 0;
    color: #667671;
    font-size: 13px;
    line-height: 1.5;
}

.mode-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mode-cards article {
    padding: 24px;
    border: 1px solid #e4e9e5;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 5px 20px rgba(25, 50, 43, 0.035);
}

.mode-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef7f3;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mode-cards h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.mode-cards p {
    margin: 0;
    color: #667671;
    font-size: 14px;
    line-height: 1.55;
}

.audience-grid .quote-mark {
    font-size: 28px !important;
    color: var(--green) !important;
}

@media (max-width: 1020px) {
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mode-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .journey-grid {
        grid-template-columns: 1fr;
    }

    .recovery-metrics,
    .outcome-row {
        grid-template-columns: 1fr !important;
    }
}

/* —— Interactive demo —— */
.demo-section {
    background: #fff;
}

.demo-shell {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.demo-question-card,
.demo-reveal {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(18, 99, 79, 0.14);
    background: linear-gradient(160deg, #f7faf8, #fff);
    box-shadow: 0 18px 40px rgba(23, 43, 39, 0.06);
}

.demo-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #667671;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-q {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.35;
}

.demo-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.demo-opt {
    text-align: left;
    padding: 14px 16px;
    border: 1px solid #dce5e0;
    border-radius: 14px;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: default;
}

.demo-opt.is-wrong {
    border-color: #f0b27a;
    background: #fff8f1;
    box-shadow: 0 0 0 1px #f0b27a;
}

.demo-opt.incorrect {
    border-color: #b45309;
    background: #fff7ed;
}

.demo-opt.correct {
    border-color: #15803d;
    background: #ecfdf3;
}

.demo-note {
    margin: 0 0 14px;
    color: #667671;
    font-size: 14px;
    line-height: 1.5;
}

.demo-reveal[hidden] {
    display: none !important;
}

.demo-reveal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    animation: demoReveal 0.35s ease;
}

@keyframes demoReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.demo-reveal article {
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e4e9e5;
}

.demo-reveal small {
    display: block;
    margin-bottom: 6px;
    color: #12634f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.demo-reveal b {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.demo-reveal p {
    margin: 0;
    color: #667671;
    font-size: 13px;
    line-height: 1.5;
}

.demo-reveal .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 4px;
}

/* —— Credibility —— */
.credibility .cred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.cred-grid article {
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e4e9e5;
}

.cred-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.cred-grid p {
    margin: 0;
    color: #667671;
    font-size: 14px;
    line-height: 1.55;
}

/* —— FAQ —— */
.faq-section {
    background: #fff;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid #e4e9e5;
    border-radius: 16px;
    background: #f7f9f8;
    padding: 4px 18px;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 750;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    color: #12634f;
    font-weight: 800;
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-list details p {
    margin: 0 0 16px;
    color: #667671;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .demo-options,
    .demo-reveal,
    .credibility .cred-grid {
        grid-template-columns: 1fr;
    }
}
