/* ============================================================================
   Lift Your Site — SHARED + INSTANT-PREVIEW RESULT SCREEN.

   What is left in this file is only what the instant preview renders at
   runtime: the #result grid that assets/app.js injects, the .frame/.bar/.screen
   shell it puts the two screenshots in, the #get lead form, and the .cx-*
   concept mock that assets/concept.js builds. A parallel session owns that
   screen (board 6dedfd77) — treat this file as theirs.

   Everything that styled the MARKETING pages moved to assets/lys.css in the
   from-scratch rebuild (board 7373472b). The marketing pages no longer use any
   selector below. They load this file first, then lys.css.
   ========================================================================= */

:root{color-scheme:light;--ink:#1a1814;--paper:#f8f7f2;--gold:#b89b5e;--gold-d:#705b31;--muted:#59564f;--line:#dedbd1;--card:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
img{max-width:100%;display:block}
a{color:inherit}
/* browser + phone frames */
.frame{background:#fff;border:1px solid #d6d2c6;border-radius:12px;overflow:hidden}
.bar{height:28px;display:flex;align-items:center;gap:6px;padding:0 11px;background:#efede6;border-bottom:1px solid #dedbd1}
.bar i{width:9px;height:9px;border-radius:50%;background:#d3cfc3}
.bar span{margin-left:10px;flex:1;height:16px;border-radius:6px;background:#fff;font-size:10px;color:#8a867b;line-height:16px;padding:0 8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.screen{position:relative;overflow:hidden;aspect-ratio:16/10;background:#f3f1ea}
.screen img.scroll{width:100%;transition:transform 6s ease-in-out}
.device:hover .screen img.scroll,.device:focus-within .screen img.scroll{transform:translateY(calc(-100% + 300px))}
.phone{position:absolute;right:-12px;top:22%;width:24%;min-width:96px;border:7px solid #1a1814;border-radius:24px;background:#1a1814;overflow:hidden;box-shadow:0 20px 40px -12px rgba(0,0,0,.45)}
.phone .pscreen{aspect-ratio:9/19.2;overflow:hidden;border-radius:16px;background:#fff}
.phone .pscreen img{width:100%}
/* instant result */
#result{margin:34px 0 0;scroll-margin-top:84px}
#get,.cta-band{scroll-margin-top:84px}
#result[hidden]{display:none}
.res{display:flex;flex-direction:column;gap:40px}
.res-panel{min-width:0}
/* Stacked full width, the two panels are the same size, the same shape and the same colour, so
   a prospect scrolling past sees two dental sites and has to read a 13px grey caption to learn
   which one we drew. The contrast IS the product, so the step number carries it: the before is
   numbered and quiet, the concept is numbered, gold-ruled and sits on a heavier shadow. */
.res-cap{display:flex;align-items:baseline;gap:12px;margin:0 0 14px;flex-wrap:wrap}
.res-cap h3{margin:0;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.res-after .res-cap h3{color:var(--gold-d)}
.res-cap span{font-size:13px;color:#8a867b}
.res-n{flex:none;align-self:center;font-size:11px;font-weight:700;letter-spacing:.1em;color:#8a867b;border:1px solid var(--line);border-radius:999px;padding:3px 9px}
.res-after .res-n{color:var(--gold-d);border-color:var(--gold)}
/* Both panels are shown at the full width of the page, at the screenshot's own aspect ratio.
   Nothing is cropped and nothing is scaled down into a thumbnail. */
.res-shot,.res-concept{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(26,24,20,.06),0 24px 60px -28px rgba(26,24,20,.45)}
.res-concept{box-shadow:0 1px 2px rgba(26,24,20,.06),0 2px 0 0 var(--gold) inset,0 40px 90px -36px rgba(26,24,20,.55)}
.res-shot img{width:100%;height:auto;display:block}
/* Their homepage is taller than the capture viewport, so the shot ends wherever the fold fell —
   usually straight through a line of type. A hard slice reads as a broken image; a short fade
   reads as a page that carries on, which is the truth. */
.res-shot{position:relative}
.res-shot::after{content:"";position:absolute;left:0;right:0;bottom:0;height:72px;pointer-events:none;background:linear-gradient(0deg,#fff 10%,rgba(255,255,255,0))}
.res-shot:has(.shot-fail)::after{display:none}
.shot-fail{display:grid;place-items:center;min-height:300px;color:var(--muted);padding:24px;text-align:center}
.concept-label{margin:14px 0 0;font-size:12px;line-height:1.5;color:#8a867b;max-width:760px}
/* Once a real before/after of the prospect's own site is on screen, the generic illustration
   in the hero is competing noise. */
body.has-result .ba,body.has-result .illus{display:none}
.loading{padding:26px;border:1px solid var(--line);border-radius:16px;background:#fff}
.loading ol{margin:10px 0 0;padding-left:20px;color:var(--muted)}
.loading li.on{color:var(--ink);font-weight:650}
.loading li.done{color:#3d7a4a}
.shimmer{height:260px;border-radius:12px;background:linear-gradient(90deg,#efede6 0%,#f8f7f2 50%,#efede6 100%);background-size:200% 100%;animation:sh 1.2s infinite linear;margin-top:16px}
@keyframes sh{to{background-position:-200% 0}}
.cta-band{margin-top:28px;padding:26px;border-radius:18px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cta-band p{margin:4px 0 0;color:#cfc9b8;font-size:15px}
.cta-band strong{font-size:24px;letter-spacing:-.03em}
.err{margin:14px 0 0;padding:12px 14px;border:1px solid #b4453a;border-radius:10px;color:#8c2f26;font-size:14px;background:#fff}
/* get it */
#get{margin-top:22px;padding:28px;background:#fff;border:1px solid var(--line);border-radius:18px}
#get[hidden]{display:none}
.pickplans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}
.pickplans label{display:block;border:1.5px solid var(--line);border-radius:12px;padding:14px;cursor:pointer}
.pickplans input{accent-color:#1a1814}
.pickplans label:has(input:checked){border-color:var(--gold);box-shadow:0 0 0 1px var(--gold);background:#fffdf7}
.pickplans b{display:block;font-size:15px}
.pickplans span{color:var(--muted);font-size:14px}
.getfields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.getfields label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650}
.getfields input{font:inherit;padding:12px;border:1px solid #aaa69a;border-radius:9px}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.done-box h3{margin:0;font-size:24px;letter-spacing:-.03em}
.done-box p{color:var(--muted)}
/* concept site (rendered mock) */
.cx{font:13px/1.45 Inter,system-ui,sans-serif;color:#15202b;background:#fff;text-align:left}
.cx .cx-nav{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #eef0f3}
.cx .cx-logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:13px;letter-spacing:-.01em;max-width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cx .cx-logo i{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;color:#fff;font-style:normal;font-size:12px;flex:none;background:var(--cx)}
.cx .cx-links{display:flex;gap:12px;font-size:11px;color:#5b6573}
.cx .cx-call{background:var(--cx);color:#fff;border-radius:7px;padding:6px 10px;font-weight:700;font-size:11px;white-space:nowrap}
.cx .cx-hero{position:relative;padding:28px 18px 26px;color:#fff;background:linear-gradient(135deg,var(--cx) 0%,var(--cx2) 100%);background-size:cover;background-position:center}
.cx .cx-hero.img::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,14,20,.82),rgba(10,14,20,.35))}
.cx .cx-hero>*{position:relative}
.cx .cx-kick{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.85}
.cx .cx-h{font-size:22px;line-height:1.1;font-weight:800;letter-spacing:-.03em;margin:6px 0 8px;max-width:420px}
.cx .cx-sub{font-size:12px;opacity:.9;max-width:380px;margin:0}
.cx .cx-btns{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.cx .cx-b1{background:#fff;color:#15202b;padding:7px 12px;border-radius:7px;font-weight:800;font-size:11.5px}
.cx .cx-b2{border:1px solid rgba(255,255,255,.7);padding:7px 12px;border-radius:7px;font-weight:700;font-size:11.5px}
.cx .cx-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 16px}
.cx .cx-tile{border:1px solid #eef0f3;border-radius:9px;padding:10px}
.cx .cx-tile b{display:block;font-size:11.5px}
.cx .cx-tile small{color:#5b6573;font-size:10.5px}
.cx .cx-tile i{display:block;width:20px;height:20px;border-radius:6px;background:color-mix(in srgb,var(--cx) 15%,#fff);margin-bottom:6px}
.cx .cx-strip{margin:0 16px 14px;padding:9px 12px;border-radius:9px;background:#f6f7f9;color:#5b6573;font-size:10.5px;display:flex;justify-content:space-between;gap:10px}
.cx .cx-quote{margin:0 16px 16px;padding:12px;border-radius:9px;border:1px dashed color-mix(in srgb,var(--cx) 40%,#fff);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11.5px;font-weight:700}
.cx .cx-quote span{background:var(--cx);color:#fff;padding:6px 10px;border-radius:7px;font-size:11px}
.badge-sample{display:inline-block;background:#1a1814;color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:4px 8px;border-radius:6px}
@media(max-width:780px){
 .res-grid{grid-template-columns:1fr;gap:30px}
 .pickplans,.getfields{grid-template-columns:1fr;gap:22px}
 .cx .cx-links{display:none}
 .cx .cx-tiles{grid-template-columns:1fr 1fr 1fr}
}

/* ============================================================================
   The concept (.cxp) — a premium homepage assembled only from facts published on
   the prospect's own site. Deliberately has no browser chrome, no icon tiles and
   no placeholder rows: a block with no source is a block that is not drawn.
   The older .cx rules above still drive the static hero illustration and are
   intentionally left alone.
   ========================================================================== */
.cxp{--a:#1a1814;background:#fff;color:#15181c;text-align:left;font:15px/1.5 Inter,ui-sans-serif,system-ui,sans-serif}
/* The concept is a drawing of SOMEONE ELSE'S site sitting inside ours, so none of
   our marketing tokens may reach into it. lys.css sets `h1,h2,h3{color:var(--ink)}`
   on the bare element, and a direct rule beats an inherited one at any specificity
   — which painted the hero headline near-black on a dark photograph while the
   paragraph under it stayed white. Colour inside the concept comes from the
   concept's own containers, never from the page around it. Colour only: the
   concept's own classes already restate every other heading property. */
.cxp h1,.cxp h2,.cxp h3{color:inherit}
.cxp-top{display:flex;align-items:center;gap:28px;padding:20px 34px;border-bottom:1px solid #edeae4}
.cxp-mark{flex:0 1 auto;min-width:0;font-family:var(--af);font-size:19px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cxp-mark img{height:30px;width:auto;max-width:240px;object-fit:contain}
.cxp-nav{flex:1 1 auto;display:flex;justify-content:center;gap:26px;min-width:0;overflow:hidden;font-size:12.5px;letter-spacing:.06em;color:#5d6269;white-space:nowrap}
.cxp-tel{flex:none;font-size:13.5px;font-weight:600;letter-spacing:.01em;color:var(--a)}
.cxp-hero{position:relative;isolation:isolate;min-height:470px;display:flex;align-items:flex-end;background:linear-gradient(150deg,var(--a),#11151a 85%);background-size:cover;background-position:center}
/* The photo is whatever the business happened to publish and we get no second take, so the
   scrim has to hold white type over a sunlit kitchen AND leave a dusk exterior still readable
   as a photograph. A flat wash cannot do both: at the strength a white waiting room needs,
   mardenbuilders.com's blue house at dusk went to a black rectangle.
   So the scrim is weighted to the text column — hard under the headline, gone by the far edge —
   with a shallow floor and a soft shadow on the type as the safety net. Contrast where it is
   needed, the photograph everywhere else. The filter is a print-style lift, not a recolour. */
.cxp.has-photo .cxp-hero{filter:saturate(1.05) contrast(1.04)}
.cxp.has-photo .cxp-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,rgba(8,10,13,.9) 0%,rgba(8,10,13,.78) 32%,rgba(8,10,13,.4) 64%,rgba(8,10,13,.14) 100%),linear-gradient(0deg,rgba(8,10,13,.3),rgba(8,10,13,0) 48%)}
.cxp.has-photo .cxp-hero-in{text-shadow:0 1px 20px rgba(8,10,13,.55)}
.cxp-solo{justify-content:center}
.cxp-probe{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cxp-hero-in{position:relative;padding:62px 46px 54px;max-width:680px;color:#fff}
.cxp-eyebrow{margin:0 0 16px;font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.cxp-head{font-family:var(--af);margin:0;font-size:clamp(30px,3.6vw,50px);line-height:1.04;letter-spacing:-.02em;font-weight:500;text-wrap:balance}
.cxp-sub{margin:18px 0 0;max-width:500px;font-size:15.5px;line-height:1.6;color:rgba(255,255,255,.84)}
/* Sized against a 50px headline rather than against body copy: at 13.5px these read as
   footnotes under their own hero and were the cheapest thing on the card. */
.cxp-acts{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap}
.cxp-a1{background:var(--a);color:#fff;padding:16px 32px;border-radius:4px;font-size:14.5px;font-weight:600;letter-spacing:.04em}
.cxp-a2{border:1px solid rgba(255,255,255,.6);color:#fff;padding:16px 32px;border-radius:4px;font-size:14.5px;font-weight:600;letter-spacing:.04em}
.cxp-facts{display:grid;grid-template-columns:1.5fr 1.7fr 1fr;gap:34px;padding:30px 34px;border-bottom:1px solid #edeae4}
.cxp-facts div{min-width:0}
.cxp-facts b{display:block;margin-bottom:7px;font-size:10.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#9a968d}
.cxp-facts span{font-size:14px;color:#2b2f35}
.cxp-band{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:34px}
.cxp-band div{font-family:var(--af);font-size:19px;line-height:1.3;letter-spacing:-.01em;color:#2b2f35;border-top:1px solid var(--a);padding-top:16px;text-wrap:balance}
.cxp-band div:only-child,.cxp-band:has(div:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
.cxp-rating{display:flex;align-items:baseline;gap:10px;padding:0 34px 26px;font-size:13px;color:#5d6269}
.cxp-rating b{font-size:17px;color:var(--a)}
.cxp-foot{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 34px;padding:22px 0 28px;border-top:1px solid #edeae4;font-size:12.5px;letter-spacing:.06em;color:#8d9097}
.cxp-foot span:first-child{font-family:var(--af);font-size:15px;letter-spacing:0;color:#2b2f35}
@media(max-width:780px){
 .cxp-foot{margin:0 20px;padding:18px 0 22px}
 .cxp-nav{display:none}
 .cxp-top{padding:16px 20px;gap:14px}
 .cxp-hero{min-height:330px}
 .cxp-hero-in{padding:38px 22px 32px}
 .cxp-facts{grid-template-columns:1fr;gap:18px;padding:22px 20px}
 .cxp-band{grid-template-columns:1fr;gap:18px;padding:22px 20px}
 .cxp-band div{font-size:17px}
 .res{gap:30px}
}
.cxp:not(.has-photo) .cxp-hero{min-height:320px}
