/* One look for every "tour" page (Courses, Algo, and the next ones): same sections, same spacing, same cards - so the whole site feels like one company.
   Gold + navy like Home / Services / Journal. Built by app/landing.php. */
.lp-page { --lp-gap: clamp(14px, 1.8vw, 24px); --lp-title: #0b1b2e; --lp-text: #4b5b6b; --lp-eyebrow: #a67815; }
.lp-inner { width: min(100% - 2 * clamp(16px, 3vw, 58px), var(--site-width, 1240px)); margin-inline: auto; }
.lp-band { padding-block: clamp(34px, 4.6vw, 68px); }
.lp-eyebrow { margin: 0 0 10px; color: var(--lp-eyebrow); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lp-head { margin-bottom: clamp(22px, 2.8vw, 36px); text-align: center; }
.lp-head > div { max-width: 760px; margin-inline: auto; }
body .lp-page h1.lp-h1 { margin: 0; color: var(--lp-title); font-size: clamp(28px, 3.6vw, 46px) !important; line-height: 1.1 !important; letter-spacing: -.012em; }
body .lp-page h2.lp-h2 { margin: 0; color: var(--lp-title); font-size: clamp(24px, 2.8vw, 36px) !important; line-height: 1.14 !important; letter-spacing: -.01em; }
.lp-lead { margin: 12px auto 0; max-width: 62ch; color: var(--lp-text); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; }

/* hero */
.lp-hero { text-align: center; padding-block: clamp(34px, 5vw, 72px) clamp(28px, 4vw, 52px); background: radial-gradient(70% 120% at 50% -10%, rgba(219, 170, 62, .2), transparent 70%), linear-gradient(180deg, #f6f8fb, #fff); }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(20px, 2.6vw, 30px); }
.lp-actions .button { min-height: 46px; }
.lp-hero .lp-actions .button.outline { color: #0b1b2e; border-color: rgba(11, 27, 46, .35); }
.lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(20px, 2.6vw, 30px) 0 0; padding: 0; list-style: none; }
.lp-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid rgba(7, 21, 36, .1); color: #29405a; font-size: 13.5px; font-weight: 700; }
.lp-trust li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #f3d685, #dbaa3e); color: #0b1622; font-size: 12px; font-weight: 800; }

/* band colours */
.lp-soft { background: #f1f4f8; }
.lp-white { background: #fff; }
.lp-dark { background: linear-gradient(135deg, #0b1b2e, #12385c); --lp-title: #fff; --lp-text: #b9c8d6; --lp-eyebrow: #dbaa3e; }

/* cards (benefits, rules) */
.lp-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--lp-gap); }
.lp-card { display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 1.8vw, 24px); border-radius: 18px; background: #fff; border: 1px solid rgba(7, 21, 36, .09); box-shadow: 0 1px 2px rgba(7, 21, 36, .05), 0 12px 28px -16px rgba(7, 21, 36, .3); }
.lp-card .lp-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(219, 170, 62, .14); border: 1px solid rgba(219, 170, 62, .4); font-size: 24px; color: #a67815; font-weight: 800; }
.lp-card b { color: #0b1b2e; font-size: 16.5px; line-height: 1.3; }
.lp-card p { margin: 0; color: #4f6072; font-size: 14px; line-height: 1.58; }
.lp-dark .lp-card { background: rgba(255, 255, 255, .05); border-color: rgba(219, 170, 62, .28); box-shadow: none; }
.lp-dark .lp-card b { color: #fff; }
.lp-dark .lp-card p { color: #b9c8d6; }
.lp-dark .lp-card .lp-ico { background: rgba(255, 255, 255, .08); }

/* problem -> solution rows */
.lp-problems { display: grid; gap: 12px; max-width: 980px; margin-inline: auto; }
.lp-prob { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.25fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(7, 21, 36, .09); }
.lp-prob .lp-q { color: #8a2a2a; font-weight: 800; font-size: 15px; line-height: 1.4; }
.lp-prob .lp-q::before { content: "✗ "; }
.lp-prob .lp-arrow { color: #a67815; font-size: 22px; text-align: center; }
.lp-prob .lp-a { color: #29405a; font-size: 14.5px; line-height: 1.55; }
.lp-prob .lp-a::before { content: "✓ "; color: #14703a; font-weight: 800; }

/* numbered steps */
.lp-steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lp-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(7, 21, 36, .09); }
.lp-num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f3d685, #dbaa3e); color: #0b1622; font: 800 16px/1 Georgia, serif; }
.lp-step b { color: #0b1b2e; font-size: 15px; line-height: 1.3; }
.lp-step small { color: #4f6072; font-size: 13px; line-height: 1.5; }

/* numbered list (setup guides) */
.lp-list { margin: 0 auto; padding: 0; max-width: 780px; list-style: none; display: grid; gap: 12px; counter-reset: lpst; }
.lp-list li { counter-increment: lpst; position: relative; padding: 16px 16px 16px 58px; border-radius: 14px; background: #f5f7fa; color: #29405a; font-size: 14.5px; line-height: 1.55; }
.lp-list li::before { content: counter(lpst); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0b1b2e; color: #dbaa3e; font: 800 14px/1 Georgia, serif; }
.lp-list code { padding: 2px 7px; border-radius: 6px; background: #e4e9f0; font-size: 13px; }

/* products / courses grid */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: var(--lp-gap); }
.lp-pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 1.9vw, 26px); border-radius: 18px; background: #fff; border: 1px solid rgba(7, 21, 36, .09); box-shadow: 0 1px 2px rgba(7, 21, 36, .05), 0 12px 28px -16px rgba(7, 21, 36, .35); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lp-pcard:hover, .lp-pcard:focus-within { transform: translateY(-4px); border-color: rgba(219, 170, 62, .75); }
.lp-cover { margin: calc(-1 * clamp(18px, 1.9vw, 26px)) calc(-1 * clamp(18px, 1.9vw, 26px)) 4px; height: 150px; border-radius: 18px 18px 0 0; overflow: hidden; background: linear-gradient(135deg, #0b1b2e, #12385c); display: grid; place-items: center; color: #dbaa3e; font-size: 44px; }
.lp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(219, 170, 62, .2); color: #7a5a12; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
body .lp-page h3.lp-name { margin: 2px 0 0; font: 700 clamp(18px, 1.6vw, 21px)/1.25 Georgia, serif !important; color: #0b1b2e; }
.lp-name a { color: inherit; text-decoration: none; }
.lp-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lp-desc { margin: 0; color: #4f6072; font-size: 14.5px; line-height: 1.55; }
.lp-meta { margin: 0; color: #6a7a8c; font-size: 13px; font-weight: 700; }
.lp-plans { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.lp-plans li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #f5f7fa; color: #29405a; font-size: 13.5px; font-weight: 700; }
.lp-plans li b { color: #0b1b2e; }
.lp-price { margin: 0; color: #0b1b2e; font-size: 15px; font-weight: 800; }
.lp-price s { color: #8a96a5; font-weight: 600; margin-left: 6px; font-size: 13px; }
.lp-go { margin-top: auto; padding-top: 10px; color: #a67815; font-size: 13.5px; font-weight: 800; }
.lp-empty { max-width: 640px; margin: 0 auto; padding: 28px; border-radius: 18px; background: #fff; border: 1px dashed rgba(7, 21, 36, .25); text-align: center; color: #4b5b6b; }
.lp-empty h3 { margin: 0 0 8px; color: #0b1b2e; font: 700 20px/1.3 Georgia, serif; }
.lp-empty p { margin: 0 0 6px; line-height: 1.6; }

/* FAQ */
.lp-faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq-list details { border-radius: 14px; background: #fff; border: 1px solid rgba(7, 21, 36, .09); }
.lp-faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; font-weight: 800; color: #0b1b2e; font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.4; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(219, 170, 62, .16); color: #a67815; font-size: 18px; font-weight: 800; }
.lp-faq-list details[open] summary::after { content: "–"; }
.lp-faq-list details[open] { border-color: rgba(219, 170, 62, .7); }
.lp-faq-list details p { margin: 0; padding: 0 18px 16px; color: #4b5b6b; font-size: 14.5px; line-height: 1.62; }

/* closing call + the risk note (same on every page) */
.lp-end { text-align: center; background: linear-gradient(135deg, #0b1b2e, #12385c); --lp-title: #fff; --lp-text: #b9c8d6; }
.lp-end p { margin: 10px auto 0; max-width: 58ch; color: #b9c8d6; font-size: 15px; line-height: 1.6; }
.lp-end .lp-actions .button.outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.lp-note { margin: clamp(18px, 2.4vw, 26px) auto 0; max-width: 72ch; color: #93a6b8; font-size: 12.5px; line-height: 1.5; text-align: center; }

/* !important on --cols: the number of columns is also written inline by app/landing.php (style="--cols:4"), which would otherwise beat these phone / tablet rules */
@media (max-width: 1000px) {
    .lp-cards { --cols: 2 !important; }
    .lp-steps { --cols: 2 !important; }
    .lp-prob { grid-template-columns: 1fr; gap: 6px; }
    .lp-prob .lp-arrow { display: none; }
}
/* tablet (2 columns): a last card that would stand alone on the left is centred instead */
@media (min-width: 601px) and (max-width: 1000px) {
    .lp-cards > .lp-card:last-child:nth-child(odd),
    .lp-steps > .lp-step:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--lp-gap, 16px) / 2); }
}
/* phone: one column, everything centred and full width, like the Services page */
@media (max-width: 600px) {
    .lp-cards, .lp-steps { --cols: 1 !important; }
    .lp-actions .button { flex: 1 1 100%; }
    .lp-trust li { font-size: 12.5px; padding: 7px 12px; }
    .lp-card { align-items: center; text-align: center; }
    .lp-pcard { text-align: center; }
    .lp-pcard .lp-tag { align-self: center; }
    .lp-plangrid .lp-plan { flex: 1 1 100%; min-width: 0; max-width: none; }
    .lp-shots .lp-shot figcaption { text-align: center; }
    .lp-mode { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .lp-pcard { transition: none; } .lp-pcard:hover { transform: none; } }

/* a picture under the hero (for example the Journal dashboard) */
.lp-hero-shot { margin: clamp(26px, 3.4vw, 42px) auto 0; max-width: 980px; }
/* the picture is also a .lp-frame (margin: 0 just below) - this stronger rule keeps it centred and spaced from the row above it */
.lp-frame.lp-hero-shot { margin: clamp(26px, 3.4vw, 42px) auto 0; }
.lp-frame { margin: 0; padding: 8px; border-radius: 20px; background: linear-gradient(135deg, #0b1b2e, #12385c); box-shadow: 0 30px 60px -28px rgba(7, 21, 36, .55); }
.lp-frame img { display: block; width: 100%; height: auto; border-radius: 13px; background: #fff; }
.lp-sample { margin: 10px 4px 2px; color: #93a6b8; font-size: 12px; text-align: center; }

/* screenshots */
.lp-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lp-gap); align-items: start; }
.lp-shot { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-shot .lp-frame { padding: 6px; border-radius: 16px; }
.lp-shot .lp-frame img { border-radius: 10px; }
.lp-zoom { display: block; cursor: zoom-in; }
.lp-shot figcaption { text-align: left; }
body .lp-page h3.lp-shot-t { margin: 0 0 4px; font: 700 clamp(17px, 1.6vw, 20px)/1.25 Georgia, serif !important; color: #0b1b2e; }
.lp-shot-d { margin: 0; color: #5a6a7a; font-size: 14.5px; line-height: 1.55; }
.lp-small-note { margin: clamp(18px, 2.4vw, 28px) auto 0; max-width: 70ch; color: #7b8a99; font-size: 12.5px; line-height: 1.5; text-align: center; }

/* side-by-side "modes" cards (what is automatic / what you add yourself) */
.lp-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lp-gap); }
.lp-mode { padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; background: #fff; border: 1px solid rgba(7, 21, 36, .1); }
.lp-mode.is-first { border: 2px solid #dbaa3e; background: linear-gradient(180deg, #fffaf0, #fff); }
.lp-mode-tag { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: #eef1f3; color: #41536a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lp-mode.is-first .lp-mode-tag { background: linear-gradient(135deg, #f3d685, #dbaa3e); color: #0b1622; }
body .lp-page h3.lp-mode-t { margin: 0 0 8px; font: 700 clamp(19px, 1.9vw, 24px)/1.2 Georgia, serif !important; color: #0b1b2e; }
.lp-mode p { margin: 0 0 12px; color: #5a6a7a; font-size: 14.5px; line-height: 1.55; }
.lp-mode ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.lp-mode li { position: relative; padding-left: 22px; color: #3f5064; font-size: 14px; line-height: 1.45; }
.lp-mode li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #a67815; font-weight: 800; }

/* plan cards (Journal and any product with plans) */
.lp-plangrid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lp-gap); }
.lp-plan { position: relative; flex: 0 1 calc((100% - (var(--cols, 3) - 1) * var(--lp-gap)) / var(--cols, 3)); max-width: 380px; min-width: 240px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 24px); border-radius: 20px; background: #fff; border: 1px solid rgba(7, 21, 36, .1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lp-plan:hover { transform: translateY(-4px); border-color: rgba(219, 170, 62, .8); box-shadow: 0 18px 34px -18px rgba(7, 21, 36, .4); }
.lp-plan.best { background: linear-gradient(180deg, #fffaf0, #fff); border: 2px solid #dbaa3e; box-shadow: 0 16px 34px -18px rgba(166, 120, 21, .55); }
.lp-badges { min-height: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-bottom: 6px; }
.lp-badge { padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.lp-badge.best { background: linear-gradient(135deg, #f3d685, #dbaa3e); color: #0b1622; }
.lp-badge.off { background: #e5f7ef; color: #176347; }
body .lp-page h3.lp-pname { margin: 0; font: 700 clamp(19px, 1.8vw, 22px)/1.25 Georgia, serif !important; color: #0b1b2e; }
.lp-days { margin: 0; color: #6a7a8c; font-size: 13.5px; }
.lp-pricebox { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 6px 0 0; }
.lp-pricebox b { color: #0b1b2e; font: 800 clamp(28px, 3vw, 36px)/1 Georgia, serif; }
.lp-pricebox s { color: #8a96a5; font-size: 16px; }
.lp-per { margin: 0; min-height: 20px; color: #6a7a8c; font-size: 13px; }
.lp-acc { margin: 0 0 10px; color: #29405a; font-size: 13.5px; font-weight: 700; }
.lp-plan .button { margin-top: auto; width: 100%; justify-content: center; text-align: center; }
.lp-more { margin: 18px 0 0; text-align: center; color: #6a7a8c; font-size: 14px; }
.lp-more a { color: #a67815; font-weight: 800; }

@media (max-width: 900px) { .lp-shots { grid-template-columns: 1fr; } .lp-modes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lp-plan { transition: none; } .lp-plan:hover { transform: none; } }
