/* FlowPost Pro — Landing Page Stylesheet
   Tokens inherited from the app design system (Loopstory design/tokens.css)
   Prefixed --fp- for the landing context. Same values, same system. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Surfaces — identical to app */
  --fp-bg: #0b0b0c;
  --fp-s1: #131316;
  --fp-s2: #1a1a1e;
  --fp-s3: #232328;
  --fp-line: #26262b;
  --fp-line-soft: #1c1c20;
  --fp-line-strong: #36363c;

  /* Text — warm whites */
  --fp-ink: #f3efe7;
  --fp-ink-mute: #9b958a;
  --fp-ink-faint: #5a554d;
  --fp-ink-ghost: #38342f;

  /* Accent — amber, the only color */
  --fp-amber: #E8A427;
  --fp-amber-dim: #b27e1c;
  --fp-amber-soft: rgba(232,164,39,0.12);
  --fp-amber-line: rgba(232,164,39,0.4);

  /* Status */
  --fp-ok: #5fb47b;
  --fp-ok-soft: rgba(95,180,123,0.08);
  --fp-ok-line: rgba(95,180,123,0.32);
  --fp-err: #d6504d;
  --fp-draft: #6c6962;

  /* Radius — restrained, max 8px */
  --fp-r-1: 2px;
  --fp-r-2: 4px;
  --fp-r-3: 6px;
  --fp-r-4: 8px;

  /* Type families */
  --fp-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --fp-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Landing-specific type scale */
  --fp-text-hero: clamp(44px, 7vw, 76px);
  --fp-text-display: clamp(32px, 5vw, 56px);
  --fp-text-heading: clamp(22px, 3.2vw, 34px);
  --fp-text-subhead: clamp(17px, 2vw, 22px);
  --fp-text-body-lg: clamp(15px, 1.6vw, 17px);
  --fp-text-body: 14px;
  --fp-text-sm: 13px;
  --fp-text-xs: 11px;
  --fp-text-xxs: 10px;

  /* Landing spacing */
  --fp-section-pad: clamp(56px, 9vw, 112px);
  --fp-content-max: 1080px;
  --fp-text-max: 640px;

  /* Easing */
  --fp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fp-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--fp-bg);
  color: var(--fp-ink);
  font-family: var(--fp-sans);
  font-size: var(--fp-text-body);
  line-height: 1.6;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.fp-container {
  width: 100%;
  max-width: var(--fp-content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.fp-label {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fp-ink-mute);
  font-weight: 500;
}
.fp-label--amber { color: var(--fp-amber); }
.fp-num {
  font-family: var(--fp-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.fp-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.fp-section-label .fp-label-idx {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xs);
  color: var(--fp-amber);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.fp-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ============================================================
   COMPONENTS: BUTTONS
   ============================================================ */
.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--fp-r-2);
  border: 1px solid transparent;
  transition: all 0.18s var(--fp-ease-smooth);
  white-space: nowrap;
}
.fp-btn--primary {
  background: var(--fp-amber);
  color: #0b0b0c;
  border-color: var(--fp-amber);
}
.fp-btn--primary:hover {
  background: #f0b23a;
  box-shadow: 0 4px 20px rgba(232,164,39,0.25);
  transform: translateY(-1px);
}
.fp-btn--ghost {
  background: transparent;
  color: var(--fp-ink-mute);
  border-color: var(--fp-line-strong);
}
.fp-btn--ghost:hover {
  border-color: var(--fp-ink-faint);
  color: var(--fp-ink);
  background: rgba(255,255,255,0.03);
}
.fp-btn--lg {
  padding: 16px 28px;
  font-size: 12px;
}

/* ============================================================
   COMPONENTS: BADGES & DOTS
   ============================================================ */
.fp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fp-dot--ok { background: var(--fp-ok); }
.fp-dot--amber { background: var(--fp-amber); }
.fp-dot--err { background: var(--fp-err); }
.fp-dot--draft { background: var(--fp-draft); }
.fp-dot--live {
  background: var(--fp-ok);
  box-shadow: 0 0 0 3px rgba(95,180,123,0.18);
  animation: fp-pulse 2s ease-in-out infinite;
}
@keyframes fp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(95,180,123,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(95,180,123,0.08); }
}

