:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #182d30;
  background: #f7f6ef;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
header,
main > section,
footer {
  max-width: 1200px;
  margin: auto;
  padding: 28px 36px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d5d9ce;
}
.brand {
  text-decoration: none;
  font-size: 26px;
  font-weight: 900;
}
.brand span {
  font-size: 12px;
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.hero {
  padding-top: 90px;
  padding-bottom: 85px;
  background: radial-gradient(ellipse at 90% 20%, #dce6ba 0, transparent 45%);
}
h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  max-width: 900px;
  margin: 22px 0;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 24px;
}
.eyebrow {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 750;
}
.lede {
  font-size: 21px;
  max-width: 600px;
  color: #4e6260;
}
.button,
button {
  display: inline-flex;
  justify-content: space-between;
  gap: 40px;
  background: #183d36;
  color: white;
  padding: 16px 24px;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 48px;
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  border: 1px solid #cdd4c7;
  border-radius: 6px;
  padding: 25px;
  text-decoration: none;
  background: #fffdf7;
}
.card:hover {
  border-color: #183d36;
}
.number {
  font-size: 12px;
  color: #617869;
}
.card p {
  font-size: 14px;
}
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  margin-bottom: 40px;
  background: #e9eedc;
  border-radius: 8px;
}
.offer h2 {
  font-size: 64px;
}
.offer small {
  font-size: 18px;
  letter-spacing: 0;
}
li {
  margin-bottom: 12px;
}
footer {
  font-size: 13px;
  border-top: 1px solid #cdd4c7;
}
form {
  max-width: 640px;
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 600;
}
input,
select,
textarea {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid #84958b;
  border-radius: 4px;
  background: #fff;
}
textarea {
  min-height: 100px;
}
.check {
  display: flex;
  align-items: start;
  font-weight: 400;
}
.check input {
  width: auto;
  margin-top: 8px;
}
.trap {
  display: none;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 0;
  background: white;
  padding: 12px;
  z-index: 2;
}
:focus-visible {
  outline: 3px solid #a35b16;
  outline-offset: 4px;
}
.notice {
  padding: 18px;
  border: 1px solid #778363;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  header,
  main > section,
  footer {
    padding: 24px;
  }
  header {
    align-items: start;
  }
  nav {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
@media (max-width: 440px) {
  .grid {
    grid-template-columns: 1fr;
  }
  nav {
    flex-direction: column;
  }
  .facts {
    gap: 12px;
  }
}
/* Prebuilt trade variants; customer brand colors can override these variables. */
.trade-roofing {
  border-top: 6px solid #8e431e;
}
.trade-hvac {
  border-top: 6px solid #17586b;
}
.trade-plumbing {
  border-top: 6px solid #1b586d;
}
.trade-electrical {
  border-top: 6px solid #725000;
}
.customer-logo {
  max-width: 220px;
  max-height: 100px;
  object-fit: contain;
}
.customer-photo {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.customer-site .button,
.customer-site button {
  background: var(--brand, #173f3a);
  color: var(--brand-text, #fff);
}

/* TRS identity from https://tradereadysites.com; scoped to the TRS application.
   Customer publications retain their own customer-site palette and assets. */
.trs-site {
  background: #f2f5f9;
  color: #132d4b;
  font-family: Arial, sans-serif;
}
.trs-site header {
  border-color: #d7e0eb;
  gap: 24px;
}
.trs-site .brand {
  display: block;
  flex: 0 1 300px;
  min-width: 0;
}
.trs-site .brand img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
.trs-site .hero {
  background: radial-gradient(ellipse at 90% 20%, #e2edfe 0, transparent 45%);
}
.trs-site .eyebrow {
  color: #2268c4;
}
.trs-site .lede {
  color: #586b80;
}
.trs-site .button,
.trs-site button {
  background: #1164e7;
  color: #fff;
  border-radius: 8px;
}
.trs-site .card {
  background: #fff;
  border-color: #dde5ee;
  border-radius: 16px;
}
.trs-site .card:hover {
  border-color: #1762d3;
}
.trs-site .number {
  color: #586b80;
}
.trs-site .offer {
  background: #0b2c52;
  color: #fff;
  border-radius: 20px;
}
.trs-site .offer .eyebrow {
  color: #c7d9ef;
}
.trs-site footer {
  border-color: #d7e0eb;
  color: #586b80;
}
.trs-site :focus-visible {
  outline-color: #1762d3;
}
@media (max-width: 800px) {
  .trs-site header {
    flex-wrap: wrap;
  }
  .trs-site .brand {
    flex-basis: 260px;
  }
}

.sales-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.sales-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b2c52;
  border-radius: 16px;
}
.sales-media iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  border-radius: 16px;
}
.jess-stage {
  width: 100%;
  height: 600px;
  background: #e2edfe;
  border-radius: 16px;
  overflow: hidden;
}
.jess-stage tavus-embed {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  .jess-stage {
    height: 650px;
  }
}

.video-stage {
  position: relative;
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.trs-site .video-play {
  background: transparent;
}
.video-play[hidden] {
  display: none;
}
.video-play span {
  padding: 16px 24px;
  background: #0b2c52;
  color: #fff;
  border-radius: 8px;
}
