:root {
  --ink: #102033;
  --muted: #546579;
  --blue: #1b5299;
  --blue-dark: #0b1d33;
  --blue-soft: #e7f0fb;
  --line: #d9e3ee;
  --paper: #ffffff;
  --wash: #f4f8fc;
  --red: #c0392b;
  --red-soft: #fff0ed;
  --green: #1b8c5a;
  --shadow: 0 24px 60px rgba(11, 29, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 240, 251, 0.72) 0, rgba(255, 255, 255, 0) 520px),
    var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.section-shell {
  width: min(1120px, calc(100% - clamp(40px, 8vw, 128px)));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding-top: clamp(24px, 3.5vw, 46px);
  padding-bottom: clamp(48px, 8vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.03;
  color: var(--blue-dark);
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5.2vw, 4.55rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.hero-subhead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
}

.hero-logo,
.thanks-logo {
  display: block;
  width: min(258px, 72vw);
  height: auto;
  margin: 0 0 24px;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(560px, 100%);
  margin-top: 34px;
}

.signup-form input[type="email"] {
  min-width: 0;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid #b8c7d8;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.signup-form input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 82, 153, 0.14);
}

.signup-form button {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.signup-form button:hover {
  background: #16477f;
  box-shadow: 0 14px 30px rgba(27, 82, 153, 0.23);
  transform: translateY(-1px);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--red);
  font-size: 0.92rem;
}

.cta-subtext {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gotcha,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-visual {
  display: grid;
  min-height: 460px;
  place-items: center;
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 7% -4% 3% 13%;
  content: "";
  border: 1px solid rgba(27, 82, 153, 0.16);
  background:
    linear-gradient(rgba(27, 82, 153, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 82, 153, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: rotate(-4deg);
}

.inspection-board {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 0.76;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(155deg, #173a61, #091a2c);
  box-shadow: var(--shadow);
  color: #fff;
}

.inspection-board::after {
  position: absolute;
  right: -28px;
  bottom: 40px;
  width: 96px;
  height: 96px;
  content: "$16,131";
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(192, 57, 43, 0.28);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -10px 0 28px;
}

.board-head img {
  width: 76px;
  height: 76px;
}

.board-head span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.board-row {
  height: 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.board-row.strong {
  width: 76%;
  background: rgba(255, 255, 255, 0.78);
}

.board-row.short {
  width: 58%;
}

.board-checks {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.board-checks i {
  display: block;
  height: 38px;
  border-left: 5px solid var(--green);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.board-checks i.risk {
  border-left-color: var(--red);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.problem,
.solution,
.differentiation,
.pricing,
.faq {
  padding: clamp(68px, 10vw, 116px) 0;
}

.problem {
  border-top: 1px solid var(--line);
}

.pain-list,
.outcome-list,
.pricing-copy ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.pain-list li {
  min-height: 150px;
  padding: clamp(22px, 4vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.03rem, 1.8vw, 1.18rem);
}

.pain-list li:nth-child(2n) {
  border-right: 0;
}

.outcome-list {
  counter-reset: outcomes;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.outcome-list li {
  counter-increment: outcomes;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.08rem;
}

.outcome-list li::before {
  content: counter(outcomes, decimal-leading-zero);
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.outcome-list strong {
  color: var(--ink);
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(11, 29, 51, 0.08);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--blue-dark);
  background: var(--wash);
  font-size: 0.9rem;
}

.comparison-table tbody th {
  width: 18%;
  color: var(--blue-dark);
  font-size: 0.94rem;
}

.comparison-table tbody td {
  color: var(--muted);
}

.comparison-table tbody td:last-child,
.comparison-table thead th:last-child {
  background: rgba(231, 240, 251, 0.64);
  color: var(--ink);
  font-weight: 800;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing {
  background: var(--wash);
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.pricing-copy li {
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.pricing-copy li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 14px;
  height: 14px;
  top: 24px;
  border-radius: 50%;
  background: var(--green);
}

.cost-callout {
  margin: 28px 0 0;
  padding: 22px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.cta-repeat {
  background: var(--blue-dark);
  color: #fff;
}

.cta-inner {
  padding: clamp(66px, 10vw, 108px) 0;
}

.cta-inner h2 {
  max-width: 860px;
  color: #fff;
}

.cta-inner > p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.signup-form.inverted input[type="email"] {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.signup-form.inverted input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.signup-form.inverted button {
  color: var(--blue-dark);
  background: #fff;
}

.signup-form.inverted .form-message {
  color: #ffd6cf;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: clamp(22px, 4vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-item:nth-child(2n) {
  border-right: 0;
}

.faq-item h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.thanks-page {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgba(231, 240, 251, 0.92), rgba(255, 255, 255, 0.78)),
    var(--paper);
}

.thanks-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.thanks-panel {
  width: min(760px, 100%);
  padding: clamp(34px, 7vw, 74px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.thanks-logo {
  margin-bottom: 22px;
}

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

.thanks-panel p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.thanks-panel a {
  display: inline-flex;
  margin-top: 32px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.thanks-panel a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .inspection-board {
    width: min(300px, 74vw);
  }

  .pain-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .pain-list li,
  .faq-item {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .section-shell {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding-top: 24px;
  }

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

  .outcome-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .comparison-wrap {
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .inspection-board::after {
    right: -14px;
    width: 82px;
    height: 82px;
    font-size: 0.88rem;
  }
}
