/* ═══════════════════════════════════════════════════════════════════════
   Iberia Exchange — LANDING SYSTEM  (rewrite 2026-09)
   Public marketing pages: home, about, pricing, services, calculator.
   Clean editorial command-desk aesthetic: dark slate shell, electric
   blue→teal signal accent, hairline rules, glassy panels, mono labels.

   Convention: every component uses the `ifx-` prefix so it can never
   collide with the legacy `bi-`/`cs-`/`page-` classes kept in base.css.

   Load THIS file AFTER base.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Theme refinement tokens ───────────────────────────────────────── */
:root {
  --ifx-ink:     #03050a;                  /* deepest page ground  */
  --ifx-panel:   rgba(13, 22, 38, 0.72);
  --ifx-panel-2: rgba(20, 30, 51, 0.72);
  --ifx-panel-s: rgba(255, 255, 255, 0.02);
  --ifx-rule:    rgba(148, 163, 184, 0.14);
  --ifx-rule-2:  rgba(148, 163, 184, 0.26);
  --ifx-gold:    #d9b45c;
  --ifx-gold-2:  rgba(217, 180, 92, 0.16);
  --ifx-cy:      #23d0e8;                  /* signal cyan         */
  --ifx-cy-dim:  rgba(35, 208, 232, 0.12);
  --ifx-blue:    #3b82f6;
  --ifx-blue-dim:rgba(59, 130, 246, 0.10);
  --ifx-ok:      #29d07a;
  --ifx-danger:  #f43f5e;
  --ifx-sans:    var(--font-body, 'DM Sans', system-ui, sans-serif);
  --ifx-mono:    var(--font-mono, 'JetBrains Mono', monospace);
  --ifx-ease:    cubic-bezier(.22, .68, 0, 1.12);
}
html[data-theme="light"] {
  --ifx-ink:      #f4f7fc;
  --ifx-panel:    rgba(255, 255, 255, 0.86);
  --ifx-panel-2:  rgba(230, 240, 251, 0.9);
  --ifx-panel-s:  rgba(24, 54, 104, 0.015);
  --ifx-rule:     rgba(24, 54, 104, 0.12);
  --ifx-rule-2:   rgba(24, 54, 104, 0.24);
  --ifx-gold:     #b8860b;
  --ifx-gold-2:   rgba(184, 134, 11, 0.12);
  --ifx-cy:       #0d8c86;
  --ifx-cy-dim:   rgba(13, 140, 134, 0.12);
  --ifx-blue:     #2563eb;
  --ifx-blue-dim: rgba(37, 99, 235, 0.08);
  --ifx-ok:       #16a34a;
  --ifx-danger:   #dc2626;
}

/* ── 2. Shell / nav refinements ───────────────────────────────────────── */
.navbar {
  background: var(--ifx-ink);
  border-bottom: 1px solid var(--ifx-rule);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: box-shadow .3s var(--ifx-ease), background .3s ease;
}
.navbar.navbar-scroll {
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .navbar.navbar-scroll { background: rgba(244, 247, 252, 0.9); }

.navbar .brand,
.navbar .nav-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ifx-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-inv, #fff);
}
.navbar .nav-brand span { color: var(--text-inv, #fff); font-weight: 700; }
.navbar .nav-brand .brand-glyph { height: 22px; width: auto; color: var(--ifx-cy); }
.navbar .brand::before,
.footer-brand::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ifx-cy);
  box-shadow: 0 0 0 5px var(--ifx-cy-dim);
}
.nav-links { align-items: center; }
.nav-links a {
  font-family: var(--ifx-sans);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--nav-link, rgba(230, 234, 243, .72));
  padding: 0.55rem 0.2rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0; height: 1px;
  background: var(--ifx-cy);
  transition: right .28s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.nav-cta {
  margin-left: 0.6rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--ifx-rule-2);
  border-radius: 999px;
  color: var(--text-inv, #fff);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  border-color: var(--ifx-cy);
  background: var(--ifx-cy-dim);
  transform: translateY(-1px);
}

