/* Leak Finder in the 2026 rework style. Same ids and classes leak-finder.js uses. */
:root { --y: #E5FF00; --line: #262626; --card: #0d0d0d; --muted: #a3a3a3; --dim: #737373; --red: #ff5c4d; --amber: #ffc14d; }

.lfx-hero { max-width: 860px; }
.lfx-hero .rw-lede { margin-bottom: 36px; }
.lfx-url { display: flex; flex-wrap: wrap; gap: 12px; max-width: 760px; background: #111; border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.lfx-url:focus-within { border-color: var(--y); }
.lfx-url input { flex: 1 1 260px; min-width: 0; background: transparent; border: 0; color: #fff; font-size: 18px; padding: 16px 18px; font-family: inherit; outline: none; }
.lfx-url input::placeholder { color: var(--dim); }
.lfx-url button { flex: 0 0 auto; background: var(--y); color: #000; border: 0; border-radius: 14px; padding: 18px 28px; font-size: 17px; font-weight: 700; font-family: inherit; cursor: pointer; }
.lfx-url button:hover { background: #fff; }
.lfx-url button:disabled { opacity: .6; cursor: progress; }
@media (max-width: 520px) { .lfx-url button { flex: 1 1 100%; } }
.lfx-fine { font-size: 14px; line-height: 1.5; color: var(--dim); margin: 16px 0 0; }
.lfx-fine a { color: var(--muted); }
.lf-error, .lf-form-error { color: #ffb4a8; font-weight: 700; margin: 14px 0 0; }
.lf-form-error a { color: inherit; }
.lfx-opt { color: var(--dim); font-weight: 500; }

/* Stage */
.lfx-stage { padding: 8px 0 112px; }
.lfx-stage:not(:has(#lf-scan:not([hidden]))):not(:has(#lf-results:not([hidden]))) { display: none; }
.lfx-scan-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 40px); }
.lf-screen { position: relative; height: 170px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #070707; }
.lf-chrome { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #1a1a1a; }
.lf-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.lf-chrome span:first-child { background: var(--y); }
.lf-chrome i { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--dim); }
.lf-screen-body { position: absolute; left: 14px; right: 14px; top: 44px; bottom: 14px; overflow: hidden; }
.lfx-ghost { display: grid; gap: 10px; padding: 8px 4px; }
.lfx-ghost b { display: block; height: 12px; border-radius: 6px; background: #151515; }
.lfx-ghost b:nth-child(1) { width: 46%; height: 18px; }
.lfx-ghost b:nth-child(2) { width: 78%; }
.lfx-ghost b:nth-child(3) { width: 64%; }
.lfx-ghost b:nth-child(4) { width: 30%; height: 28px; border-radius: 999px; background: #1d1f0a; }
.lf-scanline { position: absolute; left: 0; right: 0; height: 2px; background: var(--y); box-shadow: 0 0 22px 3px rgba(229,255,0,.55); animation: lf-scan 1.5s ease-in-out infinite alternate; z-index: 1; }
@keyframes lf-scan { from { top: 4%; } to { top: 94%; } }
html.reduced .lf-scanline { animation: none; top: 50%; }
.lf-status { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(22px, 3vw, 32px); line-height: 1.1; letter-spacing: -.5px; color: var(--y); margin: 28px 0 20px; }
.lf-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 8px; }
.lf-progress li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #080808; font-size: 15px; animation: lfx-in .35s ease both; }
.lf-progress li span:last-child { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lf-progress .is-fail span:last-child { color: var(--red); }
.lf-progress .is-warn span:last-child { color: var(--amber); }
.lf-progress .is-pass span:last-child { color: var(--y); }
.lf-progress .is-unknown span:last-child { color: var(--dim); }
@keyframes lfx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html.reduced .lf-progress li { animation: none; }

/* Score */
.lf-score-row { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.lf-dial { position: relative; flex: 0 0 auto; width: min(220px, 62vw); aspect-ratio: 1; }
.lf-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lf-dial-track, .lf-dial-value { fill: none; stroke-width: 9; }
.lf-dial-track { stroke: #1f1f1f; }
.lf-dial-value { stroke: var(--y); stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(229,255,0,.35)); }
.lf-dial.band-mid .lf-dial-value { stroke: var(--amber); filter: none; }
.lf-dial.band-low .lf-dial-value { stroke: var(--red); filter: none; }
.lf-dial-num { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 2px; font-family: 'Archivo Black', sans-serif; font-size: clamp(52px, 11vw, 72px); letter-spacing: -2px; }
.lf-dial-num small { font-family: Inter, system-ui, sans-serif; font-size: 18px; color: var(--dim); letter-spacing: 0; align-self: flex-end; margin-bottom: 30%; }
.lf-score-copy { flex: 1 1 360px; min-width: 0; }
.lf-score-copy .rw-eyebrow { margin-bottom: 12px; }
.lf-score-copy h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -1.5px; margin: 0 0 14px; outline: none; }
.lf-score-copy p { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0; }
.lfx-platform:not(:empty) { margin-top: 14px !important; display: inline-block; font-size: 13px !important; border: 1px solid #333; border-radius: 999px; padding: 6px 12px; }
.lf-note { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: #10120a; color: #e9f37a; border: 1px solid #2b300c; font-size: 15px; line-height: 1.5; }

/* Founder read + funnel */
.lf-read { display: grid; gap: 28px; margin: 20px 0 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
@media (min-width: 820px) { .lf-read { grid-template-columns: minmax(220px, 300px) 1fr; align-items: center; } }
.lf-read-art { display: grid; gap: 12px; justify-items: center; }
.scan-funnel { width: 100%; max-width: 300px; overflow: visible; }
.sf-band path { fill: #151515; stroke: #2a2a2a; stroke-width: 1.5; transition: fill .4s ease, stroke .4s ease; }
.sf-band text { fill: #fff; font: 700 14px Inter, system-ui, sans-serif; }
.sf-band.is-ok path { fill: var(--y); stroke: var(--y); }
.sf-band.is-ok text { fill: #000; }
.sf-band.is-drip path { stroke: var(--y); fill: #1d2008; }
.sf-band.is-leak path { stroke: var(--red); fill: #2a110d; }
.sf-drip path { fill: var(--red); opacity: 0; }
.sf-drip.is-drip path { fill: var(--y); }
.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); } }
html.reduced .lf-read.is-in .sf-drip path { animation: none; opacity: 1; }
.sf-key { display: flex; flex-wrap: wrap; justify-content: center; 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: var(--red); } .sf-key .k-drip { border: 2px solid var(--y); } .sf-key .k-ok { background: var(--y); }
.lf-read-copy h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; margin: 0 0 18px; }
.lf-read-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lf-read-list li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.55; color: #d4d4d4; }
.lf-read-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--y); }
.lf-read-sign { margin: 18px 0 0; font-weight: 700; color: var(--dim); }

/* Leak cards + report rows */
.lfx-h { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; letter-spacing: -1px; margin: 64px 0 24px; outline: none; }
.lf-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; counter-reset: leak; }
.lf-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 28px 30px; counter-increment: leak; }
.lf-card::before { content: counter(leak, decimal-leading-zero); position: absolute; top: 24px; right: 26px; font-family: 'Archivo Black', sans-serif; font-size: 34px; line-height: 1; color: #1f1f1f; }
.lf-card.sev-high { border-color: #3a1a15; background: linear-gradient(180deg, #160b09, var(--card) 40%); }
.lf-card h3, .lf-row h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; margin: 16px 0 6px; padding-right: 48px; }
.lf-sev, .lf-state { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sev-high .lf-sev, .lf-row.is-fail .lf-state { background: #3a1410; color: #ffb4a8; }
.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: var(--y); color: #000; }
.lf-row.is-unknown .lf-state { background: #1f1f1f; color: var(--muted); }
.lf-kicker { display: block; color: var(--y); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 20px 0 6px; }
.lf-card p, .lf-row p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.lf-group { margin-top: 40px; }
.lf-group h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--y); margin: 0 0 14px; font-family: Inter, system-ui, sans-serif; }
.lf-rows { display: grid; gap: 10px; }
.lf-row { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.lf-row h3 { display: inline; font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 0 10px; padding: 0; color: #fff; letter-spacing: 0; text-transform: none; }
.lf-row > p:first-of-type { margin-top: 10px; }
.lf-row.is-pass p { color: #8a8a8a; }
.lf-sent { color: var(--y); font-weight: 700; margin: -10px 0 8px; }

/* Forms */
.lf-gate, .lf-follow { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.lf-gate { margin-top: 28px; border-color: #3a400f; background: linear-gradient(135deg, #12140a, var(--card) 60%); }
.lfx-gate-copy { flex: 1 1 280px; min-width: 0; }
.lfx-gate-copy h3, .form-success h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -1px; margin: 0 0 12px; outline: none; }
.lfx-gate-copy p, .form-success p { font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0; }
.lf-gate form, .lf-follow form { flex: 1.4 1 380px; min-width: 0; display: grid; gap: 16px; }
.lf-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.lf-gate label, .lf-follow label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: #d4d4d4; }
.lf-gate input[type="email"], .lf-gate input[type="text"], .lf-follow input[type="email"], .lf-follow input[type="url"], .lf-share input {
  width: 100%; box-sizing: border-box; min-height: 52px; font: inherit; font-size: 16px; font-weight: 500; color: #fff;
  background: #000; border: 1px solid #333; border-radius: 14px; padding: 14px 16px; outline: none;
}
.lf-gate input:focus, .lf-follow input:focus, .lf-share input:focus { border-color: var(--y); }
.lf-gate input::placeholder, .lf-follow input::placeholder { color: #555; }
.lf-gate label.lf-check, .lf-gate label.opt-in, .lf-follow label.opt-in { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.lf-check input, .opt-in input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--y); }
.lf-gate .rw-btn, .lf-follow .rw-btn { justify-self: start; }
.lfx-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lfx-chips legend { font-size: 14px; font-weight: 700; color: #d4d4d4; margin-bottom: 10px; padding: 0; }
.lfx-chips label { display: inline-block !important; cursor: pointer; }
.lfx-chips label span { display: inline-block; border: 1px solid #333; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: #d4d4d4; }
.lfx-chips label input:checked + span { background: var(--y); border-color: var(--y); color: #000; font-weight: 700; }
.lfx-chips input:focus-visible + span { outline: 2px solid var(--y); outline-offset: 2px; }
.lf-follow .lfx-fine { margin: 0; }
.form-success { flex: 1.4 1 380px; }

/* Next step band */
.lfx-next { margin-top: 64px; }
.lfx-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lfx-btn-dark { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.lfx-btn-dark:hover { color: var(--y); }
.lfx-btn-line { display: inline-block; color: #000; text-decoration: none; padding: 15px 25px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid #000; }
.lfx-btn-line:hover { background: #000; color: #fff; }

/* Share + again */
.lf-share { margin-top: 40px; }
.lf-share label { display: block; font-size: 14px; font-weight: 700; color: #d4d4d4; margin-bottom: 10px; }
.lf-share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lf-share-row input { flex: 1 1 280px; min-width: 0; color: var(--muted); }
.lf-again { display: inline-block; margin-top: 20px; padding: 0; min-height: 44px; background: none; border: 0; color: var(--y); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.lf-again:hover { color: #fff; }
.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; }
.lf-mood { display: none; }

@media (max-width: 560px) {
  .lf-score-row { justify-content: center; text-align: center; }
  .lf-card::before { font-size: 28px; }
  .lf-row { padding: 18px; }
  .lf-row h3 { display: block; margin: 10px 0 0; }
}

.lf-share .rw-btn-ghost { background: transparent; color: #fff; font-family: inherit; cursor: pointer; }
