.lf-hero .lede { max-width: 38rem; margin-left: auto; margin-right: auto; }
.lf-url { max-width: 720px; margin: 28px auto 0; text-align: left; }
.lf-landing .lf-url { margin-left: 0; margin-right: 0; max-width: min(720px, 100%); }
.lf-url-row, .lf-pair, .lf-share-row, .lf-ctas { display: grid; gap: 10px; }
.lf-url input,
.lf-gate input[type="email"],
.lf-gate input[type="text"],
.lf-share input {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  background: #141414;
  border: 1px solid #3c3c3c;
  border-radius: 12px;
  padding: 12px 14px;
}
.lf-gate input[type="email"],
.lf-gate input[type="text"] { color: var(--ink); background: var(--white); }
[data-theme=light] .lf-url input {
  background: #dfe1e4;
  color: #0e0e10;
  border-color: #33363b;
}
@media (min-width: 768px) {
  .lf-url input { height: 52px; min-height: 52px; border-radius: 10px; }
}
.lf-url .btn, .lf-gate .btn, .lf-ctas .btn, .lf-share .btn { width: 100%; }
.lf-print { color: var(--muted); font-size: 13px; line-height: 1.45; max-width: 40rem; margin: 12px auto 0; }
.lf-print a { color: var(--accent-text); font-weight: 700; }
.post-body-wrap .lf-print,
.sheet .lf-print,
.band-soft .lf-print { color: var(--muted); }
.post-body-wrap .lf-print a,
.sheet .lf-print a,
.band-soft .lf-print a { color: var(--accent-text); }
[data-theme=light] .post-body-wrap .lf-print a,
[data-theme=light] .sheet .lf-print a,
[data-theme=light] .band-soft .lf-print a { color: #33363b; }
.lf-error, .lf-form-error { color: #ffb4b4; font-weight: 700; margin-top: 12px; }
.lf-form-error a { color: inherit; }

.lf-stage { padding: 10px 0 72px; }
.lf-stage:not(:has(#lf-scan:not([hidden]))):not(:has(#lf-results:not([hidden]))) { display: none; }
.lf-screen {
  position: relative;
  height: 148px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(#1b1b1b, #1b1b1b) 0 0 / 100% 28px no-repeat,
    #101010;
}
.lf-chrome { display: flex; gap: 6px; padding: 10px 12px; }
.lf-chrome span { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; }
.lf-chrome span:first-child { background: var(--yellow); }
.lf-screen-body { position: absolute; left: 12px; right: 12px; top: 36px; bottom: 12px; overflow: hidden; border-radius: 10px; background: #0c0c0c; }
.lf-scanline {
  position: absolute; left: 0; right: 0; height: 3px;
  background: var(--yellow);
  box-shadow: 0 0 18px var(--yellow);
  animation: lf-scan 1.4s ease-in-out infinite;
}
@keyframes lf-scan {
  0% { top: 6%; }
  100% { top: 90%; }
}
html.reduced .lf-scanline { animation: none; top: 46%; }
.lf-status {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: var(--yellow);
}
.lf-progress { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.lf-progress li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #101010;
}
.lf-progress li span:last-child { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lf-progress .is-fail span:last-child { color: #ff8d8d; }
.lf-progress .is-warn span:last-child { color: #ffc14d; }
.lf-progress .is-pass span:last-child { color: var(--yellow); }
.lf-progress .is-unknown span:last-child { color: var(--muted); }

.lf-score-row { display: grid; gap: 18px; justify-items: center; text-align: center; }
.lf-dial { position: relative; width: min(220px, 70vw); aspect-ratio: 1; }
.lf-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lf-dial-track, .lf-dial-value { fill: none; stroke-width: 8; }
.lf-dial-track { stroke: #2a2a2a; }
.lf-dial-value { stroke: var(--yellow); stroke-linecap: round; }
.lf-dial.band-mid .lf-dial-value { stroke: #ffc14d; }
.lf-dial.band-low .lf-dial-value { stroke: #ff5c5c; }
.lf-dial-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--display); font-size: clamp(48px, 10vw, 64px); letter-spacing: -0.04em;
}
.lf-dial-num small { font-size: .32em; color: var(--muted); letter-spacing: 0; }
.lf-score-copy h2 { font-size: clamp(40px, 6vw, 68px); }
.lf-score-copy p { color: var(--muted); margin-top: 10px; }
.lf-note {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: #16160a; color: var(--yellow); border: 1px solid #34340f;
}
.lf-results h3 { font-size: clamp(28px, 4vw, 40px); margin: 28px 0 14px; }
.lf-cards, .lf-rows { list-style: none; display: grid; gap: 12px; }
.lf-card, .lf-row {
  background: var(--black-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 16px 16px 18px; border-left: 4px solid var(--yellow);
}
.lf-card.sev-high, .lf-row.is-fail { border-left-color: #ff5c5c; }
.lf-card.sev-medium, .lf-row.is-warn { border-left-color: #ffc14d; }
.lf-card.sev-low, .lf-row.is-pass { border-left-color: var(--yellow); }
.lf-row.is-unknown { border-left-color: #6a6a66; }
.lf-card h3, .lf-row h3 { font-size: clamp(22px, 3vw, 30px); margin: 8px 0; }
.lf-sev, .lf-state {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 8px;
  border-radius: calc(var(--btn-radius) * 28px);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.sev-high .lf-sev, .lf-row.is-fail .lf-state { background: #3a1212; color: #ffb4b4; }
.sev-medium .lf-sev, .lf-row.is-warn .lf-state { background: #3a2c0c; color: #ffd48a; }
.sev-low .lf-sev, .lf-row.is-pass .lf-state { background: #22280a; color: var(--yellow); }
.lf-row.is-unknown .lf-state { background: #222; color: var(--muted); }
.lf-kicker { display: block; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; }
.lf-card p, .lf-row p { color: var(--muted); margin-top: 6px; }
.lf-gate {
  margin-top: 22px; background: var(--off); color: var(--ink);
  border-radius: 20px; padding: 22px;
}
.lf-gate h3 { color: var(--ink); margin-top: 0; }
.lf-gate p { color: var(--muted-dark); }
.lf-gate form { display: grid; gap: 12px; margin-top: 14px; }
.lf-gate label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.lf-check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.lf-check input { width: 20px; height: 20px; accent-color: #6d7a00; }
.lf-gate label.opt-in {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.lf-gate label.opt-in input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--black); }
.lf-gate label.opt-in span { min-width: 0; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lf-gate label.opt-in:focus-within { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 8px; }
.lf-group { margin-top: 8px; }
.lf-share { margin-top: 22px; }
.lf-share label, .lf-again { font-weight: 800; }
.lf-ctas, .lf-follow { margin-top: 22px; }
.lf-call-line { margin: 18px 0 8px; color: var(--muted); }
.lf-follow .booking-contact { margin-top: 0; }
.lf-again {
  margin-top: 18px; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--yellow); cursor: pointer; font: inherit;
}
.lf-sink {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (min-width: 720px) {
  .lf-url-row { grid-template-columns: 1fr auto; align-items: center; }
  .lf-url .btn, .lf-gate .btn, .lf-ctas .btn, .lf-share .btn { width: auto; }
  .lf-pair { grid-template-columns: 1fr 1fr; }
  .lf-score-row { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; }
  .lf-share-row { grid-template-columns: 1fr auto; align-items: center; }
  .lf-ctas { display: flex; flex-wrap: wrap; }
  .lf-gate { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-scanline { animation: none; top: 46%; }
}

.lf-dial .lf-mood { position: absolute; right: -30px; bottom: -14px; width: 72px; pointer-events: auto; }
.lf-mood > span { display: none; }
.lf-results[data-mood="happy"] .lf-mood [data-mood="happy"],
.lf-results[data-mood="oops"] .lf-mood [data-mood="oops"],
.lf-results[data-mood="scan"] .lf-mood [data-mood="scan"],
.lf-results:not([data-mood]) .lf-mood [data-mood="scan"] { display: block; }
.lf-mood .leaky { width: 72px; height: auto; cursor: pointer; }
.lf-dial .lf-mood svg { transform: none; width: 72px; height: auto; position: static; inset: auto; }

/* Trev's read: the scan on the funnel */
.lf-read { display: grid; gap: 20px; margin: 28px 0 8px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface, rgba(255,255,255,.03)); text-align: left; }
@media (min-width: 760px) { .lf-read { grid-template-columns: minmax(220px, 300px) 1fr; align-items: center; } }
.lf-read-art { display: grid; gap: 10px; justify-items: center; }
.scan-funnel { width: 100%; max-width: 300px; overflow: visible; }
.sf-band path { fill: var(--surface-2, #1a1a1a); stroke: var(--line); stroke-width: 1.5; transition: fill .4s ease, stroke .4s ease; }
.sf-band text { fill: var(--text); font: 700 14px var(--display); }
.sf-band.is-ok path { fill: #e7ff2e; stroke: #e7ff2e; }
.sf-band.is-ok text { fill: #0a0a0a; }
.sf-band.is-drip path { stroke: #e7ff2e; fill: color-mix(in srgb, #e7ff2e 18%, var(--surface-2, #1a1a1a)); }
.sf-band.is-leak path { stroke: #ff6b4a; fill: color-mix(in srgb, #ff6b4a 22%, var(--surface-2, #1a1a1a)); }
.sf-drip path { fill: #ff6b4a; opacity: 0; }
.sf-drip.is-drip path { fill: #e7ff2e; }
.lf-read.is-in .sf-drip.is-leak path { animation: sf-drip 1.3s ease-in infinite; }
.lf-read.is-in .sf-drip.is-drip path { animation: sf-drip 2.4s ease-in infinite; }
.sf-drip g:nth-child(2) path { animation-delay: .6s !important; }
@keyframes sf-drip { 0% { opacity: 0; transform: translateY(-4px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
.sf-key { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.sf-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sf-key .k-leak { background: #ff6b4a; } .sf-key .k-drip { border: 2px solid #e7ff2e; } .sf-key .k-ok { background: #e7ff2e; }
.lf-read-copy h3 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); }
.lf-read-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lf-read-list li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.45; }
.lf-read-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #e7ff2e; }
.lf-read-sign { margin: 12px 0 0; font-weight: 700; color: var(--muted); }
[data-theme=light] .sf-band.is-ok path, [data-theme=light] .sf-band.is-drip path { stroke: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .lf-read.is-in .sf-drip path { animation: none; opacity: 1; } }
@media (max-width: 759px) { .scan-funnel { max-width: 230px; } }
