/* ── Landing page ──────────────────────────────────────────────────────── */

/* ── 1. Hero ──────────────────────────────────────────────────────────── */

.lp-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface-alt) 60%, var(--color-navy-mid) 100%);
  padding: 4.5rem 0 3.5rem;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lp-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.lp-headline {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.lp-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  margin-bottom: 1.75rem;
}

.lp-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lp-hero-media {
  min-height: 1px;
}

@media (max-width: 999px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
  }
  /* Video under the hero text (it used to be hidden on mobile) */
  .lp-hero-media {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}

/* ── 2. Trust strip ───────────────────────────────────────────────────── */

.lp-trust {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.85rem 0;
}

.lp-trust-inner {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.lp-trust-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* ── 3. Feature highlights ────────────────────────────────────────────── */

.lp-features {
  background: var(--color-surface);
}

.lp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 999px) {
  .lp-feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .lp-feat-grid { grid-template-columns: 1fr; }
}

.lp-feat-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  /* Icon and title share the first row; text and link span both columns
     below. The 1fr row keeps "Learn more" links aligned across cards. */
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  -moz-column-gap: 0.6rem;
       column-gap: 0.6rem;
  row-gap: 0.6rem;
  align-items: center;
}

.lp-feat-card > :not(.lp-feat-icon, h3) {
  grid-column: 1 / -1;
}

.lp-feat-icon {
  display: flex;
  color: var(--color-primary);
}

.lp-feat-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.lp-feat-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  align-self: start;
}

.lp-feat-link {
  font-size: 0.82rem;
  color: var(--color-accent);
  text-decoration: none;
  justify-self: start;
}

.lp-feat-link:hover {
  text-decoration: underline;
}

/* ── 4. Demo band ─────────────────────────────────────────────────────── */

.lp-demo-band {
  background: var(--color-navy-mid, var(--color-surface-alt));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 0;
}

.lp-demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-demo-phones {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: flex-end;
}

.lp-demo-phone {
  width: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lp-demo-phone--overlap {
  margin-left: -1.5rem;
  margin-bottom: -0.5rem;
}

.lp-demo-copy h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.lp-demo-copy p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (max-width: 999px) {
  .lp-demo-inner {
    grid-template-columns: 1fr;
  }
  .lp-demo-phones {
    display: none;
  }
  .lp-demo-copy {
    text-align: center;
  }
}

/* ── 5. Use-case strip ────────────────────────────────────────────────── */

.lp-usecases {
  background: var(--color-bg);
}

.lp-usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 599px) {
  .lp-usecase-grid { grid-template-columns: 1fr; }
}

.lp-usecase-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.lp-usecase-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.1rem;
}

.lp-usecase-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.lp-usecase-body {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── 6. How it works ─────────────────────────────────────────────────── */

.lp-steps {
  background: var(--color-surface);
}

.lp-step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.lp-step {
  /* Number and title share the first row; the text spans below.
     (The step body wrapper is flattened with display: contents.) */
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: start; /* equal-height steps: keep rows packed at the top */
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  row-gap: 0.6rem;
}

.lp-step-body {
  display: contents;
}

.lp-step-body p {
  grid-column: 1 / -1;
}

.lp-step-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.lp-step-body h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.lp-step-body p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 999px) {
  .lp-step-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .lp-step-list {
    grid-template-columns: 1fr;
  }
}

/* ── 7. Pricing teaser ────────────────────────────────────────────────── */

.lp-pricing-teaser {
  background: var(--color-bg);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.lp-pricing-teaser h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.lp-pricing-teaser p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.lp-pricing-teaser-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.lp-pricing-teaser-link:hover {
  text-decoration: underline;
}

/* ── 8. FAQ teaser ────────────────────────────────────────────────────── */

.lp-faq-teaser {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
}

.lp-faq-inner {
  max-width: 700px;
}

.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.lp-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.lp-faq-item:last-child {
  border-bottom: none;
}

.lp-faq-q {
  display: block;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  background: var(--color-surface);
}

.lp-faq-q::-webkit-details-marker {
  display: none;
}

.lp-faq-q::after {
  content: '+';
  float: right;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: transform 0.15s;
}

details[open] .lp-faq-q::after {
  content: '−';
}

.lp-faq-a {
  padding: 0.75rem 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  background: var(--color-surface);
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.lp-faq-footer {
  text-align: center;   /* under the centred FAQ list */
}

.lp-faq-more {
  font-size: 0.9rem;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.lp-faq-more:hover {
  text-decoration: underline;
}

/* ── 9. Bottom CTA ────────────────────────────────────────────────────── */

.lp-bottom-cta {
  text-align: center;
}

/* First-survey wizard (PROMPTS/19): the free first-survey line under the AI card */
.lp-feat-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
