/* Inferpathio — ifp.css
   Design-spec: enterprise-governance dark, Plus Jakarta Sans + Inter + JetBrains Mono
   Palette: graphite deep (#13151F) + brand violet (#7C5CE8) + signal green/amber/red
*/

/* ===========================
   1. CUSTOM PROPERTIES
=========================== */
:root {
  /* Backgrounds — dark scale */
  --bg-graphite-deep:   #13151F;
  --bg-graphite-surface:#1A1D27;
  --bg-graphite-raised: #21253A;
  --bg-graphite-panel:  #262B42;
  --bg-graphite-border: #2E3450;

  /* Backgrounds — light scale */
  --bg-light-base:      #F2F3F8;
  --bg-light-surface:   #E8EAEF;
  --bg-light-panel:     #FFFFFF;
  --bg-white:           #FFFFFF;

  /* Brand violet */
  --violet-primary:     #7C5CE8;
  --violet-bright:      #9B82F3;
  --violet-dim:         #4E3C9E;
  --violet-muted:       #3D2E7A;

  /* Signal colors */
  --signal-green:       #34D399;
  --signal-green-dim:   #1FAF79;
  --signal-amber:       #E8A838;
  --signal-amber-dim:   #B07820;
  --signal-red:         #F0594A;

  /* Text on dark */
  --text-dark-primary:  #E8EAF0;
  --text-dark-secondary:#9EA8C4;
  --text-dark-muted:    #5E6A8A;

  /* Text on light */
  --text-light-primary: #13151F;
  --text-light-secondary:#3D4466;
  --text-light-muted:   #6B738C;

  /* Code */
  --code-bg:            #0E1018;
  --code-text:          #E2E8F0;
  --code-comment:       #6B7A99;
  --code-keyword:       #9B82F3;
  --code-string:        #34D399;
  --code-number:        #E8A838;

  /* Typography */
  --font-heading:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:          'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:          'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Layout */
  --container-max:      1200px;
  --section-pad-v:      80px;
  --section-pad-v-md:   56px;
  --section-pad-v-sm:   40px;

  /* Radius */
  --radius-sm:          4px;
  --radius-md:          8px;
  --radius-lg:          12px;
  --radius-xl:          16px;

  /* Transitions */
  --transition-fast:    0.15s ease;
  --transition-base:    0.25s ease;
}

/* ===========================
   2. RESET & BASE
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  background-color: var(--bg-graphite-deep);
  color: var(--text-dark-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Light-top pages */
body.ifp-page--light-top {
  background-color: var(--bg-light-base);
  color: var(--text-light-primary);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===========================
   3. TYPOGRAPHY SCALE
=========================== */
.ifp-display {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ifp-h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ifp-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.ifp-h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.ifp-h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
}

.ifp-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
}

.ifp-small {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.57;
}

.ifp-metric {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 40px);
  line-height: 1.1;
}

/* ===========================
   4. LAYOUT CONTAINERS
=========================== */
.ifp-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.ifp-section {
  padding-block: var(--section-pad-v);
}

.ifp-section--dark {
  background-color: var(--bg-graphite-deep);
  color: var(--text-dark-primary);
}

.ifp-section--dark-alt {
  background-color: var(--bg-graphite-surface);
  color: var(--text-dark-primary);
}

.ifp-section--brand {
  background-color: var(--violet-dim);
  color: #FFFFFF;
}

.ifp-section--light {
  background-color: var(--bg-light-base);
  color: var(--text-light-primary);
}

.ifp-section--white {
  background-color: var(--bg-white);
  color: var(--text-light-primary);
}

/* Section label */
.ifp-section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.75rem;
}

.ifp-section--light .ifp-section-label,
.ifp-section--white .ifp-section-label {
  color: var(--violet-primary);
}

/* Section headline with subtitle */
.ifp-section-head {
  margin-bottom: 3rem;
}

.ifp-section-head--centered {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.ifp-section-subhead {
  margin-top: 1rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  max-width: 600px;
}

.ifp-section--brand .ifp-section-subhead {
  color: var(--violet-bright);
}

.ifp-section--light .ifp-section-subhead,
.ifp-section--white .ifp-section-subhead {
  color: var(--text-light-secondary);
}

.ifp-section-head--centered .ifp-section-subhead {
  margin-inline: auto;
}

/* ===========================
   5. NAVIGATION
=========================== */
.ifp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* Dark-top pages: transparent on scroll=0, picks up color when scrolled */
.ifp-page--dark-top .ifp-nav--scrolled {
  background: var(--bg-graphite-surface);
  box-shadow: 0 1px 0 var(--bg-graphite-border);
}

/* Light-top pages: solid light background always */
.ifp-page--light-top .ifp-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--bg-light-surface);
  position: sticky;
}

.ifp-nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  gap: 2rem;
}

.ifp-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ifp-nav__logo img {
  height: 28px;
  width: auto;
}

.ifp-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.ifp-nav__link {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.ifp-page--dark-top .ifp-nav__link {
  color: var(--text-dark-secondary);
}

.ifp-page--dark-top .ifp-nav__link:hover {
  color: var(--text-dark-primary);
  background: rgba(255,255,255,0.06);
}

.ifp-page--light-top .ifp-nav__link {
  color: var(--text-light-secondary);
}

.ifp-page--light-top .ifp-nav__link:hover {
  color: var(--text-light-primary);
  background: var(--bg-light-surface);
}

.ifp-nav__ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Hamburger */
.ifp-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
}

.ifp-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.ifp-page--light-top .ifp-nav__hamburger span {
  background: var(--text-light-primary);
}

/* Mobile drawer */
.ifp-nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg-graphite-surface);
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--bg-graphite-border);
  z-index: 99;
}

