/* SprayTrace marketing funnel — responsive + mobile-first */

/* Marketing photography */
.mkt-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--green-muted);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.1);
  background: #fff;
}
.mkt-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 22rem;
}
.mkt-figure.mkt-figure--tall img {
  max-height: 28rem;
}
.mkt-figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  background: var(--green-light);
  border-top: 1px solid var(--green-muted);
}
.mkt-img-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .mkt-img-grid--2 { grid-template-columns: 1fr 1fr; }
  .mkt-img-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.mkt-hero-visual {
  width: 100%;
}
.mkt-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .mkt-split { grid-template-columns: 1fr 1fr; }
}

/* Hero — balanced above-the-fold columns */
.hero-fold {
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hero-fold {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    align-items: stretch;
    min-height: min(78vh, 38rem);
  }
  .hero-fold__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-fold__visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}
.hero-fold__logo .brand-logo--lg img {
  width: min(100%, 20rem);
}
@media (min-width: 1024px) {
  .hero-fold__logo .brand-logo--lg img {
    width: min(100%, 24rem);
  }
}
.hero-fold__visual .mkt-figure img {
  max-height: 14rem;
}
@media (min-width: 1024px) {
  .hero-fold__visual .mkt-figure img {
    max-height: 16rem;
  }
}

.g-green { color: var(--green); }
.g-green-dark { color: var(--green-dark); }
.emphasis {
  color: var(--green-dark);
  font-weight: 800;
}
.stat-highlight {
  color: var(--green);
  font-weight: 900;
}

/* Typography scales with viewport */
.section-pad {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #374151;
  line-height: 1.65;
}
.body-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

/* Logos: trimmed assets — tight fit, no extra margin on the image box */
.brand-logo {
  line-height: 0;
}
.brand-logo img {
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-logo--header img {
  width: min(100%, 12rem);
}
@media (min-width: 640px) {
  .brand-logo--header img { width: min(100%, 15rem); }
}
@media (min-width: 768px) {
  .brand-logo--header img { width: min(100%, 17rem); }
}
.brand-logo--md img {
  width: min(100%, 20rem);
}
.brand-logo--lg img,
.brand-logo--xl img {
  width: min(100%, 22rem);
}
@media (min-width: 640px) {
  .brand-logo--lg img,
  .brand-logo--xl img { width: min(100%, 26rem); }
}
@media (min-width: 768px) {
  .brand-logo--lg img,
  .brand-logo--xl img { width: min(100%, 32rem); }
}
@media (min-width: 1024px) {
  .brand-logo--xl img { width: min(100%, 36rem); }
}

.logo-band {
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(0.35rem, 1.5vw, 0.6rem);
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--green-muted);
  box-shadow: 0 4px 14px rgba(34, 165, 89, 0.08);
  line-height: 0;
}
@media (min-width: 640px) {
  .logo-band { max-width: 26rem; }
}
@media (min-width: 768px) {
  .logo-band { max-width: 30rem; }
}
.logo-band--lg {
  max-width: 24rem;
}
@media (min-width: 768px) {
  .logo-band--lg { max-width: 36rem; }
}
.logo-band img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards & lists */
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-top: 0.5rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.risk-list li {
  padding-left: 1.25rem;
  position: relative;
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}
.risk-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}
.card-green { border-color: var(--green-muted); }
.cta-band {
  border: 1px solid var(--green-muted);
  background: linear-gradient(180deg, #fff 0%, var(--green-light) 100%);
}
.feature-card h3 {
  color: var(--green-dark);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}
.pricing-price {
  color: var(--green-dark);
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
}

/* Buttons — touch-friendly on mobile */
.btn-touch {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .btn-row .btn-touch { width: auto; }
}
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }
}

/* Header: same width as main (.page-wrap 72rem); logo + nav share one row on md+ */
.site-header {
  overflow: visible;
}
.site-header:not(.app-header-combined) .page-wrap.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  /* inherit .page-wrap max-width (72rem) — do not widen header past body */
}
.header-logo {
  flex: 0 0 auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
  order: 1;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--green-muted);
}
.site-header:not(.app-header-combined) .brand-logo--header img {
  width: min(100%, 14rem);
}
.nav-desktop {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 0.15rem 0;
  order: 2;
}
@media (min-width: 768px) {
  .site-header:not(.app-header-combined) .page-wrap.header-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
  }
  .site-header:not(.app-header-combined) .header-logo {
    justify-content: flex-start;
    padding-bottom: 0;
    border-bottom: none;
  }
  .site-header:not(.app-header-combined) .brand-logo--header img {
    width: min(100%, 11rem);
  }
  .site-header:not(.app-header-combined) .nav-desktop {
    width: auto;
    flex: 0 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(0.35rem, 1.2vw, 0.85rem);
    margin-left: auto;
  }
}
@media (min-width: 1024px) {
  .site-header:not(.app-header-combined) .brand-logo--header img {
    width: min(100%, 12.5rem);
  }
}
.nav-desktop a {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.nav-desktop .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav-desktop .nav-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}
.nav-desktop .nav-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  line-height: 1.2;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--navy);
  padding: 0.25rem 0;
}
details.faq-item summary:hover { color: var(--green-dark); }
details.faq-item[open] summary {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
}
.chip {
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  padding: 0.35rem 0.75rem;
}

@media (min-width: 768px) {
  section[id] { scroll-margin-top: 6rem; }
}

/* Sample compliance report preview (funnel) */
.sample-report-wrap {
  padding: clamp(0.5rem, 2vw, 1rem);
  background: linear-gradient(180deg, #e8f5ee 0%, #f0f5f1 100%);
  border-radius: 1rem;
  border: 1px solid var(--green-muted);
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.08);
}
.sample-report-doc {
  background: #fff;
  border-radius: 0.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #e5e7eb;
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  color: var(--text);
}
.sample-report-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--green);
  margin-bottom: 0.75rem;
}
.sample-report-logo .brand-logo--md img {
  width: min(100%, 11rem);
  height: auto;
}
.sample-report-meta {
  text-align: right;
  display: grid;
  gap: 0.15rem;
}
.sample-report-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-dark);
}
.sample-report-op {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.sample-report-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 900;
  color: var(--navy);
  margin: 0;
}
.sample-report-sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #6b7280;
}
.sample-report-note {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.75rem;
  color: #9ca3af;
  font-style: italic;
}
.sample-report-h {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0.85rem 0 0.35rem;
}
.sample-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: inherit;
}
.sample-report-table th,
.sample-report-table td {
  border: 1px solid var(--green-muted);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.sample-report-table th {
  background: var(--green-light);
  color: var(--navy);
  font-weight: 700;
  width: 18%;
  font-size: 0.72rem;
}
.sample-status-verified {
  color: var(--green-dark);
  font-weight: 800;
  text-transform: capitalize;
}
.sample-score {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--green);
}
.sample-report-footer {
  margin-top: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--green-muted);
  font-size: 0.72rem;
  color: #6b7280;
  text-align: center;
}
