/* leadSaler extras: calculator, sample data, reviews, cookie banner, legal footer. */

/* ---------- Price calculator ---------- */
.ls-calc { display: grid; grid-template-columns: 1.25fr 1fr; margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ls-calc__form { padding: 36px 36px 32px; }
.ls-calc__title { font: 700 26px/1.2 var(--font-head); letter-spacing: -0.02em; color: var(--navy); margin: 4px 0 22px; }
.ls-calc__label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.ls-calc__qtyrow { display: flex; gap: 16px; align-items: center; }
.ls-calc__range { flex: 1; min-width: 0; accent-color: var(--gold); height: 28px; cursor: pointer; }
.ls-calc__qty { width: 120px; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: 600 17px/1 var(--font-head); color: var(--navy); background: var(--bg); font-variant-numeric: tabular-nums; }
.ls-calc__qty:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.ls-calc__incl { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ls-calc__incl li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.ls-calc__incl li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.ls-calc__result { display: flex; flex-direction: column; padding: 36px 32px 30px; background: var(--navy); color: var(--on-navy); }
.ls-calc__rlabel { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); }
.ls-calc__price { font: 700 56px/1.05 var(--font-head); letter-spacing: -0.04em; color: #fff; margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.ls-calc__per { font-size: 14px; color: var(--on-navy-muted); }
.ls-calc__note { min-height: 20px; margin-top: 10px; font-size: 14px; color: var(--gold); }
.ls-calc__ctas { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; }
.ls-calc__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13px; color: var(--on-navy-muted); }
.ls-calc__pay b { font-weight: 600; color: var(--on-navy); padding: 4px 10px; border: 1px solid var(--on-navy-line); border-radius: 999px; }
.ls-calc__sample { font-size: 14px; color: var(--on-navy-muted); text-decoration: none; }
.ls-calc__sample:hover { color: #fff; }

/* ---------- Sample data preview ---------- */
.ls-sample { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ls-sample__bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--navy); color: var(--on-navy-muted); font-size: 13px; }
.ls-sample__dots { display: inline-flex; gap: 6px; }
.ls-sample__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--on-navy-line); }
.ls-sample__file { color: var(--on-navy); font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-sample__count { margin-left: auto; white-space: nowrap; }
.ls-sample__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ls-sample__scroll:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.ls-sample__table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.ls-sample__table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ls-sample__table td { padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--text); }
.ls-sample__table tbody tr:nth-child(even) td { background: rgba(20, 37, 74, .025); }
.ls-sample__mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--muted) !important; }
.ls-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ls-chip--valid { background: rgba(31, 138, 91, .12); color: var(--ok); }
.ls-chip--risky { background: rgba(183, 121, 31, .14); color: var(--warn); }
.ls-sample__note { margin: 0; padding: 12px 18px; font-size: 13px; color: var(--muted); background: var(--bg); }
.ls-sample__cta { text-align: center; margin-top: 28px; }

/* ---------- Reviews ---------- */
.ls-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ls-review { margin: 0; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ls-review__stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.ls-review blockquote { margin: 12px 0 18px; flex: 1; }
.ls-review blockquote p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.ls-review figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.ls-review figcaption b { color: var(--navy); font-size: 15px; }

/* ---------- Footer legal row ---------- */
.ls-footer__bottom { padding-bottom: 88px; }
.ls-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ls-footer__legal a, .ls-footer__legal button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; opacity: .85; }
.ls-footer__legal a:hover, .ls-footer__legal button:hover { opacity: 1; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.ls-cookie { position: fixed; z-index: 1000; left: 16px; bottom: 16px; max-width: 420px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ls-cookie[hidden] { display: none; }
.ls-cookie p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.ls-cookie a { color: var(--steel); }
.ls-cookie__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Legal pages ---------- */
.page-template-default .ls-prose h2 { margin-top: 2em; }

@media (max-width: 880px) {
	.ls-calc { grid-template-columns: 1fr; }
	.ls-calc__form, .ls-calc__result { padding: 28px 22px; }
	.ls-calc__price { font-size: 46px; }
}
@media (max-width: 600px) {
	.ls-calc__qtyrow { flex-direction: column; align-items: stretch; }
	.ls-calc__qty { width: 100%; }
	.ls-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.ls-sample__count { display: none; }
}

/* ---------- Review form ---------- */
.ls-stars { border: 0; padding: 0; margin: 0 0 22px; }
.ls-stars legend { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; padding: 0; }
.ls-stars legend span { color: var(--gold-dark); }
.ls-stars__row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.ls-stars__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ls-stars__row label { font-size: 34px; line-height: 1; color: var(--line-strong); cursor: pointer; transition: color .15s; }
.ls-stars__row input:checked ~ label, .ls-stars__row label:hover, .ls-stars__row label:hover ~ label { color: var(--gold); }
.ls-stars__row input:focus-visible + label { outline: 2px solid var(--steel); outline-offset: 2px; border-radius: 4px; }
.ls-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); line-height: 1.5; }
.ls-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.ls-review__stars i { font-style: normal; color: var(--line-strong); }
.ls-reviews__cta { text-align: center; margin: 28px 0 0; }
.ls-reviews__cta a { color: var(--steel); font-weight: 600; text-decoration: none; }
.ls-reviews__cta a:hover { text-decoration: underline; }