.ifp-page--light-top .ifp-nav__mobile {
  background: var(--bg-white);
  border-bottom: 1px solid var(--bg-light-surface);
}

.ifp-nav__mobile.is-open {
  display: flex;
}

.ifp-nav__mobile .ifp-nav__link {
  padding: 0.65rem 0.5rem;
  font-size: 15px;
}

.ifp-nav__mobile .ifp-nav__ctas {
  flex-direction: column;
  align-items: stretch;
  margin-top: 0.75rem;
  gap: 0.5rem;
}

/* ===========================
   6. BUTTONS
=========================== */
.ifp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.ifp-btn--primary {
  background: var(--violet-primary);
  color: #FFFFFF;
  border-color: var(--violet-primary);
}

.ifp-btn--primary:hover {
  background: #6a4ed0;
  border-color: #6a4ed0;
  box-shadow: 0 0 0 3px rgba(124,92,232,0.25);
}

.ifp-btn--ghost-dark {
  background: transparent;
  color: var(--text-dark-primary);
  border-color: var(--bg-graphite-border);
}

.ifp-btn--ghost-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--text-dark-muted);
}

.ifp-btn--ghost-light {
  background: transparent;
  color: var(--text-light-primary);
  border-color: var(--bg-light-surface);
}

.ifp-btn--ghost-light:hover {
  background: var(--bg-light-surface);
}

.ifp-btn--outline-light {
  background: transparent;
  color: var(--text-dark-primary);
  border-color: rgba(255,255,255,0.2);
}

.ifp-btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
}

.ifp-btn--lg {
  padding: 13px 28px;
  font-size: 15px;
}

.ifp-btn--sm {
  padding: 7px 16px;
  font-size: 13px;
}

.ifp-btn--block {
  width: 100%;
}

/* ===========================
   7. HERO SECTION
=========================== */
.ifp-hero {
  padding-top: calc(68px + 80px);
  padding-bottom: 80px;
  background-color: var(--bg-graphite-deep);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow background */
.ifp-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(124,92,232,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ifp-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.ifp-hero__content {
  /* inherits grid column */
}

.ifp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--violet-bright);
  background: rgba(124,92,232,0.12);
  border: 1px solid rgba(124,92,232,0.25);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 1.5rem;
}

.ifp-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-green);
  flex-shrink: 0;
}

.ifp-hero__headline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-dark-primary);
  margin-bottom: 1.5rem;
}

.ifp-hero__subhead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark-secondary);
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.ifp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Social proof strip */
.ifp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ifp-hero__proof-item {
  font-size: 13px;
  color: var(--text-dark-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ifp-hero__proof-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-green);
  flex-shrink: 0;
}

.ifp-hero__media {
  position: relative;
}

.ifp-hero__screenshot {
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
  box-shadow: 0 0 0 1px rgba(124,92,232,0.12), 0 24px 64px rgba(0,0,0,0.45), 0 0 80px rgba(124,92,232,0.08);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: top left;
}

/* ===========================
   8. PROBLEM FRAME SECTION
=========================== */
.ifp-problem {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ifp-problem__statement {
  /* left column */
}

.ifp-problem__pull-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.35;
  color: var(--text-dark-primary);
  border-left: 3px solid var(--violet-primary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.ifp-problem__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark-secondary);
}

.ifp-problem__body p {
  margin-bottom: 1rem;
}

/* Comparison table */
.ifp-compare-wrap {
  overflow-x: auto;
}

.ifp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ifp-compare-table thead tr {
  background: var(--bg-graphite-raised);
}

.ifp-compare-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark-secondary);
  border-bottom: 1px solid var(--bg-graphite-border);
  white-space: nowrap;
}

.ifp-compare-table th:first-child {
  min-width: 180px;
}

.ifp-compare-table th:not(:first-child) {
  text-align: center;
  min-width: 100px;
}

.ifp-compare-table td {
  padding: 9px 14px;
  border-bottom: 1px solid rgba(46,52,80,0.6);
  color: var(--text-dark-primary);
  font-size: 13px;
}

.ifp-compare-table td:not(:first-child) {
  text-align: center;
}

.ifp-compare-table .ifp-compare-table__brand {
  color: var(--violet-bright);
  font-weight: 600;
}

.ifp-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--signal-green);
  font-size: 16px;
}

.ifp-partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--signal-amber);
  font-size: 14px;
}

.ifp-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--signal-red);
  font-size: 14px;
}

/* ===========================
   9. WORKFLOW DEMO SECTION
=========================== */
.ifp-workflow {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
}

.ifp-workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

/* Connecting line */
.ifp-workflow__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--violet-primary) 0%, var(--violet-bright) 100%);
  opacity: 0.35;
}

.ifp-workflow__step {
  padding: 0 1rem 2rem;
  position: relative;
}

.ifp-workflow__step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-graphite-raised);
  border: 2px solid var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--violet-bright);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.ifp-workflow__step-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.4rem;
}

.ifp-workflow__step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.ifp-workflow__step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  margin-bottom: 1rem;
}

/* ===========================
   10. CODE BLOCKS
=========================== */
.ifp-code-window {
  background: var(--code-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-graphite-border);
  overflow: hidden;
  font-size: 13px;
}

.ifp-code-window__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  background: var(--bg-graphite-raised);
  border-bottom: 1px solid var(--bg-graphite-border);
}

.ifp-code-window__dots {
  display: flex;
  gap: 5px;
}

