/* ============================================
   ForeStone — Page-specific styles
   Extends Sydeone base (styles.css)
   ============================================ */

/* ---- Hero ---- */
.fs-hero {
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.fs-network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
}

/* Radial glow on top of network */
.fs-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 114, 204, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.fs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.fs-product-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.fs-hero-inner h1 {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.fs-hero-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.fs-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Problem section — full-width prose layout ---- */
.fs-problem-prose {
  max-width: 700px;
  margin: 0 auto;
}

.fs-problem-prose p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.fs-problem-prose p:last-child { margin-bottom: 0; }

.fs-problem-prose p strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---- What changes — outcome list (mirrors fo-value-grid) ---- */
.fs-value-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.fs-value-header {
  position: sticky;
  top: 84px;
}

.fs-value-header .label { margin-bottom: 10px; }
.fs-value-header h2 { margin-bottom: 0; }

.fs-value-outcomes {
  display: flex;
  flex-direction: column;
}

.fs-outcome {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.fs-outcome:first-child {
  padding-top: 0;
  border-top: 1px solid var(--border-subtle);
}

.fs-outcome-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fs-outcome h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.fs-outcome p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---- Use cases grid ---- */
.fs-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ---- Final CTA section ---- */
.fs-cta-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0a111c 100%);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}

.fs-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}

.fs-cta-inner h2 {
  margin-bottom: 16px;
}

.fs-cta-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* ---- Footer ---- */
.fs-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .fs-value-grid { grid-template-columns: 1fr; gap: 40px; }
  .fs-value-header { position: static; }
  .fs-cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .fs-hero { padding: 72px 0 64px; }
  .fs-hero-cta { flex-direction: column; align-items: center; }
}