.fp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--fp-r-1);
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fp-badge--ok {
  color: #9bd2ad;
  border: 1px solid var(--fp-ok-line);
  background: var(--fp-ok-soft);
}
.fp-badge--amber {
  color: var(--fp-amber);
  border: 1px solid var(--fp-amber-line);
  background: var(--fp-amber-soft);
}

/* ============================================================
   COMPONENTS: PANELS
   ============================================================ */
.fp-panel {
  background: var(--fp-s1);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-3);
}

/* ============================================================
   NAV
   ============================================================ */
.fp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--fp-ease-smooth),
              border-color 0.35s var(--fp-ease-smooth),
              backdrop-filter 0.35s var(--fp-ease-smooth);
  border-bottom: 1px solid transparent;
}
.fp-nav.scrolled {
  background: rgba(11,11,12,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--fp-line);
}
.fp-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.fp-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-nav__mark {
  width: 28px; height: 28px;
  border-radius: var(--fp-r-2);
  background: var(--fp-amber);
  display: flex; align-items: center; justify-content: center;
  color: #0b0b0c;
  font-family: var(--fp-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
  position: relative;
}
.fp-nav__mark::after {
  content: '';
  position: absolute; inset: 3px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
}
.fp-nav__name {
  font-family: var(--fp-mono);
  font-weight: 600;
  font-size: var(--fp-text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fp-nav__name span { color: var(--fp-ink-faint); font-weight: 500; }
.fp-nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.fp-nav__link {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fp-ink-mute);
  transition: color 0.15s;
}
.fp-nav__link:hover { color: var(--fp-ink); }
.fp-nav__cta { margin-left: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.fp-hero {
  padding: calc(64px + 80px) 0 var(--fp-section-pad);
  position: relative;
  overflow: hidden;
}
.fp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fp-hero__content { max-width: 520px; }
.fp-hero__status {
  margin-bottom: 24px;
}
.fp-hero__h1 {
  font-family: var(--fp-sans);
  font-size: var(--fp-text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.fp-hero__h1 em {
  font-style: normal;
  color: var(--fp-amber);
}
.fp-hero__sub {
  font-size: var(--fp-text-body-lg);
  color: var(--fp-ink-mute);
  line-height: 1.65;
  max-width: var(--fp-text-max);
  margin-bottom: 32px;
}
.fp-hero__sub strong {
  color: var(--fp-ink);
  font-weight: 500;
}
.fp-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ============================================================
   HERO — DASHBOARD SIMULATION
   ============================================================ */
.fp-sim {
  border-radius: var(--fp-r-4);
  border: 1px solid var(--fp-line-strong);
  overflow: hidden;
  background: var(--fp-bg);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(232,164,39,0.04);
  position: relative;
}

/* Titlebar */
.fp-sim__titlebar {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  background: #08080a;
  border-bottom: 1px solid var(--fp-line-soft);
}
.fp-sim__dots { display: flex; gap: 6px; }
.fp-sim__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.fp-sim__dots span:nth-child(1) { background: #d6504d; opacity: 0.85; }
.fp-sim__dots span:nth-child(2) { background: #d09833; opacity: 0.85; }
.fp-sim__dots span:nth-child(3) { background: #5fb47b; opacity: 0.85; }
.fp-sim__titlebar-text {
  font-family: var(--fp-mono);
  font-size: 10px;
  color: var(--fp-ink-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* Sim Nav */
.fp-sim__nav {
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 16px;
  border-bottom: 1px solid var(--fp-line);
  background: #0d0d10;
}
.fp-sim__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 14px;
  border-right: 1px solid var(--fp-line);
}
.fp-sim__brand-mark {
  width: 20px; height: 20px;
  border-radius: 3px;
  background: var(--fp-amber);
  display: flex; align-items: center; justify-content: center;
  color: #0b0b0c;
  font-family: var(--fp-mono);
  font-weight: 700;
  font-size: 11px;
}
.fp-sim__brand-name {
  font-family: var(--fp-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fp-sim__tabs {
  display: flex;
  gap: 2px;
}
.fp-sim__tab {
  font-family: var(--fp-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-ink-faint);
  padding: 0 8px;
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
}
.fp-sim__tab--active {
  color: var(--fp-ink);
}
.fp-sim__tab--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--fp-amber);
}
.fp-sim__pill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: var(--fp-ok-soft);
  border: 1px solid var(--fp-ok-line);
  border-radius: var(--fp-r-1);
  font-family: var(--fp-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b7e3c4;
}
.fp-sim__pill .fp-dot { width: 5px; height: 5px; }

/* Sim Body */
.fp-sim__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}

/* Sim Left — main area */
.fp-sim__main {
  padding: 16px 18px;
  position: relative;
}
.fp-sim__main::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.fp-sim__header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.fp-sim__header-line .fp-label { font-size: 9px; }
.fp-sim__header-line hr {
  flex: 1;
  border: none;
  height: 1px;
  background: var(--fp-line);
}
.fp-sim__counter {
  font-family: var(--fp-mono);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.fp-sim__counter span { color: var(--fp-ink-faint); font-size: 14px; }
.fp-sim__title {
  font-family: var(--fp-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}
.fp-sim__title em {
  font-style: normal;
  color: var(--fp-amber);
}

/* Sim progress bar */
.fp-sim__progress {
  display: flex;
  gap: 2px;
  height: 5px;
  margin-bottom: 14px;
}
.fp-sim__progress-seg {
  flex: 1;
  background: var(--fp-line-soft);
}
.fp-sim__progress-seg--done { background: var(--fp-amber); }
.fp-sim__progress-seg--active {
  background: var(--fp-amber);
  opacity: 0.55;
  box-shadow: 0 0 6px var(--fp-amber);
  animation: fp-seg-pulse 1.6s ease-in-out infinite;
}
@keyframes fp-seg-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.9; }
}

/* Sim step ladder (simplified) */
.fp-sim__steps {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fp-sim__step {
  display: grid;
  grid-template-columns: 16px 1fr 42px;
  gap: 7px;
  align-items: center;
  padding: 5px 8px;
  font-size: 11px;
  border-radius: 3px;
}
.fp-sim__step--active {
  background: var(--fp-amber-soft);
  border: 1px solid var(--fp-amber-line);
}
.fp-sim__step-icon {
  width: 14px; height: 14px;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
}
.fp-sim__step-icon--done {
  background: rgba(95,180,123,0.1);
  border: 1px solid rgba(95,180,123,0.3);
  color: #7ec898;
}
.fp-sim__step-icon--active {
  background: rgba(232,164,39,0.15);
  border: 1px solid var(--fp-amber);
}
.fp-sim__step-icon--active::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fp-amber);
}
.fp-sim__step-icon--pending {
  border: 1px dashed var(--fp-line-strong);
}
.fp-sim__step-text { color: var(--fp-ink-mute); }
.fp-sim__step--active .fp-sim__step-text { color: var(--fp-ink); font-weight: 500; }
.fp-sim__step-time {
  font-family: var(--fp-mono);
  font-size: 9px;
  color: var(--fp-ink-faint);
  text-align: right;
}

/* Sim Right — log */
.fp-sim__log {
  border-left: 1px solid var(--fp-line);
  background: #08080a;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}
.fp-sim__log-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 10px;
  border-bottom: 1px solid var(--fp-line);
  margin-bottom: 6px;
}
.fp-sim__log-header .fp-label { font-size: 9px; }
.fp-sim__log-entry {
  display: grid;
  grid-template-columns: 48px 32px 1fr;
  gap: 6px;
  padding: 3px 12px;
  font-family: var(--fp-mono);
  font-size: 10px;
  line-height: 1.5;
  border-left: 2px solid transparent;
}
.fp-sim__log-entry--ok { border-left-color: var(--fp-ok); }
.fp-sim__log-entry--amber { border-left-color: var(--fp-amber); }
.fp-sim__log-entry--info { border-left-color: var(--fp-line-strong); }
.fp-sim__log-time { color: var(--fp-ink-faint); }
.fp-sim__log-tag { font-weight: 500; }
.fp-sim__log-tag--net { color: #9bd2ad; }
.fp-sim__log-tag--img { color: #c8b48b; }
.fp-sim__log-tag--auth { color: #9bd2ad; }
.fp-sim__log-tag--init { color: var(--fp-amber); }
.fp-sim__log-tag--frm { color: var(--fp-ink-mute); }
.fp-sim__log-tag--hum { color: var(--fp-ink-faint); }
.fp-sim__log-msg { color: var(--fp-ink-mute); }
.fp-sim__log-entry--ok .fp-sim__log-msg,
.fp-sim__log-entry--amber .fp-sim__log-msg { color: var(--fp-ink); }

/* ============================================================
   PROOF STRIP
   ============================================================ */
.fp-proof {
  border-top: 1px solid var(--fp-line);
  border-bottom: 1px solid var(--fp-line);
  background: var(--fp-s1);
  padding: 28px 0;
}
.fp-proof__inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.fp-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-proof__value {
  font-family: var(--fp-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--fp-ink);
}
.fp-proof__label {
  font-family: var(--fp-mono);
  font-size: 10px;
  color: var(--fp-ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fp-proof__sep {
  width: 1px;
  height: 20px;
  background: var(--fp-line-strong);
  align-self: center;
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.fp-section {
  padding: var(--fp-section-pad) 0;
}
.fp-section--alt { background: var(--fp-s1); }
.fp-section__header {
  max-width: var(--fp-text-max);
  margin-bottom: 48px;
}
.fp-section__title {
  font-family: var(--fp-sans);
  font-size: var(--fp-text-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.fp-section__sub {
  font-size: var(--fp-text-body-lg);
  color: var(--fp-ink-mute);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 560px;
}

/* ============================================================
   MECHANISM — 3 STEPS
   ============================================================ */
.fp-mechanism__steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.fp-mechanism__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fp-mechanism__step:nth-child(even) .fp-mechanism__visual { order: -1; }
.fp-mechanism__step-num {
  font-family: var(--fp-mono);
  font-size: 64px;
  font-weight: 700;
  color: var(--fp-ink-ghost);
  line-height: 1;
  letter-spacing: -0.03em;
}
.fp-mechanism__step-label {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fp-amber);
  margin-top: 8px;
  margin-bottom: 14px;
}
.fp-mechanism__step-title {
  font-size: var(--fp-text-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.fp-mechanism__step-desc {
  font-size: var(--fp-text-body-lg);
  color: var(--fp-ink-mute);
  line-height: 1.65;
}
.fp-mechanism__visual {
  background: var(--fp-s1);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-4);
  padding: 20px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.fp-mechanism__visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Visual: CSV rows */
.fp-visual__csv-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px 60px;
  gap: 8px;
  padding: 7px 10px;
  font-family: var(--fp-mono);
  font-size: 10px;
  border-bottom: 1px solid var(--fp-line-soft);
  color: var(--fp-ink-mute);
  position: relative;
}
.fp-visual__csv-row:first-child {
  color: var(--fp-ink-faint);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fp-visual__csv-row--highlight {
  background: var(--fp-amber-soft);
  border-left: 2px solid var(--fp-amber);
  color: var(--fp-ink);
}

/* Visual: step ladder mini */
.fp-visual__ladder-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.fp-visual__ladder-step--done { color: var(--fp-ink-mute); }
.fp-visual__ladder-step--done::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 3px;
  background: rgba(95,180,123,0.1);
  border: 1px solid rgba(95,180,123,0.3);
  color: #7ec898;
  font-size: 10px;
  flex-shrink: 0;
}
.fp-visual__ladder-step--active {
  background: var(--fp-amber-soft);
  border: 1px solid var(--fp-amber-line);
  color: var(--fp-ink);
  font-weight: 500;
}
.fp-visual__ladder-step--active::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 3px;
  background: rgba(232,164,39,0.15);
  border: 1px solid var(--fp-amber);
  flex-shrink: 0;
  position: relative;
}

/* ============================================================
   FEATURES
   ============================================================ */
.fp-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fp-feature {
  padding: 28px;
  background: var(--fp-s1);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-3);
  transition: border-color 0.2s;
}
.fp-feature:hover { border-color: var(--fp-line-strong); }
.fp-feature__icon {
  width: 32px; height: 32px;
  margin-bottom: 16px;
  color: var(--fp-amber);
}
.fp-feature__title {
  font-family: var(--fp-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.fp-feature__desc {
  font-size: var(--fp-text-sm);
  color: var(--fp-ink-mute);
  line-height: 1.6;
}
.fp-feature__tag {
  display: inline-flex;
  margin-top: 14px;
  padding: 3px 8px;
  font-family: var(--fp-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--fp-r-1);
  border: 1px solid var(--fp-line);
  color: var(--fp-ink-faint);
}
.fp-feature__tag--amber {
  border-color: var(--fp-amber-line);
  color: var(--fp-amber);
  background: var(--fp-amber-soft);
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.fp-roi__card {
  background: #08080a;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-3);
  padding: 36px;
}
.fp-roi__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 32px;
  align-items: center;
}
.fp-roi__divider {
  background: var(--fp-line);
  align-self: stretch;
}
.fp-roi__input-group { margin-top: 16px; }
.fp-roi__stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fp-roi__stepper-btn {
  width: 36px; height: 36px;
  background: var(--fp-s2);
  border: 1px solid var(--fp-line-strong);
  border-radius: var(--fp-r-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fp-mono);
  font-size: 16px;
  color: var(--fp-ink-mute);
  transition: background 0.15s;
}
.fp-roi__stepper-btn:hover { background: var(--fp-s3); }
.fp-roi__stepper-value {
  flex: 1;
  padding: 8px 12px;
  background: var(--fp-s1);
  border: 1px solid var(--fp-line-strong);
  border-radius: var(--fp-r-2);
  font-family: var(--fp-mono);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.fp-roi__big-num {
  font-family: var(--fp-mono);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--fp-amber);
  letter-spacing: -0.02em;
  line-height: 1;
}
.fp-roi__desc {
  font-family: var(--fp-mono);
  font-size: 10px;
  color: var(--fp-ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}
.fp-roi__bar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.fp-roi__bar-row {
  display: grid;
  grid-template-columns: 95px 1fr 56px;
  gap: 10px;
  align-items: center;
}
.fp-roi__bar-label {
  font-family: var(--fp-mono);
  font-size: 10px;
  color: var(--fp-ink-faint);
  letter-spacing: 0.04em;
}
.fp-roi__bar-track {
  height: 8px;
  background: #0a0a0c;
  border: 1px solid var(--fp-line);
  border-radius: 2px;
  overflow: hidden;
}
.fp-roi__bar-fill {
  height: 100%;
  transition: width 0.5s var(--fp-ease-out);
}
.fp-roi__bar-fill--baseline { background: var(--fp-line-strong); }
.fp-roi__bar-fill--fp { background: var(--fp-amber); }
.fp-roi__bar-value {
  font-family: var(--fp-mono);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}
.fp-roi__bar-value--amber { color: var(--fp-amber); }
.fp-roi__gain {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--fp-amber-soft);
  border: 1px solid var(--fp-amber-line);
  border-radius: var(--fp-r-2);
  font-family: var(--fp-mono);
  font-size: 12px;
  color: var(--fp-amber);
}
.fp-roi__gain strong { font-weight: 700; }

/* ============================================================
   SECURITY / OBJECTIONS
   ============================================================ */
.fp-security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fp-security__card {
  padding: 28px;
  background: var(--fp-s1);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-r-3);
}
.fp-security__icon {
  width: 28px; height: 28px;
  margin-bottom: 18px;
  color: var(--fp-ink-mute);
}
.fp-security__title {
  font-family: var(--fp-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.fp-security__desc {
  font-size: var(--fp-text-sm);
  color: var(--fp-ink-mute);
  line-height: 1.6;
}

/* ============================================================
   FONDATEUR
   ============================================================ */
.fp-founder__card {
  background: var(--fp-s1);
  padding: 48px;
  border-radius: var(--fp-r-4);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--fp-line);
}
.fp-founder__photo {
  flex-shrink: 0;
}
.fp-founder__photo img {
  border-radius: 50%;
  border: 1px solid var(--fp-amber-line);
  object-fit: cover;
  display: block;
}
.fp-founder__content {
  flex: 1;
  min-width: 280px;
}
.fp-founder__name {
  font-family: var(--fp-mono);
  font-weight: 600;
  color: var(--fp-amber);
  font-size: 18px;
  margin-bottom: 4px;
}
.fp-founder__role {
  font-family: var(--fp-sans);
  font-weight: 400;
  font-size: var(--fp-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fp-ink-mute);
  margin-bottom: 16px;
}
.fp-founder__quote {
  font-family: var(--fp-sans);
  font-weight: 400;
  color: var(--fp-ink);
  font-size: var(--fp-text-sm);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 20px;
}
.fp-founder__link {
  color: var(--fp-amber);
  font-weight: 500;
  transition: opacity 0.2s;
}
.fp-founder__link:hover {
  text-decoration: underline;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.fp-cta-final {
  padding: var(--fp-section-pad) 0;
  text-align: center;
}
.fp-cta-final__title {
  font-size: var(--fp-text-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.fp-cta-final__sub {
  color: var(--fp-ink-mute);
  font-size: var(--fp-text-body-lg);
  margin-bottom: 32px;
}
.fp-cta-final__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.fp-cta-final__trust {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  color: var(--fp-ink-faint);
  letter-spacing: 0.08em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.fp-footer {
  padding: 28px 0;
  border-top: 1px solid var(--fp-line);
  background: #08080a;
}
.fp-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.fp-footer__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-footer__copy {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  color: var(--fp-ink-faint);
  letter-spacing: 0.06em;
}
.fp-footer__links {
  display: flex;
  gap: 20px;
}
.fp-footer__link {
  font-family: var(--fp-mono);
  font-size: var(--fp-text-xxs);
  color: var(--fp-ink-faint);
  letter-spacing: 0.06em;
  transition: color 0.15s;
}
.fp-footer__link:hover { color: var(--fp-ink-mute); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--fp-ease-out),
              transform 0.7s var(--fp-ease-out);
}
.fp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fp-reveal-delay-1 { transition-delay: 80ms; }
.fp-reveal-delay-2 { transition-delay: 160ms; }
.fp-reveal-delay-3 { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .fp-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fp-hero__content { max-width: 100%; }
  .fp-mechanism__step {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fp-mechanism__step:nth-child(even) .fp-mechanism__visual { order: 0; }
  .fp-features__grid {
    grid-template-columns: 1fr;
  }
  .fp-roi__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fp-roi__divider {
    height: 1px;
    width: 100%;
    align-self: auto;
  }
  .fp-security__grid {
    grid-template-columns: 1fr;
  }
  .fp-sim__body {
    grid-template-columns: 1fr;
  }
  .fp-sim__log {
    border-left: none;
    border-top: 1px solid var(--fp-line);
    max-height: 180px;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .fp-nav__links { display: none; }
  .fp-hero { padding-top: calc(64px + 48px); }
  .fp-hero__ctas { flex-direction: column; }
  .fp-hero__ctas .fp-btn { width: 100%; }
  .fp-proof__inner { gap: 24px; }
  .fp-proof__sep { display: none; }
  .fp-cta-final__ctas { flex-direction: column; align-items: center; }
  .fp-roi__stepper-value { font-size: 18px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fp-reveal { opacity: 1; transform: none; }
}

/* Focus-visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--fp-amber);
  outline-offset: 2px;
}
