/* Blue Horizon — landing page system: homepage version B (/home-b) and the service pages.
   Loaded after styles.css and reuses its tokens. One job per page: book a discovery call. */

.lp section { scroll-margin-top: 96px; }
.lp-sec { padding-block: clamp(80px, 10vw, 152px); }
.lp-sec.tight { padding-top: 0; }
.lp-night { background: var(--night); color: var(--on-night); }
.lp-night .eyebrow, .lp-night .lp-lead, .lp-night .muted { color: var(--on-night-muted); }
.lp-night .eyebrow::before { background: var(--ice); }
.lp-head { display: grid; gap: var(--s4); max-width: 46rem; margin-bottom: var(--s8); }
.lp-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.lp-h2 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: var(--track-title); font-weight: 600; text-wrap: balance; }
.lp-lead { font-size: var(--t-lg); line-height: 1.45; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.lp-ice { color: var(--ice); }
.lp-blue { color: var(--blue); }

/* ---------- hero ---------- */
.lp-hero { padding: clamp(128px, 18vh, 184px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.lp-hero.lp-night::before {
  content: ""; position: absolute; inset: auto -20% -55% -20%; height: 90%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 100%, rgba(31, 92, 255, 0.38), transparent 70%);
}
.lp-hero-grid { position: relative; display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 980px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s9); } }
.lp-filter { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-xs); letter-spacing: var(--track-small); padding: 8px 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.lp-night .lp-filter { box-shadow: inset 0 0 0 1px var(--night-line); color: var(--on-night-muted); }
.lp-filter::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.lp-night .lp-filter::before { background: var(--ice); }
.lp-h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; margin-top: var(--s5); text-wrap: balance; }
.lp-sub { font-size: var(--t-lg); line-height: 1.45; margin-top: var(--s5); max-width: 32em; color: var(--muted); text-wrap: pretty; }
.lp-night .lp-sub { color: var(--on-night-muted); }
.lp-sub strong { color: var(--ink); font-weight: 500; }
.lp-night .lp-sub strong { color: var(--on-night); }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s7); }
.lp-cta-note { font-size: var(--t-xs); color: var(--muted); margin-top: var(--s3); }
.lp-night .lp-cta-note { color: var(--on-night-muted); }
.lp-trust { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s7); font-size: var(--t-sm); line-height: 1.35; }
.lp-faces { display: flex; flex: none; }
.lp-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper); }
.lp-night .lp-faces img { box-shadow: 0 0 0 2px var(--night); }
.lp-faces img + img { margin-left: -10px; }
.lp-trust span { color: var(--muted); }
.lp-night .lp-trust span { color: var(--on-night-muted); }

/* Proof card in the version B hero */
.lp-proofcard { position: relative; border-radius: var(--card-r); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line), 0 40px 80px -40px rgba(0, 0, 0, 0.6); overflow: hidden; }
.lp-proofcard > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-proofcard-body { padding: var(--card-pad); display: grid; gap: var(--s4); }
.lp-proofcard blockquote { margin: 0; font-size: var(--t-lg); line-height: 1.4; font-weight: 500; letter-spacing: var(--track-body); }
.lp-proofcard .who span { color: var(--on-night-muted); }
.lp-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--night-line); }
.lp-stat-row b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-stat-row span { font-size: var(--t-xs); color: var(--on-night-muted); line-height: 1.3; display: block; }

