/* The Leak Finder, Light Room (Kene, Oct 20, 2026). Loads after chrome.css,
 * home.css and home-v2.css. Night for the calculator (one mint light from
 * the top left, a glass panel lit on its top-left edge), Day for the email
 * card, Night again to close. Numbers swap with a short fade and never
 * count up. Every class here starts with lk- so nothing on the homepage
 * can change this page by accident. */

/* ================================================================ 1. hero and calculator (Night) */
.lk-top { position: relative; margin-top: calc(-1 * var(--nav-h)); padding: calc(var(--nav-h) + clamp(44px, 6vw, 92px)) 0 clamp(64px, 7vw, 108px); }
.lk-top::before { background:
  radial-gradient(ellipse 62% 48% at 14% 0%, rgba(22, 72, 50, .62), transparent 70%),
  radial-gradient(ellipse 60% 50% at 92% 100%, rgba(63, 147, 110, .22), transparent 70%); }
.lk-light { position: absolute; z-index: -1; left: -22vw; top: -46vw; width: 92vw; height: 92vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 248, 222, .2), rgba(135, 204, 170, .08) 44%, transparent 72%); mix-blend-mode: screen; }

.lk-hero { text-align: center; }
.lk-hero .lr-kicker { color: #A8EDC4; }
.lk-h1 { max-width: 20ch; margin: 0 auto; font-weight: 300; font-size: clamp(42px, 6vw, 88px); line-height: 1.02; letter-spacing: -.052em; color: #FFFFFF; text-wrap: balance; }
.lk-h1 .dim { color: rgba(233, 243, 238, .5); }
.lk-h1 .lr-sig { color: #A8EDC4; font-size: 1.1em; letter-spacing: -.015em; }
@media (min-width: 720px) { .lk-h1 > span { display: block; } }
.lk-lead { max-width: 46ch; margin: 24px auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; letter-spacing: -.01em; color: rgba(233, 243, 238, .74); }

/* the glass panel */
.lk-calc { position: relative; isolation: isolate; max-width: 1140px; margin: clamp(40px, 5vw, 68px) auto 0; padding: clamp(22px, 3.2vw, 44px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px);
  border-radius: 32px; color: #FFFFFF;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035) 55%, rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(233, 243, 238, .06), 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 80px -40px rgba(135, 204, 170, .35); }
.lk-calc::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(168, 237, 196, .13), transparent 42%); }

/* the questions */
.lk-controls { display: grid; gap: 34px; align-content: start; min-width: 0; }
.lk-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.lk-label { display: block; padding: 0; font-size: 16px; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; color: #FFFFFF; }
.lk-help { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: #A7B0AB; min-height: 1.45em; }
.lk-help.warn { color: #EFC876; }

.lk-amount { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; }
.lk-cur { font-weight: 300; font-size: clamp(44px, 4.6vw, 60px); line-height: 1; letter-spacing: -.04em; color: rgba(233, 243, 238, .45); }
.lk-num { width: calc(var(--n, 3) * .56em + .18em); min-width: 1.2em; padding: 0 0 6px; margin: 0; border: 0; border-radius: 0; background: transparent;
  font: 300 clamp(44px, 4.6vw, 60px)/1 var(--sans); letter-spacing: -.045em; color: #FFFFFF; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -1px 0 rgba(233, 243, 238, .2); transition: box-shadow .25s; -moz-appearance: textfield; }
.lk-num:hover { box-shadow: inset 0 -1px 0 rgba(233, 243, 238, .4); }
.lk-num:focus { outline: none; box-shadow: inset 0 -2px 0 #87CCAA; }
.lk-num:focus-visible { outline: none; }
.lk-per { margin-left: 8px; font-size: 16px; color: #A7B0AB; }

/* the slider: a lit track and a pearl */
.lk-slider { --t: .309; --p: calc(15px + (100% - 30px) * var(--t)); -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 16px 0 0; background: transparent; cursor: pointer; }
.lk-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, #3F936E 0%, #A8EDC4 var(--p), rgba(233, 243, 238, .12) var(--p)); box-shadow: 0 0 14px -4px rgba(135, 204, 170, .5); }
.lk-slider::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(233, 243, 238, .12); }
.lk-slider::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #3F936E, #A8EDC4); }
.lk-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F2F8F5 30%, #C9DAD2 72%, #9DB3A8 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 22px rgba(168, 237, 196, .55), 0 8px 16px -4px rgba(0, 0, 0, .7); transition: box-shadow .25s, transform .2s var(--ease); }
.lk-slider::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F2F8F5 30%, #C9DAD2 72%, #9DB3A8 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 22px rgba(168, 237, 196, .55), 0 8px 16px -4px rgba(0, 0, 0, .7); }
.lk-slider:active::-webkit-slider-thumb { transform: scale(1.06); }
.lk-slider:focus { outline: none; }
.lk-slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #0B1D14, 0 0 0 5px #87CCAA, 0 0 22px rgba(168, 237, 196, .6); }
.lk-slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #0B1D14, 0 0 0 5px #87CCAA, 0 0 22px rgba(168, 237, 196, .6); }
.lk-ends { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12px; color: #6F7873; font-variant-numeric: tabular-nums; }

/* the chips: a recessed well, the chosen one a lit white plate */
.lk-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 14px; padding: 4px; border-radius: 999px;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(233, 243, 238, .05), 0 1px 0 rgba(255, 255, 255, .04); }
.lk-chip { position: relative; display: block; min-width: 0; cursor: pointer; }
.lk-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lk-chip span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 4px; border-radius: 999px;
  font: 500 14px/1.1 var(--sans); letter-spacing: -.005em; text-align: center; color: rgba(233, 243, 238, .74);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.lk-chip:hover input:not(:checked) + span { color: #FFFFFF; background: rgba(233, 243, 238, .07); }
.lk-chip input:checked + span { color: #0C0E0D; background: linear-gradient(180deg, #FFFFFF, #E4ECE8); box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 22px -8px rgba(168, 237, 196, .55); }
.lk-chip input:focus-visible + span { outline: 2px solid #87CCAA; outline-offset: 2px; }

/* the results */
.lk-results { min-width: 0; padding-left: clamp(24px, 3.2vw, 48px); box-shadow: -1px 0 0 rgba(233, 243, 238, .08); }
.lk-stats { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px 32px; align-items: end; }
.lk-stat { container-type: inline-size; min-width: 0; }
.lk-k { font-size: 14px; line-height: 1.4; color: #A7B0AB; max-width: 30ch; }
.lk-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px; }
.lk-v b { --chars: 6; font-weight: 300; font-size: min(clamp(40px, 4.2vw, 56px), calc(172cqi / var(--chars))); line-height: 1; letter-spacing: -.05em; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-v small { font-size: 15px; line-height: 1.3; letter-spacing: -.005em; color: #A7B0AB; white-space: nowrap; }
.lk-stat-hi .lk-v b { font-size: min(clamp(52px, 5.6vw, 80px), calc(172cqi / var(--chars))); color: #A8EDC4; text-shadow: 0 0 44px rgba(135, 204, 170, .35); }
.lk-cashline { margin-top: 18px; padding-top: 16px; font-size: 14.5px; color: #A7B0AB; box-shadow: 0 -1px 0 rgba(233, 243, 238, .08); }
.lk-cashline b { font-weight: 500; color: #FFFFFF; font-variant-numeric: tabular-nums; }

/* the chart: hairline grid, one lit line, a faint dashed cash line */
.lk-chart { margin: 22px 0 0; }
.lk-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: #A7B0AB; }
.lk-key { display: inline-flex; align-items: center; gap: 8px; }
.lk-key::before { content: ""; width: 18px; height: 0; border-top: 2px solid #A8EDC4; border-radius: 2px; }
.lk-key-inv::before { box-shadow: 0 0 8px rgba(168, 237, 196, .8); }
.lk-key-cash::before { border-top: 1.5px dashed rgba(233, 243, 238, .5); }
.lk-plot { position: relative; margin-top: 12px; }
.lk-svg { display: block; width: 100%; height: clamp(200px, 20vw, 250px); overflow: visible; touch-action: pan-y; }
.lk-svg text { font: 400 11px var(--sans); fill: rgba(233, 243, 238, .42); font-variant-numeric: tabular-nums; }
.lk-svg .grid { stroke: rgba(233, 243, 238, .07); stroke-width: 1; }
.lk-svg .axis { stroke: rgba(233, 243, 238, .2); stroke-width: 1; }
.lk-svg .cash { fill: none; stroke: rgba(233, 243, 238, .42); stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; }
.lk-svg .inv { fill: none; stroke: #A8EDC4; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(135, 204, 170, .7)); }
.lk-svg .end { fill: #E9F3EE; filter: drop-shadow(0 0 8px rgba(168, 237, 196, .9)); }
.lk-svg .end-cash { fill: #0B1D14; stroke: rgba(233, 243, 238, .55); stroke-width: 1.5; }
.lk-svg .cross { stroke: rgba(233, 243, 238, .3); stroke-width: 1; }
.lk-tip { position: absolute; top: 0; z-index: 2; min-width: 150px; padding: 10px 12px; border-radius: 14px; pointer-events: none; font-size: 12.5px; line-height: 1.45; color: #A7B0AB; white-space: nowrap;
  background: linear-gradient(160deg, rgba(40, 60, 50, .78), rgba(12, 24, 18, .82)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16), 0 16px 30px -14px rgba(0, 0, 0, .8); }
.lk-tip b { display: block; margin-bottom: 2px; font-weight: 500; color: #FFFFFF; }
.lk-tip i { font-style: normal; color: #A8EDC4; }

/* the notes and the way to the email */
.lk-foot { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; padding-top: 22px; box-shadow: 0 -1px 0 rgba(233, 243, 238, .08); }
.lk-notes { display: grid; gap: 10px; max-width: 68ch; font-size: 13px; line-height: 1.5; color: #8C9590; }
.lk-private { display: flex; gap: 8px; align-items: flex-start; color: #A7B0AB; }
.lk-private svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: #87CCAA; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lk-how summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: #FFFFFF; font-size: 13.5px; border-radius: 6px; }
.lk-how summary::-webkit-details-marker { display: none; }
.lk-how summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid #87CCAA; border-bottom: 1.5px solid #87CCAA; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.lk-how[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.lk-how p { margin-top: 8px; color: #A7B0AB; max-width: 62ch; }
.lk-to-mail { flex: none; }
.lk-to-mail svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.lk-to-mail:hover svg { transform: translateY(2px); }

/* ================================================================ 2. the email card (Day) */
.lk-mail { overflow: hidden; isolation: isolate; background: var(--white); }
.lk-mail::before { content: ""; position: absolute; z-index: -1; left: -280px; top: -320px; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(135, 204, 170, .2), rgba(135, 204, 170, .06) 55%, transparent 100%); }
.lk-mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.lk-mail-copy .lr-body { margin-top: 22px; }
.lk-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.lk-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.lk-points li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--money-a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23107550' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 16px no-repeat; }

.lk-card-wrap { position: relative; }
.lk-card-wrap::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; top: 6%; bottom: -4%; border-radius: 40px; pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(135, 204, 170, .45), rgba(63, 147, 110, .14) 60%, transparent 80%); filter: blur(30px); }
.lk-card { position: relative; border-radius: 28px; padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8));
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 1px 1px 0 #FFFFFF, inset 0 0 0 1px rgba(12, 14, 13, .05), 0 40px 80px -40px rgba(12, 14, 13, .4), 0 10px 24px -14px rgba(12, 14, 13, .14); }
.lk-sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px rgba(16, 117, 80, .08); }
.lk-sum p { min-width: 0; }
.lk-sum span { display: block; font-size: 12.5px; color: var(--stone); }
.lk-sum b span { display: inline; font-size: inherit; color: inherit; white-space: nowrap; }
.lk-sum b { display: block; margin-top: 2px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lk-sum a { flex: none; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; color: var(--money); text-decoration: none; background: var(--white); box-shadow: 0 0 0 1px rgba(16, 117, 80, .16); transition: box-shadow .25s; }
.lk-sum a:hover { box-shadow: 0 0 0 1px rgba(16, 117, 80, .4); }
.lk-card .lr-fields { margin-top: 18px; }
.lk-card .lr-input { background: rgba(255, 255, 255, .9); }
.lk-card .lr-btn { width: 100%; margin-top: 20px; }
.lk-fine { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: #8C918E; }
.lk-done { text-align: center; padding-block: clamp(30px, 4vw, 44px); }
.lk-done-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFFFFF, #E9F3EE 45%, #A8EDC4); box-shadow: 0 0 0 1px rgba(16, 117, 80, .12), 0 12px 26px -10px rgba(16, 117, 80, .5); }
.lk-done-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--money); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lk-done h3 { margin-top: 18px; font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.lk-done h3:focus { outline: none; }
.lk-done p { max-width: 40ch; margin: 12px auto 0; font-size: 15px; line-height: 1.5; color: var(--stone); }
.lk-done .lr-btn { width: auto; margin-top: 24px; }

/* ================================================================ 3. closing (Night) */
.lk-end::before { background: radial-gradient(ellipse 46% 60% at 50% 0%, rgba(63, 147, 110, .36), transparent 70%), radial-gradient(ellipse 80% 50% at 50% 110%, rgba(22, 72, 50, .55), transparent 70%); }
.lk-end-in { text-align: center; }
.lk-end .lr-h2 { max-width: 18ch; margin: 0 auto; }
.lk-end .lr-body { margin: 22px auto 0; max-width: 46ch; }
.lk-end-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ================================================================ smaller screens */
@media (max-width: 1000px) {
  .lk-calc { grid-template-columns: minmax(0, 1fr); }
  .lk-results { padding-left: 0; padding-top: clamp(24px, 4vw, 34px); box-shadow: 0 -1px 0 rgba(233, 243, 238, .08); }
  .lk-foot { flex-direction: column; align-items: stretch; }
  .lk-to-mail { align-self: flex-start; }
  .lk-mail-grid { grid-template-columns: minmax(0, 1fr); }
  .lk-mail-copy { max-width: 620px; }
}
@media (max-width: 560px) {
  .lk-top .lr-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .lk-calc { padding: 22px 18px; border-radius: 26px; gap: 26px; }
  .lk-controls { gap: 28px; }
  .lk-stats { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lk-seg { gap: 2px; padding: 3px; }
  .lk-chip span { font-size: 13px; min-height: 44px; padding: 0 2px; }
  .lk-to-mail { align-self: stretch; }
  .lk-end-ctas .lr-btn { flex: 1 1 100%; }
  .lk-sum { padding: 12px; }
}
@media (max-width: 370px) {
  .lk-chip span { font-size: 12.5px; }
}

/* ================================================================ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lk-slider::-webkit-slider-thumb { transition: none; }
  .lk-slider:active::-webkit-slider-thumb { transform: none; }
}

/* five cut chips, the last one Custom with its own percent box (Oct 20, 2026) */
.lk-q .lk-seg[data-lk-cut] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lk-custom { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.lk-custom[hidden] { display: none; }
.lk-custom label { font-size: 14px; color: rgba(233, 243, 238, .74); }
.lk-custom-in { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(233, 243, 238, .1); }
.lk-custom-in:focus-within { box-shadow: inset 0 0 0 1.5px #87CCAA, 0 0 0 4px rgba(135, 204, 170, .15); }
.lk-custom .lk-cut-num { width: 3.2ch; font-size: 28px; text-align: right; }
.lk-custom-in > span { font-size: 18px; color: rgba(233, 243, 238, .74); }
.lk-custom-help { font-size: 12.5px; color: #6F7873; }
.lk-custom .lk-cut-num { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; border-radius: 0; outline: none; }

/* ---------------------------------------------------------------- the risk check (Oct 21, 2026) */
.lk-risk { max-width: 1140px; margin: clamp(28px, 3vw, 40px) auto 0; padding: clamp(22px, 3.2vw, 44px); border-radius: 28px; background: linear-gradient(180deg, rgba(233, 243, 238, .06), rgba(233, 243, 238, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(233, 243, 238, .07), 0 40px 80px -50px rgba(0, 0, 0, .8); }
.lk-risk-h { font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.045em; color: #fff; }
.lk-risk-h .dim { color: #6F7873; }
.lk-risk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.2vw, 48px); margin-top: clamp(24px, 3vw, 36px); align-items: start; }
.lk-rqs { display: grid; gap: 22px; }
.lk-rq { border: 0; margin: 0; padding: 0; min-width: 0; }
.lk-seg.lk-seg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 18px; }
.lk-seg.lk-seg-4 .lk-chip span { border-radius: 14px; font-size: 13px; padding: 0 6px; }
.lk-rcard { position: sticky; top: calc(var(--nav-h) + 24px); overflow: hidden; isolation: isolate; min-height: 320px; padding: 26px; border-radius: 22px; background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(135, 204, 170, .2), transparent 70%), linear-gradient(180deg, #0D1411, #070A08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(233, 243, 238, .08); }
.lk-rcard-in { transition: filter .6s var(--ease), opacity .6s var(--ease); }
.lk-rcard:not([data-state="open"]) .lk-rcard-in { filter: blur(9px); opacity: .7; user-select: none; pointer-events: none; }
.lk-rk { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #87CCAA; }
.lk-rlevel { margin-top: 10px; font-weight: 300; font-size: clamp(54px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; color: #fff; }
.lk-rlevel.lk-l-lower { color: #A8EDC4; }
.lk-rlevel.lk-l-higher { color: #F3C79A; }
.lk-rdrivers { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.lk-rdrivers li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: rgba(233, 243, 238, .86); }
.lk-rdrivers li::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: #87CCAA; }
.lk-rhelp { margin-top: 16px; font-size: 13px; line-height: 1.5; color: rgba(233, 243, 238, .7); }
.lk-rhelp a { color: #fff; white-space: nowrap; }
.lk-rlock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(7, 10, 8, .55), rgba(7, 10, 8, .2)); }
.lk-rcard[data-state="open"] .lk-rlock { display: none; }
.lk-rlock-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(233, 243, 238, .1); box-shadow: inset 0 0 0 1px rgba(233, 243, 238, .16); }
.lk-rlock-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lk-rlock-t { max-width: 24ch; font-size: 16px; line-height: 1.4; color: #fff; }
.lk-rnote { position: absolute; left: 26px; right: 26px; bottom: 18px; z-index: 3; font-size: 12px; color: #6F7873; }
.lk-rcard[data-state="open"] { padding-bottom: 52px; }
/* the email side: what the full breakdown holds */
.lk-gets { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: g; }
.lk-gets li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px rgba(12, 14, 13, .05); counter-increment: g; }
.lk-gets li::before { content: ""; grid-row: span 2; width: 30px; height: 30px; border-radius: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(180deg, var(--money-hi), var(--money)); }
.lk-gets b { font-weight: 500; font-size: 16px; color: var(--ink); }
.lk-gets span { font-size: 14px; line-height: 1.45; color: var(--stone); }
.lk-done-risk { display: inline-block; margin-top: 12px; font-weight: 500; color: var(--money); }
@media (max-width: 900px) {
  .lk-risk-grid { grid-template-columns: minmax(0, 1fr); }
  .lk-rcard { position: relative; top: auto; }
}
@media (max-width: 640px) {
  .lk-seg.lk-seg-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- one guided flow (Oct 21, 2026)
   Left: one question at a time with a progress bar, Back and Next. Right: the
   live breakdown, money open and risk locked. The email is the last step. */
.lk-flow { align-items: stretch; }
.lk-steps { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 470px; }
.lk-prog { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 13px; color: #8E9591; font-variant-numeric: tabular-nums; }
.lk-prog span { flex: none; }
.lk-prog i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(233, 243, 238, .1); overflow: hidden; }
.lk-prog b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #3F936E, #A8EDC4); box-shadow: 0 0 12px rgba(168, 237, 196, .6); transition: width .6s var(--ease); }
.lk-step { min-width: 0; }
.lk-step.in { animation: lkIn .5s var(--ease) both; }
@keyframes lkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lk-step .lk-q { margin: 0; }
.lk-label.lk-big { display: block; max-width: 22ch; font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; outline: none; }
.lk-opts { display: grid; gap: 10px; }
.lk-opt { position: relative; display: block; cursor: pointer; }
.lk-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lk-opt span { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px; border-radius: 16px; font-size: 16px; color: rgba(233, 243, 238, .86); background: rgba(233, 243, 238, .04); box-shadow: inset 0 0 0 1px rgba(233, 243, 238, .09); transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.lk-opt span i { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(233, 243, 238, .35); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.lk-opt:hover input:not(:checked) + span { background: rgba(233, 243, 238, .08); color: #fff; transform: translateX(2px); }
.lk-opt input:checked + span { color: #0C0E0D; background: linear-gradient(180deg, #FFFFFF, #E4ECE8); box-shadow: inset 0 1px 0 #fff, 0 10px 26px -12px rgba(168, 237, 196, .6); }
.lk-opt input:checked + span i { background: #107550; box-shadow: inset 0 0 0 4px #E4ECE8, 0 0 0 1.5px #107550; }
.lk-opt input:focus-visible + span { outline: 2px solid #87CCAA; outline-offset: 2px; }
.lk-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; }
.lk-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none; font: 500 15px var(--sans); color: #A7B0AB; cursor: pointer; }
.lk-back:hover { color: #fff; }
.lk-back svg, .lk-next svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lk-next { margin-left: auto; border-radius: 14px; min-width: 150px; }
.lk-next:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
/* the side: the live breakdown */
.lk-side { min-width: 0; padding-left: clamp(24px, 3.2vw, 48px); box-shadow: -1px 0 0 rgba(233, 243, 238, .08); }
.lk-side-k { margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #87CCAA; }
.lk-side .lk-results { padding: 0; box-shadow: none; }
.lk-side .lk-rcard { position: relative; top: auto; min-height: 0; margin-top: 22px; padding: 20px 22px 44px; border-radius: 18px; }
.lk-side .lk-rlevel { font-size: clamp(40px, 3.6vw, 52px); margin-top: 6px; }
.lk-side .lk-rdrivers { margin-top: 12px; gap: 6px; }
.lk-side .lk-rdrivers li { font-size: 14px; }
.lk-side .lk-rlock { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 20px 22px 44px; text-align: left; flex-wrap: wrap; }
.lk-side .lk-rlock-ic { width: 40px; height: 40px; border-radius: 12px; }
.lk-side .lk-rlock-t { flex: 1; min-width: 150px; max-width: none; font-size: 15px; }
.lk-side .lk-rlock-btn { min-height: 44px; border-radius: 12px; font-size: 14.5px; }
.lk-side .lk-rnote { left: 22px; bottom: 14px; }
.lk-side .lk-rcard-in { min-height: 120px; }
.lk-below { max-width: 1140px; margin: 22px auto 0; padding: 0 clamp(22px, 3.2vw, 44px); }
.lk-below .lk-notes { display: grid; gap: 10px; font-size: 13px; color: #8E9591; }
/* the last step: what's inside, then the form */
.lk-final .lk-final-sub { margin-top: -10px; font-size: 15.5px; line-height: 1.5; color: #A7B0AB; max-width: 40ch; }
.lk-gets.lk-gets-dark { margin-top: 18px; gap: 8px; }
.lk-gets.lk-gets-dark li { padding: 10px 0; background: none; box-shadow: none; border-bottom: 1px solid rgba(233, 243, 238, .08); border-radius: 0; grid-template-columns: 26px minmax(0, 1fr); }
.lk-gets.lk-gets-dark li::before { width: 22px; height: 22px; border-radius: 7px; background-size: 13px; }
.lk-gets.lk-gets-dark b { color: #fff; font-size: 15px; }
.lk-gets.lk-gets-dark span { color: #A7B0AB; font-size: 13.5px; }
.lk-final .lk-card { margin-top: 18px; }
.lk-change { padding: 7px 12px; border: 0; border-radius: 10px; font: 500 13px var(--sans); color: var(--money); background: #fff; box-shadow: inset 0 0 0 1px rgba(12, 14, 13, .1); cursor: pointer; }
@media (max-width: 1040px) {
  .lk-flow { grid-template-columns: minmax(0, 1fr); }
  .lk-steps { min-height: 0; }
  .lk-side { padding-left: 0; padding-top: 26px; box-shadow: 0 -1px 0 rgba(233, 243, 238, .08); }
}
@media (prefers-reduced-motion: reduce) { .lk-step.in { animation: none; } .lk-prog b { transition: none; } }
/* hidden means hidden, whatever the button style says */
.lk-flow [hidden] { display: none !important; }
/* the email card on the dark flow: a solid white sheet with its own light colors */
.lk-final .lk-card { --ink: #0C0E0D; --stone: #656A67; --grey: #8E9591; --ink-a: rgba(12, 14, 13, .08); --ink-b: rgba(12, 14, 13, .14); color: #0C0E0D; background: #FFFFFF; border-radius: 22px; box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .5); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lk-final .lk-card h3, .lk-final .lk-card .lr-field > span, .lk-final .lk-card .lr-check span { color: #0C0E0D; }
.lk-final .lk-card p, .lk-final .lk-card .lk-fine { color: #656A67; }
.lk-final .lk-card .lk-sum b { color: #0C0E0D; }
.lk-final .lk-card .lr-input { color: #0C0E0D; background: #fff; }
.lk-final .lk-card a { color: #107550; }
.lk-final .lk-card .lr-btn-quiet { color: #0C0E0D; background: #fff; box-shadow: inset 0 0 0 1px rgba(12, 14, 13, .14); }
.lk-final .lk-done-risk { color: #107550; }
.lk-final .lk-card .lr-input { color: #0C0E0D !important; background: #FFFFFF !important; border: 0; box-shadow: inset 0 0 0 1px rgba(12, 14, 13, .16) !important; border-radius: 12px; }
.lk-final .lk-card .lr-input:focus { box-shadow: inset 0 0 0 1.5px #107550, 0 0 0 4px rgba(16, 117, 80, .1) !important; }
.lk-final .lk-card a, .lk-final .lk-card .lr-check a { color: #107550 !important; text-decoration: underline; text-underline-offset: 2px; }
.lk-final .lk-card .lr-check input { accent-color: #107550; }
.lk-final .lk-card .lr-btn { border-radius: 14px; }
.lk-mini { display: none; }
@media (max-width: 1040px) { .lk-mini { display: block; margin: -12px 0 22px; font-size: 14px; color: #A8EDC4; font-variant-numeric: tabular-nums; } .lk-final ~ .lk-mini, [data-at="9"] .lk-mini { display: none; } }
.lk-final .lk-done-risk { display: block; margin-top: 10px; }
