/* ============================================================================
   NPPE Prep — public landing page. Graphite & Signal design system.
   ============================================================================ */
.lp-head { max-width: 62ch; margin: 0 auto 2.4rem; text-align: center; }
.lp-head .eyebrow { display: block; margin-bottom: .7rem; }
.lp-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.4px; margin: 0 0 .8rem; }
.lp-head p { color: var(--slate); font-size: 1.05rem; line-height: 1.65; margin: 0; }

/* section rhythm */
.lp-band, .lp-how, .lp-inside, .lp-sections, .lp-why, .lp-watch-sec, .lp-faq { padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; max-width: 1120px; margin: 0 auto; }
.lp-how, .lp-sections, .lp-why, .lp-watch-sec, .lp-faq { border-top: 1px solid var(--line); }

/* ---- HERO ---- */
.lp-hero { position: relative; overflow: hidden; margin: -1px -1px 0; padding: clamp(4rem, 10vw, 8rem) 1.5rem clamp(2.5rem, 5vw, 4rem); background: var(--ink); color: var(--paper); text-align: center; border-bottom: 3px solid var(--signal); }
.lp-hero__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 62px 62px; -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%); mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%); }
.lp-mark { position: absolute; width: 16px; height: 16px; border: 2px solid var(--signal); opacity: .8; }
.lp-mark.tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.lp-mark.tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.lp-mark.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.lp-mark.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.lp-hero__in { position: relative; max-width: 60ch; margin: 0 auto; }
.lp-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.03; letter-spacing: -1.5px; margin: .7rem 0 1.1rem; }
.lp-hero h1 em { color: var(--signal); font-style: normal; }
.lp-lede { font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.6; color: var(--slate-2); margin: 0 auto 2rem; max-width: 54ch; }
.lp-hero__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.lp-watch { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; color: var(--slate-2); text-decoration: none; }
.lp-watch:hover { color: var(--paper); }
.lp-watch__play { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--signal); color: var(--signal); transition: background .2s, color .2s; }
.lp-watch:hover .lp-watch__play { background: var(--signal); color: #fff; }
.lp-watch__play svg { width: 13px; height: 13px; margin-left: 2px; }
.lp-hero__strip { position: relative; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: center; margin-top: 3rem; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-2); }
.lp-hero__strip i { width: 4px; height: 4px; background: var(--signal); border-radius: 50%; }

/* ---- FACTS ---- */
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }
.lp-fact { text-align: center; padding: 1.7rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.lp-fact b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--signal); line-height: 1; }
.lp-fact span { display: block; margin-top: .5rem; font-size: .82rem; color: var(--slate); }

