/* direct-style.css — Variant page sections (light theme) */

/* ── Mockup: emphasize earned amount ── */
.page-direct .mockup-value {
    font-size: 26px;
}
.page-direct .mockup-value small {
    font-size: 16px;
}
.page-direct .earned-pill__value {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-direct .earned-pill__label {
    font-size: 7px;
}
.page-direct .earned-pill {
    padding: 4px 12px;
    gap: 6px;
}
/* Earned pill odometer digit sizing */
.page-direct .earned-pill__value .odo-digit {
    height: 18px;
}
.page-direct .earned-pill__value .odo-digit .odo-strip span {
    display: block;
    height: 18px;
    line-height: 18px;
}
.page-direct .earned-pill__value .odo-digit.odo-decimal {
    height: 14px;
}
.page-direct .earned-pill__value .odo-digit.odo-decimal .odo-strip span {
    height: 14px;
    line-height: 14px;
    font-size: 14px;
}
.page-direct .earned-pill__value .odo-digit.odo-subcent {
    height: 10px;
}
.page-direct .earned-pill__value .odo-digit.odo-subcent .odo-strip span {
    height: 10px;
    line-height: 10px;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.35;
}
.page-direct .earned-pill__value .odo-static.odo-decimal {
    font-size: 14px;
    line-height: 18px;
}
@media (min-width: 901px) {
    .page-direct .mockup-value { font-size: 30px; }
    .page-direct .mockup-value small { font-size: 18px; }
    .page-direct .earned-pill__value { font-size: 22px; }
    .page-direct .earned-pill__label { font-size: 8px; }
    .page-direct .earned-pill { padding: 5px 14px; }
    .page-direct .earned-pill__value .odo-digit { height: 22px; }
    .page-direct .earned-pill__value .odo-digit .odo-strip span { height: 22px; line-height: 22px; }
    .page-direct .earned-pill__value .odo-digit.odo-decimal { height: 16px; }
    .page-direct .earned-pill__value .odo-digit.odo-decimal .odo-strip span { height: 16px; line-height: 16px; font-size: 16px; }
    .page-direct .earned-pill__value .odo-digit.odo-subcent { height: 12px; }
    .page-direct .earned-pill__value .odo-digit.odo-subcent .odo-strip span { height: 12px; line-height: 12px; font-size: 12px; }
    .page-direct .earned-pill__value .odo-static.odo-decimal { font-size: 16px; line-height: 22px; }
}

/* ── Hero ── */
.direct-hero {
    background: linear-gradient(135deg, #f8f6ff 0%, #fff 40%, #f0fdf4 100%);
    padding: 100px 0 80px;
}
.direct-hero__container {
    display: flex;
    gap: 48px;
    align-items: center;
}
.direct-hero__copy { flex: 1.2; }
.direct-hero__visual { flex: 0.8; display: flex; justify-content: center; }
.direct-hero__eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}
.direct-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.direct-hero__title .accent { color: var(--color-primary); }
.direct-hero__title .green { color: #22c55e; }
.direct-hero__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.direct-hero__form {
    display: flex;
    gap: 10px;
    max-width: 460px;
}
.direct-hero__form input {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(91, 115, 237, 0.15);
    border-radius: 100px;
    padding: 16px 22px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-body);
}
.direct-hero__form input::placeholder { color: var(--color-text-muted); }
.direct-hero__form button {
    white-space: nowrap;
    border-radius: 100px;
    padding: 16px 28px;
    font-size: 1rem;
}
.direct-hero__trust {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* ── Section label (reused across sections) ── */
.direct-hiw__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ── Trust & FAQ ── */
.direct-trust {
    background: #f8f6ff;
    padding: 80px 0;
}
.direct-trust__stats {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}
.direct-trust__stat {
    flex: 1;
    text-align: center;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(91, 115, 237, 0.1);
    border-radius: 16px;
}
.direct-trust__stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 4px;
}
.direct-trust__stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}
.direct-trust__stat a {
    display: block;
    font-size: 0.75rem;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-top: 8px;
}