/* ── 3. Shared layout primitives ──────────────────────────────────────── */
.ifx-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.ifx-label {
  font-family: var(--ifx-mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ifx-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.ifx-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--ifx-gold);
  opacity: .8;
}
.ifx-head {
  font-family: var(--ifx-sans);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-inv, #fff);
  margin: 0.7rem 0 0;
}
.ifx-head em { font-style: italic; color: var(--ifx-cy); }
.ifx-lede {
  font-family: var(--ifx-sans);
  font-size: 1.02rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.78;
}
.ifx-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--ifx-gold), var(--ifx-rule), transparent);
  margin: 0;
}
.ifx-list {
  list-style: none;
  padding: 0; margin: 1.1rem 0 0;
  display: grid;
  gap: 0.45rem;
}
.ifx-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.6;
}
.ifx-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ifx-cy);
  box-shadow: 0 0 0 3px var(--ifx-cy-dim);
}

/* ── 4. Buttons ───────────────────────────────────────────────────────── */
.ifx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--ifx-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ifx-ease), background .25s ease,
              border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.ifx-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ifx-blue), var(--ifx-cy));
  box-shadow: 0 10px 30px -8px var(--ifx-blue-dim);
}
.ifx-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px var(--ifx-cy-dim);
}
.ifx-btn.ghost {
  color: var(--text-inv, #fff);
  background: transparent;
  border: 1px solid var(--ifx-rule-2);
}
.ifx-btn.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--ifx-cy);
  background: var(--ifx-cy-dim);
}
.ifx-arrow {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  transition: transform .25s var(--ifx-ease);
}
.ifx-btn:hover .ifx-arrow { transform: translateX(4px); }

/* ── 5. Hero ──────────────────────────────────────────────────────────── */
.ifx-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h, 78px) + 4.5rem) 0 6rem;
  background:
    radial-gradient(ellipse 80% 70% at 20% 20%, var(--ifx-blue-dim), transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 65%, var(--ifx-cy-dim), transparent 58%),
    linear-gradient(180deg, var(--ifx-ink), var(--navy, #060a12));
}
.ifx-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 1;
  pointer-events: none;
}

/* Two-column hero (home): copy + market tape */
.ifx-hero .ifx-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.6rem;
  align-items: center;
}
.ifx-hero-copy .ifx-kicker,
.ifx-hero .ifx-kicker {
  font-family: var(--ifx-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ifx-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.ifx-hero-copy .ifx-kicker::before,
.ifx-hero .ifx-kicker::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--ifx-gold);
}
.ifx-hero h1,
.ifx-hero-copy h1 {
  font-family: var(--ifx-sans);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text-inv, #fff);
  margin: 1.1rem 0 0;
}
.ifx-hero h1 strong { font-weight: 780; color: var(--text-inv, #fff); }
.ifx-hero h1 em,
.ifx-hero-copy h1 em { font-style: italic; color: var(--ifx-cy); }
.ifx-hero .ifx-lede,
.ifx-hero-copy .ifx-lede { max-width: 56ch; }
.ifx-hero-copy .ifx-lede { margin-top: 1.6rem; }
.ifx-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Single-column hero (pricing / services / about / calculator) */
.ifx-hero .ifx-wrap.ifx-solo {
  display: block;
  max-width: 980px;
}
.ifx-hero .ifx-wrap.ifx-solo .ifx-kicker { margin-bottom: 1.4rem; }
.ifx-hero .ifx-wrap.ifx-solo .ifx-lede { max-width: 60ch; margin-top: 1.6rem; }

/* ── 5a. Market tape (home hero) ───────────────────────────────────────── */
.ifx-tape {
  background: var(--ifx-panel-2);
  border: 1px solid var(--ifx-rule-2);
  border-radius: 14px;
  padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: 0 18px 50px -16px rgba(0, 0, 0, 0.5);
}
.ifx-tape-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
  font-family: var(--ifx-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3, #5f6d84);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ifx-rule);
}
.ifx-tape-head .ifx-tape-live { color: var(--ifx-ok); }
.ifx-tape-head .ifx-tape-live::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--ifx-ok);
}
.ifx-tape-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.66rem 0;
}
.ifx-tape-row + .ifx-tape-row { border-top: 1px solid var(--ifx-rule); }
.ifx-tk {
  font-family: var(--ifx-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-inv, #fff);
  min-width: 3.2rem;
}
/* Bar width is set inline by the template JS (data-w * 100%, e.g. 82%). */
.ifx-tape-bar {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ifx-blue), var(--ifx-cy));
  box-shadow: 0 0 8px var(--ifx-cy-dim);
}
.ifx-spread {
  font-family: var(--ifx-mono);
  font-size: 0.78rem;
  color: var(--ifx-ok);
  white-space: nowrap;
}
.ifx-spread.neg { color: var(--ifx-danger); }

