/*! TradeBuilt Electrical Training Platform. Copyright (c) 2026 TradeBuilt.
 * All rights reserved. Proprietary and confidential; not open source.
 * Licensed only for use through the Service under the Terms of Service:
 * https://tradebuiltelectrical.com/terms
 * Copying, redistributing, reverse engineering, extracting or creating derivative
 * works from this code is prohibited. Licensing: tradebuiltusa@gmail.com */

.lp-links a.sc-here { color: var(--lp-ink); cursor: default; }
.lp-links a.sc-here::after { transform: scaleX(1); transform-origin: left center; }
.lp-section h1.lp-inst-h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.sc-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
  text-align: center;
}
.sc-hero:has(+ .lp-section) { padding-bottom: 12px; }
.sc-hero + .lp-section { padding-top: 36px; }
.sc-hero:last-child, .sc-hero:has(+ .sc-pieces) { padding-bottom: 72px; }
.sc-hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background:
    radial-gradient(ellipse 50% 45% at 50% 30%, rgba(245, 158, 11, 0.16), transparent 70%),
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.4px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 35%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.sc-hero .lp-wrap { position: relative; }
.sc-side {
  position: absolute;
  top: 28px;
  width: min(480px, calc(50% - 315px));   
  display: none;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 1200px) { .sc-side { display: flex; } }