/* FAQ accordion */
.direct-faq { max-width: 740px; margin: 0 auto; }
.direct-faq__item {
    border-bottom: 1px solid rgba(91, 115, 237, 0.08);
}
.direct-faq__item summary {
    padding: 20px 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}
.direct-faq__item summary::-webkit-details-marker { display: none; }
.direct-faq__item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}
.direct-faq__item[open] summary::after { content: '\2212'; }
.direct-faq__answer {
    padding: 0 0 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}
.direct-faq__answer a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Tech details collapsible */
.direct-tech {
    max-width: 740px;
    margin: 40px auto 0;
    border: 1px solid rgba(91, 115, 237, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.direct-tech summary {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: var(--color-text);
}
.direct-tech summary::-webkit-details-marker { display: none; }
.direct-tech summary::after {
    content: '\25BE';
    color: var(--color-text-muted);
    transition: transform 0.2s;
}
.direct-tech[open] summary::after { transform: rotate(180deg); }
.direct-tech__body {
    padding: 24px;
    border-top: 1px solid rgba(91, 115, 237, 0.08);
}
.direct-tech__body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 20px 0 6px;
    color: var(--color-text);
}
.direct-tech__body h4:first-child { margin-top: 0; }
.direct-tech__body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.direct-tech__body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.direct-tech__links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(91, 115, 237, 0.08);
}
.direct-tech__links a {
    display: block;
    font-size: 0.85rem;
    padding: 6px 0;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Disclosure */
.direct-disclosure {
    max-width: 740px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: rgba(91, 115, 237, 0.03);
    border: 1px solid rgba(91, 115, 237, 0.08);
    border-radius: 12px;
    font-size: 0.76rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ── Final CTA ── */
.direct-cta {
    background: linear-gradient(180deg, #fff, #f8f6ff);
    padding: 80px 0;
    text-align: center;
}
.direct-cta h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.direct-cta__subtitle {
    color: var(--color-text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
}
.direct-cta__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
}
.direct-cta__form input {
    background: #fff;
    border: 1px solid rgba(91, 115, 237, 0.15);
    border-radius: 100px;
    padding: 16px 22px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-body);
}
.direct-cta__form input::placeholder { color: var(--color-text-muted); }
.direct-cta__form button {
    border-radius: 100px;
    padding: 16px 28px;
    font-size: 1rem;
}
.direct-cta__contact {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.direct-cta__contact a { color: var(--color-primary); }

/* ── Navbar additions ── */
.page-direct .nav-container { position: relative; }
.page-direct .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.page-direct .nav-right a:not(.btn) {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Menu toggle — hidden on desktop */
.direct-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    gap: 6px;
    position: relative;
    z-index: 1001;
}
.direct-hamburger svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    transition: transform 0.2s ease;
}
.direct-hamburger.open svg {
    transform: rotate(90deg);
}

/* Mobile dropdown */
.direct-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    right: 16px;
    background: #fff;
    z-index: 1002;
    flex-direction: column;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(91, 115, 237, 0.08);
}
.direct-mobile-menu.open { display: flex; }
.direct-mobile-menu a {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
    padding: 12px 20px;
    transition: background 0.15s;
}
.direct-mobile-menu a:active {
    background: #f8f6ff;
}

/* Backdrop behind mobile menu */
.direct-mobile-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
}
.direct-mobile-backdrop.open { display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .direct-hero { padding: 80px 0 60px; }
    .direct-hero__container { flex-direction: column; gap: 32px; }
    .direct-hero__form { flex-direction: column; max-width: 100%; }
    .direct-hero__trust { flex-wrap: wrap; gap: 12px; justify-content: center; }

    .direct-trust__stats { flex-direction: column; }

    .page-direct .calc-compare { flex-direction: column; }

    /* Hide desktop nav links, show hamburger */
    .page-direct .nav-right a:not(.btn) { display: none; }
    .direct-hamburger { display: flex; }

    /* Impact partners row wrap */
    .page-direct .impact-partners { flex-wrap: wrap; justify-content: center; }
}
