/* ==========================================================================
   BUILDER QUEST — builder-quest.css
   Extends style.css. Reuses ll- tokens, .ll-container, .ll-section,
   .ll-btn, .ll-eyebrow, .ll-accent, .ll-spark and the existing
   [data-reveal] / [data-hero-reveal] system from main.js. Everything in
   this file is scoped under a `bq-` prefix so it never collides with or
   duplicates the shared site styles.
   ========================================================================== */

/* ---------- Page-local tokens ---------- */
:root {
    --bq-line: rgba(18, 60, 50, 0.14);
    --bq-line-strong: rgba(18, 60, 50, 0.28);
}

.bq-page { background: var(--ll-bg); }

/* Shared connective tissue so headings/copy don't have to repeat classes
   from style.css on every section. Headings are allowed to wrap — never
   nowrap — text-wrap: balance keeps multi-line wraps looking intentional
   rather than ragged. */
.bq-kicker {
    display: inline-flex;
    align-items: center;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--ll-forest-faint);
    margin-bottom: 16px;
}
.bq-kicker--on-dark { color: rgba(255, 255, 255, 0.45); }

.bq-heading {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 26ch;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.bq-heading--on-dark { color: var(--ll-white); }
.bq-heading--wide { max-width: 34ch; margin: 0 auto; }
.bq-heading .ll-spark { margin-right: 10px; }

.bq-lede {
    margin-top: 16px;
    /* max-width: 52ch; */
    font-size: 18px;
    color: var(--ll-forest-soft);
}
.bq-lede--on-dark { color: rgba(255, 255, 255, 0.68); }

.bq-intro { max-width: 680px; }

/* Generic two-column split used by several sections (text + visual).
   min-width: 0 stops long unbroken words/headings from pushing the grid
   wider than its column and spilling into the visual next to it. */
.bq-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.bq-split > * { min-width: 0; }
@media (max-width: 900px) {
    .bq-split { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .bq-split .bq-heading,
    .bq-split .bq-lede { margin-left: auto; margin-right: auto; }
}

/* Reusable image/visual placeholder — ready to swap for a generated
   asset later without touching layout. */
.bq-visual {
    /* aspect-ratio: 4 / 5; */
    background: var(--ll-soft-green);
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bq-visual svg { width: 58%; height: 58%; }
@media (max-width: 900px) {
    .bq-visual { order: -1; 
        /* aspect-ratio: 16 / 10;  */
        max-width: 420px; margin: 0 auto; }
}

/* Mobile: headings/copy inside a lead-in block center by default. */
@media (max-width: 760px) {
    .bq-intro { text-align: center; margin-left: auto; margin-right: auto; }
}

.bq-center { text-align: center; }
.bq-center .bq-intro { margin-left: auto; margin-right: auto; }

/* Page-scoped button polish — doesn't touch the shared .ll-btn rules,
   just adds a pressed state and a touch of extra life on this page. */
.bq-page .ll-btn { transition: transform 0.2s var(--ll-ease), background-color 0.2s var(--ll-ease), color 0.2s var(--ll-ease), box-shadow 0.2s var(--ll-ease); }
.bq-page .ll-btn:active { transform: translateY(0) scale(0.97); }

@media (prefers-reduced-motion: reduce) {
    .bq-hero__anim,
    .bq-hero__core,
    .bq-hero__line-flow { animation: none !important; }
    .bq-hero__line-flow { stroke-dasharray: none !important; }
    .bq-domain,
    .bq-domain__art,
    .bq-domain__art svg,
    .bq-details__item,
    .bq-output__icon,
    .bq-page .ll-btn { transition: none !important; }
    .bq-domain:hover,
    .bq-domain:hover .bq-domain__art svg,
    .bq-details__item:hover,
    .bq-output__step:hover .bq-output__icon,
    .bq-page .ll-btn:hover,
    .bq-page .ll-btn:active { transform: none !important; }
}

/* ==========================================================================
   HERO — locked copy, added ambient motion
   ========================================================================== */
.bq-hero { padding: 40px 0 var(--ll-space-section); overflow: hidden; }

.bq-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.bq-hero__mark {
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--ll-forest-faint);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bq-hero__headline {
    font-family: var(--ll-font-display);
    font-weight: 600;
    line-height: 1.08;
    font-size: clamp(34px, 5.4vw, 68px);
    max-width: 15ch;
    color: var(--ll-forest);
    text-wrap: balance;
}

.bq-hero__domains {
    margin-top: 26px;
    font-family: var(--ll-font-display);
    font-weight: 500;
    font-size: clamp(16px, 1.7vw, 19px);
    color: var(--ll-forest-soft);
    max-width: 42ch;
}

.bq-hero__from {
    margin-top: 10px;
    font-size: clamp(16px, 1.7vw, 19px);
    color: var(--ll-forest);
    font-weight: 600;
}

.bq-hero__actions { margin-top: 34px; }

.bq-hero__visual {
    position: relative;
    /* aspect-ratio: 4 / 5; */
    border-radius: var(--ll-radius-md);
    background: var(--ll-soft-green);
    border: 1px solid var(--bq-line);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bq-hero__visual-art { width:60%; height: 60%; }
.bq-hero__visual-label {
    position: absolute;
    left: 18px; bottom: 16px;
    font-family: var(--ll-font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ll-forest-faint);
    padding: 5px 10px;
    background: rgba(252, 252, 250, 0.8);
    border: 1px solid var(--bq-line);
    border-radius: 100px;
}

/* Ambient motion: the six knowledge nodes drift gently, the center
   "build" core pulses. Subtle, slow, never distracting. */
@keyframes bq-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes bq-core-pulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.bq-hero__anim { animation: bq-float 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bq-hero__anim:nth-of-type(2) { animation-delay: 0.6s; }
.bq-hero__anim:nth-of-type(3) { animation-delay: 1.2s; }
.bq-hero__anim:nth-of-type(4) { animation-delay: 1.8s; }
.bq-hero__anim:nth-of-type(5) { animation-delay: 2.4s; }
.bq-hero__anim:nth-of-type(6) { animation-delay: 3s; }
.bq-hero__core { animation: bq-core-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@keyframes bq-dash-flow { to { stroke-dashoffset: -24; } }
.bq-hero__line-flow { stroke-dasharray: 5 7; animation: bq-dash-flow 3.5s linear infinite; }

@media (max-width: 991px) {
    .bq-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .bq-hero__visual { aspect-ratio: 16 / 11; order: -1; }
    .bq-hero__headline { max-width: none; }
}

/* ==========================================================================
   SECTION 2 — ONE SKILL IS NEVER ENOUGH (compact text + visual)
   ========================================================================== */
.bq-positioning { background: var(--ll-soft-green); }

.bq-positioning__grid { margin-top: clamp(28px, 4vw, 44px); }

.bq-positioning__list {
    margin-top: clamp(24px, 3.5vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bq-positioning__item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--ll-forest);
}
.bq-positioning__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ll-green);
    flex: none;
}
@media (max-width: 900px) {
    .bq-positioning__item { justify-content: center; }
}

/* ==========================================================================
   SECTION 3 — SIX WORLDS (equal cards, alive on hover)
   ========================================================================== */
.bq-domains__grid {
    margin-top: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bq-domain {
    padding: 22px;
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-md);
    background: var(--ll-bg);
    transition: border-color 0.25s var(--ll-ease), transform 0.25s var(--ll-ease), box-shadow 0.25s var(--ll-ease);
}
.bq-domain:hover {
    border-color: var(--ll-green);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(18, 60, 50, 0.08);
}

.bq-domain__art {
    aspect-ratio: 4 / 3;
    background: var(--ll-soft-green);
    border-radius: var(--ll-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s var(--ll-ease);
}
.bq-domain:hover .bq-domain__art { background: var(--ll-white); }
.bq-domain__art svg { width: 56%; height: 56%; transition: transform 0.3s var(--ll-ease); }
.bq-domain:hover .bq-domain__art svg { transform: scale(1.08); }

.bq-domain__name {
    margin-top: 18px;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(17px, 1.8vw, 20px);
    color: var(--ll-forest);
}

.bq-domain__desc {
    margin-top: 6px;
    font-size: 14.5px;
    color: var(--ll-forest-soft);
}

@media (max-width: 900px) {
    .bq-domains__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .bq-domains__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION 4 — THE LOCHA METHOD (loop, responsive without horizontal
   scroll, with a directional cue that it leads back to the next Locha)
   ========================================================================== */
.bq-loop { background: var(--ll-forest); color: var(--ll-white); }

.bq-loop__lede {
    margin-top: 14px;
    max-width: 50ch;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.66);
}

/* Desktop: single horizontal row. */
.bq-loop__row {
    margin-top: clamp(36px, 5vw, 56px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 4px;
}

.bq-loop__step {
    flex: none;
    white-space: nowrap;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(13px, 1.4vw, 15px);
    color: rgba(255, 255, 255, 0.55);
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    transition: opacity 0.5s var(--ll-ease), transform 0.5s var(--ll-ease);
}
.bq-loop__step--live { color: var(--ll-forest); background: var(--ll-white); border-color: var(--ll-white); }
.bq-loop__step--final { color: var(--ll-forest); background: var(--ll-green); border-color: var(--ll-green); }

.bq-loop__arrow {
    flex: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--ll-font-display);
    padding: 0 2px;
}

/* Loop-back cue: a small rotating circular arrow + label, attached right
   after Solve. A closed circular motion has no ambiguous "wrong
   direction" reading the way a long linear arc did — it just reads as
   "back to the start". */
.bq-loop__loopback {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
    padding: 9px 16px 9px 12px;
    border: 1px solid rgba(183, 240, 0, 0.4);
    border-radius: 100px;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--ll-green);
    white-space: nowrap;
}
.bq-loop__loopback-icon {
    width: 16px; height: 16px;
    flex: none;
    animation: bq-spin 6s linear infinite;
    transform-box: fill-box;
    transform-origin: center;
}
@keyframes bq-spin { to { transform: rotate(360deg); } }

.bq-loop__return-label {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    /* No horizontal scrolling on mobile: the row wraps into a compact
       2-column arrangement, arrows removed, small dot bullets take
       over as the connective cue instead. */
    .bq-loop__row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .bq-loop__arrow { display: none; }
    .bq-loop__step {
        white-space: normal;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .bq-loop__step::before {
        content: "";
        width: 5px; height: 5px;
        border-radius: 50%;
        background: var(--ll-green);
        flex: none;
    }
    .bq-loop__step--live::before,
    .bq-loop__step--final::before { background: var(--ll-forest); }
    .bq-loop__loopback {
        grid-column: 1 / -1;
        justify-content: center;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bq-loop__loopback-icon { animation: none; }
}

/* ==========================================================================
   SECTION 5 — LEARN ACROSS WORLDS (parts → connect → assembled)
   Six independent geometric "parts" (echoing the six domain motifs)
   start scattered across the canvas, feeling deliberately unconnected.
   On scroll-reveal they converge into a tight cluster, a hexagonal
   frame draws itself around them, and a small core mark settles in
   the middle — "separate knowledge" becoming "one creation". Reuses
   the existing [data-reveal] system; no new JS.
   ========================================================================== */
.bq-connect { background: var(--ll-bg); }

.bq-connect__visual {
    margin: clamp(28px, 5vw, 48px) auto 0;
    max-width: 720px;
}
.bq-connect__visual svg { width: 100%; height: auto; overflow: visible; }

.bq-connect__piece {
    transition: transform 0.9s var(--ll-ease);
}
.bq-connect__frame {
    fill: none;
    stroke: var(--ll-green);
    stroke-width: 1.5;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    opacity: 0;
    transition: opacity 0.5s var(--ll-ease) 0.55s, stroke-dashoffset 0.8s var(--ll-ease) 0.55s;
}
.bq-connect__core {
    opacity: 0;
    transform: scale(0.4);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 0.4s var(--ll-ease) 1.05s, transform 0.4s var(--ll-ease) 1.05s;
}

/* Pre-reveal scattered state — scoped under html.ll-js so the artwork
   still shows fully assembled immediately if JS never runs. */
html.ll-js [data-reveal] .bq-connect__piece--0 { transform: translate(-336px, -110px) rotate(-12deg); }
html.ll-js [data-reveal] .bq-connect__piece--1 { transform: translate(-18px, -98.8px) rotate(9deg); }
html.ll-js [data-reveal] .bq-connect__piece--2 { transform: translate(318px, -78.8px) rotate(-10deg); }
html.ll-js [data-reveal] .bq-connect__piece--3 { transform: translate(-264px, 110px) rotate(8deg); }
html.ll-js [data-reveal] .bq-connect__piece--4 { transform: translate(18px, 98.8px) rotate(-9deg); }
html.ll-js [data-reveal] .bq-connect__piece--5 { transform: translate(282px, 78.8px) rotate(11deg); }

[data-reveal].is-visible .bq-connect__piece { transform: translate(0, 0) rotate(0deg); }
[data-reveal].is-visible .bq-connect__frame { opacity: 1; stroke-dashoffset: 0; }
[data-reveal].is-visible .bq-connect__core { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
    .bq-connect__piece,
    .bq-connect__frame,
    .bq-connect__core {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        stroke-dashoffset: 0 !important;
    }
}

/* ==========================================================================
   SECTION 6 — A YEAR OF EXPLORATION AND BUILDING (one construction that
   grows in capability — a foundation gains a mast, then connection
   nodes, then a second tier, then a capstone spark. Each stage is
   additive: nothing already built disappears, it just gains more.)
   ========================================================================== */
.bq-journey { background: var(--ll-soft-green); }

.bq-journey__stage {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s var(--ll-ease), transform 0.5s var(--ll-ease);
}
[data-reveal].is-visible .bq-journey__stage { opacity: 1; transform: translateY(0); }
[data-reveal].is-visible .bq-journey__stage--1 { transition-delay: 0s; }
[data-reveal].is-visible .bq-journey__stage--2 { transition-delay: 0.18s; }
[data-reveal].is-visible .bq-journey__stage--3 { transition-delay: 0.36s; }
[data-reveal].is-visible .bq-journey__stage--4 { transition-delay: 0.54s; }
[data-reveal].is-visible .bq-journey__stage--5 { transition-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
    .bq-journey__stage {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.bq-journey__end {
    margin-top: clamp(24px, 3.5vw, 34px);
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(19px, 2.4vw, 26px);
    color: var(--ll-forest);
}

/* ==========================================================================
   SECTION 7 — GUIDED BY MENTORS. BUILT BY CHILDREN.
   ========================================================================== */
.bq-mentor__end {
    margin-top: 26px;
    font-family: var(--ll-font-display);
    font-weight: 700;
    font-size: clamp(22px, 3.2vw, 32px);
    color: var(--ll-forest);
}

/* ==========================================================================
   SECTION 8 — BUILD SOMETHING. THEN SHOW IT. (compact build/explain/show)
   ========================================================================== */
.bq-output { background: var(--ll-soft-green); }

.bq-output__flow {
    margin-top: clamp(28px, 4vw, 44px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(14px, 3vw, 30px);
    flex-wrap: wrap;
}

.bq-output__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 150px;
    text-align: center;
}

.bq-output__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--ll-bg);
    border: 1px solid var(--bq-line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s var(--ll-ease), transform 0.25s var(--ll-ease);
}
.bq-output__icon svg { width: 26px; height: 26px; }
.bq-output__step:hover .bq-output__icon {
    border-color: var(--ll-green);
    transform: translateY(-3px);
}

.bq-output__label {
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--ll-forest);
}

.bq-output__arrow {
    align-self: center;
    color: var(--ll-forest-faint);
    font-family: var(--ll-font-display);
    margin-top: 18px;
}

.bq-output__end {
    margin-top: clamp(28px, 4vw, 40px);
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: clamp(20px, 2.6vw, 28px);
    color: var(--ll-forest);
}

/* ==========================================================================
   SECTION 9 — HOW BUILDER QUEST WORKS (fills the width — no empty RHS)
   ========================================================================== */
.bq-details__grid {
    margin-top: clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.bq-details__item {
    padding: 22px 18px;
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-md);
    background: var(--ll-bg);
    transition: border-color 0.2s var(--ll-ease), transform 0.2s var(--ll-ease);
}
.bq-details__item:hover { border-color: var(--ll-green); transform: translateY(-3px); }

.bq-details__label {
    display: block;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--ll-forest);
    margin-bottom: 6px;
}
.bq-details__value { font-size: 13.5px; color: var(--ll-forest-soft); }

@media (max-width: 900px) {
    .bq-details__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .bq-details__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   SECTION 10 — WHO IS IT FOR (compact, centered)
   ========================================================================== */
.bq-who { background: var(--ll-soft-green); }
.bq-who__list {
    margin: 22px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 52ch;
}
.bq-who__list p { font-size: 17px; color: var(--ll-forest-soft); }
.bq-who__list p strong { color: var(--ll-forest); font-weight: 600; }

/* ==========================================================================
   SECTION 11 — THE BUILDER KIT
   ========================================================================== */
.bq-kit__items {
    margin-top: 18px;
    font-size: 15.5px;
    color: var(--ll-forest);
}
.bq-kit__end {
    margin-top: 20px;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ll-forest);
}
@media (max-width: 900px) {
    .bq-kit__items,
    .bq-kit__end { margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   SECTION 12 — PRICING (Demo / Online / Offline tabs, one card)
   ========================================================================== */
.bq-pricing { background: var(--ll-soft-green); }

.bq-pricing__card {
    margin: clamp(28px, 4vw, 40px) auto 0;
    max-width: 480px;
    background: var(--ll-bg);
    border: 1px solid var(--bq-line-strong);
    border-radius: var(--ll-radius-md);
    padding: 32px;
    transition: opacity 0.16s var(--ll-ease);
}
.bq-pricing__card.is-updating { opacity: 0.35; }

/* Demo tab content — shown by default, first in tab order. */
.bq-pricing__demo { margin-top: 22px; }

.bq-pricing__demo-lede {
    font-family: var(--ll-font-display);
    font-weight: 600;
    line-height: 1.35;
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--ll-forest);
    text-wrap: balance;
}

.bq-pricing__demo-sub {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ll-forest-soft);
}

.bq-pricing__demo-note {
    margin-top: 16px;
    font-size: 13.5px;
    font-style: italic;
    color: var(--ll-forest-faint);
}

.bq-pricing__demo-reward {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--ll-soft-green);
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ll-forest);
}


.bq-pricing__tabs {
    display: flex;
    border: 1px solid var(--bq-line-strong);
    border-radius: 100px;
    padding: 3px;
    gap: 3px;
}
.bq-pricing__tab {
    flex: 1;
    padding: 10px 0;
    border-radius: 100px;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--ll-forest-soft);
    transition: background-color 0.2s var(--ll-ease), color 0.2s var(--ll-ease);
}
.bq-pricing__tab.is-active { background: var(--ll-forest); color: var(--ll-white); }

.bq-pricing__periods {
    margin-top: 14px;
    display: flex;
    gap: 8px;
}
.bq-pricing__period {
    flex: 1;
    padding: 9px 0;
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ll-forest-soft);
    white-space: nowrap;
    transition: border-color 0.2s var(--ll-ease), color 0.2s var(--ll-ease), background-color 0.2s var(--ll-ease);
}
.bq-pricing__period.is-active {
    border-color: var(--ll-green);
    background: var(--ll-soft-green);
    color: var(--ll-forest);
    font-weight: 600;
}

.bq-pricing__display {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--bq-line);
    text-align: center;
}

