/* ============================================================================
  FOREMAN AI — SEO landing pages (takeoff-software, trade pages, compare)
  Uses the landing_v2.css theme variables so these pages match the homepage:
  --v2-bg #030712, --v2-accent safety orange #f97316, Inter, card tokens.
  ============================================================================ */

.seo-lp-page .v2-section { padding: 5.5rem 0; }
.seo-lp-page .v2-section--alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--v2-card-border);
  border-bottom: 1px solid var(--v2-card-border);
}

/* Eyebrow — same recipe as the homepage's whatis-eyebrow */
.seo-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--v2-accent); margin-bottom: 18px;
}
.seo-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--v2-accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .14);
}

/* Headings / prose */
/* Headings render BRIGHT WHITE on purpose — other marketing styles tend to
   inherit faded/gradient heading colors that are hard to read on the dark bg. */
.seo-lp-page .seo-h1, .seo-lp-page h1.seo-h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.06;
  letter-spacing: -.02em; font-weight: 800; margin: 0 0 20px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  background: none;
}
.seo-lp-page .seo-h2, .seo-lp-page h2.seo-h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.08;
  letter-spacing: -.02em; font-weight: 780; margin: 0 0 16px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  background: none;
}
.seo-lp-page .seo-card h3, .seo-lp-page .seo-step h3,
.seo-lp-page .seo-prose h3, .seo-lp-page .seo-faq-item summary {
  color: #ffffff !important;
}
.seo-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.62; color: var(--v2-text-muted); margin: 0 0 28px; max-width: 60ch; }
.seo-intro { font-size: 1.02rem; line-height: 1.6; color: var(--v2-text-muted); margin: 0 auto; max-width: 62ch; }
.seo-trust { font-size: .85rem; color: var(--v2-text-muted); margin-top: 16px; }
.seo-section-head { max-width: 840px; margin: 0 auto 2.5rem; text-align: center; }

/* Hero */
.seo-hero { padding-top: 4.5rem; }
.seo-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .seo-hero-grid { grid-template-columns: 1fr; } }
.seo-hero-card {
  background: var(--v2-card-bg); border: 1px solid var(--v2-card-border);
  border-radius: var(--v2-radius-lg); padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.seo-hero-card-label {
  font: 700 11.5px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--v2-accent); margin: 0 0 1.1rem;
}
.seo-hero-card-rows { display: flex; flex-direction: column; gap: .6rem; }
.seo-hero-card-row {
  background: rgba(255,255,255,0.04); border: 1px solid var(--v2-card-border);
  border-radius: 8px; padding: .7rem 1rem; font-size: .875rem; color: #cbd5e1;
}
.seo-hero-card-btn { width: 100%; margin-top: 1.4rem; text-align: center; display: block; }

/* Cards */
.seo-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.seo-card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.seo-card {
  background: var(--v2-card-bg); border: 1px solid var(--v2-card-border);
  border-radius: 14px; padding: 1.5rem; transition: var(--v2-transition);
}
.seo-card:hover { background: var(--v2-card-hover); }
.seo-card h3 { font-size: 1.02rem; font-weight: 650; color: var(--v2-text); margin: 0 0 .5rem; letter-spacing: -.01em; }
.seo-card h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--v2-accent); margin-right: 9px; vertical-align: middle;
}
.seo-card p { font-size: .9rem; color: var(--v2-text-muted); margin: 0; line-height: 1.55; }
.seo-card-tag {
  font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--v2-accent); margin-bottom: .7rem;
}
.seo-card-tag + h3::before { display: none; }

/* Steps */
.seo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.seo-step { background: var(--v2-card-bg); border: 1px solid var(--v2-card-border); border-radius: 14px; padding: 1.6rem; }
.seo-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(249, 115, 22, 0.14); color: var(--v2-accent);
  font-size: .875rem; font-weight: 700; margin-bottom: 1rem;
}
.seo-step h3 { font-size: 1rem; font-weight: 650; color: var(--v2-text); margin: 0 0 .5rem; }
.seo-step p { font-size: .875rem; color: var(--v2-text-muted); margin: 0; line-height: 1.6; }

