/* Home page first screen: a lit commercial wall whose finish follows the slider (owner approved sample 8, 11 Oct 2026).
   Prefixed fl- so nothing collides with app.css. The text sits on a dark scrim, so it reads the same in light and dark theme. */
.fl{position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:end;min-height:calc(100svh - 61px);padding-block:56px max(36px,calc(env(safe-area-inset-bottom,0px) + 28px));color:#fff;background:#d8d5ce;--acc-t:var(--gold)}
.fl-wall{position:absolute;inset:0;z-index:-2}
.fl-wall svg{width:100%;height:100%;display:block}
.fl-wall g,.fl-wall rect{transition:opacity .7s cubic-bezier(.2,.8,.2,1)}
.fl::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(10,10,11,.3) 0%,rgba(10,10,11,.08) 22%,rgba(10,10,11,.55) 50%,rgba(10,10,11,.9) 100%)}
.fl-in{width:100%}
.fl-in>*{max-width:640px}
.fl #flH{margin:0;-webkit-text-fill-color:#fff;background:none;font-size:clamp(30px,min(9vw,9.5svh),72px);font-weight:700;letter-spacing:-.035em;line-height:1.04;color:#fff;max-width:11.09em;text-wrap:balance}
.fl-lvl{margin-top:20px;padding:16px;border-radius:12px;background:rgba(10,10,11,.62);border:1px solid rgba(201,162,75,.3);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fl-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.fl-top label{font-size:14px;color:rgba(255,255,255,.78)}
.fl-top output{font:700 22px var(--mono);color:var(--acc);text-align:right}
.fl-top .fl-gloss{font:500 13px var(--mono);color:rgba(255,255,255,.7);white-space:nowrap}
.fl-lvl input[type=range]{width:100%;height:44px;margin:6px 0 0;accent-color:var(--acc);cursor:pointer;touch-action:pan-y}
.fl-lvl input[type=range]:focus-visible{outline:2px solid var(--acc);outline-offset:4px;border-radius:6px}
.fl-ticks{display:grid;grid-template-columns:repeat(4,1fr);font:500 12px var(--mono);color:rgba(255,255,255,.72)}
.fl-ticks span:nth-child(2){text-align:center;transform:translateX(-18%)}
.fl-ticks span:nth-child(3){text-align:center;transform:translateX(18%)}
.fl-ticks span:last-child{text-align:right}
.fl-what{margin:10px 0 0;font-size:15px;line-height:1.45;color:rgba(255,255,255,.92);min-height:4.35em;text-wrap:pretty}
.fl-price{margin:16px 0 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;font-size:17px;color:rgba(255,255,255,.92)}
.fl-price input{width:2.8ch;font:inherit;font-weight:600;color:#fff;background:transparent;border:0;border-bottom:2px solid var(--acc);border-radius:0;padding:0;text-align:center}
.fl-price input:focus-visible{outline:none;background:rgba(201,162,75,.25)}
.fl-price b{font:700 clamp(24px,6vw,32px) var(--mono);color:#fff;font-variant-numeric:tabular-nums;transition:opacity .2s}
.fl-price b.busy{opacity:.5}
.fl-seg{margin:10px 0 0;max-width:340px;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28)}
.fl-seg button{height:44px;color:rgba(255,255,255,.85)}
.fl-seg button[aria-pressed=true]{background:rgba(255,255,255,.22);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.45)}
.fl-seg button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.fl-seg button:hover{background:rgba(255,255,255,.14)}
.fl-seg button[aria-pressed=true]:hover{background:rgba(255,255,255,.26)}
.fl-seg button:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.fl-sub{margin:12px 0 0;text-shadow:0 1px 14px rgba(0,0,0,.55);font-size:clamp(16px,2.2vw,19px);line-height:1.45;color:rgba(255,255,255,.88);text-wrap:pretty}
.fl-sub a{color:#fff;font-weight:600;text-underline-offset:3px;white-space:nowrap}
.fl-note{margin:6px 0 0;font-size:14px;color:rgba(255,255,255,.78)}
.fl-cta{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}
.fl-cta .btn{min-height:52px}
.fl .fl-ghost{color:#fff;background:rgba(10,10,11,.4);border-color:rgba(243,239,230,.38)}
.fl .fl-ghost:hover{background:rgba(10,10,11,.6)}
/* phones: a tighter first screen; the main button spans the row and the two ghost buttons pair up under it */
@media(max-width:560px){
  .fl{padding-top:28px}
  .fl-lvl{margin-top:16px;padding:14px}
  .fl-what{font-size:14px;min-height:0}
  .fl-cta{display:grid;grid-template-columns:1fr 1fr}
  .fl-cta .btn{white-space:normal;text-align:center;line-height:1.2;padding:0 12px}
  .fl-cta .btn.pri{grid-column:1/-1}
}
/* phones: keep the buttons clear of the floating Ask button */
@media(max-width:899px){.fl{padding-bottom:max(84px,calc(env(safe-area-inset-bottom,0px) + 80px))}}
@media(min-width:900px){.fl{align-content:center;padding-block:72px}.fl-what{min-height:2.9em}
  /* the scrim sits behind the words only, so the real seams, screws and mud read on the right */
  .fl::before{background:linear-gradient(90deg,rgba(10,10,11,.93) 0%,rgba(10,10,11,.88) 42%,rgba(10,10,11,.45) 62%,rgba(10,10,11,var(--fl-end,.06)) 86%)}}
/* small laptops (1280x800): the whole first screen, buttons included, fits above the fold */
@media(min-width:900px) and (max-height:920px){.fl{padding-block:40px 48px}.fl #flH{font-size:clamp(30px,min(9vw,8.4svh),72px)}}
/* dark theme: the lit wall a little dimmer, so it does not glare */
:root[data-theme="dark"] .fl{--fl-end:.3}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="soft"]) .fl{--fl-end:.3}}
@media(prefers-reduced-motion:reduce){.fl-wall g,.fl-wall rect,.fl-price b{transition:none}}