.ifp-code-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ifp-code-window__dot--red   { background: #FF5F57; }
.ifp-code-window__dot--amber { background: #FEBC2E; }
.ifp-code-window__dot--green { background: #28C840; }

.ifp-code-window__title {
  font-size: 12px;
  color: var(--text-dark-secondary);
  margin-left: 0.5rem;
  font-family: var(--font-mono);
}

/* Tab bar */
.ifp-code-tabs {
  display: flex;
  background: var(--bg-graphite-raised);
  border-bottom: 1px solid var(--bg-graphite-border);
}

.ifp-code-tab {
  padding: 8px 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-dark-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  user-select: none;
}

.ifp-code-tab.is-active {
  color: var(--violet-bright);
  border-bottom-color: var(--violet-primary);
}

.ifp-code-panel {
  display: none;
}

.ifp-code-panel.is-active {
  display: block;
}

.ifp-code-window pre {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 0;
}

.ifp-code-window code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--code-text);
  background: transparent;
  border: none;
  padding: 0;
}

/* Syntax highlight tokens */
.tok-keyword  { color: var(--code-keyword); }
.tok-string   { color: var(--code-string); }
.tok-number   { color: var(--code-number); }
.tok-comment  { color: var(--code-comment); font-style: italic; }
.tok-function { color: #7ECDC8; }
.tok-builtin  { color: #E8A838; }
.tok-operator { color: var(--text-dark-secondary); }
.tok-variable { color: #C3D2F7; }
.tok-key      { color: var(--code-keyword); }
.tok-value    { color: var(--code-string); }
.tok-punct    { color: var(--text-dark-secondary); }
.tok-comment-yaml { color: var(--code-comment); font-style: italic; }
.tok-yaml-key { color: #7ECDC8; }
.tok-yaml-val { color: var(--code-string); }

/* Small inline code snippet */
code:not(.ifp-code-window code) {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-graphite-panel);
  color: var(--violet-bright);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.ifp-page--light-top code:not(.ifp-code-window code) {
  background: var(--bg-light-surface);
  color: var(--violet-dim);
}

/* ===========================
   11. ENTERPRISE FEATURES
=========================== */
.ifp-features {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-features__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.ifp-features__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ifp-feature-category__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.5rem;
}

.ifp-feature-category__items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ifp-feature-category__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark-secondary);
}

.ifp-feature-category__icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--signal-green);
  flex-shrink: 0;
}

.ifp-features__screenshot {
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  width: 100%;
  aspect-ratio: 9/7;
  object-fit: cover;
}

/* ===========================
   12. SDK INTEGRATION
=========================== */
.ifp-sdk {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
}

.ifp-sdk__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.ifp-sdk__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.ifp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: var(--bg-graphite-raised);
  color: var(--text-dark-secondary);
  border: 1px solid var(--bg-graphite-border);
}

.ifp-sdk__docs-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--violet-bright);
  margin-top: 1rem;
  transition: color var(--transition-fast);
}

.ifp-sdk__docs-link:hover {
  color: var(--text-dark-primary);
}

/* ===========================
   13. TESTIMONIALS
=========================== */
.ifp-testimonials {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-testimonials__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.ifp-testimonial-card {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--bg-graphite-border);
  transition: border-color var(--transition-base);
}

.ifp-testimonial-card:hover {
  border-color: rgba(124,92,232,0.3);
}

.ifp-testimonial-card__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark-primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.ifp-testimonial-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0;
  color: var(--violet-primary);
  opacity: 0.4;
  vertical-align: -0.5em;
  margin-right: 0.1em;
}

.ifp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ifp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.ifp-testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-primary);
  line-height: 1.3;
}

.ifp-testimonial-card__role {
  font-size: 13px;
  color: var(--text-dark-muted);
}

/* ===========================
   14. COMPLIANCE TRUST SECTION
=========================== */
.ifp-trust {
  padding-block: var(--section-pad-v);
  background: var(--violet-dim);
  text-align: center;
}

.ifp-trust__headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  color: #fff;
  margin-bottom: 0.75rem;
}

.ifp-trust__subhead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--violet-bright);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.ifp-trust__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.ifp-trust__pillar {
  text-align: center;
}

.ifp-trust__pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 20px;
  color: #fff;
}

.ifp-trust__pillar-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin-bottom: 0.4rem;
}

.ifp-trust__pillar-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ===========================
   15. CTA BLOCK
=========================== */
.ifp-cta-block {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
  text-align: center;
}

.ifp-cta-block__headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--text-dark-primary);
  margin-bottom: 1rem;
}

.ifp-cta-block__subhead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.ifp-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===========================
   16. FOOTER
=========================== */
.ifp-footer {
  background: var(--bg-graphite-deep);
  border-top: 1px solid var(--bg-graphite-border);
}

.ifp-footer__top {
  padding-block: 3.5rem;
}

.ifp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
}

.ifp-footer__brand {
  /* logo + tagline */
}

.ifp-footer__logo {
  height: 26px;
  width: auto;
  margin-bottom: 0.75rem;
}

.ifp-footer__tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dark-muted);
  max-width: 220px;
}

.ifp-footer__col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark-primary);
  margin-bottom: 1rem;
}

.ifp-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ifp-footer__link {
  font-size: 13px;
  color: var(--text-dark-muted);
  transition: color var(--transition-fast);
  display: inline-block;
}

.ifp-footer__link:hover {
  color: var(--text-dark-secondary);
}

