/* Ad landing pages under /lp. Loaded after site.css and built on its tokens. */

.lp-nav { background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.lp-nav .nav-cta { display: inline-flex; margin-left: auto; }

.lp-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 64px) 0 80px; }
.lp-hero .glow-bottom { bottom: auto; top: 200px; }
.lp-hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.lp-hero-grid > * { min-width: 0; }
.lp-hero h1 { margin: 22px 0 22px; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.lp-hero .lede { max-width: 520px; }

.lp-form { margin-top: 36px; max-width: 540px; }
.lp-hero-grid > .lp-form { margin-top: 0; align-self: start; }
.lp-form [hidden] { display: none !important; }
.lp-form-title { margin-bottom: 12px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.lp-form-row { display: grid; gap: 10px; align-items: center; }
.lp-form-row input[type="email"] { height: 56px; padding: 0 22px; border-radius: 999px; }
.lp-form-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.lp-link { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-link:hover { color: var(--text); }
.lp-form-note { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.lp-form .form-guard-error { margin-top: 12px; text-align: left; }
.form-recaptcha:not(:empty) { margin-top: 14px; }

.lp-board { position: relative; overflow: hidden; margin: 0; padding: 26px 24px 20px; border-radius: 26px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); background: radial-gradient(60% 80% at 88% 0%, rgba(155, 79, 222, 0.38), transparent 62%), radial-gradient(50% 70% at 0% 100%, rgba(255, 122, 43, 0.28), transparent 62%), #101a30; box-shadow: 0 50px 90px -40px rgba(10, 14, 30, 0.7); }
.lp-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-board-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb27a; }
.lp-board-head b { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.62); }
.lp-aging { display: flex; gap: 3px; height: 14px; margin-top: 18px; }
.lp-aging i { flex: var(--w) 0 0; border-radius: 4px; background: var(--c); }
.lp-aging-key { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 8px; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.lp-board-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lp-board-rows strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.lp-board-rows small { grid-column: 1; font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.lp-board-rows .st { grid-column: 2; grid-row: 1 / 3; }
.lp-board-note { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.st { --c: #22c55e; display: inline-block; padding: 6px 10px; border-radius: 999px; font-family: var(--font-sans); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.st.warn { --c: #f59e0b; }
.st.risk { --c: #f87171; }
.st.done { --c: #94a3b8; }
html[data-theme="light"] .lp-rows .st { --c: #15803d; }
html[data-theme="light"] .lp-rows .st.warn { --c: #b45309; }
html[data-theme="light"] .lp-rows .st.risk { --c: #b91c1c; }
html[data-theme="light"] .lp-rows .st.done { --c: #64748b; }

.section.lp-band { border-top: 1px solid var(--border); }
.section-head h2 em { font-style: italic; font-weight: 400; color: var(--text-muted); }
.lp-note { margin-top: 16px; font-size: 13px; color: var(--text-faint); }
.lp-note.center { text-align: center; }

.lp-points { display: grid; gap: 40px; }
.lp-points li { position: relative; padding-top: 28px; }
.lp-points li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--purple-light)); }
.lp-points small { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-light); }
.lp-points .ai small { color: var(--purple-light); }
.lp-points h3 { margin: 12px 0 10px; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.lp-points p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.lp-split { display: grid; gap: 36px; }
.lp-split > * { min-width: 0; }
.lp-split h2 { margin-top: 16px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.lp-split h2 em { font-style: italic; font-weight: 400; color: var(--text-muted); }
.lp-split-copy > p { margin-top: 18px; max-width: 420px; font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.lp-band .lp-hero-grid { align-items: start; }
.lp-band .lp-hero-grid h2 { margin-top: 16px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }

.lp-rows li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); }
.lp-rows li:last-child { border-bottom: 1px solid var(--border); }
.lp-rows b { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.lp-rows span { font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.lp-rows em:not(.st) { font-family: var(--font-display); font-size: 26px; font-style: normal; font-weight: 600; letter-spacing: -0.03em; text-align: right; color: var(--orange-light); }
.lp-rows i { position: relative; grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.lp-rows i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--purple-light)); }

.lp-compare { display: grid; gap: 48px; max-width: 940px; margin: 0 auto; }
.lp-compare > div { position: relative; padding-top: 28px; }
.lp-compare > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--border-strong); }
.lp-compare .us::before { background: linear-gradient(90deg, var(--orange), var(--purple-light)); }
.lp-compare h3 { margin-bottom: 14px; font-size: 22px; letter-spacing: -0.02em; }
.lp-compare .them h3 { color: var(--text-muted); }
.lp-compare ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.lp-compare li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 14px 0; border-top: 1px solid var(--border); font-size: 16px; line-height: 1.5; }
.lp-compare li::before { content: counter(s, decimal-leading-zero); padding-top: 2px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-faint); }
.lp-compare .them li { color: var(--text-muted); }
.lp-compare .us li::before { color: var(--orange-light); }

.lp-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13px; color: var(--muted2); }
.lp-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lp-footer a { color: var(--link); text-decoration: none; }
.lp-footer a:hover { color: var(--link-hover); }

.lp-fields { display: grid; gap: 14px; }
.lp-fields .field-pair { display: grid; gap: 14px; }
.lp-fields label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--text-soft); }
.lp-fields input[type="text"],
.lp-fields input[type="email"],
.lp-fields select,
.lp-fields textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--border); background: var(--field-bg);
  color: var(--text); font: inherit; font-size: 15px;
}
.lp-fields input[type="text"],
.lp-fields input[type="email"],
.lp-fields select { height: 48px; padding: 0 14px; }
.lp-fields textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.lp-fields .btn { justify-self: start; }
.lp-fields .form-note { margin-top: 4px; font-size: 13px; color: var(--text-muted); }

