/* Landing page. Classes are prefixed lp-. Every entrance animates *from* a hidden state,
   so with motion off the resting styles are the finished design (same rule as Muster). */

.lp .topbar-inner { max-width: 1440px; padding: 0 32px; }
.lp main { overflow-x: clip; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .lp .topbar-inner, .wrap { padding: 0 20px; } }
@media (max-width: 860px) { .lp .nav { display: none; } }

.lp h2.lp-h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.08; font-weight: 700; letter-spacing: -0.04em; color: var(--navy); margin-top: 12px; }
.lp .lp-lead { font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.lp-section { padding: 104px 0; }
.lp-section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .lp-section { padding: 72px 0; } }

/* ───────────────────────── Hero ───────────────────────── */
.lp-hero { --hero-bg: #ffffff; position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(640px 460px at 62% 64%, rgba(91, 92, 255, 0.14), transparent 70%),
    radial-gradient(520px 380px at 86% 20%, rgba(18, 181, 253, 0.13), transparent 70%),
    radial-gradient(520px 400px at 6% 80%, rgba(61, 107, 255, 0.08), transparent 70%);
}
.lp-dots {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(11, 16, 51, 0.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 65% at 58% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 58% 45%, #000 20%, transparent 75%);
  animation: lp-drift 60s linear infinite;
}
:root[data-theme="dark"] .lp-hero { --hero-bg: #090a16; }
:root[data-theme="dark"] .lp-hero::before {
  background:
    radial-gradient(640px 460px at 62% 64%, rgba(108, 110, 255, 0.28), transparent 70%),
    radial-gradient(520px 380px at 86% 20%, rgba(18, 181, 253, 0.16), transparent 70%);
}
:root[data-theme="dark"] .lp-dots { background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.2px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-hero { --hero-bg: #090a16; }
  :root:not([data-theme="light"]) .lp-hero::before {
    background:
      radial-gradient(640px 460px at 62% 64%, rgba(108, 110, 255, 0.28), transparent 70%),
      radial-gradient(520px 380px at 86% 20%, rgba(18, 181, 253, 0.16), transparent 70%);
  }
  :root:not([data-theme="light"]) .lp-dots { background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.2px); }
}

/* Desktop: one 1440×860 canvas, scaled to the window by landing.js (--s) */
.lp-canvas-wrap { position: relative; width: 100%; --s: 0.89; height: calc(860px * var(--s)); display: none; }
@media (min-width: 1180px) { .lp-canvas-wrap { display: block; } .lp-stacked { display: none; } }
.lp-canvas {
  position: absolute; left: 50%; top: 0; width: 1440px; height: 860px;
  transform: translateX(-50%) scale(var(--s)); transform-origin: top center;
}
.lp-abs { position: absolute; }
.lp-fadebottom { position: absolute; bottom: 0; left: -900px; right: -900px; height: 140px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--hero-bg)); }

/* Hero copy */
.lp-brandrow { display: flex; align-items: center; gap: 14px; }
.lp-brandrow svg { width: 52px; height: 52px; }
.lp-brandrow span { font-size: 46px; font-weight: 750; letter-spacing: -0.055em; color: var(--navy); line-height: 1; }
.lp-h1 { font-size: 54px; line-height: 1.03; font-weight: 750; letter-spacing: -0.05em; color: var(--navy); margin-top: 30px; }
.lp-h1 .line { display: block; }
.lp-w { display: inline-block; animation: lp-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms + 250ms); }
.lp-sub { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.lp-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-proof { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.lp-proof img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: var(--shadow-pop); object-fit: cover; }
.lp-proof p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.lp-proof b { color: var(--ink-2); font-weight: 600; }

/* Portrait + halo */
.lp-portrait { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.lp-halo { position: absolute; border-radius: 50%; }
.lp-halo::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 92, 255, 0.2), rgba(18, 181, 253, 0.09) 48%, transparent 70%); }
.lp-halo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-ring { animation: lp-spin 90s linear infinite; transform-origin: center; transform-box: fill-box; }