.ifp-footer__bottom {
  border-top: 1px solid var(--bg-graphite-border);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.ifp-footer__copy {
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ifp-footer__legal-link {
  font-size: 13px;
  color: var(--text-dark-muted);
  transition: color var(--transition-fast);
}

.ifp-footer__legal-link:hover {
  color: var(--text-dark-secondary);
}

/* Light-top footer */
.ifp-page--light-top .ifp-footer {
  background: var(--bg-white);
  border-top-color: var(--bg-light-surface);
}

.ifp-page--light-top .ifp-footer__tagline,
.ifp-page--light-top .ifp-footer__copy,
.ifp-page--light-top .ifp-footer__link,
.ifp-page--light-top .ifp-footer__legal-link {
  color: var(--text-light-muted);
}

.ifp-page--light-top .ifp-footer__col-title {
  color: var(--text-light-primary);
}

.ifp-page--light-top .ifp-footer__link:hover,
.ifp-page--light-top .ifp-footer__legal-link:hover {
  color: var(--text-light-secondary);
}

.ifp-page--light-top .ifp-footer__bottom {
  border-top-color: var(--bg-light-surface);
}

/* ===========================
   17. COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-graphite-raised);
  border-top: 1px solid var(--bg-graphite-border);
  padding: 1rem;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.cookie-banner__text {
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark-secondary);
}

.cookie-banner__text a {
  color: var(--violet-bright);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: #fff;
  font-family: var(--font-body);
  transition: background var(--transition-fast);
}

.cookie-banner__btn--primary {
  background: var(--violet-primary);
  border: 1.5px solid var(--violet-primary);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: #6a4ed0;
}

.cookie-banner__btn--secondary {
  background: transparent;
  border: 1.5px solid var(--bg-graphite-border);
  color: var(--text-dark-secondary);
}

/* ===========================
   18. PRICING
=========================== */
.ifp-pricing-hero {
  padding-top: calc(68px + 64px);
  padding-bottom: 64px;
  background: var(--bg-graphite-deep);
  text-align: center;
}

.ifp-pricing-hero__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-graphite-raised);
  border-radius: 30px;
  padding: 4px;
  margin-top: 2rem;
  border: 1px solid var(--bg-graphite-border);
}

.ifp-pricing-hero__toggle-btn {
  padding: 7px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 24px;
  cursor: pointer;
  color: var(--text-dark-secondary);
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast);
  font-family: var(--font-body);
  border: none;
}

.ifp-pricing-hero__toggle-btn.is-active {
  background: var(--violet-primary);
  color: #fff;
}

.ifp-pricing-tiers {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.ifp-pricing-card {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--bg-graphite-border);
  position: relative;
  transition: border-color var(--transition-base);
}

.ifp-pricing-card--highlighted {
  border-color: var(--violet-primary);
  box-shadow: 0 0 0 1px rgba(124,92,232,0.2), 0 12px 40px rgba(0,0,0,0.3);
}

.ifp-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.ifp-pricing-card__tier {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark-primary);
  margin-bottom: 0.25rem;
}

.ifp-pricing-card__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 38px;
  color: var(--text-dark-primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.ifp-pricing-card__price sup {
  font-size: 20px;
  vertical-align: super;
  font-weight: 600;
}

.ifp-pricing-card__price-note {
  font-size: 12px;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
}

.ifp-pricing-card__cap {
  font-size: 13px;
  color: var(--text-dark-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bg-graphite-border);
}

.ifp-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.ifp-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dark-secondary);
}

.ifp-pricing-card__feature-icon {
  color: var(--signal-green);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Pricing FAQ */
.ifp-faq {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
}

.ifp-faq__list {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 2rem;
}

.ifp-faq__item {
  border-bottom: 1px solid var(--bg-graphite-border);
}

.ifp-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.ifp-faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-dark-muted);
  transition: transform var(--transition-base);
}

.ifp-faq__item.is-open .ifp-faq__icon {
  transform: rotate(45deg);
  color: var(--violet-bright);
}

.ifp-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.ifp-faq__item.is-open .ifp-faq__a {
  max-height: 300px;
}

.ifp-faq__a-inner {
  padding-bottom: 1.25rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark-secondary);
}

/* Light-top FAQ variant */
.ifp-page--light-top .ifp-faq__q {
  color: var(--text-light-primary);
}

.ifp-page--light-top .ifp-faq__a-inner {
  color: var(--text-light-secondary);
}

.ifp-page--light-top .ifp-faq__item {
  border-bottom-color: var(--bg-light-surface);
}

/* Enterprise CTA block */
.ifp-enterprise-cta {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
  text-align: center;
}

/* ===========================
   19. HOW IT WORKS
=========================== */
.ifp-sub-hero {
  padding-top: calc(68px + 64px);
  padding-bottom: 64px;
  background: var(--bg-graphite-deep);
}

.ifp-sub-hero__inner {
  max-width: 840px;
}

.ifp-lifecycle {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-lifecycle__steps {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.ifp-lifecycle__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.ifp-lifecycle__step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-graphite-raised);
  border: 2px solid var(--violet-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--violet-bright);
  flex-shrink: 0;
}

.ifp-lifecycle__step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark-primary);
  margin-bottom: 0.6rem;
}

.ifp-lifecycle__step-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark-secondary);
  margin-bottom: 1.25rem;
}

/* Policy engine section */
.ifp-policy {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
}

.ifp-policy__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* Integrations grid */
.ifp-integrations {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.ifp-integration-card {
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color var(--transition-fast);
}

.ifp-integration-card:hover {
  border-color: rgba(124,92,232,0.3);
}

.ifp-integration-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--violet-bright);
  background: rgba(124,92,232,0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.ifp-integration-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-primary);
}

.ifp-integration-card__desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dark-muted);
}

/* ===========================
   20. ABOUT PAGE
=========================== */
.ifp-about-hero {
  padding-top: calc(68px + 64px);
  padding-bottom: 64px;
  background: var(--bg-graphite-deep);
}

.ifp-about-hero__inner {
  max-width: 760px;
}

.ifp-mission {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-mission__statement {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.4;
  color: var(--text-dark-primary);
  max-width: 800px;
  border-left: 4px solid var(--violet-primary);
  padding-left: 1.75rem;
}

.ifp-team {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-deep);
}

.ifp-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.ifp-team-card {
  text-align: center;
}

.ifp-team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
}

