/* ============================================================
   DEMO.CSS — Try Sonar page styles
   v2.0 — Try Sonar redesign
   Four blocks: Banner + statement · See It Before It Hits + form ·
   Pilot study · Executive-ready intelligence
   ============================================================ */

/* ============================================================
   SECTION 1 — Banner + statement
   ============================================================ */

.sonar-hero {
  /* Clears the fixed nav so the banner never sits behind it. */
  padding-block: calc(72px + var(--space-lg)) var(--space-lg);
  text-align: center;
}

.sonar-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-2xl);
}

.sonar-hero h1 {
  font-size: var(--text-4xl);
  max-width: 20ch;
}

/* "Upload nothing. Install nothing. Connect nothing." — the three
   refusals carry the pitch, so they get their own weight. */
.nothing-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
}

.nothing-list li {
  position: relative;
  padding-left: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-primary);
}

.nothing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--color-accent-gold);
  transform: rotate(45deg);
}

.sonar-hero-sub {
  margin-top: var(--space-lg);
  max-width: 52ch;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* ============================================================
   SECTION 2 — Method graphic + request form
   ============================================================ */

.section-method {
  padding-block: var(--space-xl);
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    rgba(0, 26, 74, 0.35) 50%,
    var(--color-bg) 100%
  );
}

.sonar-intro {
  margin-top: var(--space-2xl);
  text-align: center;
}

.sonar-intro p {
  margin-inline: auto;
  max-width: 60ch;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.fh-form-note {
  margin-top: var(--space-lg);
}

/* ============================================================
   SECTION 3 — The pilot study
   ============================================================ */

.section-pilot {
  padding-block: var(--space-xl);
}

.pilot-stack {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

/* The interface shot is a product screen, not page furniture — the
   device frame says so, and keeps its off-brand tile colours from
   reading as part of the layout. */
.device-frame {
  max-width: 300px;
  margin-inline: auto;
  padding: var(--space-sm);
  background: #05101f;
  border: 1px solid rgba(184, 150, 12, 0.3);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.pilot-copy h2 {
  font-size: var(--text-2xl);
}

.pilot-terms {
  margin-top: var(--space-md);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.pilot-receive-title {
  margin-top: var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent-gold);
}

.pilot-receive {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   SECTION 4 — Executive-ready intelligence
   ============================================================ */

.section-deliverables {
  padding-block: var(--space-xl) var(--space-3xl);
}

.deliverables-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .pilot-stack {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    justify-items: center;
    text-align: center;
  }

  .pilot-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pilot-terms {
    margin-inline: auto;
  }

  /* Centre the diamond markers with their text once the column
     is centred, rather than leaving them hanging left. */
  .pilot-receive li {
    padding-left: 0;
  }

  .pilot-receive li::before {
    position: static;
    display: inline-block;
    margin-right: var(--space-sm);
    vertical-align: middle;
  }
}

@media (max-width: 768px) {
  .sonar-hero {
    padding-block: calc(64px + var(--space-md)) var(--space-xl);
  }

  .sonar-hero-content {
    margin-top: var(--space-xl);
  }

  .sonar-hero h1 {
    font-size: var(--text-3xl);
  }

  .nothing-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .fh-form {
    padding: var(--space-md);
  }

  /* "Request Your Pilot" is a long label — trim the button's generous
     side padding so it stays on one line at phone widths. */
  .btn {
    padding-inline: var(--space-lg);
  }
}