/* Glass cards in the hero */
.lp-card {
  border-radius: 18px; padding: 14px 16px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.lp-card:hover { transform: translateY(-4px); }
.lc-head { display: flex; align-items: center; gap: 11px; }
.lc-icon {
  width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 8px 18px -8px var(--a);
}
.lc-icon svg, .ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.lc-title { font-size: 14.5px; font-weight: 650; letter-spacing: -0.015em; color: var(--navy); line-height: 1.25; }
.lc-sub { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.lc-k { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.lc-v { font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -0.04em; color: var(--navy); line-height: 1.1; margin-top: 4px; }
.lc-v small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.lc-chart { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.lc-chips { display: flex; gap: 5px; margin-top: 9px; flex-wrap: wrap; }
.lc-chips span { font-family: var(--mono); font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--sunken); color: var(--ink-2); }
.lc-meter { height: 5px; border-radius: 99px; background: var(--sunken); margin-top: 10px; overflow: hidden; }
.lc-meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); animation: lp-grow 1.6s cubic-bezier(0.65, 0, 0.35, 1) both 1.6s; transform-origin: left; }

/* Chart strokes shared by hero and sections */
.ch-hist { fill: none; stroke: var(--c-actual); stroke-width: 1.5; opacity: 0.75; stroke-linejoin: round; }
.ch-fc { fill: none; stroke: var(--c-forecast); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ch-band { fill: var(--c-band); }
.ch-split { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.ch-bt { fill: none; stroke: var(--c-backtest); stroke-width: 2; stroke-dasharray: 5 4; stroke-linecap: round; }
.ch-dots circle { fill: var(--c-actual); opacity: 0.7; }
.ch-draw { stroke-dasharray: 1; animation: lp-draw 1.8s cubic-bezier(0.65, 0, 0.35, 1) both; animation-delay: var(--d, 1.2s); }

/* Wires from the cards into the portrait */
.lp-wire { fill: none; stroke-width: 1.6; stroke-opacity: 0.5; stroke-dasharray: 1; animation: lp-draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) both; animation-delay: var(--d, 1.2s); }

/* Entrances */
.lp-rise { animation: lp-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: var(--d, 0ms); }
.lp-fade { animation: lp-fade 1s ease-out both; animation-delay: var(--d, 0ms); }
.lp-in-r { animation: lp-in-r 0.95s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: var(--d, 0ms); }
.lp-in-l { animation: lp-in-l 0.95s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: var(--d, 0ms); }
.lp-float { animation: lp-float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }

/* Stacked hero, below 1180px */
.lp-stacked { max-width: 760px; margin: 0 auto; padding: 44px 20px 0; }
.lp-stacked .lp-brandrow svg { width: 42px; height: 42px; }
.lp-stacked .lp-brandrow span { font-size: 36px; }
.lp-stacked .lp-h1 { font-size: clamp(36px, 8.5vw, 52px); margin-top: 24px; }
.lp-stacked .lp-sub { font-size: 16px; }
.lp-stage { position: relative; height: clamp(400px, 92vw, 560px); max-width: 560px; margin: 26px auto 0; }
.lp-stage .lp-halo { left: 50%; top: 52%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.lp-stage .lp-portrait { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 100%; width: auto; max-width: none; }
.lp-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px;
  border-radius: 14px; font-size: 12.5px; font-weight: 600; color: var(--navy); white-space: nowrap;
  background: color-mix(in oklab, var(--surface) 90%, transparent); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(11, 16, 51, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-chip .lc-icon { width: 28px; height: 28px; border-radius: 9px; }
.lp-chip .lc-icon svg { width: 15px; height: 15px; }
.lp-chip em { font-style: normal; font-family: var(--mono); }

/* ───────────────────────── Ticker ───────────────────────── */
.lp-ticker { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.lp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee + .lp-marquee { margin-top: 12px; }
.lp-track { display: flex; width: max-content; gap: 12px; animation: lp-marquee var(--dur, 60s) linear infinite; }
.lp-track.rev { animation-direction: reverse; }
.lp-marquee:hover .lp-track { animation-play-state: paused; }
.lp-track span {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--surface-2); border-radius: 99px;
  padding: 6px 14px; font-size: 13px; color: var(--ink-2);
}
.lp-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--g2)); }

/* ───────────────────────── How it works ───────────────────────── */
.lp-steps { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; }
.lp-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.lp-steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; transform-origin: left;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
}
.lp-js .lp-steps::after { transform: scaleX(0); transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.3s; }
.lp-js .lp-steps[data-shown]::after { transform: scaleX(1); }
.lp-step-n {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-ink);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 0 6px var(--surface);
}
.lp-steps h3 { margin-top: 20px; font-size: 17.5px; color: var(--navy); letter-spacing: -0.02em; }
.lp-steps p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.lp-vis { margin-top: 20px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 18px; padding: 16px; min-height: 132px; }
.lp-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.lp-file + .lp-file { margin-top: 8px; }
.lp-file .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.lp-file .ic svg { width: 15px; height: 15px; }
.lp-file b { font-size: 13px; color: var(--navy); font-weight: 600; display: block; }
.lp-file small { font-size: 11.5px; color: var(--muted); }
.lp-file .ok { margin-left: auto; color: var(--ok); font-family: var(--mono); font-size: 11px; }
.lp-segs { display: flex; flex-direction: column; gap: 9px; }
.lp-seg-row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.lp-seg { display: flex; gap: 2px; padding: 3px; background: var(--sunken); border-radius: 9px; }
.lp-seg i { flex: 1; font-style: normal; text-align: center; font-size: 11.5px; padding: 3px 4px; border-radius: 6px; color: var(--muted); white-space: nowrap; }
.lp-seg i.on { background: var(--ink); color: var(--surface); }
.lp-mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-mini-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.lp-mini-kpis b { display: block; font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--navy); letter-spacing: -0.03em; }
.lp-mini-kpis small { font-size: 11px; color: var(--muted); }
.lp-bt { width: 100%; height: auto; margin-top: 10px; }