.ifp-team-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark-primary);
  margin-bottom: 0.2rem;
}

.ifp-team-card__title {
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-values {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.ifp-value-card {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--bg-graphite-border);
}

.ifp-value-card__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--violet-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.ifp-value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.ifp-value-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
}

/* ===========================
   21. CONTACT PAGE
=========================== */
.ifp-contact-hero {
  padding-top: calc(68px + 56px);
  padding-bottom: 56px;
  background: var(--bg-graphite-deep);
}

.ifp-contact-body {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.ifp-contact-info__item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ifp-contact-info__icon {
  width: 20px;
  margin-top: 2px;
  color: var(--violet-bright);
  flex-shrink: 0;
  font-size: 16px;
}

.ifp-contact-info__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark-muted);
  margin-bottom: 0.2rem;
}

.ifp-contact-info__value {
  font-size: 14px;
  color: var(--text-dark-secondary);
}

.ifp-contact-info__value a {
  color: var(--violet-bright);
  text-decoration: none;
}

/* Form */
.ifp-form {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--bg-graphite-border);
}

.ifp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ifp-form__group {
  margin-bottom: 1.25rem;
}

.ifp-form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  margin-bottom: 0.4rem;
}

.ifp-form__input,
.ifp-form__select,
.ifp-form__textarea {
  width: 100%;
  background: var(--bg-graphite-deep);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.ifp-form__input::placeholder,
.ifp-form__textarea::placeholder {
  color: var(--text-dark-muted);
}

.ifp-form__input:focus,
.ifp-form__select:focus,
.ifp-form__textarea:focus {
  border-color: var(--violet-primary);
  box-shadow: 0 0 0 3px rgba(124,92,232,0.15);
}

.ifp-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.ifp-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%239EA8C4' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: var(--text-dark-primary);
}

.ifp-form__select option {
  background: var(--bg-graphite-raised);
  color: var(--text-dark-primary);
}

/* ===========================
   22. DOCS PAGES
=========================== */
.ifp-docs-nav-hero {
  background: var(--bg-light-base);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.ifp-docs-hero {
  background: var(--bg-light-base);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ifp-docs-hero__headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--text-light-primary);
  margin-bottom: 0.75rem;
}

.ifp-docs-hero__sub {
  font-size: 16px;
  color: var(--text-light-secondary);
  margin-bottom: 1.5rem;
}

.ifp-docs-search {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--bg-light-surface);
  border-radius: var(--radius-lg);
  padding: 0 1rem;
  max-width: 480px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ifp-docs-search__icon {
  color: var(--text-light-muted);
  font-size: 15px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.ifp-docs-search__input {
  flex: 1;
  background: none;
  border: none;
  padding: 11px 0;
  font-size: 14px;
  color: var(--text-light-primary);
  outline: none;
}

.ifp-docs-search__input::placeholder {
  color: var(--text-light-muted);
}

/* Docs cards grid */
.ifp-docs-cards {
  padding-block: var(--section-pad-v);
  background: var(--bg-white);
}

.ifp-docs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.ifp-docs-card {
  background: var(--bg-light-base);
  border: 1px solid var(--bg-light-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
}

.ifp-docs-card:hover {
  border-color: var(--violet-primary);
  box-shadow: 0 4px 16px rgba(124,92,232,0.1);
}

.ifp-docs-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(124,92,232,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--violet-primary);
  margin-bottom: 1rem;
}

.ifp-docs-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-light-primary);
  margin-bottom: 0.35rem;
}

.ifp-docs-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light-muted);
}

/* Docs layout (sidebar + content) */
.ifp-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--bg-light-base);
  min-height: calc(100vh - 68px);
}

.ifp-docs-sidebar {
  background: var(--bg-white);
  border-right: 1px solid var(--bg-light-surface);
  padding: 2rem 0;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  flex-shrink: 0;
}

.ifp-docs-sidebar__section {
  margin-bottom: 1.75rem;
  padding: 0 1.25rem;
}