.bq-pricing__founding {
    display: inline-block;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--ll-forest);
    background: var(--ll-green);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.bq-pricing__price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}
.bq-pricing__price {
    font-family: var(--ll-font-display);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 46px);
    color: var(--ll-forest);
    white-space: nowrap;
}
.bq-pricing__regular {
    font-family: var(--ll-font-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--ll-forest-faint);
    text-decoration: line-through;
    white-space: nowrap;
}

.bq-pricing__gst {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--ll-forest-faint);
}

.bq-pricing__card .ll-btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
}

.bq-pricing__note {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--ll-forest-soft);
}

.bq-referral {
    margin: clamp(28px, 4vw, 40px) auto 0;
    padding: 20px 24px;
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-md);
    max-width: 640px;
    background: var(--ll-bg);
}
.bq-referral__heading {
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--ll-forest);
    margin-bottom: 6px;
}
.bq-referral p { font-size: 14px; color: var(--ll-forest-soft); }
.bq-referral p + p { margin-top: 4px; }

/* ==========================================================================
   SECTION 13 — FREQUENTLY ASKED QUESTIONS (compact, two-column, not a
   giant accordion — closed rows stay small, only the opened panel grows)
   ========================================================================== */
.bq-faq { background: var(--ll-bg); }

.bq-faq__grid {
    margin-top: clamp(24px, 3.5vw, 36px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    align-content: start;
}

.bq-faq__item {
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-sm);
    background: var(--ll-bg);
    overflow: hidden;
    align-self: start;
    transition: border-color 0.2s var(--ll-ease), background-color 0.2s var(--ll-ease);
}
.bq-faq__item.is-open { border-color: var(--ll-green); background: var(--ll-soft-green); }

