:root {
  --graphite: #1f2a33;
  --steel: #60707b;
  --muted-blue: #45677d;
  --blue-dark: #345467;
  --safety-yellow: #c79b2b;
  --surface: #ffffff;
  --surface-muted: #f4f6f7;
  --border: #d7dfe3;
  --focus: #b17d13;
  --max-width: 72rem;
  --shadow: 0 12px 30px rgb(31 42 51 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#how-it-works,
#pilot,
#faq,
#pilot-request {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--graphite);
  line-height: 1.12;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 6vw, 5rem);
  letter-spacing: -0.045em;
}

h2 {
  max-width: 23ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.content-narrow {
  max-width: 50rem;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  color: #fff;
  background: var(--graphite);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 96%);
}

.header-content {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  color: var(--graphite);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--muted-blue);
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--muted-blue);
  border-radius: 0.2rem;
  color: #fff;
  background: var(--muted-blue);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button-small {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.84rem;
}

.button-secondary {
  color: var(--graphite);
  background: transparent;
}

.button-secondary:hover {
  color: var(--graphite);
  border-color: var(--steel);
  background: var(--surface-muted);
}

.button-light {
  color: var(--graphite);
  border-color: #fff;
  background: #fff;
}

.button-light:hover {
  color: var(--graphite);
  border-color: #e7ecef;
  background: #e7ecef;
}

.hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
}

.hero-grid,
.split-grid,
.final-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.hero-lead {
  max-width: 39rem;
  color: var(--steel);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.thank-you-page {
  display: flex;
  min-height: calc(100vh - 8.75rem);
  align-items: center;
}

.thank-you-content .button {
  margin-top: 1rem;
}

.eyebrow,
.section-kicker,
.card-label {
  margin-bottom: 0.9rem;
  color: var(--muted-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  background: var(--safety-yellow);
  content: "";
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.pilot-summary {
  max-width: 38rem;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 700;
}

.pilot-summary span {
  margin-inline: 0.2rem;
  color: var(--safety-yellow);
}

.screenshot-placeholder {
  margin: 0;
}

.placeholder-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.placeholder-window img {
  display: block;
  width: 100%;
  height: auto;
}

.placeholder-titlebar {
  display: flex;
  gap: 0.35rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  background: #e9eef0;
}

.placeholder-titlebar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #aab7bf;
}

.placeholder-body {
  display: grid;
  min-height: 19rem;
  place-content: center;
  gap: 0.3rem;
  padding: 2rem;
  text-align: center;
}

.placeholder-body p {
  margin: 0;
  color: var(--muted-blue);
  font-weight: 700;
}

.placeholder-body span,
figcaption {
  color: var(--steel);
  font-size: 0.9rem;
}

figcaption {
  margin-top: 0.8rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-muted {
  background: var(--surface-muted);
}

.info-card {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--border);
  border-top: 4px solid var(--muted-blue);
  background: var(--surface);
}

.info-card p:last-child,
.lead-statement {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--muted-blue);
  content: "✓";
  font-weight: 700;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
}

.workflow-grid li {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.workflow-grid p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.step-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--muted-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.capability-line {
  color: var(--muted-blue);
  font-weight: 700;
  text-align: center;
}

.capability-line span {
  margin-inline: 0.35rem;
  color: var(--safety-yellow);
}

.product-screenshot {
  margin: 0;
}

.product-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-screenshot-primary {
  max-width: 64rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 1.5rem auto 0;
}

.screenshot-gallery figcaption {
  margin-top: 0.65rem;
}

.review-grid {
  align-items: start;
}

.review-notice {
  display: inline-block;
  margin-bottom: 0;
  padding: 0.5rem 0.7rem;
  border-left: 3px solid var(--safety-yellow);
  background: #fff9e8;
  font-weight: 700;
}

.pilot-value-layout {
  max-width: 58rem;
}

.pilot-value-intro {
  max-width: 35rem;
  margin-bottom: 2rem;
}

.pilot-value-heading {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.25vw, 2.6rem);
}

.measurement-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-top: 4px solid var(--muted-blue);
  background: var(--surface);
}

.measurement-panel h3 {
  margin-bottom: 1.25rem;
  color: var(--muted-blue);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.measurement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.measurement-list li {
  position: relative;
  padding-left: 1.3rem;
}

.measurement-list li::before {
  position: absolute;
  left: 0;
  color: var(--muted-blue);
  content: "✓";
  font-weight: 700;
}

.measurement-note {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  color: var(--steel);
  font-size: 0.94rem;
}

.pilot-offer {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--muted-blue);
}

.offer-lead {
  max-width: 44rem;
  color: var(--steel);
  font-size: 1.2rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.limitation {
  max-width: 52rem;
  margin: 2rem 0;
  color: var(--steel);
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  position: relative;
  padding: 1.15rem 2rem 1.15rem 0;
  cursor: pointer;
  font-weight: 700;
}

summary::marker {
  content: "";
}

summary::after {
  position: absolute;
  top: 1.08rem;
  right: 0;
  color: var(--muted-blue);
  content: "+";
  font-size: 1.25rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 46rem;
  color: var(--steel);
}

.final-cta {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  color: #edf3f5;
  background: var(--graphite);
}

.final-cta h2,
.final-cta p {
  color: inherit;
}

.section-kicker-light {
  color: #c8d8df;
}

.final-cta .section-kicker-light::before {
  background: var(--safety-yellow);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.text-link {
  color: #fff;
  font-weight: 700;
}

.pilot-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  color: var(--graphite);
}

.pilot-form .button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.form-row label,
.form-row legend {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #aebbc2;
  border-radius: 0.15rem;
  color: var(--graphite);
  background: #fff;
  font: inherit;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400 !important;
}

.choice input {
  width: 1rem;
  height: 1rem;
}

.honeypot-field {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  padding: 1.5rem 0;
  color: var(--steel);
  background: #fff;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .final-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .measurement-list {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .screenshot-placeholder {
    order: 2;
  }
}

@media (max-width: 800px) {
  #how-it-works,
  #pilot,
  #faq,
  #pilot-request {
    scroll-margin-top: 8rem;
  }

  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.8rem 0;
  }

  .site-header nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .header-content .button-small {
    margin-left: auto;
  }

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

  .button-group,
  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-group .button,
  .final-cta-actions .button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }
}