.ifp-docs-sidebar__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.ifp-docs-sidebar__link {
  display: block;
  padding: 5px 0.5rem;
  font-size: 13px;
  color: var(--text-light-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.ifp-docs-sidebar__link:hover {
  color: var(--text-light-primary);
  background: var(--bg-light-base);
}

.ifp-docs-sidebar__link.is-active {
  color: var(--violet-primary);
  background: rgba(124,92,232,0.07);
  font-weight: 500;
}

/* Docs content area */
.ifp-docs-content {
  padding: 2.5rem 3rem;
  max-width: 860px;
}

.ifp-page--light-top .ifp-docs-content h1,
.ifp-page--light-top .ifp-docs-content h2,
.ifp-page--light-top .ifp-docs-content h3 {
  font-family: var(--font-heading);
  color: var(--text-light-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.ifp-page--light-top .ifp-docs-content h1 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  margin-top: 0;
}

.ifp-page--light-top .ifp-docs-content h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-light-surface);
}

.ifp-page--light-top .ifp-docs-content h3 {
  font-size: 18px;
  font-weight: 600;
}

.ifp-page--light-top .ifp-docs-content p {
  color: var(--text-light-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 15px;
}

.ifp-page--light-top .ifp-docs-content ul,
.ifp-page--light-top .ifp-docs-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.ifp-page--light-top .ifp-docs-content li {
  margin-bottom: 0.35rem;
}

.ifp-page--light-top .ifp-docs-content .ifp-code-window {
  margin-block: 1.5rem;
}

.ifp-docs-content__meta {
  font-size: 13px;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-light-surface);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===========================
   23. BLOG
=========================== */
.ifp-blog-hero {
  padding-top: calc(68px + 64px);
  padding-bottom: 64px;
  background: var(--bg-graphite-deep);
}

.ifp-blog-grid-section {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.ifp-blog-card {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.ifp-blog-card:hover {
  border-color: rgba(124,92,232,0.3);
  transform: translateY(-2px);
}

.ifp-blog-card__cover {
  width: 100%;
  aspect-ratio: 1.91/1;
  object-fit: cover;
  background: var(--bg-graphite-panel);
}

.ifp-blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ifp-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ifp-blog-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-bright);
  background: rgba(124,92,232,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.ifp-blog-card__date {
  font-size: 12px;
  color: var(--text-dark-muted);
}

.ifp-blog-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.ifp-blog-card__summary {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  flex: 1;
  margin-bottom: 1rem;
}

.ifp-blog-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ifp-blog-card__author-name {
  font-size: 12px;
  color: var(--text-dark-muted);
}

.ifp-avatar--sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

/* Blog article */
.ifp-article-hero {
  padding-top: calc(68px + 56px);
  padding-bottom: 56px;
  background: var(--bg-graphite-deep);
}

.ifp-article-hero__inner {
  max-width: 840px;
}

.ifp-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.ifp-article-cover-wrap {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 0;
}

.ifp-article-cover {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
  display: block;
  aspect-ratio: 1.91/1;
  object-fit: cover;
  background: var(--bg-graphite-raised);
}

.ifp-article-body-section {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.ifp-article-body h2,
.ifp-article-body h3 {
  font-family: var(--font-heading);
  color: var(--text-dark-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.ifp-article-body h2 {
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
}

.ifp-article-body h3 {
  font-weight: 600;
  font-size: 20px;
}

.ifp-article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark-secondary);
  margin-bottom: 1.25rem;
}

.ifp-article-body ul,
.ifp-article-body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark-secondary);
}

.ifp-article-body ol {
  list-style: decimal;
}

.ifp-article-body li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.ifp-article-body blockquote {
  border-left: 3px solid var(--violet-primary);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-dark-secondary);
  font-size: 16px;
}

.ifp-article-body .ifp-code-window {
  margin-block: 1.75rem;
}

/* ===========================
   24. LOGIN PAGES
=========================== */
.ifp-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-graphite-deep);
  padding: 6rem 1.5rem 2rem;
}

.ifp-login-panel,
.ifp-signup-panel,
.ifp-reset-panel {
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  width: 100%;
  max-width: 440px;
}

.ifp-auth-page__logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.ifp-auth-page__logo img {
  height: 28px;
  width: auto;
}

.ifp-auth-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark-primary);
  margin-bottom: 0.35rem;
}

.ifp-auth-sub {
  font-size: 14px;
  color: var(--text-dark-muted);
  margin-bottom: 1.75rem;
}

.ifp-auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-auth-footer a {
  color: var(--violet-bright);
}

.ifp-auth-footer-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-dark-muted);
  margin-top: 0.75rem;
}

.ifp-auth-footer-link a {
  color: var(--violet-bright);
  text-decoration: none;
}

.ifp-auth-form .ifp-form__input {
  margin-bottom: 0;
}

.ifp-form__forgot {
  text-align: right;
  font-size: 12px;
  margin-top: 0.35rem;
}

.ifp-form__forgot a {
  color: var(--text-dark-muted);
  text-decoration: none;
}

.ifp-form__forgot a:hover {
  color: var(--violet-bright);
}

/* Login demo intercept modal */
.ifp-demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.ifp-demo-modal.is-open {
  display: flex;
}

.ifp-demo-modal__box {
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.ifp-demo-modal__icon {
  font-size: 2rem;
  color: var(--violet-bright);
  margin-bottom: 1rem;
}

.ifp-demo-modal__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark-primary);
  margin-bottom: 0.5rem;
}

.ifp-demo-modal__msg {
  font-size: 14px;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ===========================
   25. LEGAL PAGES
=========================== */
.ifp-legal {
  padding-block: var(--section-pad-v);
  background: var(--bg-light-base);
}

.legal-article {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-light-surface);
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--text-light-primary);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-light-muted);
}

.legal-article section {
  margin-bottom: 2rem;
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-light-primary);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.legal-article h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-light-primary);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

.legal-article p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light-secondary);
  margin-bottom: 0.9rem;
}

.legal-article ul,
.legal-article ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
  color: var(--text-light-secondary);
}

.legal-article ol {
  list-style: decimal;
}

.legal-article li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0.3rem;
}

.legal-article address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light-secondary);
}

.legal-article a {
  color: var(--violet-primary);
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 8px 12px;
  text-align: left;
  border: 1px solid var(--bg-light-surface);
  color: var(--text-light-secondary);
}

.legal-table th {
  background: var(--bg-light-surface);
  font-weight: 600;
  color: var(--text-light-primary);
}

/* ===========================
   26. SECURITY & STATUS
=========================== */
.ifp-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-green);
  margin-bottom: 1.5rem;
}

.ifp-status-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ifp-status-services {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ifp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--bg-graphite-border);
  background: var(--bg-graphite-raised);
}

.ifp-status-row:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ifp-status-row:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.ifp-status-row__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark-primary);
}

.ifp-status-row__state {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  color: var(--signal-green);
}

.ifp-status-row__state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
}

/* ===========================
   27. CHANGELOG
=========================== */
.ifp-changelog {
  padding-block: var(--section-pad-v);
}

.ifp-changelog__entries {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 2rem;
}

.ifp-changelog__entry {
  border-bottom: 1px solid var(--bg-graphite-border);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.ifp-page--light-top .ifp-changelog__entry {
  border-bottom-color: var(--bg-light-surface);
}

.ifp-changelog__entry-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ifp-changelog__version {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark-primary);
}

.ifp-page--light-top .ifp-changelog__version {
  color: var(--text-light-primary);
}