/* Key facts card on service page heroes */
.lp-facts { border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(5, 11, 24, 0.35); padding: var(--card-pad); display: grid; gap: var(--s5); }
.lp-facts dl { margin: 0; display: grid; gap: 0; }
.lp-facts dl > div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.lp-facts dl > div:last-child { border-bottom: 0; }
.lp-facts dt { color: var(--muted); }
.lp-facts dd { margin: 0; font-weight: 500; text-align: right; }
.lp-facts .lp-price { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-facts .lp-price small { font-size: var(--t-md); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.lp-tag { justify-self: start; align-self: flex-start; font-size: var(--t-xs); font-weight: 500; padding: 6px 12px; border-radius: var(--pill); background: var(--blue); color: #fff; }

/* ---------- logos ---------- */
.lp-logos { padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.lp-logos p { text-align: center; font-size: var(--t-xs); color: var(--muted); margin-bottom: var(--s5); }
.lp-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s4) clamp(24px, 4vw, 56px); }
.lp-logos img { height: clamp(40px, 4.4vw, 60px); width: auto; filter: brightness(0); opacity: 0.55; }

/* ---------- steps ---------- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 860px) { .lp-steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.lp-steps li { counter-increment: step; border-radius: var(--card-r); padding: var(--card-pad); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--s3); align-content: start; }
.lp-night .lp-steps li { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.lp-steps li::before { content: counter(step, decimal-leading-zero); font-size: var(--t-xs); font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.lp-night .lp-steps li::before { color: var(--ice); }
.lp-steps h3 { font-size: var(--t-xl); letter-spacing: var(--track-heading); line-height: 1.15; }
.lp-steps p { color: var(--muted); }
.lp-night .lp-steps p { color: var(--on-night-muted); }
.lp-steps .when { font-size: var(--t-xs); color: var(--muted); }
.lp-night .lp-steps .when { color: var(--on-night-muted); }

/* ---------- case study ---------- */
.lp-case { display: grid; gap: var(--s7); border-radius: var(--card-r); padding: clamp(28px, 4vw, 56px); background: var(--night); color: var(--on-night); }
@media (min-width: 980px) { .lp-case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s9); } }
.lp-case .eyebrow { color: var(--on-night-muted); }
.lp-case .eyebrow::before { background: var(--ice); }
.lp-case h3 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: var(--track-title); text-wrap: balance; }
.lp-case p { color: var(--on-night-muted); margin-top: var(--s4); }
.lp-case blockquote { margin: var(--s6) 0 0; padding-left: var(--s5); border-left: 2px solid var(--ice); font-size: var(--t-lg); line-height: 1.4; }
.lp-case .who { margin-top: var(--s4); }
.lp-case .who span { color: var(--on-night-muted); }
.lp-case .link-arrow { margin-top: var(--s6); color: var(--on-night); }
.lp-case-media { display: grid; gap: var(--s3); }
.lp-case-media img { border-radius: var(--r3); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.lp-numbers div { border-radius: var(--r3); padding: var(--s5); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.lp-numbers b { display: block; font-size: clamp(32px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-numbers b small { font-size: 0.45em; color: var(--ice); letter-spacing: 0; margin-left: 4px; }
.lp-numbers span { display: block; margin-top: var(--s2); font-size: var(--t-xs); color: var(--on-night-muted); line-height: 1.35; }

/* ---------- work grid ---------- */
.lp-work { display: grid; gap: var(--s5) var(--s4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lp-work figure { margin: 0; }
.lp-work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r3); }
.lp-work a { display: block; border-radius: var(--r3); transition: transform var(--spring-dur) var(--spring); }
@media (hover: hover) { .lp-work a:hover { transform: translateY(-4px); } }
.lp-work figcaption { margin-top: var(--s3); font-size: var(--t-sm); line-height: 1.35; color: var(--muted); }
.lp-night .lp-work figcaption { color: var(--on-night-muted); }
.lp-work figcaption b { display: block; font-weight: 500; color: var(--ink); }
.lp-night .lp-work figcaption b { color: var(--on-night); }

/* ---------- testimonials ---------- */
.lp-quotes { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .lp-quotes { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.lp-quote { margin: 0; border-radius: var(--card-r); padding: var(--card-pad); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: var(--s5); justify-content: space-between; }
.lp-night .lp-quote { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.lp-quote blockquote { margin: 0; font-size: var(--t-md); line-height: 1.5; }
.lp-quote blockquote b { font-weight: 500; }
.lp-quote.big blockquote { font-size: var(--t-lg); line-height: 1.4; font-weight: 500; letter-spacing: var(--track-body); }
.lp-night .lp-quote .who span { color: var(--on-night-muted); }

/* ---------- cards (plans, deliverables) ---------- */
.lp-cards { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .lp-cards { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.lp-card { border-radius: var(--card-r); padding: var(--card-pad); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: var(--s4); position: relative; transition: transform var(--spring-dur) var(--spring); }
.lp-night .lp-card { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.lp-card.hl { background: var(--night); color: var(--on-night); box-shadow: 0 30px 60px -30px rgba(31, 92, 255, 0.45); }
@media (hover: hover) { a.lp-card:hover { transform: translateY(-6px); } }
a.lp-card { text-decoration: none; color: inherit; }
.lp-card h3 { font-size: var(--t-xl); letter-spacing: var(--track-heading); line-height: 1.15; }
.lp-card .kicker { font-size: var(--t-xs); color: var(--muted); letter-spacing: var(--track-small); }
.lp-card.hl .kicker, .lp-card.hl p, .lp-night .lp-card p, .lp-night .lp-card .kicker { color: var(--on-night-muted); }
.lp-card p { color: var(--muted); }
.lp-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: var(--s2); font-weight: 500; font-size: var(--t-sm); }
.lp-card .go svg { width: 16px; height: 16px; }
.lp-card ul, .lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.lp-card li, .lp-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s3); line-height: 1.45; }
.lp-card li svg, .lp-list li svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.lp-card.hl li svg, .lp-night .lp-list li svg { color: var(--ice); }
.lp-list.no li svg { color: var(--muted); }
.lp-list li span { color: var(--muted); }
.lp-num { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- fit (for / not for) ---------- */
.lp-fit { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .lp-fit { grid-template-columns: 1fr 1fr; } }
.lp-fit > div { border-radius: var(--card-r); padding: var(--card-pad); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--s5); align-content: start; }
.lp-fit > div.no { background: transparent; }
.lp-fit h3 { font-size: var(--t-lg); letter-spacing: var(--track-heading); }

/* ---------- problem ---------- */
.lp-problem { display: grid; gap: var(--s7); }
@media (min-width: 980px) { .lp-problem { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); align-items: start; } }
.lp-problem .lp-list li { padding-bottom: var(--s4); border-bottom: 1px solid var(--night-line); }

/* ---------- table ---------- */
.lp-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.lp-table th, .lp-table td { text-align: left; padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-table th { font-weight: 500; color: var(--muted); font-size: var(--t-xs); letter-spacing: var(--track-small); }
.lp-table td:first-child { font-weight: 500; }
.lp-table td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-table-wrap { border-radius: var(--card-r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s3) var(--card-pad); overflow-x: auto; }

/* ---------- website showcase ---------- */
.lp-site { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 980px) { .lp-site { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--s9); } }
.lp-site .mock-browser { border-radius: var(--r3); }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: var(--s5) 0; font-size: var(--t-lg); font-weight: 500; letter-spacing: var(--track-body); display: flex; justify-content: space-between; gap: var(--s4); align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--muted); transition: transform var(--fast) var(--ease-out); flex: none; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.lp-faq details p { padding-bottom: var(--s5); color: var(--muted); max-width: 44em; }

/* ---------- final booking block ---------- */
.lp-book { border-radius: var(--card-r); padding: clamp(28px, 5vw, 72px); background: var(--night); color: var(--on-night); display: grid; gap: var(--s7); position: relative; overflow: hidden; }
.lp-book::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 100%; background: radial-gradient(55% 55% at 50% 100%, rgba(31, 92, 255, 0.4), transparent 70%); pointer-events: none; }
.lp-book > * { position: relative; }
@media (min-width: 980px) { .lp-book { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--s9); } }
.lp-book h2 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: var(--track-title); text-wrap: balance; }
.lp-book p { color: var(--on-night-muted); margin-top: var(--s4); font-size: var(--t-lg); }
.lp-book .lp-cta-note { color: var(--on-night-muted); }
.lp-book-side { border-radius: var(--r3); padding: var(--card-pad); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; gap: var(--s4); }
.lp-book-side h3 { font-size: var(--t-md); font-weight: 500; }
.lp-book-side .lp-list li svg { color: var(--ice); }
.lp-book-side .who { padding-top: var(--s4); border-top: 1px solid var(--night-line); }
.lp-book-side .who span { color: var(--on-night-muted); }

/* ---------- sticky mobile CTA ---------- */
.lp-sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; transform: translateY(140%); transition: transform 480ms var(--ease-out); }
.lp-sticky.on { transform: none; }
.lp-sticky .btn { width: 100%; justify-content: center; box-shadow: 0 16px 40px -12px rgba(5, 11, 24, 0.5); }
@media (min-width: 860px) { .lp-sticky { display: none; } }
.reduced .lp-sticky { transition: none; }
.lp-book .eyebrow { font-size: var(--t-xs); margin-top: 0; }
.lp-book .lp-cta-note { font-size: var(--t-xs); margin-top: var(--s3); }

/* ---------- campaign form (Encore) ---------- */
.lp-form { display: grid; gap: var(--s4); border-radius: var(--r3); padding: var(--card-pad); background: var(--paper-2); color: var(--ink); }
.lp-form label { display: block; font-size: var(--t-sm); font-weight: 500; }
.lp-form label[hidden], .lp-form [hidden] { display: none; }
.lp-form label span { color: var(--muted); font-weight: 400; }
.lp-form input, .lp-form textarea { font: inherit; font-size: var(--t-md); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s3) var(--s4); min-height: 52px; width: 100%; display: block; margin-top: var(--s2); }
.lp-form textarea { resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.lp-form .btn { justify-content: center; }
.lp-form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.lp-book .lp-form .lp-cta-note { color: var(--muted); margin-top: 0; text-align: center; }
.lp-book .lp-form p { font-size: var(--t-sm); margin-top: 0; color: var(--ink); }
.lp-book .lp-form .quiz-error { color: #b3261e; }
.lp-done { outline: none; display: grid; gap: var(--s2); }
.lp-done h3 { font-size: var(--t-xl); letter-spacing: var(--track-heading); }
.lp-done a { color: var(--blue); }