.sc-side-tl { right: calc(50% + 295px); }
.sc-side-tr { left: calc(50% + 295px); }
.sc-corner { width: 100%; aspect-ratio: 1 / 0.92; max-height: 360px; opacity: 0; cursor: grab; }   
.sc-corner canvas { display: block; }
main:has(> .sc-pieces) { position: relative; }
.sc-pieces { position: absolute; inset: 0; pointer-events: none; display: none; }
@media (min-width: 1100px) { .sc-pieces { display: block; } }
.sc-piece {
  position: absolute;
  left: calc(50% + (var(--x, 0) - var(--w, 240) / 2) * 1px);
  top: calc(var(--y, 0) * 1px);
  width: calc(var(--w, 240) * 1px);
  height: calc(var(--h, 220) * 1px);
  opacity: 0;
  pointer-events: auto;   
}
.sc-piece:not([data-placed]) { display: none; }
.sc-piece canvas { display: block; }
.sc-steps { margin-top: 2px; align-self: center; text-align: left; }
.sc-steps { max-width: 100%; }
.sc-side { container-type: inline-size; }
.sc-steps-title {
  margin: 0 0 10px;
  text-align: center;   
  font-size: clamp(11px, calc(100cqw / 30), 15px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-amber-2);
  text-decoration: underline;   
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.sc-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-steps li { display: flex; gap: 10px; align-items: flex-start; white-space: nowrap; font-size: clamp(10.5px, calc((100cqw - 26px) / 28.4), 16px); line-height: 1.45; color: var(--lp-ink); }   
.sc-step-t .ch { opacity: 0; transition: opacity 0.45s ease, color 0.4s ease; }
.sc-step-t .ch.on { opacity: 1; }
.sc-steps li.is-done .sc-step-t .ch { color: var(--lp-muted); }
.sc-box {
  flex: none;
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  opacity: 0.35;
  transition: opacity 0.4s ease, background 0.25s ease, border-color 0.25s ease;
}
.sc-steps li.is-on .sc-box { opacity: 1; }
.sc-steps li.is-done .sc-box { background: #fa1118; border-color: #fa1118; }
.sc-steps li.is-done .sc-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sc-done {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.58em;   
  margin: 16px 0 0 4px;
  padding: 0.5em 1em 0.5em 0.75em;
  color: #ff2a30;
  font-size: clamp(12px, calc(100cqw / 26), 17px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(-4deg) scale(1.9);
}
.sc-done::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid #fa1118;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px transparent, inset 0 0 0 3px rgba(250, 17, 24, 0.85);
  -webkit-mask: var(--tb-worn) 0 0 / 100% 100% no-repeat;
          mask: var(--tb-worn) 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.sc-done-ic { flex: none; width: 1.08em; height: 1.33em; background: #ff2a30;
  clip-path: polygon(58% 0, 8% 58%, 45% 58%, 34% 100%, 92% 38%, 55% 38%); }   
.sc-steps.is-complete .sc-done { animation: sc-stamp 0.42s cubic-bezier(.3, 1.5, .5, 1) 0.1s both; }
@keyframes sc-stamp {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.9); }
  55% { opacity: 1; transform: rotate(-3deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-4deg) scale(1); }
}
.sc-done-wrap { position: relative; display: inline-block; }
.sc-steps .sc-done-spark { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; pointer-events: none; opacity: 0; }
.sc-steps.is-complete .sc-done-spark { animation: sc-spark 0.75s ease-out 0.3s 1 both; }
@keyframes sc-spark {
  0% { opacity: 1; box-shadow: 0 0 0 0 #ffd36a, 0 0 0 0 #fa1118, 0 0 0 0 #ffd36a, 0 0 0 0 #fa1118, 0 0 0 0 #ffd36a, 0 0 0 0 #fa1118, 0 0 0 0 #ffd36a, 0 0 0 0 #fa1118; }
  100% { opacity: 0; box-shadow: 70px -24px 0 -1px #ffd36a, 58px 22px 0 -1px #fa1118, -68px -20px 0 -1px #ffd36a, -60px 24px 0 -1px #fa1118, 18px -34px 0 -1px #ffd36a, -22px -32px 0 -1px #fa1118, 26px 32px 0 -1px #ffd36a, -16px 34px 0 -1px #fa1118; }
}
@media (prefers-reduced-motion: reduce) { .sc-step-t .ch, .sc-box { transition: none; } .sc-steps.is-complete .sc-done { animation: none; opacity: 1; transform: rotate(-4deg); } .sc-steps.is-complete .sc-done-spark { animation: none; } }
.sc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-hero.lp-circuits::before {
  background: radial-gradient(ellipse 50% 45% at 50% 30%, rgba(245, 158, 11, 0.16), transparent 70%);
}
.sc-hero.lp-circuits::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.7px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 40%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 40%, transparent 80%);
  pointer-events: none;
}
.sc-hero h1 {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(32px, min(5.6vw, 6.6vh), 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.sc-hero h1 em:not(.tb-worn) {
  font-style: normal;
  background: linear-gradient(90deg, var(--lp-amber-2), var(--lp-amber));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.sc-hero .lp-kicker {
  margin-bottom: clamp(8px, 1.8vh, 18px);
  font-size: 14px;
  line-height: 1.4;
}
.sc-lede {
  max-width: 680px;
  margin: clamp(10px, 2.2vh, 22px) auto 0;
  color: var(--lp-muted);
  font-size: clamp(15px, min(1.6vw, 2.4vh), 19px);
  line-height: 1.5;
  text-wrap: pretty;               
}
.sc-hero .lp-cta { margin-top: clamp(14px, 3.2vh, 32px); }
.sc-hero .lp-cta .lp-btn { min-height: clamp(44px, 6.6vh, 50px); }
.sc-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}
.sc-facts.sc-facts-low { margin-top: 48px; }
.sc-facts li {
  display: flex;
  align-items: center;
  color: #c9ced6;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}
.sc-facts li + li::before {
  content: "";
  flex: none;
  width: 2px;
  height: 14px;
  margin: 0 18px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--lp-amber-2), var(--lp-amber));
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.55);
  opacity: 0.9;
}
@media (max-width: 560px) {
  .sc-facts { flex-direction: column; gap: 4px; }
  .sc-facts li + li::before { display: none; }
}
.sc-demo { padding: 24px 0 40px; }
.sc-stage {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}
.sc-stage .lp-shot { position: relative; }
.sc-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #141518;
}
.sc-frame-lab { aspect-ratio: 16 / 10; } 
.sc-frame iframe,
.sc-frame img,
.sc-launch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.sc-frame img { object-fit: cover; }
.sc-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  background: radial-gradient(ellipse at center, rgba(13, 15, 19, 0.15), rgba(13, 15, 19, 0.65));
  color: var(--lp-ink);
  font: inherit;
  cursor: pointer;
}
.sc-play {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--lp-amber-2), var(--lp-amber));
  color: #1a1206;
  box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.18), 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.24, 1), box-shadow 0.25s ease;
  animation: sc-pulse 2.4s ease-in-out infinite;
}
.sc-play svg { width: 34px; height: 34px; margin-left: 5px; }
.sc-launch:hover .sc-play,
.sc-launch:focus-visible .sc-play { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(245, 158, 11, 0.24), 0 16px 40px rgba(0, 0, 0, 0.5); }
.sc-launch-label {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(13, 15, 19, 0.82);
  border: 1px solid var(--lp-line-2);
  font-size: 15px;
  font-weight: 700;
}
.sc-launch-sub { color: var(--lp-muted); font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px #000; }
@keyframes sc-pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.18), 0 16px 40px rgba(0, 0, 0, 0.5); }
  50%      { box-shadow: 0 0 0 18px rgba(245, 158, 11, 0.06), 0 16px 40px rgba(0, 0, 0, 0.5); }
}
@media (prefers-reduced-motion: reduce) { .sc-play { animation: none; transition: none; } }
.sc-stage.is-live .sc-launch,
.sc-stage.is-live .sc-frame img { display: none; }
.sc-demo-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  max-width: 1120px;
  margin: 14px auto 0;
  color: var(--lp-faint);
  font-size: 13px;
}
.sc-demo-foot a { color: var(--lp-amber-2); font-weight: 700; text-decoration: none; }
.sc-demo-foot a:hover { text-decoration: underline; }
.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--lp-radius);
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, var(--lp-panel), var(--lp-bg-2));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.sc-card:hover { border-color: rgba(245, 158, 11, 0.35); transform: translateY(-2px); }
.sc-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--lp-amber-2);
}
.sc-ico svg { width: 22px; height: 22px; }
.sc-card h3 { margin: 16px 0 8px; font-size: 18px; line-height: 1.3; }
.sc-card p { margin: 0; color: var(--lp-muted); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .sc-card { transition: none; } .sc-card:hover { transform: none; } }
.sc-series {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc-series li {
  padding: 18px 18px 16px;
  border-radius: 12px;
  border: 1px solid var(--lp-line);
  background: var(--lp-bg-2);
}
.sc-series .sc-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--lp-amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sc-series b { display: block; font-size: 16px; }
.sc-series span:last-child { display: block; margin-top: 4px; color: var(--lp-muted); font-size: 14px; }
.sc-final { text-align: center; }
.sc-final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.sc-final p { max-width: 640px; margin: 16px auto 0; color: var(--lp-muted); font-size: 17px; }
.sc-final .lp-cta { margin-top: 28px; justify-content: center; }
@media (max-width: 960px) {
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sc-hero { padding-top: 28px; }
  .sc-grid, .sc-series { grid-template-columns: 1fr; }
  .sc-frame { aspect-ratio: 4 / 5; }
  .sc-play { width: 72px; height: 72px; }
}
.lp-feat-rule.sc-hero-rule { margin: 44px 0 0; }
.sc-hero:has(.sc-side) .lp-feat-rule.sc-hero-rule { margin-top: 76px; }
.sc-hero.sc-corners { padding-bottom: 48px; }
.sc-corners-rule { width: 100%; padding-bottom: 96px; }
.sc-corners-rule .lp-feat-rule.sc-hero-rule { margin: 0; }
.sc-hero:has(.sc-side) .sc-lede { max-width: 560px; }
.sc-fill { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.sc-fill > main { flex: 1 0 auto; display: grid; align-content: center; }
.sc-fill > main:has(> .sc-pieces) > * { grid-area: 1 / 1; }
.sc-fill > main > .sc-pieces { position: relative; inset: auto; }
.sc-fill > main { position: relative; isolation: isolate; }
.sc-fill > main::before,
.sc-fill > main::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sc-fill > main::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.17) 1.2px, transparent 1.7px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 64% at 50% 44%, #000 28%, transparent 88%);
          mask-image: radial-gradient(ellipse 80% 64% at 50% 44%, #000 28%, transparent 88%);
}
.sc-fill > main::after {
  background:
    radial-gradient(620px 330px at 50% 22%, rgba(245, 158, 11, 0.20), transparent 72%),
    radial-gradient(1060px 430px at 50% 62%, rgba(245, 158, 11, 0.13), transparent 74%);
  filter: blur(20px);
}
.sc-fill .sc-hero::before { content: none; }
.sc-fill > main:has(> .sc-corners) { align-content: stretch; grid-template-rows: 1fr auto; }
.sc-fill .sc-hero.sc-corners { display: flex; flex-direction: column; justify-content: center; }