.bq-faq__q { margin: 0; }

.bq-faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
    font-family: var(--ll-font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ll-forest);
    transition: background-color 0.2s var(--ll-ease);
}
.bq-faq__trigger:hover { background: var(--ll-soft-green); }

.bq-faq__icon {
    position: relative;
    width: 16px; height: 16px;
    flex: none;
}
.bq-faq__icon::before,
.bq-faq__icon::after {
    content: "";
    position: absolute;
    background: var(--ll-forest);
    transition: transform 0.25s var(--ll-ease), background-color 0.2s var(--ll-ease), opacity 0.2s var(--ll-ease);
}
.bq-faq__icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.bq-faq__icon::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }

.bq-faq__item.is-open .bq-faq__icon::before,
.bq-faq__item.is-open .bq-faq__icon::after { background: var(--ll-green); }
.bq-faq__item.is-open .bq-faq__icon::after { transform: translateX(-50%) scaleY(0); }

/* Height-animated panel via grid-template-rows — no JS measuring needed. */
.bq-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ll-ease);
}
.bq-faq__item.is-open .bq-faq__panel { grid-template-rows: 1fr; }

.bq-faq__panel-inner { overflow: hidden; min-height: 0; }
.bq-faq__panel-inner p {
    padding: 0 16px 16px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ll-forest-soft);
}

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