/* Trade link grid */
.seo-trade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.seo-trade-link {
  display: block; background: var(--v2-card-bg); border: 1px solid var(--v2-card-border);
  border-radius: 12px; padding: 1.1rem 1.25rem; color: var(--v2-text);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: var(--v2-transition);
}
.seo-trade-link:hover { border-color: rgba(249, 115, 22, .45); background: rgba(249, 115, 22, .06); color: var(--v2-accent); }
.seo-trade-link span { display: block; font-size: .8125rem; font-weight: 400; color: var(--v2-text-muted); margin-top: .3rem; }

/* Long-form prose */
.seo-prose { max-width: 820px; margin: 0 auto; font-size: .975rem; color: #a7b3c4; line-height: 1.75; }
.seo-prose h3 { color: var(--v2-text); font-size: 1.15rem; margin: 2rem 0 .75rem; letter-spacing: -.01em; }
.seo-prose p { margin: 0 0 1rem; }
.seo-prose a { color: var(--v2-accent); }
.seo-prose ul { margin: 0 0 1rem 1.25rem; }
.seo-prose li { margin-bottom: .4rem; }

/* FAQ — native <details>, styled to match the homepage FAQ look */
.seo-faq { max-width: 820px; margin: 0 auto; }
.seo-faq-item {
  background: var(--v2-card-bg); border: 1px solid var(--v2-card-border);
  border-radius: 12px; margin-bottom: .75rem;
}
.seo-faq-item summary {
  cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-size: .975rem; font-weight: 600; color: var(--v2-text);
  list-style: none; position: relative;
}
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%); color: var(--v2-accent);
  font-size: 1.25rem; font-weight: 400;
}
.seo-faq-item[open] summary::after { content: "–"; }
.seo-faq-a { padding: 0 1.3rem 1.15rem; font-size: .9rem; color: #a7b3c4; line-height: 1.65; }
.seo-faq-a p { margin: 0 0 .6rem; }

/* Comparison table */
.seo-cmp-table-wrap { overflow-x: auto; max-width: 980px; margin: 0 auto; border: 1px solid var(--v2-card-border); border-radius: 14px; }
.seo-cmp-table { width: 100%; border-collapse: collapse; background: var(--v2-card-bg); min-width: 640px; }
.seo-cmp-table th, .seo-cmp-table td {
  padding: .9rem 1.1rem; text-align: left; font-size: .9rem; line-height: 1.5;
  border-bottom: 1px solid var(--v2-card-border);
}
.seo-cmp-table tr:last-child td { border-bottom: none; }
.seo-cmp-table th { color: var(--v2-text); font-weight: 700; font-size: .9375rem; background: rgba(255,255,255,0.03); }
.seo-cmp-table th:first-child { width: 30%; }
.seo-cmp-table td:first-child { color: var(--v2-text); font-weight: 600; }
.seo-cmp-table td { color: var(--v2-text-muted); }
.seo-cmp-table td.seo-cmp-us { color: #e2e8f0; }
.seo-cmp-table th.seo-cmp-us { color: var(--v2-accent); }

/* Verdict panel */
.seo-verdict {
  max-width: 820px; margin: 2rem auto 0;
  background: rgba(249, 115, 22, 0.06); border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 14px; padding: 1.5rem 1.75rem;
  font-size: .975rem; color: #d9dfe9; line-height: 1.65;
}
.seo-verdict strong { color: var(--v2-accent); }

/* CTA */
.seo-cta { text-align: center; max-width: 720px; }
.seo-cta-btns { justify-content: center; margin-top: 1.6rem; }

/* Breadcrumb-ish back link */
.seo-backlink { font-size: .85rem; color: var(--v2-text-muted); text-decoration: none; display: inline-block; margin-bottom: 1.25rem; }
.seo-backlink:hover { color: var(--v2-accent); }