.lp-quote { max-width: 760px; margin: 56px auto 0; text-align: center; }
.lp-quote p { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.02em; }
.lp-quote footer { margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.lp-quote strong { display: block; color: var(--text); font-family: var(--font-display); }

.lp-stat { display: grid; gap: 8px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.lp-stat b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; color: var(--orange-light); }
.lp-stat span { font-size: 15px; line-height: 1.5; color: var(--text-muted); }

.legal-doc { max-width: 760px; }
.legal-doc .updated { margin-top: 14px; font-size: 14px; color: var(--text-faint); }
.legal-doc h2 { margin: 44px 0 12px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.legal-doc h3 { margin: 28px 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.legal-doc p + p, .legal-doc ul + p { margin-top: 14px; }
.legal-doc ul, .legal-doc ol { margin: 12px 0 0; padding-left: 1.2em; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li + li { margin-top: 8px; }
.legal-doc a { color: var(--orange-light); }
.legal-doc strong { color: var(--text); font-weight: 600; }

.lp-thanks { min-height: 100vh; display: flex; flex-direction: column; }
.lp-thanks main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 20px 80px; }
.lp-thanks h1 { margin: 14px 0 16px; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; }
.lp-thanks .lede { margin-inline: auto; }
.lp-next { max-width: 460px; margin: 36px auto 0; text-align: left; }
.lp-next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.lp-next li:last-child { border-bottom: 1px solid var(--border); }
.lp-next b { display: block; color: var(--text); }
.lp-next span { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--orange-light); padding-top: 2px; }

.lp-narrow { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 20px 80px; }
.lp-card { width: min(480px, 100%); }
.lp-card h1 { margin: 12px 0 14px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.035em; }
.lp-card .lede { margin-bottom: 28px; }
.lp-card .btn { margin-top: 8px; }
.lp-card .form-note { margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.lp-downloads { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.lp-downloads[hidden] { display: none !important; }
.lp-downloads a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; }
.lp-downloads a:hover { border-color: var(--orange-light); }

.pvm-demo { padding: calc(var(--nav-h) + 28px) 0 72px; }
.pvm-demo[hidden] { display: none !important; }
.pvm-demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.pvm-demo-bar p { margin: 6px 0 0; max-width: 640px; color: var(--text-muted); font-size: 15px; }
.pvm-frame { display: block; width: 100%; height: min(82vh, 980px); border: 1px solid var(--border); border-radius: 16px; background: #fff; }
body.pvm-open .nav-cta { visibility: hidden; }
body.pvm-expanded .nav,
body.pvm-expanded .lp-footer,
body.pvm-expanded #pvm-gate { display: none; }
body.pvm-expanded .pvm-demo { padding: 12px; }
body.pvm-expanded .pvm-frame { height: calc(100vh - 72px); border-radius: 12px; }
.lp-error { margin: 0 0 12px; font-size: 14px; color: var(--orange-light); }
.lp-error:empty, .lp-status { display: none; }
.lp-status.on { display: block; }

@media (min-width: 640px) {
  .lp-form-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lp-fields .field-pair { grid-template-columns: 1fr 1fr; }
  .lp-stat { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
}
@media (min-width: 720px) {
  .lp-points { grid-template-columns: 1fr 1fr; }
  .lp-compare { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 1000px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .lp-hero-grid > .lp-form { max-width: none; }
  .lp-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-points.two { grid-template-columns: 1fr 1fr; max-width: 880px; margin-inline: auto; }
  .lp-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
}
@media (max-width: 600px) {
  .lp-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .lp-rows span { grid-column: 1 / -1; grid-row: 2; }
}

/* Honor the hidden attribute even where a class sets display (e.g. .cta-row). */
[hidden] { display: none !important; }
.lp-thanks .cta-row { margin-top: 32px; }
.lp-thanks h1 { line-height: 1.08; }