@media (prefers-reduced-motion: reduce) {
    .bq-faq__panel,
    .bq-faq__item,
    .bq-faq__icon::before,
    .bq-faq__icon::after,
    .bq-faq__trigger { transition: none !important; }
}


/* ==========================================================================
   SECTION 14 — FINAL CTA
   ========================================================================== */
.bq-final {
    background: var(--ll-forest);
    color: var(--ll-white);
    text-align: center;
}
.bq-final__lede {
    margin: 14px auto 0;
    max-width: 40ch;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.66);
}
.bq-final__statement {
    margin: clamp(30px, 5vw, 48px) auto 0;
    font-family: var(--ll-font-display);
    font-weight: 700;
    font-size: clamp(24px, 4.4vw, 44px);
    line-height: 1.2;
    max-width: 22ch;
    color: var(--ll-white);
    text-wrap: balance;
}
.bq-final .ll-btn { margin-top: clamp(30px, 4vw, 40px); }
.bq-final .bq-heading,
.bq-final .bq-kicker { margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
    .bq-hero__actions .ll-btn { width: 100%; justify-content: center; }
}


/* ==========================================================================
   SECTION 5 — LEARN ACROSS WORLDS (text + video, 2 columns on desktop,
   stacked with the video on top on mobile — reuses the existing
   .bq-split grid so responsiveness matches the rest of the page)
   ========================================================================== */