/* ───────────────────────── Features ───────────────────────── */
.lp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.lp-features { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-feature {
  position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  padding: 24px; transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s, border-color 0.3s;
}
.lp-feature:hover { translate: 0 -5px; border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(11, 16, 51, 0.4); }
.lp-feature .lc-icon { width: 44px; height: 44px; border-radius: 13px; }
.lp-feature h3 { margin-top: 18px; font-size: 16.5px; color: var(--navy); letter-spacing: -0.02em; }
.lp-feature p { margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.lp-feature::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--a), var(--b)); transform-origin: left; opacity: 0.8;
}
.lp-js .lp-feature::after { transform: scaleX(0); transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.4s; }
.lp-js .lp-feature[data-shown]::after { transform: scaleX(1); }

/* ───────────────────────── Planners (dark) ───────────────────────── */
.lp-dark { position: relative; overflow: hidden; background: #0b1033; color: #fff; padding: 104px 0; }
.lp-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 15% 0%, rgba(61, 107, 255, 0.35), transparent 70%), radial-gradient(600px 420px at 95% 100%, rgba(109, 75, 252, 0.35), transparent 70%);
}
.lp-dark .wrap { position: relative; }
.lp-dark .eyebrow { color: #9fb0ff; }
.lp-dark h2.lp-h2 { color: #fff; }
.lp-dark .lp-lead { color: rgba(255, 255, 255, 0.7); }
.lp-grad-light { background: linear-gradient(90deg, #5cc8ff, #8e9bff, #c3a5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-dark-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lp-ticks { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lp-ticks li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.lp-ticks li b { color: #fff; font-weight: 600; }
.lp-ticks svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: #7dd3fc; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lp-intraday {
  border-radius: 24px; padding: 22px 22px 16px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lp-intraday-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lp-intraday-head b { font-size: 15px; font-weight: 600; }
.lp-intraday-head small { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.lp-intraday svg { width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.lp-intraday .axis text { font-family: var(--mono); font-size: 10px; fill: rgba(255, 255, 255, 0.45); }
.lp-intraday .axis line { stroke: rgba(255, 255, 255, 0.08); }
.lp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.lp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lp-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.lp-stats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-stats div { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 16px; }
.lp-stats b { display: block; font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.lp-stats span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.lp-footnote { margin-top: 22px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ───────────────────────── Maker ───────────────────────── */
.lp-maker { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.lp-maker-photo {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; isolation: isolate;
  background: radial-gradient(circle at 50% 40%, rgba(91, 92, 255, 0.25), transparent 60%), linear-gradient(160deg, #eef4ff, #f3eeff);
  border: 1px solid var(--line);
}
:root[data-theme="dark"] .lp-maker-photo { background: radial-gradient(circle at 50% 40%, rgba(108, 110, 255, 0.35), transparent 60%), linear-gradient(160deg, #10152f, #160f2b); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-maker-photo { background: radial-gradient(circle at 50% 40%, rgba(108, 110, 255, 0.35), transparent 60%), linear-gradient(160deg, #10152f, #160f2b); } }
.lp-maker-photo img { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translateX(-50%); }
.lp-maker-photo .lp-chip { left: 18px; bottom: 18px; }
.lp-maker blockquote { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); letter-spacing: -0.01em; }
.lp-maker .lp-sig { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.lp-maker .lp-sig b { display: block; color: var(--navy); font-size: 15px; }
.lp-maker .lp-sig small { color: var(--muted); font-size: 13px; }
.lp-maker .lp-ctas { margin-top: 26px; }

/* ───────────────────────── FAQ ───────────────────────── */
.lp-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.lp-faq details:first-child { border-top: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; color: var(--navy); letter-spacing: -0.015em; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 20px; line-height: 1; transition: transform 0.25s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 62ch; }

/* ───────────────────────── CTA + footer ───────────────────────── */
.lp-cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px 48px; isolation: isolate;
  background: linear-gradient(120deg, #0b1033, #1b1f6b 55%, #3a2a9a); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.lp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(18, 181, 253, 0.35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(109, 75, 252, 0.4), transparent 70%); }
.lp-cta h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; max-width: 560px; }
.lp-cta p { margin-top: 10px; color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.lp-cta .btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); }
@media (max-width: 640px) { .lp-cta { padding: 36px 24px; } }
.lp-footer { padding: 40px 0 48px; color: var(--muted); font-size: 13px; }
.lp-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lp-footer a { color: var(--ink-2); text-decoration: none; }
.lp-footer a:hover { color: var(--ink); }
.lp-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ───────────────────────── Scroll reveals ───────────────────────── */
/* Only hide content once JS is running, so nothing stays hidden without it. */
.lp-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0ms); }
.lp-js [data-reveal][data-shown] { opacity: 1; transform: none; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 1020px) {
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-dark-grid, .lp-maker, .lp-faq { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-maker-photo { max-width: 460px; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-steps::before, .lp-steps::after { display: none; }
  .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-stats b { font-size: 32px; }
}

@keyframes lp-word { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(34px) scale(0.97); filter: blur(6px); } }
@keyframes lp-fade { from { opacity: 0; } }
@keyframes lp-in-r { from { opacity: 0; transform: translateX(44px) scale(0.98); } }
@keyframes lp-in-l { from { opacity: 0; transform: translateX(-44px) scale(0.98); } }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-drift { to { background-position: 220px 110px; } }
@keyframes lp-grow { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  .lp-travel { display: none; }
  .lp-js [data-reveal] { opacity: 1; transform: none; }
}

/* Charts inside a revealed section draw when it scrolls in; the hero draws on load. */
.lp-js [data-reveal] .ch-draw { animation-play-state: paused; }
.lp-js [data-reveal][data-shown] .ch-draw { animation-play-state: running; }
.ch-end { fill: var(--c-forecast); }
.lc-chart text { fill: var(--muted); }
.nw { white-space: nowrap; }
@media (max-width: 760px) { .br-wide { display: none; } }
.lc-v { font-family: var(--font); font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.lc-v small { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.02em; margin-left: 6px; }
