/* trades-lab.com: the TradesLab website. Same look as the app: black, white, Poppins, square corners. */
/* Poppins is served from this site, not Google, so visitors' browsers contact no one else */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #000; --surface: #0f0f0f; --raised: #1a1a1a; --line: #2a2a2a;
  --text: #f2f2f2; --muted: #a3a3a3; --white: #fff;
  --loop: #B9181E; --secure: #029E79; --sparks: #009DC6; --plumb: #10295F;
  --roof: #8D8E7C; --chippy: #F7B41B; --decor: #F88F56; --hvac: #5C3FD7;
  --wrap: 1180px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 Poppins, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #cfcfcf; max-width: 620px; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; font: 600 16px Poppins, sans-serif; text-decoration: none; border: 1px solid var(--white); background: var(--white); color: #000; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--white); border-color: #555; }
.btn.ghost:hover { border-color: var(--white); }
.btn.loop { background: var(--loop); border-color: var(--loop); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); border-bottom: 1px solid #161616; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #d6d6d6; }
.top nav a:hover, .top nav a.cur { color: #fff; }
.top .acts { display: flex; gap: 10px; }
.top .btn { padding: 9px 18px; font-size: 14px; }
@media (max-width: 760px) { .top nav { display: none; } .top .acts { margin-left: auto; } .top .acts .ghost { display: none; } }

section { padding: 110px 0; }
section + section { border-top: 1px solid #111; }

/* hero */
.hero { padding: 90px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 24px; }
.hero .lead { margin-bottom: 34px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* image slots, until the owner's pictures arrive */
.shot { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #151515, #0a0a0a); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .slot { text-align: center; color: #6f6f6f; font-size: 14px; padding: 20px; }
.shot .slot b { display: block; color: #9a9a9a; font-size: 15px; margin-bottom: 4px; }

/* LoopLab feature block */
.feature .head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.feature .head img { width: 64px; height: 64px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 50px 0 40px; }
.grid3 > div { background: var(--surface); padding: 30px 28px; }
.grid3 h3 { margin-bottom: 8px; }
.grid3 p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; background: var(--loop); color: #fff; margin-bottom: 12px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }

/* apps */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.app { background: var(--surface); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.app img { width: 72px; height: 72px; }
.app h3 { font-size: 19px; }
.app p { color: var(--muted); font-size: 14px; flex: 1; }
.app .state { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a7a7a; }
.app.live { border-color: #3a1214; }
.app.live .state { color: #fff; }
.app.soon img { opacity: .55; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.steps .n { font-size: 15px; font-weight: 700; color: var(--muted); border-top: 2px solid #fff; padding-top: 14px; margin-bottom: 14px; display: block; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* split rows */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .shot { order: -1; }
.split ul { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 16px; }
.split li { padding-left: 30px; position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: #fff; }
.split li b { display: block; }
.split li span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .split .wrap { grid-template-columns: 1fr; } .split.flip .shot { order: 0; } }

/* band */
.band { text-align: center; }
.band .lead { margin: 18px auto 34px; }
.band .btns { justify-content: center; }

/* interest form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin-top: 36px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #cfcfcf; }
.form input, .form select { background: var(--raised); border: 1px solid #333; color: var(--text); font: 500 16px Poppins, sans-serif; padding: 13px 14px; border-radius: 0; }
.form input:focus, .form select:focus { outline: none; border-color: #fff; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.plan { background: var(--surface); border: 1px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; }
.plan.pop { border-color: #fff; }
.plan .badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: #000; padding: 3px 8px; margin-bottom: 14px; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 46px; font-weight: 700; letter-spacing: -.03em; margin: 8px 0 0; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .yr { font-size: 13px; color: var(--muted); margin: 8px 0 22px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 15px; flex: 1; margin-bottom: 26px; }
.plan li::before { content: "✓  "; font-weight: 700; }
.toggle { display: inline-flex; border: 1px solid #333; margin-top: 30px; }
.toggle button { background: none; border: 0; color: var(--muted); font: 600 15px Poppins, sans-serif; padding: 10px 20px; cursor: pointer; }
.toggle button.on { background: #fff; color: #000; }
.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 30px; margin-top: 30px; list-style: none; padding: 0; }
.includes li::before { content: "✓  "; font-weight: 700; }
.faq { max-width: 820px; margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin-top: 10px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } .includes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans, .includes { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid #161616; padding: 50px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 22px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .row a { text-decoration: none; color: #d6d6d6; }
footer .row a:hover { color: #fff; }
footer .logo img { height: 28px; width: auto; }
/* hero: the whole tablet on the right, the headline overlapping its left edge (as on the old Wix site) */
.hero { position: relative; padding: 0; min-height: max(560px, 44vw); display: flex; align-items: center; }
.hero .wrap { display: block; position: relative; z-index: 1; width: 100%; padding-top: 60px; padding-bottom: 60px; }
.hero .wrap > div { max-width: 600px; }
.hero h1 { font-size: clamp(46px, 5.4vw, 92px); }
.hero .lead { max-width: 560px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { position: absolute; top: 50%; right: -3%; width: 76%; height: auto; transform: translateY(-50%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.75) 30%, rgba(0,0,0,.2) 52%, rgba(0,0,0,0) 65%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 14%); }
@media (max-width: 900px) {
  /* phones: the tablet first, at the top, with the headline starting over its faded bottom edge */
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0 0 40px; align-items: stretch; }
  .hero-bg { position: relative; order: 0; height: 62vw; max-height: 380px; min-height: 220px; }
  .hero-bg img { top: 50%; left: 50%; right: auto; width: 125%; transform: translate(-50%, -50%); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, #000 100%); }
  .hero .wrap { order: 1; margin-top: -64px; padding-top: 0; padding-bottom: 0; }
  /* the headline sits on the bottom of the picture; the eyebrow line goes over the top of it */
  .hero .wrap { position: static; }
  .hero h1 { margin-top: 0; }
  .hero .eyebrow { position: absolute; top: 18px; left: 24px; right: 24px; z-index: 2; font-size: 11px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, #000 100%); }
}


/* privacy and terms */
.legal { padding-top: 80px; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); margin: 14px 0 12px; }
.legal article { max-width: 820px; margin-top: 40px; }
.legal article h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.01em; }
.legal article p, .legal article li { color: #d0d0d0; }
.legal article p + p { margin-top: 12px; }
.legal article ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal article a { color: #fff; }
.tablewrap { overflow-x: auto; margin: 14px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }

/* breaking up the black: a grey band, panels, one white band */
section.tint { background: #0c0c0c; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }
section.tint + section { border-top: 0; }
.tint .steps > div { background: #141414; border: 1px solid #242424; padding: 28px 26px 30px; }
.tint .steps .n { border-top: 0; padding-top: 0; color: var(--loop); font-size: 34px; letter-spacing: -.02em; margin-bottom: 10px; }
.panels .wrap { align-items: stretch; gap: 20px; }
.panels .wrap > div { background: var(--surface); border: 1px solid var(--line); padding: 44px 40px; }
.iconrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.iconrow img { width: 40px; height: 40px; }
section.light { background: #fff; color: #000; border: 0; }
.light .lead { color: #333; }
.light .btn { background: #000; color: #fff; border-color: #000; }
.light .btn.ghost { background: transparent; color: #000; border-color: #000; }
.tint .form { background: #141414; border: 1px solid #242424; padding: 30px; }
@media (max-width: 600px) { .panels .wrap > div { padding: 30px 24px; } .tint .form { padding: 22px; } }
.form textarea { background: var(--raised); border: 1px solid #333; color: var(--text); font: 500 16px Poppins, sans-serif; padding: 13px 14px; border-radius: 0; resize: vertical; }
.form textarea:focus { outline: none; border-color: #fff; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formfoot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formnote { font-size: 14px; color: var(--muted); }
.formnote.bad { color: #ff8a8a; }
.form .thanks h3 { font-size: 24px; margin-bottom: 6px; }
.form button:disabled { opacity: .6; cursor: default; }
/* "Most popular" sits on the card's top edge, so every price lines up */
.plan { position: relative; }
.plan .badge { position: absolute; top: -12px; left: 26px; margin: 0; }