/* ---- HOW ---- */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.lp-step { position: relative; padding: 1.8rem 1.6rem 1.6rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.lp-step__n { font-family: var(--font-mono); font-size: .9rem; color: var(--signal); letter-spacing: .1em; }
.lp-step h3 { font-family: var(--font-display); font-size: 1.35rem; margin: .8rem 0 .5rem; }
.lp-step p { color: var(--slate); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---- INSIDE (alternating rows) ---- */
.lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lp-row:last-child { margin-bottom: 0; }
.lp-row--rev .lp-row__tx { order: 2; }
.lp-row__k { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.lp-row__tx h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); margin: .6rem 0 .8rem; letter-spacing: -.3px; }
.lp-row__tx p { color: var(--slate); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* mock visuals */
.mock { background: var(--ink); border: 1px solid var(--line-dark); border-radius: 6px; padding: 1rem; box-shadow: var(--shadow); }
.mock__bar { display: flex; gap: .4rem; margin-bottom: 1rem; }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark); }
.mock__bar span:first-child { background: var(--signal); }
.mock__list { display: flex; flex-direction: column; gap: .5rem; }
.mock__sec { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; }
.mock__sec b { font-family: var(--font-display); color: var(--signal); width: 26px; }
.mock__sec span { flex: 1; color: var(--paper); font-size: .9rem; }
.mock__sec i { font-family: var(--font-mono); font-size: .78rem; color: var(--slate-2); font-style: normal; }
.mock__sec.on { border-color: var(--signal); }
.mock__qtext { color: var(--paper); font-size: 1rem; font-weight: 600; margin: 0 0 1rem; }
.mock__opt { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; margin-bottom: .5rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; color: var(--slate-2); font-size: .9rem; }
.mock__opt i { width: 18px; height: 18px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: transparent; flex: none; }
.mock__opt.ok { border-color: var(--pass); color: var(--paper); }
.mock__opt.ok i { border-color: var(--pass); background: var(--pass); color: #fff; }
.mock__stat { margin-bottom: .9rem; }
.mock__stat span { display: block; font-size: .82rem; color: var(--slate-2); margin-bottom: .4rem; }
.mock__meter { height: 8px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
.mock__meter i { display: block; height: 100%; background: var(--signal); }

/* ---- SIX SECTIONS ---- */
.lp-sixgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: .9rem; max-width: 900px; margin: 0 auto; }
.lp-sec { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lp-sec__n { font-family: var(--font-display); font-weight: 700; color: var(--signal); font-size: 1.15rem; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--signal); border-radius: var(--radius); }
.lp-sec__body { flex: 1; }
.lp-sec__body h4 { font-family: var(--font-display); font-size: 1.02rem; margin: 0 0 .2rem; }
.lp-sec__w { font-family: var(--font-mono); font-size: .74rem; color: var(--slate-2); }
.lp-sec__meter { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.lp-sec__meter i { display: block; height: 100%; background: var(--signal); }

/* ---- WHY (comparison) ---- */
.lp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 900px; margin: 0 auto; }
.lp-compare__col { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.lp-compare__col--us { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal) inset; }
.lp-compare__h { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.lp-compare__col--us .lp-compare__h { color: var(--signal); }
.lp-compare ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.lp-compare li { position: relative; padding-left: 1.7rem; font-size: .95rem; line-height: 1.5; color: var(--slate); }
.lp-compare__col--us li { color: var(--ink); }
.lp-compare li::before { position: absolute; left: 0; top: -1px; font-size: 1rem; }
.lp-compare__col--us li::before { content: "✓"; color: var(--signal); font-weight: 700; }
.lp-compare__col:not(.lp-compare__col--us) li::before { content: "✕"; color: var(--slate-2); }

/* ---- VIDEO ---- */
.lp-video { max-width: 900px; margin: 0 auto; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.lp-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }

/* ---- FAQ ---- */
.lp-faqlist { max-width: 760px; margin: 0 auto; }
.lp-q { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: .7rem; overflow: hidden; }
.lp-q summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-display); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q__ic { position: relative; width: 16px; height: 16px; flex: none; }
.lp-q__ic::before, .lp-q__ic::after { content: ""; position: absolute; background: var(--signal); transition: transform .25s var(--ease); }
.lp-q__ic::before { left: 0; top: 7px; width: 16px; height: 2px; }
.lp-q__ic::after { left: 7px; top: 0; width: 2px; height: 16px; }
.lp-q[open] .lp-q__ic::after { transform: scaleY(0); }
.lp-q p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--slate); line-height: 1.65; font-size: .97rem; }

/* ---- FINAL CTA ---- */
.lp-final { background: var(--ink); color: var(--paper); text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; border-top: 3px solid var(--signal); margin: 0 -1px; }
.lp-final__in { max-width: 52ch; margin: 0 auto; }
.lp-final h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 .7rem; }
.lp-final p { color: var(--slate-2); margin: 0 0 1.6rem; font-size: 1.05rem; }
.lp-final__note { margin-top: 1.6rem !important; font-family: var(--font-mono); font-size: .74rem; color: var(--slate); letter-spacing: .03em; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
    .lp-row { grid-template-columns: 1fr; }
    .lp-row--rev .lp-row__tx { order: 0; }
    .lp-facts { grid-template-columns: repeat(2, 1fr); }
    .lp-compare { grid-template-columns: 1fr; }
}