.ifp-changelog__date {
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-page--light-top .ifp-changelog__date {
  color: var(--text-light-muted);
}

.ifp-changelog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.ifp-changelog__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ifp-changelog__tag--added   { background: rgba(52,211,153,0.15); color: var(--signal-green); }
.ifp-changelog__tag--changed { background: rgba(232,168,56,0.15); color: var(--signal-amber); }
.ifp-changelog__tag--fixed   { background: rgba(155,130,243,0.15); color: var(--violet-bright); }
.ifp-changelog__tag--removed { background: rgba(240,89,74,0.15); color: var(--signal-red); }

.ifp-changelog__items {
  list-style: disc;
  padding-left: 1.5rem;
}

.ifp-changelog__item {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dark-secondary);
  margin-bottom: 0.4rem;
}

.ifp-page--light-top .ifp-changelog__item {
  color: var(--text-light-secondary);
}

/* ===========================
   28a. BLOG INDEX ADDITIONAL
=========================== */
.ifp-blog-hero {
  padding-top: 9rem;
  padding-bottom: 3rem;
  background: var(--bg-graphite-deep);
  text-align: center;
}

.ifp-blog-hero__content {
  margin-bottom: 2rem;
}

.ifp-blog-hero__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ifp-blog-filter {
  background: transparent;
  border: 1px solid var(--bg-graphite-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark-muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.ifp-blog-filter.is-active,
.ifp-blog-filter:hover {
  background: var(--violet-primary);
  border-color: var(--violet-primary);
  color: #fff;
}

.ifp-blog-section {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

.ifp-blog-card__author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ifp-avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 11px;
  flex-shrink: 0;
}

.ifp-blog-card__author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark-primary);
  line-height: 1.2;
}

.ifp-blog-card__date {
  font-size: 12px;
  color: var(--text-dark-muted);
}

.ifp-blog-subscribe {
  padding-block: 5rem;
  background: var(--bg-graphite-deep);
}

.ifp-blog-subscribe__inner {
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
}

.ifp-blog-subscribe__inner .ifp-h2 {
  margin-bottom: 0.75rem;
}

.ifp-blog-subscribe__inner .ifp-body-lg {
  margin-bottom: 1.75rem;
}

.ifp-blog-subscribe__form {
  display: flex;
  gap: 0.75rem;
}

.ifp-blog-subscribe__input {
  flex: 1;
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  outline: none;
}

.ifp-blog-subscribe__input::placeholder {
  color: var(--text-dark-muted);
}

.ifp-blog-subscribe__input:focus {
  border-color: var(--violet-primary);
}

@media (max-width: 480px) {
  .ifp-blog-subscribe__form {
    flex-direction: column;
  }
}

/* Article hero */
.ifp-article-hero {
  padding-top: 9rem;
  padding-bottom: 3rem;
  background: var(--bg-graphite-deep);
}

.ifp-article-hero__inner {
  max-width: 760px;
  margin-inline: auto;
}

.ifp-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-article-hero__dot {
  opacity: 0.5;
}

.ifp-article-hero__read {
  color: var(--text-dark-muted);
}

.ifp-article-hero .ifp-display {
  margin-bottom: 1rem;
  font-size: clamp(26px, 4vw, 42px);
}

.ifp-article-hero__summary {
  color: var(--text-dark-secondary);
  margin-bottom: 1.75rem;
  max-width: 680px;
}

.ifp-article-hero__byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
}

.ifp-article-hero__author {
  font-weight: 600;
  color: var(--text-dark-primary);
  font-size: 13px;
}

.ifp-article-hero__role {
  color: var(--text-dark-muted);
  font-size: 12px;
}

.ifp-article-hero__date {
  color: var(--text-dark-muted);
}

/* Article cover */
.ifp-article-cover-wrap {
  background: var(--bg-graphite-surface);
  padding: 2rem 0;
}

.ifp-article-cover {
  display: block;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 1200/630;
}

/* Article section */
.ifp-article-section {
  padding-block: var(--section-pad-v);
  background: var(--bg-graphite-surface);
}

/* Article CTA */
.ifp-article-cta {
  padding-block: 5rem;
  background: var(--bg-graphite-deep);
  text-align: center;
}

.ifp-article-cta__inner {
  max-width: 600px;
  margin-inline: auto;
}

.ifp-article-cta__inner .ifp-h2 {
  margin-bottom: 0.75rem;
}

.ifp-article-cta__inner .ifp-body-lg {
  margin-bottom: 2rem;
}

/* Article page nav breadcrumb */
.ifp-article-nav-bar {
  background: var(--bg-graphite-surface);
  border-bottom: 1px solid var(--bg-graphite-border);
  padding: 0.75rem 0;
}

.ifp-article-nav-bar .ifp-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--text-dark-muted);
}

.ifp-article-nav-bar a {
  color: var(--text-dark-muted);
  text-decoration: none;
}

.ifp-article-nav-bar a:hover {
  color: var(--violet-bright);
}

/* ===========================
   28b. LOGIN PANEL (new class set)
=========================== */
.ifp-page--login {
  min-height: 100vh;
  background: var(--bg-graphite-deep);
  position: relative;
  overflow: hidden;
}

.ifp-login-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ifp-login-bg__svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.ifp-login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.ifp-login-panel {
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.ifp-login-panel__header {
  margin-bottom: 2rem;
  text-align: center;
}

.ifp-login-panel__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.ifp-login-panel__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark-primary);
  margin-bottom: 0.4rem;
}

.ifp-login-panel__sub {
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.ifp-login-form__group {
  margin-bottom: 1.1rem;
}

.ifp-login-form__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  margin-bottom: 0.4rem;
}

