/* AutoBuild Solutions, tokens measured from the live Avada site (2026-09-12) */

:root {
  --blue: #5498ff;
  --blue-ink: #3d84f0;
  --teal: #00d8a6;        /* bright teal: dark backgrounds only */
  --teal-ink: #028363;    /* same hue, AA on white (4.74:1) */
  --slate: #3c414f;
  --slate-dark: #333e4f;
  --red: #ed0000;
  --paper: #ffffff;
  --paper-soft: #fcfcfc;
  --paper-gray: #f4f4f6;
  --rule: rgba(60, 65, 79, 0.12);

  --font: "Josefin Sans", "Century Gothic", "Questrial", sans-serif;
  --header-h: 112px;
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.18px;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--tight { padding: 50px 0; }
.center { text-align: center; }

/* ---------- type ---------- */

h1, h2, h3, h4 { margin: 0 0 18px; font-weight: 700; }

.eyebrow {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.h-hero {
  font-size: 60px;
  line-height: 1.14;
  letter-spacing: -2px;
  color: #fff;
  margin: 0 0 22px;
}

.h-section {
  font-size: 55px;
  line-height: 1.05;
  letter-spacing: -1.98px;
  color: var(--slate);
  margin: 0 0 26px;
}

.h-section--light { color: #fff; }

.lede {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.26;
  letter-spacing: -0.6px;
  margin: 0 0 28px;
}

.lede--hero { font-size: 25px; color: #fff; line-height: 1.26; }

.accent-blue { color: var(--blue); }
/* Bright teal fails contrast on light backgrounds (1.85:1), so accent text
   defaults to the darker ink and only goes bright inside dark sections. */
.accent-teal { color: var(--teal-ink); }
.dark .accent-teal,
.dark-ecosystem .accent-teal,
.dark-radial .accent-teal,
.footer-cta .accent-teal,
.lp-hero .accent-teal,
.lp-band--dark .accent-teal { color: var(--teal); }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1;
  padding: 17px 40px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-size: 14px;
  letter-spacing: -0.14px;
  padding: 13px 29px;
}

.btn--ghost:hover { background: #fff; color: var(--slate); }
.btn--sm { font-size: 18px; padding: 14px 26px; letter-spacing: -0.18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row--center { justify-content: center; }

.ask {
  font-size: 15px;
  margin: 18px 0 0;
  color: inherit;
  opacity: 0.9;
}

.ask a { color: var(--teal); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--slate);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo img { width: 300px; max-width: 58vw; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.18px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--teal);
  border-bottom-color: var(--teal);
  text-decoration: none;
}

.nav a.btn--primary,
.nav a.btn--primary:hover,
.nav a.btn--primary.is-active {
  color: #fff;
  border-bottom: 0;
  padding: 13px 22px;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 6px 10px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 878px;
  display: flex;
  align-items: center;
  background-image: radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 76%),
    url("../img/hero-construction-ai.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner { max-width: 760px; }

/* ---------- benefit bar ---------- */

.benefit-bar { background: var(--slate); color: #fff; }

.benefit-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 12px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit:last-child { border-right: 0; }
.benefit i { font-size: 28px; color: #fff; }

/* ---------- problem ---------- */

.soft-radial {
  background-color: var(--paper-soft);
  background-image: radial-gradient(circle, #ffffff 69%, rgba(215, 225, 229, 0.79) 100%);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 48px;
  max-width: 900px;
  margin: 46px auto;
  text-align: left;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.problem-list { padding: 0; }
.problem-list i { color: var(--red); font-size: 26px; flex: none; }

.closer {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.6px;
  max-width: 900px;
  margin: 0 auto;
}

.pull-quote {
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate);
}

/* ---------- two-column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.value-card {
  background: var(--slate-dark);
  color: #fff;
  border-radius: 4px;
  padding: 34px 26px;
  text-align: center;
}

.value-card h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.value-card p { font-size: 16px; line-height: 1.4; margin: 0; }

/* ---------- dark sections ---------- */

.dark {
  background-color: var(--slate);
  color: #fff;
}

.dark .h-section,
.dark .lede,
.dark .closer { color: #fff; }

.dark-ecosystem {
  background-color: #1c1f27;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 100%),
    url("../img/ecosystem.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.dark-radial {
  background-color: var(--slate-dark);
  background-image: radial-gradient(circle, var(--slate-dark) 29%, rgba(0, 14, 35, 0.92) 100%);
  color: #fff;
}

/* ---------- R.A.C.E. ---------- */

.race-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 56px 0 46px;
}

.race-card {
  background: #fff;
  border-radius: 4px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
}

.race-card__letter {
  font-size: 122px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--slate);
  text-align: center;
  position: relative;
}

.race-card__letter::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border: 5px solid var(--teal);
  border-radius: 50%;
  transform: translate(-50%, -46%);
  opacity: 0.55;
}

.race-card h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px;
}

/* Explicit colour: the card is white but it sits inside a dark section,
   so without this the text inherits #fff and disappears. */
.race-card { color: var(--slate); }
.race-card p { font-size: 16px; line-height: 1.45; margin: 0; color: var(--slate); }

/* ---------- guide / lead magnet ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.form-note { font-size: 17px; line-height: 1.4; margin: 0 0 24px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  width: 100%;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  color: var(--slate);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 15px 16px;
  margin-bottom: 16px;
}

.field:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

select.field { appearance: none; background-image: none; }

/* ---------- testimonial ---------- */

.testimonial {
  max-width: 760px;
  margin: 0 auto;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.testimonial__name {
  text-align: center;
  font-style: normal;
  margin-top: 34px;
}

.testimonial__name strong { display: block; font-weight: 400; font-size: 19px; }
.testimonial__name span { font-size: 16px; }

/* ---------- numbered plan ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0 28px 34px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.plan-card__num {
  width: 74px;
  height: 74px;
  margin: -37px auto 22px;
  border-radius: 50%;
  background: var(--slate-dark);
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-card h3 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.plan-card p { font-size: 16px; line-height: 1.45; margin: 0; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: start;
}

.about-grid__photo img { border-radius: 4px; width: 100%; }

.about-grid__body {
  background: var(--paper-gray);
  border-radius: 0 0 60px 0;
  padding: 60px 56px;
  margin-left: -60px;
  margin-top: 60px;
}

.about-grid__body .h-section { font-size: 44px; letter-spacing: -1.4px; }

.disclosure { margin: 20px 0; }

.disclosure__toggle {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  color: var(--slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclosure__toggle i { color: var(--blue); font-size: 20px; }
.disclosure__panel { padding-top: 18px; }
.disclosure__panel p { font-size: 17px; line-height: 1.45; }

.craig-quote {
  border-top: 1px solid var(--rule);
  margin-top: 34px;
  padding-top: 28px;
}

.craig-quote img { width: 250px; margin-bottom: 18px; }
.craig-quote p { font-style: italic; font-size: 17px; line-height: 1.45; }
.craig-quote__name { font-style: normal; font-size: 17px; }
.craig-quote__name strong { display: block; font-weight: 400; }
.craig-quote__name span { font-size: 15px; }

/* ---------- expect ---------- */

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  margin: 56px 0;
}

.expect i { font-size: 54px; color: var(--slate-dark); margin-bottom: 22px; display: block; }

.expect h3 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.expect p { font-size: 16px; line-height: 1.45; margin: 0; }

/* ---------- promise + strategy form ---------- */

.promise-section {
  background-image: linear-gradient(212deg, #f4f4f6 0%, #ffffff 100%);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
}

.promise-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  margin-bottom: 28px;
  align-items: start;
}

.promise-item i {
  font-size: 30px;
  color: var(--slate);
  border: 1px solid var(--rule);
  border-radius: 6px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promise-item h3 { font-size: 20px; font-weight: 400; margin: 0 0 8px; }
.promise-item p { font-size: 16px; line-height: 1.4; margin: 0; }

.form-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  padding: 42px 38px;
  text-align: center;
}

.form-card h3 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 0 0 24px;
}

.form-card .btn { width: 100%; }
.form-card__foot { font-size: 15px; margin-top: 18px; }

.underline-teal {
  border-bottom: 4px solid var(--teal);
  padding-bottom: 2px;
}

/* ---------- calendly ---------- */

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

.partner-badge { margin: 40px auto 0; width: 222px; }

/* ---------- footer ---------- */

.footer-cta { background: var(--slate-dark); color: #fff; text-align: center; }
.footer-cta h2 { font-size: 34px; font-weight: 400; letter-spacing: -0.7px; margin: 0 0 26px; }
.footer-cta .email { display: block; margin-top: 26px; font-size: 24px; color: #fff; font-weight: 400; }

.site-footer { padding: 70px 0 0; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__tagline { font-size: 22px; line-height: 1.3; letter-spacing: -0.4px; margin: 0 0 22px; }
.site-footer__col h4 { font-size: 17px; font-weight: 600; color: var(--slate); margin: 0 0 12px; }
.site-footer__col p { font-size: 15.5px; line-height: 1.4; margin: 0 0 8px; }
.site-footer__col p a { color: var(--slate); }
.site-footer__col p a:hover { color: var(--blue); }
.site-footer__social a { color: var(--slate); font-size: 22px; }
.site-footer__logo { margin-top: 40px; }
.site-footer__logo img { width: 300px; }

.site-footer__bottom {
  margin-top: 50px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  font-size: 15px;
}

.site-footer__bottom > :nth-child(2) { text-align: center; }
.site-footer__bottom > :nth-child(3) a { color: var(--slate); }
.site-footer__bottom > :nth-child(3) { text-align: right; }

/* ---------- 404 ---------- */

.errorpage { padding: 140px 0; text-align: center; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid__body { margin-left: 0; margin-top: 0; padding: 44px 32px; border-radius: 0 0 40px 0; }
  .promise-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 88px; }

  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--slate);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav .btn--primary { margin-top: 14px; text-align: center; }

  .section { padding: 60px 0; }
  .hero { min-height: 640px; }
  .h-hero { font-size: 40px; letter-spacing: -1.2px; }
  .h-section { font-size: 36px; letter-spacing: -1px; line-height: 1.1; }
  .lede, .closer { font-size: 22px; }
  .lede--hero { font-size: 20px; }

  .benefit-bar .wrap { grid-template-columns: 1fr 1fr; }
  .benefit { border-right: 0; font-size: 17px; padding: 22px 10px; }

  .two-col,
  .guide-grid,
  .race-grid,
  .card-grid-2,
  .plan-grid,
  .expect-grid { grid-template-columns: 1fr; gap: 26px; }

  .problem-list { grid-template-columns: 1fr; }
  .plan-grid { margin-top: 60px; }
  .plan-card { margin-top: 24px; }
  .race-card { grid-template-columns: 90px 1fr; padding: 24px; }
  .race-card__letter { font-size: 84px; }
  .race-card__letter::after { width: 62px; height: 62px; border-width: 4px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { grid-template-columns: 1fr; text-align: center; }
  .site-footer__bottom > :nth-child(2),
  .site-footer__bottom > :nth-child(3) { text-align: center; }
}

@media (max-width: 560px) {
  .benefit-bar .wrap { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   BCMC 2026 landing page, /ai-ready-component-manufacturer/
   ============================================================ */

.lp { --lp-ink: #1d2330; }

.lp-hero {
  background-color: var(--slate-dark);
  background-image: radial-gradient(circle at 20% 0%, rgba(84, 152, 255, 0.22) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #333e4f 0%, #262d3a 100%);
  color: #fff;
  padding: 70px 0 64px;
}

.lp-hero .eyebrow { margin-bottom: 16px; }
.lp-hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -1.8px; color: #fff; margin: 0 0 20px; }
.lp-hero p { font-size: 21px; line-height: 1.45; max-width: 640px; margin: 0 0 28px; color: rgba(255, 255, 255, 0.88); }
.lp-hero .btn-row { margin-bottom: 6px; }

.lp-credit {
  background: #262d3a;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.lp-credit .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lp-credit strong { color: var(--teal); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.lp-credit__logos { display: flex; gap: 22px; align-items: center; }
.lp-credit__logos img { height: 38px; width: auto; }

.lp-band { padding: 76px 0; }
.lp-band--gray { background: var(--paper-gray); }
.lp-band--dark { background: var(--slate-dark); color: #fff; }
.lp-band--dark h2, .lp-band--dark h3 { color: #fff; }

.lp-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 14px; }
.lp-sub { font-size: 19px; line-height: 1.45; margin: 0 0 34px; max-width: 680px; }
.lp-band--dark .lp-sub { color: rgba(255, 255, 255, 0.84); }

.lp-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.lp-band--dark .lp-kicker { color: var(--teal); }

/* Gated guide card */
.lp-guide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
  padding: 44px;
}

.lp-guide h2 { font-size: 34px; line-height: 1.12; letter-spacing: -1px; margin: 0 0 16px; }
.lp-list { list-style: none; margin: 0 0 22px; padding: 0; }

.lp-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.4;
}

.lp-list i { color: var(--teal); font-size: 17px; margin-top: 3px; }
.lp-band--dark .lp-list li { color: rgba(255, 255, 255, 0.9); }

.lp-formwrap { background: var(--paper-gray); border-radius: 8px; padding: 32px 28px; }
.lp-formwrap h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.4px; margin: 0 0 18px; }
.lp-formwrap .btn { width: 100%; }
.lp-fineprint { font-size: 14px; line-height: 1.45; margin-top: 16px; color: rgba(60, 65, 79, 0.8); }

/* Prompt blocks */
.lp-prompt {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 26px;
}

.lp-band--dark .lp-prompt { background: #2b323f; border-color: rgba(255, 255, 255, 0.12); }
.lp-prompt h3 { font-size: 23px; font-weight: 400; letter-spacing: -0.4px; margin: 0 0 6px; }
.lp-prompt__how { font-size: 16px; margin: 0 0 20px; opacity: 0.85; }

.lp-code {
  background: #1d2330;
  color: #e6e9f0;
  border-radius: 6px;
  padding: 22px 24px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  margin: 0 0 18px;
}

.lp-code b { color: var(--teal); font-weight: 600; letter-spacing: 0.6px; }
.lp-code .lp-code__note { color: #8d96aa; font-style: italic; }

.copy-btn { position: relative; }
.copy-btn.is-copied { background: var(--teal); }

details.lp-details {
  border-top: 1px solid var(--rule);
  margin-top: 18px;
  padding-top: 16px;
}

.lp-band--dark details.lp-details { border-color: rgba(255, 255, 255, 0.14); }
details.lp-details summary { cursor: pointer; font-size: 16px; color: var(--blue); list-style: none; }
.lp-band--dark details.lp-details summary { color: var(--teal); }
details.lp-details summary::-webkit-details-marker { display: none; }
details.lp-details summary::before { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; margin-right: 9px; display: inline-block; transition: transform 0.2s; }
details.lp-details[open] summary::before { transform: rotate(180deg); }

.lp-transcript {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  padding: 20px;
  margin-top: 16px;
  max-height: 340px;
  overflow-y: auto;
}

.lp-band--dark .lp-transcript { background: rgba(0, 0, 0, 0.28); }

/* Worksheet cards */
.lp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.lp-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 30px 28px;
}

.lp-band--dark .lp-card { background: #2b323f; border-color: rgba(255, 255, 255, 0.12); }
.lp-card h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.3px; margin: 0 0 12px; }
.lp-card p { font-size: 16px; line-height: 1.45; }
.lp-card__n { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; color: var(--blue); display: block; margin-bottom: 8px; }
.lp-band--dark .lp-card__n { color: var(--teal); }

.lp-blank {
  border-bottom: 1px solid rgba(60, 65, 79, 0.3);
  display: block;
  height: 34px;
  margin: 0 0 14px;
}

.lp-band--dark .lp-blank { border-color: rgba(255, 255, 255, 0.3); }

/* Stage ladder */
.lp-stages { display: grid; gap: 12px; margin: 0 0 30px; }

.lp-stage {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 16px;
}

.lp-stage strong { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.lp-stage--goal { border-color: var(--teal); border-width: 2px; }
.lp-stage--goal strong { color: var(--teal); }

/* Tools */
.lp-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.lp-tool {
  display: block;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 24px 24px 22px;
  color: var(--slate);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lp-tool:hover {
  text-decoration: none;
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.lp-tool__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.lp-tool__name { font-size: 21px; font-weight: 700; letter-spacing: -0.5px; }
.lp-tool__cat { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); }
.lp-tool p { font-size: 15.5px; line-height: 1.45; margin: 8px 0 0; }
.lp-tool__go { font-size: 14px; color: var(--blue); margin-top: 14px; display: block; }

.lp-disclosure-note {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: rgba(60, 65, 79, 0.8);
  max-width: 780px;
}

/* Q&A */
.lp-qa { max-width: 820px; }
.lp-qa > div { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.lp-qa > div:first-child { border-top: 1px solid var(--rule); }
.lp-qa h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.3px; margin: 0 0 10px; }
.lp-qa p { font-size: 16.5px; line-height: 1.5; margin: 0; }

/* Craig card */
.lp-craig {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.lp-craig img { border-radius: 8px; width: 200px; }
.lp-craig h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.6px; margin: 0 0 4px; }
.lp-craig__role { font-size: 16px; margin: 0 0 14px; opacity: 0.85; }
.lp-craig p { font-size: 17px; line-height: 1.45; }

@media (max-width: 1080px) {
  .lp-tools { grid-template-columns: 1fr 1fr; }
  .lp-guide { grid-template-columns: 1fr; gap: 32px; padding: 34px; }
}

@media (max-width: 900px) {
  .lp-hero { padding: 52px 0 46px; }
  .lp-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .lp-hero p { font-size: 18px; }
  .lp-band { padding: 54px 0; }
  .lp-h2 { font-size: 29px; letter-spacing: -0.8px; }
  .lp-sub { font-size: 17px; }
  .lp-guide { padding: 26px 22px; }
  .lp-guide h2 { font-size: 26px; }
  .lp-formwrap { padding: 24px 20px; }
  .lp-prompt { padding: 22px 20px; }
  .lp-code { font-size: 13px; padding: 18px 16px; }
  .lp-grid-2, .lp-grid-3, .lp-tools { grid-template-columns: 1fr; }
  .lp-stage { grid-template-columns: 1fr; gap: 4px; }
  .lp-craig { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; text-align: center; }
  .lp-craig img { width: 160px; margin: 0 auto; }
  .lp-credit .wrap { flex-direction: column; gap: 14px; }
}

/* ============================================================
   Truss motion, the product itself as the background art
   ============================================================ */

.truss-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.truss-spine svg { display: block; overflow: visible; }

/* The unlit truss sits faint behind the lit one. */
.truss-spine__member {
  stroke: rgba(84, 152, 255, 0.16);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.truss-spine__lit {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Chords carry the load, so they read heavier than the web. */
.truss-spine__lit.is-chord { stroke-width: 2.4; opacity: 0.85; }
.truss-spine__lit.is-web { stroke-width: 1.6; opacity: 0.6; }

/* Connector plates at every web-to-chord joint. */
.truss-joint__plate {
  fill: rgba(84, 152, 255, 0.2);
  stroke: rgba(84, 152, 255, 0.4);
  stroke-width: 1.5;
  transition: fill 0.4s ease, stroke 0.4s ease;
}

.truss-joint.is-on .truss-joint__plate {
  fill: rgba(0, 216, 166, 0.3);
  stroke: var(--teal);
}

.truss-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Keep section content above the ambient canvas */
[data-ambient] > .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .truss-spine, .truss-ambient { display: none !important; }
}
}

/* ============================================================
   R.A.C.E., circuit badges
   ============================================================ */

.race-card {
  position: relative;
  grid-template-columns: 126px 1fr;
  gap: 26px;
  padding: 32px 34px;
  overflow: hidden;
}

.race-badge {
  width: 126px;
  height: 126px;
  display: block;
  overflow: visible;
}

.race-badge__trace {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.race-badge__ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
}

.race-badge__term {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
}

.race-badge__dot { fill: var(--teal); }

.race-badge__letter {
  font-family: var(--font);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -2px;
  fill: var(--slate);
  dominant-baseline: central;
  text-anchor: middle;
}

.circuit-host.is-drawn .race-badge__dot { animation: node-pulse 2.6s ease-in-out 0.6s infinite; }

@keyframes node-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Traces linking the four cards into one board (desktop grid only) */
.race-grid { position: relative; }

.race-grid::before,
.race-grid::after {
  content: "";
  position: absolute;
  background: rgba(84, 152, 255, 0.34);
  pointer-events: none;
}

/* horizontal link across the column gap, between the two rows */
.race-grid::before {
  left: calc(50% - 14px);
  width: 28px;
  height: 2px;
  top: 50%;
  transform: translateY(-1px);
}

/* vertical link down the row gap */
.race-grid::after {
  top: calc(50% - 14px);
  height: 28px;
  width: 2px;
  left: 50%;
  transform: translateX(-1px);
}

.race-link-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: rgba(0, 216, 166, 0.16);
  pointer-events: none;
}

@media (max-width: 900px) {
  .race-grid::before,
  .race-grid::after,
  .race-link-node { display: none; }

  .race-card { grid-template-columns: 84px 1fr; gap: 18px; padding: 24px; }
  .race-badge { width: 84px; height: 84px; }
  .race-badge__letter { font-size: 34px; }
}

/* A five-card board: the fifth runs the full width and the centre junction
   comes off, because with an odd count nothing lands on a shared corner. */
.race-grid--five::before,
.race-grid--five::after { display: none; }
.race-card--wide { grid-column: 1 / -1; }

/* The byline beside the booking block: small and stacked, because it sits in
   one column of .lp-guide rather than running the full width of the band. */
.lp-craig--compact {
  grid-template-columns: 108px 1fr;
  gap: 22px;
  padding: 26px;
  align-items: start;
}
.lp-craig--compact img { width: 108px; }
.lp-craig--compact h3 { font-size: 20px; }
.lp-craig--compact p { font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.lp-craig__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; margin: 0; }

/* Connecting on LinkedIn is its own call to action, so it gets a button
   rather than a text link. LinkedIn blue clears AA for white text at 5.69:1,
   which the brand blue does not. */
.btn--linkedin { background: #0a66c2; color: #fff; border: 0; }
.btn--linkedin:hover { background: #09589f; color: #fff; }
.btn--linkedin i { margin-right: 8px; }
