/* ============================================================
   Feature page — Werking vastleggen
   Layered on top of site.css
   ============================================================ */

/* Hero for feature page — lighter than homepage hero */
.fp-hero {
  position: relative;
  padding-block: clamp(56px, 6vw, 88px) clamp(48px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, color-mix(in oklch, var(--brand-orange) 10%, transparent), transparent 60%),
    var(--bg-app);
}

.fp-crumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.fp-crumb a { color: var(--fg-3); }
.fp-crumb a:hover { color: var(--brand-navy); }
.fp-crumb svg { opacity: 0.5; }

.fp-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: #fff;
  border: 1px solid var(--brand-orange-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange-700);
  letter-spacing: 0;
  margin-bottom: 22px;
}
.fp-feature-tag__num {
  width: 22px; height: 22px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.fp-hero h1 {
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--brand-navy-800);
  max-width: 18ch;
  margin-bottom: 24px;
}
.fp-hero__lede {
  font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.25rem);
  color: var(--fg-3);
  max-width: 58ch;
  line-height: 1.55;
  margin-bottom: 32px;
}
.fp-hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 36px;
}
.fp-hero__meta-item {
  font-size: 13.5px;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
}
.fp-hero__meta-item svg { color: var(--brand-orange); }
.fp-hero__meta-item b { color: var(--fg-1); font-weight: 600; }

/* Hero — right-side value props (cleaner than a loose flex-column) */
.fp-hero__side {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fp-hero__side-item {
  display: flex; gap: 14px;
  padding: 18px 20px;
  align-items: center;
}
.fp-hero__side-item + .fp-hero__side-item {
  border-top: 1px solid var(--border-subtle);
}
.fp-hero__side-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 6px 14px -4px rgba(235,120,14,0.4);
}
.fp-hero__side-ico > svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #fff !important;
  stroke-width: 2;
  display: block;
  margin: 0 !important;
  flex: none;
}
.fp-hero__side-item b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fg-1);
  margin-bottom: 2px;
  line-height: 1.35;
}
.fp-hero__side-item span {
  display: block;
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.45;
}

/* ============================================================
   Problem band — the pain this feature solves
   ============================================================ */
.fp-pain {
  background: var(--brand-navy);
  color: rgba(255,255,255,0.92);
  padding-block: clamp(48px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.fp-pain::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(235,120,14,0.18), transparent 70%);
  z-index: -1;
}
.fp-pain .eyebrow {
  color: var(--brand-orange-300);
  margin-bottom: 14px;
}
.fp-pain .eyebrow .dot { background: var(--brand-orange); }
.fp-pain h2 {
  color: #fff;
  font-size: clamp(1.625rem, 1rem + 2.2vw, 2.25rem);
  max-width: 22ch;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.fp-pain p {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 54ch;
  margin: 0;
}

.fp-pain__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.fp-pain__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.fp-pain__stat b em {
  font-style: normal;
  color: var(--brand-orange-300);
  font-weight: 700;
  font-size: 0.6em;
  margin-left: 6px;
}
.fp-pain__stat span {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
  max-width: 32ch;
}
@media (max-width: 768px) {
  .fp-pain__stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   How it works — stepper with detail rows
   ============================================================ */
.fp-steps { padding-block: clamp(60px, 6vw, 96px); }

.fp-step-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(40px, 4vw, 64px);
  position: relative;
  align-items: start;
}
.fp-step-row + .fp-step-row { border-top: 1px solid var(--border-subtle); }
.fp-step-row__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fp-step-row__body h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-navy-800);
  margin-bottom: 14px;
  max-width: 20ch;
}
.fp-step-row__body p {
  color: var(--fg-3);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 0 18px;
}
.fp-step-row__list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.fp-step-row__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--fg-2);
}
.fp-step-row__list li svg {
  color: var(--success);
  flex: none;
  margin-top: 4px;
}

/* ============================================================
   Step visuals — reuse the sr-mock cards
   ============================================================ */
.fp-visual {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy-50), var(--bg-surface-2));
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  min-height: 320px;
  overflow: hidden;
}
.fp-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(235,120,14,0.08), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(63,73,127,0.08), transparent 45%);
  pointer-events: none;
}

/* Visual 1: conversational capture */
.fp-vis-convo {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.fp-vis-convo__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 600;
}
.fp-vis-convo__head .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--success);
}
.fp-vis-convo__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.fp-vis-convo__row--me { flex-direction: row-reverse; }
.fp-vis-convo__avatar {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--brand-navy-100);
  color: var(--brand-navy-800);
  font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
}
.fp-vis-convo__avatar img { width: 100%; height: 100%; object-fit: cover; }
.fp-vis-convo__bubble {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  background: var(--bg-sunken);
  color: var(--fg-1);
  max-width: 78%;
  border-top-left-radius: 4px;
}
.fp-vis-convo__row--me .fp-vis-convo__bubble {
  background: var(--brand-navy);
  color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 4px;
}