.ifp-login-form__forgot {
  font-size: 12px;
  color: var(--text-dark-muted);
  text-decoration: none;
}

.ifp-login-form__forgot:hover {
  color: var(--violet-bright);
}

.ifp-login-form__input {
  width: 100%;
  background: var(--bg-graphite-deep);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.ifp-login-form__input::placeholder {
  color: var(--text-dark-muted);
}

.ifp-login-form__input:focus {
  border-color: var(--violet-primary);
  box-shadow: 0 0 0 3px rgba(124,92,232,0.15);
}

.ifp-login-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%239EA8C4' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ifp-login-form__textarea {
  resize: vertical;
  min-height: 90px;
}

.ifp-login-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ifp-login-form__optional {
  font-weight: 400;
  opacity: 0.7;
}

.ifp-login-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.ifp-login-panel__divider {
  text-align: center;
  position: relative;
  margin: 1.25rem 0;
  color: var(--text-dark-muted);
  font-size: 12px;
}

.ifp-login-panel__divider::before,
.ifp-login-panel__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 1.5rem);
  height: 1px;
  background: var(--bg-graphite-border);
}

.ifp-login-panel__divider::before { left: 0; }
.ifp-login-panel__divider::after  { right: 0; }

.ifp-login-sso-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.ifp-login-sso-btn:hover {
  border-color: rgba(124,92,232,0.4);
  background: rgba(124,92,232,0.05);
}

.ifp-login-panel__signup {
  text-align: center;
  font-size: 13px;
  color: var(--text-dark-muted);
  margin-top: 1.25rem;
}

.ifp-login-panel__signup a {
  color: var(--violet-bright);
  text-decoration: none;
}

/* Modal (login/signup success/demo) */
.ifp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ifp-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.ifp-modal__box {
  position: relative;
  background: var(--bg-graphite-raised);
  border: 1px solid var(--bg-graphite-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.ifp-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark-muted);
  cursor: pointer;
  line-height: 1;
}

.ifp-modal__close:hover {
  color: var(--text-dark-primary);
}

.ifp-modal__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.ifp-modal__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark-primary);
  margin-bottom: 0.65rem;
}

.ifp-modal__body {
  font-size: 14px;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.ifp-modal .ifp-btn {
  display: block;
  width: 100%;
  margin-bottom: 0.65rem;
  text-align: center;
  box-sizing: border-box;
}

/* ===========================
   28c. ORPHAN FIX — classes used in HTML without CSS rule
=========================== */

/* Blog card image */
.ifp-blog-card__img-wrap {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 16/9;
}

.ifp-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.ifp-blog-card__img-wrap:hover .ifp-blog-card__img {
  transform: scale(1.04);
}

.ifp-blog-card__read {
  font-size: 12px;
  color: var(--text-dark-muted);
}

/* Blog listing eyebrow */
.ifp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 0.75rem;
}

/* Feature category label */
.ifp-feature-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-bright);
  margin-bottom: 0.4rem;
}

/* Enterprise features media column */
.ifp-features__media {
  position: relative;
}

.ifp-features__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
}

/* Footer light variant */
.ifp-footer--light {
  background: var(--bg-light-base);
  border-top: 1px solid var(--bg-light-surface);
}

/* Login form container (wraps inputs) */
.ifp-login-form {
  display: flex;
  flex-direction: column;
}

/* Active nav link */
.ifp-nav__link--active {
  color: var(--violet-bright) !important;
}

/* Problem comparison table wrapper */
.ifp-problem__comparison {
  overflow-x: auto;
  margin-top: 2rem;
}

/* SDK section layout */
.ifp-sdk__code {
  background: var(--bg-graphite-raised);
  border-radius: var(--radius-xl);
  border: 1px solid var(--bg-graphite-border);
  overflow: hidden;
}

.ifp-sdk__copy {
  padding: 2rem;
}

/* ===========================
   28. FADE-IN ANIMATION
=========================== */
.ifp-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ifp-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   29. RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .ifp-hero__grid {
    grid-template-columns: 1fr;
  }

  .ifp-hero__media {
    display: none;
  }

  .ifp-problem__grid,
  .ifp-features__grid,
  .ifp-sdk__inner,
  .ifp-policy__grid,
  .ifp-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ifp-workflow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .ifp-workflow__steps::before {
    display: none;
  }

  .ifp-testimonials__grid {
    grid-template-columns: 1fr;
  }

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

  .ifp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

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

  .ifp-values__grid {
    grid-template-columns: 1fr;
  }

  .ifp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .ifp-docs-layout {
    grid-template-columns: 1fr;
  }

  .ifp-docs-sidebar {
    display: none;
  }

  .ifp-docs-content {
    padding: 2rem 1.5rem;
  }

  .ifp-integrations__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ifp-docs-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-v: var(--section-pad-v-md);
  }

  .ifp-nav__links {
    display: none;
  }

  .ifp-nav__ctas {
    display: none;
  }

  .ifp-nav__hamburger {
    display: flex;
  }

  .ifp-workflow__steps {
    grid-template-columns: 1fr;
  }

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

  .ifp-lifecycle__step {
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
  }

  .ifp-lifecycle__step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

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

  .ifp-contact-grid {
    grid-template-columns: 1fr;
  }

  .ifp-form__row {
    grid-template-columns: 1fr;
  }

  .ifp-docs-card-grid {
    grid-template-columns: 1fr;
  }

  .ifp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad-v: var(--section-pad-v-sm);
  }

  .ifp-hero__ctas {
    flex-direction: column;
  }

  .ifp-blog-grid {
    grid-template-columns: 1fr;
  }

  .ifp-trust__pillars {
    grid-template-columns: 1fr;
  }

  .ifp-team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ifp-footer__grid {
    grid-template-columns: 1fr;
  }

  .ifp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
