/* CREWNEX landing pages (/subcontractors, /main-contractors, /thank-you). Dark/purple scheme. */
.lp-page{background:#0B0B10;color:#D6D6DE}
.lp-page main{overflow-x:clip}
.lp-header{position:sticky;top:0;z-index:40;background:rgba(11,11,16,.96);border-bottom:1px solid #1E2536;backdrop-filter:saturate(1.2) blur(6px)}
.lp-header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px}
.lp-logo{display:inline-flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important}
.lp-logo .wordmark{font-size:20px}
.lp-head-cta{white-space:nowrap}
.lp-eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C9A6FF;margin:0 0 10px}
.lp-eyebrow.is-fire{color:#FF8A8A}
.lp-page h1,.lp-page h2,.lp-page h3{font-family:var(--display);color:#fff;letter-spacing:-.01em}
.lp-page h1{font-size:clamp(32px,7.4vw,54px);line-height:1.08;margin:0 0 16px}
.lp-page h2{font-size:clamp(26px,5.4vw,38px);line-height:1.15;margin:0 0 14px}
.lp-page h3{font-size:19px;margin:0 0 8px}
.lp-page p{margin:0 0 12px}
.lp-btn{min-height:52px;padding:0 26px;font-size:16px;font-weight:700;border-radius:999px}
.lp-link{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:baseline;font-weight:700;color:#C9A6FF}
.lp-link::after{content:"→"}
.lp-link-note{font-weight:500;color:#A3A3B2;font-size:14px}

/* hero */
.lp-hero{position:relative;padding:44px 0 40px;background:
  radial-gradient(900px 520px at 85% -10%,rgba(142,30,244,.42),transparent 60%),
  radial-gradient(700px 420px at -10% 110%,rgba(142,30,244,.18),transparent 55%),#0B0B10}
.lp-hero-grid{display:grid;gap:30px;align-items:center}
.lp-sub{font-size:18px;color:#D6D6DE;max-width:36em}
.lp-hero-cta{margin-top:22px}
@media (min-width:900px){.lp-hero{padding:72px 0 64px}.lp-hero-grid{grid-template-columns:1.15fr .85fr;gap:48px}}

/* sections */
.lp-sec{padding:52px 0}
.lp-sec:nth-of-type(even){background:#101828}
.lp-feature-grid{display:grid;gap:28px;align-items:center}
@media (min-width:900px){.lp-sec{padding:80px 0}.lp-feature-grid{grid-template-columns:1fr 1fr;gap:56px}.lp-flip .lp-copy{order:2}}
.lp-copy p{font-size:17px}

/* trade picker */
.lp-picker{padding:28px 0;background:#101828;border-top:1px solid #1E2536;border-bottom:1px solid #1E2536}
.lp-chips{display:flex;flex-wrap:wrap;gap:8px}
.lp-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1.5px solid #2A3348;border-radius:999px;color:#fff!important;font-size:14px;font-weight:600;background:#161F33}
.lp-chip:hover,.lp-chip.is-on{border-color:#8E1EF4;background:rgba(142,30,244,.22);text-decoration:none}
.lp-chip[data-trade-chip="firestopping"]{border-color:#7A2428}

/* placeholders: phone / desktop frames */
.lp-shot{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.lp-phone{width:min(240px,70vw);aspect-ratio:9/19;border-radius:34px;padding:10px;background:#05060A;border:2px solid #2A3348;box-shadow:0 24px 60px rgba(0,0,0,.45),0 0 0 6px rgba(142,30,244,.10)}
.lp-desk{width:100%;max-width:520px;aspect-ratio:16/10;border-radius:14px;padding:8px;background:#05060A;border:2px solid #2A3348;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.lp-screen{width:100%;height:100%;border-radius:26px;overflow:hidden;background:linear-gradient(160deg,#1A2236,#121a2b)}
.lp-desk .lp-screen{border-radius:8px}
.lp-screen img{width:100%;height:100%;object-fit:cover;object-position:top}
.lp-ph{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:18px;border:2px dashed rgba(201,166,255,.45);border-radius:inherit;color:#fff}
.lp-ph strong{font-size:15px;line-height:1.25}
.lp-ph small{font-size:12.5px;color:#A3A3B2;line-height:1.35}
.lp-ph-ic{width:38px;height:38px;border-radius:10px;background:rgba(142,30,244,.25);border:1.5px solid rgba(201,166,255,.5);position:relative}
.lp-ph-ic::after{content:"";position:absolute;inset:9px 8px;border:2px solid #C9A6FF;border-radius:3px}
.lp-demo-label{font-size:12.5px;font-weight:600;color:#C9A6FF;background:rgba(142,30,244,.14);border:1px solid rgba(142,30,244,.4);border-radius:999px;padding:4px 12px}
.lp-demo-tag{display:inline-block;font-size:13px;font-weight:700;color:#C9A6FF;background:rgba(142,30,244,.14);border:1px solid rgba(142,30,244,.4);border-radius:999px;padding:4px 12px;margin:0 0 16px}

/* CTA band */
.lp-cta-band{background:linear-gradient(100deg,#3A0E73,#6B21C8);padding:30px 0}
.lp-cta-band .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.lp-cta-band p{margin:0;color:#fff;font-weight:600;font-size:17px;max-width:34em}
.lp-cta-band .lp-btn{background:#fff;color:#101828!important}
.lp-cta-band .lp-btn:hover{background:#F3EAFE}

/* demo job */
.lp-steps{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:10px}
.lp-steps li{display:flex;align-items:center;gap:12px;font-weight:600;color:#fff;background:#161F33;border:1px solid #2A3348;border-radius:12px;padding:10px 14px}
.lp-step-n{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#8E1EF4;color:#fff;font-size:14px}
.lp-steps-compact{margin-top:6px}
.lp-shots-row{display:grid;gap:30px}
@media (min-width:720px){.lp-steps{grid-template-columns:repeat(5,1fr)}.lp-steps li{flex-direction:column;text-align:center}.lp-steps-compact{grid-template-columns:1fr}.lp-steps-compact li{flex-direction:row;text-align:left}.lp-shots-row{grid-template-columns:repeat(3,1fr)}}

/* firestopping */
.lp-fire{background:linear-gradient(160deg,#2A0C10,#4A161B)!important}
.lp-fire .lp-demo-label{color:#FFD1D1;background:rgba(217,45,45,.18);border-color:rgba(217,45,45,.5)}
.lp-fire .lp-ph{border-color:rgba(255,160,160,.45)}
.lp-fire .lp-ph-ic{background:rgba(217,45,45,.25);border-color:rgba(255,160,160,.5)}
.lp-fire .lp-ph-ic::after{border-color:#FFB4B4}
.lp-disclaimer{font-size:14px!important;color:#F0C4C4;border-left:3px solid #D92D2D;padding-left:12px}

/* trades */
.lp-trade-grid{display:grid;gap:14px;margin-top:22px}
@media (min-width:720px){.lp-trade-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.lp-trade-grid{grid-template-columns:repeat(3,1fr)}}
.lp-trade{background:#161F33;border:1px solid #2A3348;border-radius:14px;padding:18px}
.lp-trade p{margin:0;font-size:15.5px}
.lp-trade.is-fire{background:#2A0C10;border-color:#7A2428}
.lp-trade-slot{padding:22px 0;background:#101828}
.lp-trade-slot .lp-trade{border-color:#8E1EF4;box-shadow:0 0 0 3px rgba(142,30,244,.18)}
.lp-trade-slot .lp-trade.is-fire{border-color:#D92D2D;box-shadow:0 0 0 3px rgba(217,45,45,.2)}

/* why, pricing, faq */
.lp-why-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.lp-why-list li{background:#161F33;border:1px solid #2A3348;border-left:4px solid #8E1EF4;border-radius:12px;padding:14px 16px;color:#fff;font-size:17px}
@media (min-width:900px){.lp-why-list{grid-template-columns:repeat(3,1fr)}}
.lp-pricing-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.lp-pricing-inner h2{margin-bottom:6px}
.lp-faq-list{display:grid;gap:10px;margin-top:10px;max-width:820px}
.lp-faq-item{background:#161F33;border:1px solid #2A3348;border-radius:12px;padding:0 16px}
.lp-faq-item summary{cursor:pointer;min-height:54px;display:flex;align-items:center;font-weight:700;color:#fff;list-style:none}
.lp-faq-item summary::-webkit-details-marker{display:none}
.lp-faq-item summary::after{content:"+";margin-left:auto;padding-left:12px;color:#C9A6FF;font-size:22px}
.lp-faq-item[open] summary::after{content:"–"}
.lp-faq-item .t-faq-a p{color:#D6D6DE;margin:0 0 14px}

/* form */
.lp-register{padding:56px 0 64px}
.lp-register .t-form-card{max-width:640px}
.lp-form textarea{width:100%;padding:12px 14px;border:1.5px solid #C5CBD8;border-radius:10px;background:#fff;color:var(--t-ink);font:inherit;font-size:16px;resize:vertical}
.lp-form textarea:focus{outline:none;border-color:var(--t-purple);box-shadow:0 0 0 3px var(--t-purple-l)}
.lp-form [aria-invalid="true"]{border-color:#D92D2D!important}
.lp-err{color:#B42323!important;font-size:13.5px;margin:6px 0 0!important}
.lp-err[hidden]{display:none}
.lp-fieldset{border:0;margin:0;padding:0;min-width:0}
.lp-fieldset legend{font-weight:600;font-size:14px;color:var(--t-ink);margin-bottom:8px;padding:0}
.lp-chips-in{display:flex;flex-wrap:wrap;gap:8px}
.lp-chipbox{position:relative;cursor:pointer}
.lp-chipbox input{position:absolute;opacity:0;pointer-events:none}
.lp-chipbox span{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1.5px solid #C5CBD8;border-radius:999px;font-size:14px;font-weight:600;color:var(--t-body)!important;background:#fff}
.lp-chipbox input:checked+span{background:#101828;border-color:#101828;color:#fff!important}
.lp-chipbox input:focus-visible+span{outline:3px solid var(--t-purple-l)}
.lp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (max-width:420px){.lp-register .t-two{grid-template-columns:1fr}}
.lp-preview-note{border-top:1px dashed #DCC4FB;padding-top:12px}

/* thank you */
.lp-thanks-sec{min-height:60vh;display:flex;align-items:center;padding:56px 0;background:radial-gradient(900px 520px at 85% -10%,rgba(142,30,244,.42),transparent 60%),#0B0B10}
.lp-thanks-card{max-width:620px;background:#161F33;border:1px solid #2A3348;border-radius:18px;padding:28px 22px}
.lp-thanks-card h1{font-size:clamp(28px,6vw,40px)}
.lp-ref{background:rgba(142,30,244,.16);border:1px solid rgba(142,30,244,.45);border-radius:10px;padding:10px 14px;color:#fff}
.lp-ref[hidden]{display:none}
.lp-thanks .lp-preview-note{color:#A3A3B2;border-top-color:#2A3348}

/* footer */
.lp-footer .lp-foot-cols{grid-template-columns:1fr 1fr}
@media (min-width:900px){.lp-footer .lp-foot-cols{grid-template-columns:repeat(3,1fr)}}

/* colour fixes: base styles.css sets p/h colours for the light scheme */
.lp-page main p,.lp-page main li{color:#D6D6DE}
.lp-page main h1,.lp-page main h2,.lp-page main h3{color:#fff}
.lp-page main .lp-eyebrow{color:#C9A6FF}
.lp-page main .lp-eyebrow.is-fire{color:#FF8A8A}
.lp-page main .lp-disclaimer{color:#F0C4C4}
.lp-page main .lp-cta-band p{color:#fff}
.lp-page main .lp-ph small{color:#A3A3B2}
.lp-page main .lp-steps li,.lp-page main .lp-why-list li{color:#fff}
.lp-page main .t-form-card h3{color:var(--t-ink)}
/* smaller phone frames on narrow screens to keep the page short */
@media (max-width:719px){.lp-phone{width:min(190px,52vw)}.lp-shots-row{grid-template-columns:repeat(3,1fr);gap:10px}.lp-shots-row .lp-phone{width:100%;border-radius:20px;padding:5px}.lp-shots-row .lp-screen{border-radius:15px}.lp-shots-row .lp-ph{padding:6px;gap:4px}.lp-shots-row .lp-ph strong{font-size:11px}.lp-shots-row .lp-ph small{font-size:9.5px}.lp-shots-row .lp-ph-ic{width:24px;height:24px}.lp-shots-row .lp-ph-ic::after{inset:5px}.lp-shots-row .lp-demo-label{font-size:9.5px;padding:3px 6px;text-align:center}}
.lp-page section#firestopping h2{color:#fff}
.lp-page section#firestopping p{color:#F3DCDC}
.lp-page section#firestopping p.lp-disclaimer{color:#F0C4C4}
.lp-page section#firestopping .lp-eyebrow{color:#FF8A8A}
.lp-page #firestopping:target{outline:none}

/* Round 43: Drylining variant leads with plan pins, photos and supervisor sign-off */
.lp-hero-drylining{display:none}
html.lp-drylining .lp-hero-default{display:none}
html.lp-drylining .lp-hero-drylining{display:flex}
html.lp-drylining main{display:flex;flex-direction:column}
html.lp-drylining main > *{order:50}
html.lp-drylining #top{order:1}
html.lp-drylining #lpTradeSlot{order:2}
html.lp-drylining #trade-picker{order:3}
html.lp-drylining #tasks{order:4}
html.lp-drylining #lp-cta-after-tasks{order:5}
html.lp-drylining #demo-job{order:6}
html.lp-drylining #rams{order:7}
html.lp-drylining #inductions{order:8}
html.lp-drylining #cards{order:9}
html.lp-drylining #clock-in{order:10}
html.lp-drylining #lp-cta-after-clock{order:11}
html.lp-drylining #dayworks{order:12}
html.lp-drylining #firestopping{order:13}
html.lp-drylining #lp-cta-after-fire{order:14}
html.lp-drylining #trades{order:15}
html.lp-drylining #why{order:16}
html.lp-drylining #pricing{order:17}
html.lp-drylining #faq{order:18}
html.lp-drylining #register{order:19}

/* Round 45: slightly sharper placeholder device frames */
.lp-phone{border-radius:36px;padding:11px 10px 13px;background:linear-gradient(180deg,#16161E,#05060A);border:1.5px solid #3A4258;box-shadow:0 0 0 1px #0B0B10, inset 0 1px 0 rgba(255,255,255,.14), 0 28px 60px rgba(0,0,0,.5), 0 0 0 6px rgba(142,30,244,.10)}
.lp-screen{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}

/* Round 46: consistent device frames and clearer placeholders (text unchanged) */
.lp-phone{
  position:relative;
  border-radius:38px;
  padding:18px 10px 18px;
  background:linear-gradient(180deg,#1C1C24,#07070C);
  border:1.5px solid #3A4258;
  box-shadow:0 0 0 1px #0B0B10, inset 0 1px 0 rgba(255,255,255,.16), 0 28px 60px rgba(0,0,0,.5), 0 0 0 6px rgba(142,30,244,.10);
}
.lp-phone::before{
  content:"";
  position:absolute;top:6px;left:50%;transform:translateX(-50%);
  width:36%;height:10px;border-radius:99px;
  background:#05050A;border:1px solid #2A2438;
  z-index:2;pointer-events:none;
  box-shadow:inset 0 0 0 2px #0B0B10;
}
.lp-phone::after{
  content:"";
  position:absolute;bottom:6px;left:50%;transform:translateX(-50%);
  width:28%;height:4px;border-radius:99px;
  background:rgba(255,255,255,.22);
  z-index:2;pointer-events:none;
}
.lp-screen{
  border-radius:26px;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
}
.lp-desk{
  position:relative;
  background:linear-gradient(180deg,#1C1C24,#0B0B10);
  border:1.5px solid #3A4258;
  border-radius:16px;
  padding:14px 10px 10px;
  box-shadow:0 0 0 1px #0B0B10, inset 0 1px 0 rgba(255,255,255,.12), 0 28px 60px rgba(0,0,0,.45);
}
.lp-desk::before{
  content:"";
  position:absolute;top:5px;left:50%;transform:translateX(-50%);
  width:6px;height:6px;border-radius:50%;
  background:radial-gradient(circle at 40% 35%,#4A4A58,#15151A 62%);
  box-shadow:0 0 0 2px #0B0B10;
  z-index:2;pointer-events:none;
}
.lp-desk .lp-screen{border-radius:8px}
.lp-ph{
  border:1.5px dashed rgba(201,166,255,.4);
  background:linear-gradient(180deg,#1A2030,#121826);
  gap:10px;
}
.lp-ph-ic{
  width:44px;height:44px;border-radius:12px;
  background:rgba(142,30,244,.28);
  border:1.5px solid rgba(201,166,255,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.lp-ph-ic::after{
  content:"";
  position:absolute;inset:10px 9px;
  border:2px solid #C9A6FF;
  border-radius:4px;
  box-shadow:0 0 0 1px rgba(142,30,244,.2);
}
@media (max-width:719px){
  .lp-shots-row .lp-phone{border-radius:22px;padding:10px 6px 12px}
  .lp-shots-row .lp-phone::before{height:6px;top:3px;width:32%}
  .lp-shots-row .lp-phone::after{height:3px;bottom:3px;width:24%}
  .lp-shots-row .lp-screen{border-radius:16px}
}

/* Round 54: larger landing phones, still capped so they do not dominate at 1280 */
.lp-phone{width:min(320px,86vw)}
@media (max-width:719px){
  .lp-phone{width:min(310px,86vw)}
  .lp-shots-row .lp-phone{width:100%}
}
@media (min-width:900px){
  .lp-hero .lp-phone{width:min(380px,100%)}
  .lp-feature-grid .lp-phone{width:min(340px,100%)}
}