/* Visual 2: article preview */
.fp-vis-article {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.fp-vis-article__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy-800);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.fp-vis-article__meta {
  font-size: 11.5px;
  color: var(--fg-3);
  margin-bottom: 12px;
  display: flex; gap: 12px;
}
.fp-vis-article__body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--fg-2);
}
.fp-vis-article__hi {
  background: color-mix(in oklch, var(--brand-orange) 18%, transparent);
  border-bottom: 2px solid var(--brand-orange);
  padding: 0 2px;
}
.fp-vis-article__ann {
  position: absolute;
  right: -10px; top: 30%;
  background: var(--brand-navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 11.5px;
  box-shadow: var(--shadow-md);
  max-width: 180px;
}
.fp-vis-article__ann::before {
  content: "";
  position: absolute;
  left: -6px; top: 12px;
  border: 6px solid transparent;
  border-right-color: var(--brand-navy);
  border-left: 0;
}

/* Visual 3: publish / organise */
.fp-vis-publish {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  z-index: 1;
}
.fp-vis-publish__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.fp-vis-publish__head span { color: var(--success); font-size: 11px; letter-spacing: 0.04em; }
.fp-vis-publish__body { padding: 12px; }
.fp-vis-publish__item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg-1);
}
.fp-vis-publish__item + .fp-vis-publish__item { margin-top: 2px; }
.fp-vis-publish__item.on {
  background: var(--brand-navy-50);
  color: var(--brand-navy-800);
  font-weight: 500;
}
.fp-vis-publish__item.sub {
  margin-left: 24px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.fp-vis-publish__ico {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--fg-3);
}
.fp-vis-publish__item.on .fp-vis-publish__ico { color: var(--brand-orange); }
.fp-vis-publish__badge {
  margin-left: auto;
  font-size: 10.5px;
  padding: 2px 8px;
  background: var(--success-bg);
  color: var(--success-fg);
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .fp-step-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .fp-step-row__num { font-size: 36px; }
}

/* ============================================================
   Callout — quote from founder or customer
   ============================================================ */
.fp-callout {
  background: var(--brand-orange-50);
  border-top: 1px solid color-mix(in oklch, var(--brand-orange) 20%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--brand-orange) 20%, transparent);
  padding-block: clamp(48px, 5vw, 72px);
}
.fp-callout__quote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 600;
  color: var(--brand-navy-800);
  letter-spacing: -0.015em;
  line-height: 1.35;
  max-width: 28ch;
  margin: 0 0 24px;
  text-wrap: balance;
}
.fp-callout__quote::before {
  content: "\201C";
  color: var(--brand-orange);
  font-family: var(--font-display);
  font-size: 3.5em;
  line-height: 0.6;
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
}
.fp-callout__who {
  display: flex; align-items: center; gap: 14px;
}
.fp-callout__avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--brand-navy-100);
  color: var(--brand-navy-800);
  font-weight: 700;
  font-size: 16px;
  display: grid; place-items: center;
}
.fp-callout__who b { display: block; color: var(--fg-1); font-size: 15px; }
.fp-callout__who span { color: var(--fg-3); font-size: 13.5px; }

/* Callout result card — tight, sits right next to the quote */
.fp-callout__result {
  background: #fff;
  border: 1px solid color-mix(in oklch, var(--brand-orange) 28%, transparent);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  box-shadow: 0 10px 30px -12px rgba(235,120,14,0.25), 0 1px 2px rgba(37,43,72,0.06);
  position: relative;
}
.fp-callout__result-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-orange-700);
  margin-bottom: 14px;
  padding: 4px 10px 4px 8px;
  background: var(--brand-orange-50);
  border-radius: 999px;
}
.fp-callout__result-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-orange);
}
.fp-callout__result-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 1.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy-800);
  line-height: 1;
  margin-bottom: 8px;
}
.fp-callout__result-num em {
  font-style: normal;
  font-size: 0.5em;
  font-weight: 700;
  color: var(--fg-2);
  margin-left: 2px;
  letter-spacing: -0.01em;
}
.fp-callout__result-sub {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.45;
}
.fp-callout__result-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 16px 0 12px;
}
.fp-callout__result-foot {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 500;
}
.fp-callout__result-foot svg { color: var(--success); flex: none; }

/* ============================================================
   Related — other features
   ============================================================ */
.fp-related {
  padding-block: clamp(56px, 6vw, 88px);
}
.fp-related h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  color: var(--brand-navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 20ch;
}
.fp-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fp-related__card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--dur-base), transform var(--dur-base), border-color var(--dur-base);
  text-decoration: none;
}
.fp-related__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand-navy-200);
  color: inherit;
}
.fp-related__card .sr-feature__tag { margin: 0; }
.fp-related__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy-800);
  margin: 0;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.fp-related__card p {
  color: var(--fg-3);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.fp-related__card__link {
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
}
.fp-related__card__link svg { transition: transform var(--dur-fast); }
.fp-related__card:hover .fp-related__card__link svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .fp-related__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Feature page CTA (reuses .sr-final aesthetic but denser)
   ============================================================ */
.fp-cta {
  padding-block: clamp(56px, 6vw, 88px);
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--brand-orange-50), transparent 60%),
    var(--bg-app);
}
.fp-cta h2 {
  max-width: 22ch;
  margin: 0 auto 14px;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-navy-800);
}
.fp-cta p {
  color: var(--fg-3);
  max-width: 52ch;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
}