/* ===== Testimonials carousel (top-rated first) ===== */
.lp-reviews { padding: clamp(3rem, 6vw, 5rem) 0; }
.lp-carousel-wrap { position: relative; margin-top: 2rem; }
.lp-carousel {
    display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; padding: 0.5rem 0.25rem 0.75rem;
    scrollbar-width: none; -ms-overflow-style: none;
}
.lp-carousel::-webkit-scrollbar { display: none; }
.lp-review {
    scroll-snap-align: start; flex: 0 0 calc(100% - 0.5rem); background: var(--card);
    border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
    display: flex; flex-direction: column; gap: 0.8rem;
}
.lp-review__stars { display: flex; gap: 0.15rem; color: var(--line); font-size: 1rem; }
.lp-review__stars .on { color: var(--signal); }
.lp-review blockquote { margin: 0; color: var(--ink); font-size: 0.98rem; line-height: 1.55; }
.lp-review figcaption { color: var(--slate); font-size: 0.85rem; margin-top: auto; }
.lp-review figcaption b { color: var(--ink); }
/* how many fit per view — 1 → 5 as the viewport grows */
@media (min-width: 680px)  { .lp-review { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (min-width: 1000px) { .lp-review { flex-basis: calc((100% - 2.8rem) / 3); } }
@media (min-width: 1400px) { .lp-review { flex-basis: calc((100% - 4.2rem) / 4); } }
@media (min-width: 1750px) { .lp-review { flex-basis: calc((100% - 5.6rem) / 5); } }
/* prev/next controls */
.lp-carousel__nav {
    position: absolute; top: calc(50% - 0.4rem); transform: translateY(-50%); z-index: 2;
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
    font-size: 1.5rem; line-height: 1; cursor: pointer; transition: color .15s ease, border-color .15s ease, opacity .15s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.lp-carousel__nav:hover { border-color: var(--signal); color: var(--signal); }
.lp-carousel__nav[hidden] { display: none; }
.lp-carousel__nav--prev { left: -0.6rem; }
.lp-carousel__nav--next { right: -0.6rem; }
@media (max-width: 720px) { .lp-carousel__nav { display: none; } }

/* ===== Next-exam countdown ===== */
.lp-countdown { padding: clamp(2rem, 4vw, 3rem) 0; }
.lp-cd { max-width: 760px; margin: 0 auto; text-align: center; background: var(--ink); color: var(--paper);
    border: 1.5px solid var(--line-dark); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.lp-cd .eyebrow { justify-content: center; }
.lp-cd__date { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: .5rem 0 1.2rem; color: var(--paper); }
.lp-cd__timer { display: flex; justify-content: center; gap: clamp(.6rem, 2vw, 1.1rem); margin-bottom: 1.2rem; }
.lp-cd__u { display: flex; flex-direction: column; min-width: 68px; padding: .7rem .4rem; background: var(--ink-2);
    border: 1px solid var(--line-dark); border-radius: 4px; }
.lp-cd__u b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--signal);
    line-height: 1; font-variant-numeric: tabular-nums; }
.lp-cd__u span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); margin-top: .45rem; }
.lp-cd__reg { font-size: .9rem; color: var(--slate-2); }
.lp-cd__reg b { color: var(--paper); font-weight: 600; }
.lp-cd__reg a { color: var(--signal); }
.lp-cd__reg a:hover { text-decoration: underline; }
.lp-cd__sep { margin: 0 .55rem; opacity: .5; }
@media (max-width: 520px) { .lp-cd__u { min-width: 60px; } .lp-cd__sep { display: block; height: .3rem; visibility: hidden; } }