/* ── 6. Marquee ───────────────────────────────────────────────────────── */
.ifx-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--ifx-rule);
  border-bottom: 1px solid var(--ifx-rule);
  padding: 1.05rem 0;
  background: var(--ifx-panel-s);
}
.ifx-marquee-track {
  display: flex;
  gap: 3.2rem;
  white-space: nowrap;
  will-change: transform;
  animation: ifxMarquee 26s linear infinite;
}
.ifx-marquee:hover .ifx-marquee-track { animation-play-state: paused; }
.ifx-marquee-track span {
  font-family: var(--ifx-sans);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2, #98a5bb);
}
.ifx-marquee-track span i {
  color: var(--ifx-gold);
  font-style: normal;
  margin-right: 0.9rem;
}
@keyframes ifxMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 7. Sections & card grids ─────────────────────────────────────────── */
.ifx-section {
  padding: 6.5rem 0;
  background: transparent;
}
.ifx-section.alt { background: var(--ifx-panel-s); }
.ifx-section .ifx-label { margin-bottom: 1.3rem; }
.ifx-section .ifx-head { margin-bottom: 2.6rem; }

.ifx-grid {
  display: grid;
  gap: 2.2rem;
}
.ifx-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ifx-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ifx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--ifx-panel);
  border: 1px solid var(--ifx-rule);
  border-radius: 16px;
  padding: 1.9rem;
  transition: transform .3s var(--ifx-ease), border-color .3s ease,
              box-shadow .3s ease;
}
.ifx-card:hover {
  transform: translateY(-4px);
  border-color: var(--ifx-rule-2);
  box-shadow: 0 20px 44px -18px var(--ifx-blue-dim);
}
.ifx-card .ifx-index {
  position: absolute;
  top: 1.1rem; right: 1.15rem;
  font-family: var(--ifx-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-3, #5f6d84);
}
.ifx-card .ifx-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ifx-cy-dim);
  color: var(--ifx-cy);
}
.ifx-card h3 {
  font-family: var(--ifx-sans);
  font-size: 1.18rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  color: var(--text-inv, #fff);
}
.ifx-card p {
  font-size: 0.9rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.72;
}
.ifx-card .ifx-role {
  font-family: var(--ifx-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ifx-gold);
  order: -1;
  margin: 0;
}

/* ── 8. Stats strip ───────────────────────────────────────────────────── */
.ifx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
  align-items: end;
}
.ifx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ifx-stat .ifx-stat-val {
  font-family: var(--ifx-mono);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-inv, #fff);
}
.ifx-stat .ifx-stat-lbl {
  font-family: var(--ifx-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3, #5f6d84);
}
.ifx-stat + .ifx-stat { border-left: 1px solid var(--ifx-rule); padding-left: 1.6rem; }

/* ── 9. Pricing plans ─────────────────────────────────────────────────── */
.ifx-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}
.ifx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--ifx-panel);
  border: 1px solid var(--ifx-rule);
  border-radius: 18px;
  padding: 2.2rem 1.9rem;
  transition: transform .3s var(--ifx-ease), border-color .3s ease,
              box-shadow .3s ease;
}
.ifx-plan.featured {
  background: var(--ifx-panel-2);
  border: 1.5px solid var(--ifx-cy);
  box-shadow: 0 22px 50px -20px var(--ifx-cy-dim);
}
.ifx-plan:hover { transform: translateY(-4px); }
.ifx-plan .ifx-plan-badge {
  position: absolute;
  top: -0.85rem; right: 1rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ifx-blue), var(--ifx-cy));
  color: #fff;
  font-family: var(--ifx-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 7px 18px -6px var(--ifx-blue-dim);
}
.ifx-plan .ifx-plan-tier {
  font-family: var(--ifx-sans);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-inv, #fff);
}
.ifx-plan .ifx-price {
  font-family: var(--ifx-mono);
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-inv, #fff);
}
.ifx-plan .ifx-price small {
  font-size: 0.78rem;
  color: var(--text-3, #5f6d84);
}
.ifx-plan .ifx-plan-desc {
  font-size: 0.88rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.7;
}
.ifx-plan .ifx-plan-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0.55rem;
}
.ifx-plan .ifx-plan-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.55;
}
.ifx-plan .ifx-plan-list .ifx-yes { color: var(--ifx-ok); font-weight: 700; }
.ifx-plan .ifx-plan-list .ifx-no  { color: var(--text-3, #5f6d84); }
.ifx-plan .ifx-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── 10. Compare table ────────────────────────────────────────────────── */
.ifx-compare {
  margin-top: 2.6rem;
  overflow-x: auto;
  border: 1px solid var(--ifx-rule-2);
  border-radius: 14px;
}
.ifx-crow {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 0;
}
.ifx-crow + .ifx-crow { border-top: 1px solid var(--ifx-rule); }
.ifx-crow.head {
  background: var(--ifx-panel-2);
}
.ifx-crow .ifx-cell {
  padding: 1.05rem 1.35rem;
  font-family: var(--ifx-sans);
  font-size: 0.88rem;
  color: var(--text-2, #98a5bb);
}
.ifx-crow .ifx-cell:not(:last-child) { border-right: 1px solid var(--ifx-rule); }
.ifx-crow.head .ifx-cell {
  font-family: var(--ifx-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv, #fff);
}
.ifx-crow .ifx-cell.yes { color: var(--ifx-ok); font-weight: 650; }
.ifx-crow .ifx-cell.no  { color: var(--text-3, #5f6d84); }
.ifx-crow:hover:not(.head) { background: var(--ifx-blue-dim); }

/* ── 11. FAQ ──────────────────────────────────────────────────────────── */
.ifx-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}
.ifx-faq-item {
  background: var(--ifx-panel);
  border: 1px solid var(--ifx-rule);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.ifx-faq-item.open { border-color: var(--ifx-rule-2); }
.ifx-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--ifx-sans);
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--text, #e6eaf3);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.ifx-faq-q i {
  transition: transform .3s var(--ifx-ease);
  color: var(--ifx-cy);
  font-weight: 700;
}
.ifx-faq-item.open .ifx-faq-q i { transform: rotate(45deg); }
.ifx-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.ifx-faq-a p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.92rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.75;
}

/* ── 12. Calculator ───────────────────────────────────────────────────── */
.ifx-calc {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 1.3rem;
}
.ifx-calc-label {
  font-family: var(--ifx-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3, #5f6d84);
}
.ifx-calc-input {
  font-family: var(--ifx-mono);
  font-size: 1.9rem;
  font-weight: 720;
  color: var(--text-inv, #fff);
  background: var(--ifx-panel);
  border: 1px solid var(--ifx-rule-2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}
.ifx-calc-input:focus {
  border-color: var(--ifx-cy);
  box-shadow: 0 0 0 3px var(--ifx-cy-dim);
}
.ifx-calc-slider { width: 100%; accent-color: var(--ifx-cy); }
.ifx-calc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ifx-calc-quick button {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ifx-rule);
  background: transparent;
  color: var(--text-2, #98a5bb);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.ifx-calc-quick button:hover {
  border-color: var(--ifx-cy);
  color: var(--ifx-cy);
  background: var(--ifx-cy-dim);
}
.ifx-calc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2rem;
}
.ifx-calc-result {
  display: grid;
  gap: 0.35rem;
  background: var(--ifx-panel);
  border: 1px solid var(--ifx-rule);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
}
.ifx-calc-result.accent { border-color: var(--ifx-cy); background: var(--ifx-panel-2); }
.ifx-calc-result.hot { border: 1.5px solid var(--ifx-blue); background: var(--ifx-panel-2); }
.ifx-calc-result .ifx-r-label {
  font-family: var(--ifx-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3, #5f6d84);
}
.ifx-calc-result .ifx-r-val {
  font-family: var(--ifx-mono);
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--text-inv, #fff);
}
.ifx-calc-result.hot .ifx-r-val { color: var(--ifx-cy); }
.ifx-calc-result .ifx-r-note { font-size: 0.76rem; color: var(--ifx-gold); }
.ifx-calc-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-3, #5f6d84);
  line-height: 1.7;
  border: 1px solid var(--ifx-rule);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  background: var(--ifx-panel-2);
}
.ifx-calc-note i {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ifx-blue-dim);
  color: var(--ifx-blue);
  font-weight: 800;
}

/* ── 13. Timeline (about) ─────────────────────────────────────────────── */
.ifx-timeline {
  max-width: 940px;
  margin: 2.6rem auto 0;
  position: relative;
}
.ifx-timeline::before {
  content: '';
  position: absolute;
  left: 90px; top: 0; bottom: 0;
  width: 1px;
  background: var(--ifx-rule-2);
}
.ifx-tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.6rem;
  padding: 2rem 0;
}
.ifx-tl-item .ifx-tl-year {
  font-family: var(--ifx-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ifx-gold);
  padding: 0.5rem 0;
  align-self: start;
}
.ifx-tl-item .ifx-tl-content h3 {
  font-family: var(--ifx-sans);
  font-size: 1.15rem;
  font-weight: 680;
  color: var(--text-inv, #fff);
}
.ifx-tl-item .ifx-tl-content p {
  font-size: 0.9rem;
  color: var(--text-2, #98a5bb);
  line-height: 1.74;
  margin-top: 0.5rem;
}

/* ── 14. CTA band ─────────────────────────────────────────────────────── */
.ifx-cta {
  padding: 7.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 65% 70% at 70% 38%, var(--ifx-blue-dim), transparent 62%),
    radial-gradient(ellipse 50% 60% at 30% 60%, var(--ifx-cy-dim), transparent 60%),
    linear-gradient(180deg, var(--navy, #060a12), var(--ifx-ink));
}
.ifx-cta .ifx-wrap { max-width: 860px; }
.ifx-cta h2 {
  font-family: var(--ifx-sans);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  color: var(--text-inv, #fff);
  margin: 1.4rem 0 0;
}
.ifx-cta p {
  color: var(--text-inv-2, rgba(255,255,255,.64));
  font-size: 1rem;
  max-width: 560px;
  margin: 1.1rem auto 0;
  line-height: 1.75;
}
.ifx-cta .ifx-hero-actions { margin-top: 2.1rem; }

/* ── 15. Footer ───────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--ifx-rule);
  background: var(--ifx-ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding: 4.5rem 2rem 2.5rem;
}
.footer-left .footer-brand { margin-bottom: 1.1rem; }
.footer-inner .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-title {
  font-family: var(--ifx-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3, #5f6d84);
}
.footer-nav a { font-size: 0.85rem; color: var(--text-2, #98a5bb); }
.footer-nav a:hover { color: var(--text-inv, #fff); }
.footer-legal {
  padding: 1.6rem 2rem 3rem;
  border-top: 1px solid var(--ifx-rule);
  color: var(--text-3, #5f6d84);
  font-size: 0.76rem;
}

/* ── 16. Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ifx-hero .ifx-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .ifx-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ifx-crow { grid-template-columns: 1fr 1fr 1fr; overflow-x: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ifx-hero { padding: calc(var(--nav-h, 78px) + 2.5rem) 0 4rem; }
  .ifx-grid.cols-3,
  .ifx-grid.cols-2 { grid-template-columns: 1fr; }
  .ifx-plans { grid-template-columns: 1fr; }
  .ifx-calc-results { grid-template-columns: 1fr 1fr; }
  .ifx-stats { grid-template-columns: repeat(2, 1fr); }
  .ifx-timeline::before { display: none; }
  .ifx-tl-item { grid-template-columns: 70px 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ifx-section { padding: 4.5rem 0; }
  .ifx-stats,
  .ifx-calc-results { grid-template-columns: 1fr; }
}

/* ── 17. Accessibility ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ifx-marquee-track { animation: none; }
  .ifx-card:hover,
  .ifx-plan:hover,
  .ifx-btn:hover { transform: none; }
}

/* ── 18. Media & people (About hub) ───────────────────────────────────── */
.ifx-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ifx-rule-2);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ifx-blue-dim), var(--ifx-cy-dim));
}
.ifx-media img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.ifx-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,5,10,0.08), rgba(3,5,10,0.3));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.ifx-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.ifx-person {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ifx-rule);
  background: var(--ifx-panel);
  transition: transform .3s var(--ifx-ease), border-color .3s ease;
}
.ifx-person:hover { transform: translateY(-4px); border-color: var(--ifx-rule-2); }
.ifx-person img {
  width: 100%;
  display: block;
  flex: 1 1 auto;
  object-fit: cover;
  min-height: 260px;
}
.ifx-person figcaption {
  padding: 0.75rem 1.05rem;
  background: rgba(3,5,10,0.5);
}
html[data-theme="light"] .ifx-person figcaption { background: rgba(244,247,252,0.62); }
.ifx-person figcaption b {
  display: block;
  font-family: var(--ifx-sans);
  font-size: 0.96rem;
  font-weight: 680;
  color: var(--text-inv, #fff);
}
.ifx-person figcaption span {
  display: block;
  font-family: var(--ifx-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ifx-gold);
}

@media (max-width: 900px) {
  .ifx-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ifx-people { grid-template-columns: 1fr; }
}