.seo-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.seo-hero-image,
.seo-hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.seo-hero-image {
  object-fit: cover;
}

.seo-hero-scrim {
  background:
    linear-gradient(90deg, rgba(16, 28, 24, 0.88), rgba(16, 28, 24, 0.48) 56%, rgba(16, 28, 24, 0.2)),
    linear-gradient(0deg, rgba(16, 28, 24, 0.82), rgba(16, 28, 24, 0.08) 46%);
}

.seo-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 56px;
}

.seo-eyebrow {
  margin: 0 0 16px;
  color: #f3cf77;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.55rem, 4.7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.seo-hero-lede {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.seo-queue-hero-page .seo-hero {
  min-height: auto;
  align-items: stretch;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(14, 118, 104, 0.14), transparent 34%),
    radial-gradient(circle at 18% 14%, rgba(214, 168, 79, 0.16), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f7f4ee 46%, #edf4ec 100%);
  border-bottom: 1px solid rgba(32, 61, 52, 0.14);
}

.seo-queue-hero-page .seo-hero-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(440px, 0.9fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  width: min(1480px, calc(100% - 40px));
  padding: clamp(124px, 10vw, 156px) 0 clamp(34px, 4.4vw, 56px);
}

.seo-queue-hero-page .seo-hero-copy {
  min-width: 0;
  transform: translate(18px, -36px);
}

.seo-queue-hero-page .seo-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 22px;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--teal);
  background: rgba(29, 182, 161, 0.14);
}

.seo-queue-hero-page .seo-hero h1 {
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 0.98;
  text-shadow: none;
}

.seo-queue-hero-page .seo-hero-lede {
  max-width: 690px;
  color: rgba(32, 61, 52, 0.82);
  font-weight: 720;
}

.seo-queue-hero-page .seo-hero .button.secondary {
  color: var(--forest);
  border-color: rgba(32, 61, 52, 0.22);
  background: rgba(255, 255, 255, 0.56);
}

.seo-hero-queue {
  min-width: 0;
  transform: translateY(-32px);
}

.seo-hero-queue .queue-preview-shell {
  border-color: rgba(14, 118, 104, 0.16);
  border-radius: 14px;
  box-shadow:
    0 34px 80px rgba(23, 33, 31, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.seo-hero-queue .queue-card-stack {
  min-height: clamp(320px, 27vw, 410px);
}

.seo-hero-queue .queue-cycle-card {
  padding: clamp(22px, 3vw, 32px);
}

.seo-hero-queue .queue-cycle-card strong {
  font-size: clamp(1.32rem, 2.35vw, 2.2rem);
  line-height: 1.08;
}

.seo-hero-queue .queue-cycle-card p {
  max-width: 720px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.seo-proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 40px));
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid rgba(32, 61, 52, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.seo-proof-strip article {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.seo-proof-strip article:last-child {
  border-right: 0;
}

.seo-proof-strip span,
.seo-card span,
.seo-small-label {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-proof-strip strong {
  display: block;
  color: var(--forest);
  font-size: 1rem;
  line-height: 1.35;
}

.seo-main {
  background: var(--paper);
}

.seo-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.seo-section[id] {
  scroll-margin-top: 96px;
}

.seo-section + .seo-section {
  border-top: 1px solid rgba(32, 61, 52, 0.12);
}

.seo-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.seo-heading h2,
.seo-section h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.seo-heading p,
.seo-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.seo-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.seo-card,
.seo-panel,
.seo-faq details {
  border: 1px solid rgba(32, 61, 52, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 33, 31, 0.08);
}

.seo-card {
  padding: 22px;
}

.seo-card h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 1.24rem;
  line-height: 1.2;
}

.seo-card p,
.seo-card li,
.seo-panel p,
.seo-panel li,
.seo-faq p {
  color: var(--muted);
  line-height: 1.56;
}

.seo-card ul,
.seo-panel ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.seo-panel {
  padding: clamp(22px, 3.4vw, 36px);
}

.seo-panel h2,
.seo-panel h3 {
  margin-top: 0;
  color: var(--forest);
}

.seo-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 56px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(32, 61, 52, 0.96), rgba(14, 118, 104, 0.92)),
    var(--forest);
}

.seo-cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.seo-cta-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.seo-faq {
  display: grid;
  gap: 14px;
}

.seo-faq details {
  padding: 18px 22px;
}

.seo-faq summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 850;
}

.seo-faq p {
  margin: 14px 0 0;
}

.seo-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seo-link-list a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(32, 61, 52, 0.16);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 860px) {
  .seo-queue-hero-page .seo-hero-content,
  .seo-proof-strip,
  .seo-heading,
  .seo-grid,
  .seo-grid.two,
  .seo-cta-band {
    grid-template-columns: 1fr;
  }

  .seo-hero-queue {
    transform: none;
  }

  .seo-queue-hero-page .seo-hero-copy {
    transform: none;
  }

  .seo-proof-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .seo-proof-strip article:last-child {
    border-bottom: 0;
  }

  .seo-cta-band {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .seo-hero-content,
  .seo-queue-hero-page .seo-hero-content,
  .seo-proof-strip,
  .seo-section,
  .seo-cta-band {
    width: min(100% - 28px, 1120px);
  }

  .seo-hero-content {
    padding-top: 128px;
  }

  .seo-queue-hero-page .seo-hero-content {
    padding-top: 118px;
    padding-bottom: 14px;
  }

  .seo-proof-strip {
    margin-top: 0;
  }

  .seo-hero-queue .queue-preview-shell {
    padding: 14px;
  }

  .seo-hero-queue .queue-card-stack {
    min-height: clamp(300px, 78vw, 350px);
  }

  .seo-hero-queue .queue-cycle-card {
    gap: 16px;
    padding: 18px;
  }

  .seo-hero-queue .queue-cycle-card strong {
    font-size: clamp(1.28rem, 6.8vw, 1.72rem);
  }

  .seo-section {
    padding: 44px 0;
  }
}