.bq-connect { background: var(--ll-bg); }

.bq-connect__video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--ll-radius-md);
    border: 1px solid var(--bq-line);
    overflow: hidden;
    background: var(--ll-soft-green);
}
.bq-connect__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .bq-connect__video {
        order: -1;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}


/* ==========================================================================
   SECTION 11 — THE BUILDER KIT visual
   No forced aspect-ratio box (that's what was adding the dead vertical
   space). The SVG's own viewBox now tightly wraps its content, and
   width:100%/height:auto lets it size purely from that ratio — so the
   grid row (align-items: center, from .bq-split) naturally takes
   whichever is taller, the text column or the visual, and centers the
   shorter one against it.
   ========================================================================== */
.bq-kit__visual {
    background: var(--ll-soft-green);
    border: 1px solid var(--bq-line);
    border-radius: var(--ll-radius-md);
    padding: 20px;
}
.bq-kit__visual svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .bq-kit__visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
    }
}



/* ==========================================================================
   MOBILE SVG LEGIBILITY FIX
   Applies to: hero visual, positioning visual, mentor visual, journey
   visual, connect visual (the ones using thin/faint decorative strokes
   inside a percentage-scaled SVG — domain cards and the Builder Kit
   visual already use bold, full-opacity strokes and don't need this).

   1) vector-effect keeps a stroke a constant width in real screen
      pixels no matter how much the SVG scales down — without this,
      stroke-width is just another number in the viewBox's coordinate
      system, so it shrinks by the same factor as everything else and
      can end up rendering under a pixel.
   2) The mobile-only stroke-width bump targets specifically the low-
      opacity "line"/"faint" strokes (attribute-selected by their
      actual stroke value) — the bold, full-opacity strokes are left
      untouched since those were already legible.
   ========================================================================== */
.bq-hero__visual-art [stroke],
.bq-visual svg [stroke],
.bq-journey__visual svg [stroke],
.bq-connect__visual svg [stroke] {
    vector-effect: non-scaling-stroke;
}

@media (max-width: 640px) {
    .bq-hero__visual-art [stroke="var(--ll-forest-line)"],
    .bq-hero__visual-art [stroke="var(--ll-forest-faint)"],
    .bq-visual svg [stroke="var(--ll-forest-line)"],
    .bq-visual svg [stroke="var(--ll-forest-faint)"],
    .bq-journey__visual svg [stroke="var(--ll-forest-line)"],
    .bq-journey__visual svg [stroke="var(--ll-forest-faint)"],
    .bq-connect__visual svg [stroke="var(--ll-forest-line)"],
    .bq-connect__visual svg [stroke="var(--ll-forest-faint)"] {
        stroke-width: 1.75px;
    }
}


.bq-connect__video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}