:root {
  color-scheme: light;
  --ink: #162029;
  --muted: #5e6b76;
  --line: #d9e0e5;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --brand: #b42634;
  --brand-dark: #761a24;
  --teal: #0f766e;
  --gold: #b98316;
  --charcoal: #20272e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(22, 32, 41, 0.12);
  background: rgba(247, 248, 244, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 138px;
}

.site-brand img {
  width: 138px;
  height: auto;
  display: block;
}

.site-topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-topbar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-topbar nav a:hover {
  background: rgba(180, 38, 52, 0.08);
  color: var(--brand-dark);
}

.site-topbar .nav-cta {
  background: var(--charcoal);
  color: #fff;
}

.intro-band,
.content-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(56px, 9vw, 108px) clamp(18px, 5vw, 64px);
}

.intro-band {
  min-height: calc(100vh - 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 248, 244, 0.92)),
    linear-gradient(160deg, #f7f8f4 0%, #ffffff 46%, #efe7dc 100%);
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #33414c;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-link {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 34px rgba(180, 38, 52, 0.18);
}

.secondary-link {
  border: 1px solid rgba(32, 39, 46, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--charcoal);
}

.system-panel {
  display: grid;
  gap: 12px;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(32, 39, 46, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 80px rgba(32, 39, 46, 0.12);
}

.system-panel div {
  min-height: 96px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border-left: 4px solid var(--teal);
}

.system-panel div:nth-child(2) {
  border-left-color: var(--brand);
}

.system-panel div:nth-child(3) {
  border-left-color: var(--gold);
}

.system-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.content-band {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  background: #fff;
}

.section-heading h2 {
  margin: 0;
  max-width: 640px;
  color: var(--charcoal);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.lead-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 64px);
  background: #f7f8f4;
  border-top: 1px solid var(--line);
}

.lead-copy h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(32, 39, 46, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(32, 39, 46, 0.08);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .wide-field,
.lead-form .check-field,
.lead-form button {
  grid-column: 1 / -1;
}

.lead-form .check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.lead-form .check-field input {
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
}

.lead-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.thanks-panel {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid rgba(32, 39, 46, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(32, 39, 46, 0.08);
}

.thanks-panel h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.thanks-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.thanks-panel .primary-link {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .site-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-topbar nav {
    justify-content: flex-start;
  }

  .intro-band,
  .content-band,
  .lead-band {
    grid-template-columns: 1fr;
  }

  .intro-band {
    min-height: auto;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-topbar {
    gap: 14px;
  }

  .site-topbar nav a,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .site-topbar nav {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }
}
