/* ==========================================================================
   FactureLink v2 - SaaS trust interface
   Clean, serious, conversion-oriented design system.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #172033;
  --text: #334155;
  --muted: #64748b;
  --soft: #f5f8fc;
  --soft-2: #eef4fb;
  --line: #dbe5f0;
  --white: #ffffff;

  --blue: #1d4ed8;
  --blue-2: #2563eb;
  --blue-3: #60a5fa;
  --navy: #07111f;
  --cyan: #0891b2;
  --green: #059669;
  --amber: #d97706;
  --red: #dc2626;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, .07);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, .10);
  --shadow-lg: 0 28px 70px rgba(8, 17, 35, .18);

  --maxw: 1160px;
  --maxw-narrow: 780px;
  --header-h: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover { color: #1746bf; text-decoration: underline; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .35);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .55em;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 780;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  max-width: 11ch;
}

h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.18rem; letter-spacing: -.012em; }
p { margin: 0 0 1.2rem; }
strong { color: var(--ink); font-weight: 760; }
ul, ol { padding-left: 1.35rem; }

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 500;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 0 0 var(--radius-xs) 0;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0;
}

.section::before,
.article::before,
.related::before,
.cta-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .42), rgba(8, 145, 178, .28), transparent);
  transform: translateX(-50%) scaleX(.35);
  transform-origin: center;
  opacity: 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}

.scroll-section.is-visible::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.section.tight { padding: clamp(42px, 6vw, 68px) 0; }

.section--light,
.related {
  background:
    linear-gradient(180deg, rgba(246, 250, 255, .98), rgba(241, 246, 252, .98)),
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .08), transparent 36%);
  border-block: 1px solid rgba(219, 229, 240, .72);
}

.section > .container,
.article > .container,
.platforms-strip > .container,
.related > .container,
.cta-final > .container {
  position: relative;
  z-index: 1;
}

.section--dark {
  color: #c7d2e3;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .22), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0d1b2f 56%, #09111e 100%);
}

.section--dark h2,
.section--dark h3,
.section--dark strong { color: #fff; }

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  color: #526176;
  line-height: 1.72;
}

.section--dark .lead { color: #d3ddea; }

.section .container.narrow h1,
.section .hero-grid h1 {
  max-width: 860px;
}

.section .container.narrow h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-color: rgba(29, 78, 216, .8);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #2f6cf0, #1d4ed8);
  box-shadow: 0 16px 32px rgba(37, 99, 235, .30);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border-color: #c9d6e5;
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  color: var(--blue);
  border-color: rgba(37, 99, 235, .45);
  background: #f8fbff;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 1.02rem; }
.btn-sm { min-height: 38px; padding: 9px 14px; font-size: .88rem; }
.btn-block { width: 100%; display: flex; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(219, 229, 240, .85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.logo:hover { text-decoration: none; color: var(--ink); }

.logo-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e2b63, var(--blue-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 18px rgba(37, 99, 235, .22);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 8px 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: .92;
}

.logo-text { font-size: 1.24rem; letter-spacing: -.035em; }
.logo-text strong { color: var(--blue); }

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  color: #475569;
  border-radius: var(--radius-xs);
  font-size: .94rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--soft);
  text-decoration: none;
}

.has-sub { position: relative; }

.has-sub > .sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 310px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

.has-sub:hover > .sub,
.has-sub:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-sub .sub a {
  padding: 11px 12px;
  font-size: .92rem;
  font-weight: 650;
  border-radius: 9px;
}

.has-sub .sub a:hover {
  color: var(--blue);
  background: #f0f6ff;
}

.header-actions { margin-left: 2px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 14px 24px 24px; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block;
  padding: 13px 2px;
  color: var(--ink);
  font-weight: 720;
  border-bottom: 1px solid #eef3f8;
}
.mobile-nav a:hover { text-decoration: none; color: var(--blue); }
.mobile-nav a.btn { margin-top: 16px; border: 1px solid transparent; }
.mobile-nav .mobile-group {
  padding: 20px 2px 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 clamp(56px, 7vw, 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.90) 48%, rgba(239,246,255,.68) 100%),
    radial-gradient(circle at 88% 18%, rgba(8, 145, 178, .16), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(37, 99, 235, .13), transparent 30%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, .035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, .03) 0 1px, transparent 1px 72px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: calc(100vw - 50px);
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(768px, 1.5fr) minmax(740px, 1fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
}

.hero-copy { max-width: 770px; }

.hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 4.15vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero .lead {
  max-width: 790px;
  margin-bottom: 0;
  color: #44546a;
  font-size: clamp(1.07rem, 1.28vw, 1.2rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-xl {
  min-height: 58px;
  padding: 16px 26px;
  font-size: 1rem;
  border-radius: 12px;
}

.hero-actions .btn-primary {
  min-width: 178px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .30);
}

.hero-actions .btn-outline {
  min-width: 224px;
  background: rgba(255,255,255,.82);
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 800px;
}

.hero-trust-list span {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 12px 9px 34px;
  color: #344256;
  background: rgba(255,255,255,.76);
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  font-size: .88rem;
  font-weight: 720;
  line-height: 1.32;
}

.hero-trust-list span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(5, 150, 105, .12);
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  max-width: 820px;
  justify-self: stretch;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 30px -10px -20px 50px;
  background: linear-gradient(135deg, rgba(8, 17, 35, .10), rgba(37, 99, 235, .10));
  border-radius: 32px;
  transform: rotate(-2deg);
}

.hero-badge {
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 4;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-badge img { width: 168px; height: auto; }
.hero-badge-inline { display: none; }

.mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(199, 212, 229, .95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: surface-float 7s ease-in-out infinite;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 18px;
  background: linear-gradient(180deg, #fff, #f6f9fd);
  border-bottom: 1px solid var(--line);
}

.mockup__dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.mockup__dot:nth-child(1) { background: #93c5fd; }
.mockup__dot:nth-child(2) { background: #67e8f9; }
.mockup__dot:nth-child(3) { background: #86efac; }
.mockup__title {
  margin-left: 10px;
  color: #66758a;
  font-size: .77rem;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mockup__body { display: grid; gap: 16px; padding: 24px; }

.mockup__status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mockup__status span {
  position: relative;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px 12px 38px;
  color: #526176;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: 14px;
  font-size: .82rem;
  font-weight: 680;
}

.mockup__status span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(5, 150, 105, .10);
  transform: translateY(-50%);
}

.mockup__status b {
  color: var(--ink);
  font-size: .9rem;
}
.mockup__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.kpi {
  min-height: 112px;
  padding: 15px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: var(--radius);
}

.kpi b {
  display: block;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.kpi span {
  display: block;
  margin-top: 8px;
  color: #607086;
  font-size: .78rem;
  font-weight: 680;
  line-height: 1.35;
}

.inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: var(--radius);
  font-size: .88rem;
}

.inv-row .who { color: var(--ink); font-weight: 700; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .70rem;
  font-weight: 820;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.ok { color: #047857; background: #ecfdf5; }
.badge.wait { color: #b45309; background: #fffbeb; }
.badge.sent { color: #1d4ed8; background: #eff6ff; }

.badge.ok::before,
.badge.wait::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Platform page hero */
.platform-hero {
  overflow: hidden;
  padding: clamp(62px, 7vw, 96px) 0 clamp(54px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.88) 52%, rgba(239,246,255,.72)),
    radial-gradient(circle at 82% 22%, rgba(37, 99, 235, .15), transparent 30%),
    radial-gradient(circle at 74% 78%, rgba(8, 145, 178, .12), transparent 28%);
  border-bottom: 1px solid var(--line);
}

.platform-hero__grid {
  width: calc(100vw - 50px);
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(768px, 1.5fr) minmax(740px, 1fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
}

.platform-hero__copy {
  max-width: 770px;
}

.platform-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.85rem, 4.1vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.platform-hero .lead {
  max-width: 760px;
}

.platform-hero__visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  max-width: 820px;
  justify-self: stretch;
}

.platform-hero__visual::before {
  content: "";
  position: absolute;
  inset: 54px 16px 36px 58px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(8, 145, 178, .12));
  transform: rotate(-2deg);
}

.platform-hero__badge {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 4;
  padding: 12px 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.platform-hero__badge img {
  width: 158px;
  height: auto;
}

.platform-card-mock {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.96);
  border: 1px solid #d8e5f4;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.platform-card-mock--shop {
  width: min(330px, 58%);
  padding: 22px;
  display: grid;
  gap: 8px;
}

.platform-card-mock--shop img {
  width: 46px;
  height: 46px;
}

.platform-card-mock--shop span {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 840;
}

.platform-card-mock--shop b {
  color: var(--green);
  font-size: .92rem;
}

.platform-card-mock--app {
  width: min(540px, 86%);
  margin-left: auto;
  margin-top: -36px;
  padding: 24px;
}

.platform-card-mock__label {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 860;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.platform-mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.platform-mini-kpis span,
.platform-mini-row {
  padding: 13px 14px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: 12px;
}

.platform-mini-kpis b {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.platform-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 760;
}

.platform-mini-row em {
  color: var(--green);
  font-style: normal;
  font-size: .78rem;
  font-weight: 860;
  text-transform: uppercase;
}

.platform-mini-row:last-child em {
  color: var(--amber);
}

.platform-flow-note {
  position: absolute;
  left: 30px;
  bottom: 36px;
  z-index: 2;
  padding: 10px 14px;
  color: #1f3d66;
  background: rgba(255,255,255,.88);
  border: 1px solid #d8e5f4;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .86rem;
  font-weight: 780;
}

/* Product hero */
.product-hero .platform-hero__grid {
  align-items: center;
}

.product-card {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  justify-self: end;
  padding: clamp(26px, 2.3vw, 36px);
  background: rgba(255, 255, 255, .98);
  border: 1px solid #d8e5f4;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.product-card::before {
  content: "Téléchargement après paiement";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 11px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 840;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.product-card__header img {
  width: 48px;
  height: 48px;
}

.product-card__header span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 720;
}

.product-card__header strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.1;
}

.product-card__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4edf7;
}

.product-card__price strong {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.product-card__price span {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 720;
  white-space: nowrap;
}

.product-card__list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.product-card__list li {
  position: relative;
  padding-left: 28px;
  color: #405065;
  font-weight: 640;
  line-height: 1.5;
}

.product-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.product-card__note {
  margin: 16px 0 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.55;
}

/* Platform strip */
.platforms-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.platforms-strip .container { padding-top: 28px; padding-bottom: 28px; }
.platforms-strip p {
  margin-bottom: 18px;
  color: #59687d;
  text-align: center;
  font-size: .80rem;
  font-weight: 820;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.platforms-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.plogo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: #344256;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 760;
}

.plogo img { width: 24px; height: 24px; object-fit: contain; }

/* Generic cards and grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.card h3 { margin-bottom: 9px; }
.card p { margin: 0; color: #526176; font-size: .96rem; line-height: 1.62; }
a.card {
  display: flex;
  flex-direction: column;
  color: inherit;
}
a.card:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgba(37, 99, 235, .38);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  font-size: 1.15rem;
}

.card__icon-img {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
}

.platform-card .tag {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 840;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.platform-card .arrow {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-weight: 780;
}

/* Process, solution and pipeline */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 820;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.flow .node {
  padding: 12px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 760;
}

.flow .arrow { color: var(--blue); font-weight: 840; }

.solution-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .84fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.solution-checklist {
  margin: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.flow-panel {
  position: relative;
  width: calc(100vw - 50px);
  margin-top: clamp(36px, 5vw, 58px);
  margin-left: calc(50% - 50vw + 25px);
  margin-right: calc(50% - 50vw + 25px);
  padding: clamp(26px, 4vw, 38px);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 0%, rgba(37, 99, 235, .10), transparent 30%),
    radial-gradient(circle at 76% 90%, rgba(8, 145, 178, .10), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,250,255,.94));
  border: 1px solid #d6e4f4;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.flow-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.flow-panel__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 860;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.flow-panel__header h3 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.flow-panel__header p {
  margin: 0;
  color: #526176;
  font-size: .98rem;
  line-height: 1.6;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(190px, 1fr)
    clamp(54px, 5vw, 92px)
    minmax(210px, 1.04fr)
    clamp(54px, 5vw, 92px)
    minmax(190px, 1fr)
    clamp(54px, 5vw, 92px)
    minmax(190px, 1fr);
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  padding: 6px 8px 92px;
}

.pipe-step {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 24px 24px;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
}

.pipe-step__index {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 860;
  letter-spacing: .09em;
}

.pipe-step--featured {
  color: #fff;
  background: linear-gradient(135deg, #102a56, var(--blue));
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(29, 78, 216, .24);
  animation: featured-pulse 5.8s ease-in-out infinite;
}

.pipe-step--featured .pipe-step__index { color: rgba(255,255,255,.68); }

.pipe-step--pdp {
  border-color: rgba(8, 145, 178, .38);
  background:
    linear-gradient(180deg, #ffffff, #f2fbfd);
  box-shadow: 0 12px 28px rgba(8, 145, 178, .10);
}

.pipe-step--pdp .pipe-icon {
  color: var(--cyan);
  background: #ecfeff;
  border: 1px solid #cffafe;
}

.pipe-icon {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eef5ff;
  border-radius: 12px;
}

.pipe-step--featured .pipe-icon {
  color: #fff;
  background: rgba(255, 255, 255, .15);
}

.pipe-icon svg { width: 25px; height: 25px; }
.pipe-body { display: flex; flex-direction: column; line-height: 1.25; }
.pipe-title { color: var(--ink); font-size: clamp(1.14rem, 1.35vw, 1.36rem); font-weight: 840; }
.pipe-sub { margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 680; line-height: 1.35; }
.pipe-step--featured .pipe-title { color: #fff; }
.pipe-step--featured .pipe-sub { color: #dbeafe; }

.pipe-arrow {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
}

.pipe-line {
  position: relative;
  display: block;
  width: 100%;
  height: 34px;
  overflow: visible;
}

.pipe-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .18), rgba(8, 145, 178, .44), rgba(37, 99, 235, .18));
  transform: translateY(-50%);
}

.pipe-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.pipe-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  transform: translateY(-50%) rotate(225deg);
}

.pipe-line i {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 44%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--blue), #22d3ee, transparent);
  box-shadow: 0 0 16px rgba(37, 99, 235, .32);
  animation: pipe-forward 1.8s var(--ease) infinite;
}

.pipe-line i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #22d3ee, var(--blue), transparent);
  box-shadow: 0 0 16px rgba(8, 145, 178, .28);
  animation: pipe-backward 2.2s var(--ease) infinite .45s;
}

.pipe-return {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  pointer-events: none;
}

.pipe-return__track {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .16), rgba(8, 145, 178, .28), rgba(37, 99, 235, .16));
}

.pipe-return__track::before,
.pipe-return__track::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.pipe-return__track--out::after {
  right: 1px;
  transform: translateY(-50%) rotate(45deg);
}

.pipe-return__track--back::before {
  left: 1px;
  transform: translateY(-50%) rotate(225deg);
}

.pipe-return__track i {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #2563eb, #22d3ee, transparent);
  box-shadow: 0 0 18px rgba(37, 99, 235, .38);
}

.pipe-return__track--out i {
  left: 0;
  animation: rail-out 3.2s linear infinite;
}

.pipe-return__track--back i {
  right: 0;
  animation: rail-back 3.2s linear infinite 1.55s;
}

.pipe-return__label {
  position: absolute;
  top: -30px;
  color: #526176;
  background: rgba(255,255,255,.86);
  border: 1px solid #dbe5f0;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .74rem;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pipe-return__label--out { left: 0; }
.pipe-return__label--back { right: 0; top: 30px; }

.flow-panel__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.flow-panel__assurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #1f3d66;
  background: rgba(255,255,255,.78);
  border: 1px solid #dbe5f0;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 760;
}

.flow-panel__assurance span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .10);
}

/* Lists */
.checklist {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  color: #405065;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(.32em + 5px);
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}

/* Pricing and tables */
.pricing-section > .container,
.pricing-compare > .container {
  max-width: 1440px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.35vw, 24px);
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 1.8vw, 30px);
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.price-card.featured {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: var(--shadow-md);
}

.price-card.featured::after {
  content: "Recommandé";
  align-self: flex-start;
  order: -1;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-card p { color: #526176; font-size: .96rem; }
.price {
  margin: 10px 0 22px;
  color: var(--ink);
  font-size: clamp(1.72rem, 1.95vw, 2rem);
  font-weight: 840;
  letter-spacing: -.04em;
}

.price small { color: var(--muted); font-size: .95rem; font-weight: 650; }
.price-card ul {
  display: grid;
  gap: 11px;
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 25px;
  color: #405065;
  font-size: .95rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.pricing-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.pricing-actions .btn {
  width: 100%;
}

.module-note {
  margin: 0;
  color: #64748b;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.module-note a {
  color: var(--blue);
  font-weight: 820;
}

/* Homepage module shop */
.modules-shop-section {
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.modules-shop-heading {
  max-width: 760px;
  margin: 0 auto 34px;
}

.module-price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding: clamp(22px, 2vw, 30px);
  color: #dbeafe;
  background: var(--navy);
  border: 1px solid rgba(96, 165, 250, .25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.module-price-panel h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.module-price-panel p {
  max-width: 720px;
  margin: 0;
  color: #b9c7da;
}

.module-price-panel .btn {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

.module-price-panel .btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .14);
}

.module-price-panel__label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-3);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.module-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.35vw, 22px);
}

.module-market-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 22px;
  color: var(--text);
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.module-market-card:hover {
  color: var(--text);
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: var(--shadow-sm);
}

.module-market-card--available {
  border-color: rgba(5, 150, 105, .36);
}

.module-market-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.module-market-card__top img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.module-market-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.module-market-card__status--soon {
  color: #475569;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.module-market-card h3 {
  margin-bottom: 10px;
}

.module-market-card p {
  margin-bottom: 20px;
  color: #526176;
  font-size: .95rem;
}

.module-market-card__price {
  display: block;
  margin-top: auto;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 850;
}

.module-market-card__cta {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

table.compare {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
}

table.compare th,
table.compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid #e9eff6;
}

table.compare thead th {
  color: var(--ink);
  background: #f6f9fd;
  font-size: .78rem;
  font-weight: 840;
  letter-spacing: .08em;
  text-transform: uppercase;
}

table.compare tbody tr:hover { background: #f8fbff; }

/* Article pages */
.article {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 82px) 0;
}
.article .container { max-width: 840px; }
.article h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.08;
}
.article h2 {
  margin-top: 2.1em;
  padding-top: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}
.article h3 { margin-top: 1.7em; }
.article .lead { margin-bottom: 28px; }
.article li { margin-bottom: .48rem; }
.article a { font-weight: 700; }

.toc {
  margin: 30px 0 42px;
  padding: 22px 24px;
  background: #f8fbff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: .96rem;
}

.toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.25rem;
}

.toc a { color: #405065; font-weight: 700; }
.toc a:hover { color: var(--blue); }

.callout {
  margin: 30px 0;
  padding: 20px 22px;
  color: #1f3d66;
  background: #eff6ff;
  border: 1px solid #cfe0f6;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}

.callout p:last-child { margin-bottom: 0; }

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin: 38px 0;
  padding: 26px;
  color: #d7e2f1;
  background:
    radial-gradient(circle at 85% 10%, rgba(8, 145, 178, .24), transparent 34%),
    linear-gradient(135deg, #081525, #10233b);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.inline-cta p {
  flex: 1 1 300px;
  margin: 0;
  color: #d7e2f1;
}

.inline-cta strong { color: #fff; }
.inline-cta .btn { flex: 0 0 auto; }

/* Breadcrumb */
.breadcrumb {
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 13px 0;
  list-style: none;
  font-size: .86rem;
  font-weight: 700;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #aab8ca;
}

.breadcrumb a { color: #66758a; }
.breadcrumb span { color: var(--ink); }

/* FAQ, related, CTA */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-weight: 760;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 520;
}

.faq-item[open] summary::after { content: "-"; }
.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #edf2f7;
}
.faq-answer p { margin: 14px 0 0; color: #405065; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-card {
  display: block;
  height: 100%;
  padding: 22px;
  color: inherit;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

.related-card:hover {
  text-decoration: none;
  border-color: rgba(37, 99, 235, .4);
  box-shadow: var(--shadow-sm);
}

.related-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 820;
}

.related-card__desc {
  display: block;
  color: #526176;
  font-size: .92rem;
  line-height: 1.55;
}

.cta-final {
  overflow: hidden;
  color: #d7e2f1;
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, .35), transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(8, 145, 178, .18), transparent 28%),
    linear-gradient(135deg, #06101e 0%, #0c1e34 58%, #07111f 100%);
}

.cta-final h2 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.cta-final p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #c7d2e3;
  font-size: 1.06rem;
}

/* Forms */
.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.form label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 760;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd8e8;
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form small { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; }

/* Editor block */
.editor-card {
  display: grid;
  grid-template-columns: 1.22fr .88fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
  padding: clamp(30px, 5vw, 50px);
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.editor-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.editor-logo .mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  border-radius: 12px;
  font-weight: 840;
}

.editor-logo b { color: var(--ink); font-size: 1.28rem; letter-spacing: -.025em; }
.editor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 28px;
}

.editor-stats .st {
  min-width: 128px;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: var(--radius);
}

.editor-stats .st b {
  display: block;
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1;
}

.editor-stats .st span { display: block; margin-top: 6px; color: #526176; font-size: .84rem; line-height: 1.35; }
.editor-meta { display: grid; gap: 14px; }
.editor-meta .row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: var(--radius);
}

.editor-meta .row .ic {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  background: #eef5ff;
  border-radius: 10px;
}

.editor-meta .row b { display: block; color: var(--ink); font-size: .93rem; }
.editor-meta .row span { display: block; color: #526176; font-size: .88rem; line-height: 1.45; }

/* Footer */
.site-footer {
  padding-top: 70px;
  color: #aab8ca;
  background: #06101e;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  padding-bottom: 48px;
}

.footer-brand p {
  max-width: 38ch;
  margin: 17px 0 22px;
  color: #c1ccda;
}

.footer-brand .logo-text,
.site-footer .logo { color: #fff; }

.footer-col h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 840;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a { color: #aab8ca; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom p {
  margin: 0 0 8px;
  color: #8392a6;
  font-size: .84rem;
}

.footer-bottom a { color: #c1ccda; }
.footer-legal { max-width: 980px; line-height: 1.55; }

/* Motion */
@keyframes surface-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes featured-pulse {
  0%, 100% { box-shadow: 0 18px 36px rgba(29, 78, 216, .24); }
  50% { box-shadow: 0 24px 48px rgba(29, 78, 216, .34); }
}

@keyframes slot-scan {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: .85; }
  72% { opacity: .85; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes pipe-forward {
  0% { transform: translate(-120%, -50%); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate(250%, -50%); opacity: 0; }
}

@keyframes pipe-backward {
  0% { transform: translateX(180%); opacity: 0; }
  18% { opacity: .95; }
  82% { opacity: .95; }
  100% { transform: translateX(-180%); opacity: 0; }
}

@keyframes pipe-forward-mobile {
  0% { transform: translate(-50%, -120%); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translate(-50%, 250%); opacity: 0; }
}

@keyframes pipe-backward-mobile {
  0% { transform: translateY(180%); opacity: 0; }
  18% { opacity: .95; }
  82% { opacity: .95; }
  100% { transform: translateY(-180%); opacity: 0; }
}

@keyframes rail-out {
  0% { transform: translate(-120%, -50%); opacity: 0; }
  8% { opacity: 1; }
  84% { opacity: 1; }
  100% { transform: translate(calc(100vw + 120px), -50%); opacity: 0; }
}

@keyframes rail-back {
  0% { transform: translate(120%, -50%); opacity: 0; }
  8% { opacity: 1; }
  84% { opacity: 1; }
  100% { transform: translate(calc(-100vw - 120px), -50%); opacity: 0; }
}

.js .scroll-section:not(.cta-final) > .container > *,
.js .article > .container > *,
.js .platforms-strip > .container > *,
.js .related > .container > * {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(10px);
  transition:
    opacity .82s var(--ease),
    transform .82s var(--ease),
    filter .82s var(--ease);
  transition-delay: calc(var(--motion-order, 0) * 72ms);
}

.js .scroll-section:not(.cta-final).is-visible > .container > *,
.js .article.is-visible > .container > *,
.js .platforms-strip.is-visible > .container > *,
.js .related.is-visible > .container > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.js .cta-final > .container > * {
  opacity: 1;
  transform: none;
  filter: none;
}

.scroll-section > .container > *:nth-child(1) { --motion-order: 0; }
.scroll-section > .container > *:nth-child(2) { --motion-order: 1; }
.scroll-section > .container > *:nth-child(3) { --motion-order: 2; }
.scroll-section > .container > *:nth-child(4) { --motion-order: 3; }
.scroll-section > .container > *:nth-child(5) { --motion-order: 4; }
.scroll-section > .container > *:nth-child(6) { --motion-order: 5; }

.js .reveal .pipe-step,
.js .reveal .pipe-arrow,
.js .reveal-up > * {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease),
    filter .7s var(--ease),
    border-color .18s var(--ease),
    box-shadow .18s var(--ease);
}

.reveal.in .pipe-step,
.reveal.in .pipe-arrow,
.reveal-up.in > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal-up.in > *:nth-child(2),
.reveal.in > *:nth-child(2) { transition-delay: .06s; }
.reveal-up.in > *:nth-child(3),
.reveal.in > *:nth-child(3) { transition-delay: .12s; }
.reveal-up.in > *:nth-child(4),
.reveal.in > *:nth-child(4) { transition-delay: .18s; }
.reveal-up.in > *:nth-child(5),
.reveal.in > *:nth-child(5) { transition-delay: .24s; }
.reveal-up.in > *:nth-child(6),
.reveal.in > *:nth-child(6) { transition-delay: .30s; }
.reveal-up.in > *:nth-child(7) { transition-delay: .36s; }
.reveal-up.in > *:nth-child(8) { transition-delay: .42s; }

.card,
.step,
.price-card,
.related-card,
.faq-item,
.pipe-step,
.editor-card,
.mockup,
.table-wrap,
.inline-cta {
  transition:
    transform .28s var(--ease),
    box-shadow .28s var(--ease),
    border-color .28s var(--ease),
    background .28s var(--ease);
}

.card:hover,
.step:hover,
.price-card:hover,
.related-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pipe-step:hover,
.mockup:hover,
.editor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.section-media-slot {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,246,255,.92)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, .06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(8, 145, 178, .05) 0 1px, transparent 1px 28px);
  border: 1px solid #d8e5f4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.section-media-slot::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(37, 99, 235, .32);
  border-radius: 14px;
}

.section-media-slot::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: 58%;
  height: 52%;
  background:
    linear-gradient(180deg, #fff, #f6f9fd);
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.section-media-slot__panel {
  position: absolute;
  left: 34px;
  top: 38px;
  z-index: 2;
  width: min(280px, 58%);
  display: grid;
  gap: 12px;
}

.section-media-slot__panel::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -24px;
  width: 120%;
  height: 160px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .14), transparent);
  transform: translateX(-120%);
  animation: slot-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.section-media-slot__line {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #dbeafe;
}

.section-media-slot__line:nth-child(1) { width: 76%; background: #bfdbfe; }
.section-media-slot__line:nth-child(2) { width: 94%; }
.section-media-slot__line:nth-child(3) { width: 64%; background: #ccfbf1; }

.solution-intro + .section-media-slot {
  margin-top: clamp(34px, 5vw, 54px);
}

.section-media-slot + .pipeline {
  margin-top: clamp(30px, 5vw, 50px);
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
  .flow-panel__header {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }
  .pipe-arrow {
    position: static;
    width: auto;
    min-height: 30px;
    transform: none;
  }
  .pipe-arrow::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(315deg);
  }
  .pipe-line {
    width: 34px;
    height: 34px;
  }
  .pipe-line::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }
  .pipe-line::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }
  .pipe-line i {
    left: 50%;
    top: 0;
    width: 3px;
    height: 42%;
    background: linear-gradient(180deg, transparent, var(--blue), #22d3ee, transparent);
    animation: pipe-forward-mobile 1.8s var(--ease) infinite;
  }
  .pipe-line i::after {
    background: linear-gradient(180deg, transparent, #22d3ee, var(--blue), transparent);
    animation: pipe-backward-mobile 2.2s var(--ease) infinite .45s;
  }
  .pipe-return {
    position: relative;
    margin-top: 12px;
    padding: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid #dbe5f0;
    border-radius: var(--radius);
  }
  .pipe-step {
    min-height: auto;
    flex-direction: row;
    align-items: center;
  }
  .pipe-return__track { display: none; }
  .pipe-return__label {
    position: static;
    display: block;
    margin: 0 0 8px;
    white-space: normal;
    line-height: 1.35;
  }
  .pipe-return__label--back { margin-bottom: 0; }
}

@media (max-width: 1180px) {
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
  .hero-copy {
    max-width: 860px;
  }
  .hero-visual {
    max-width: 820px;
    min-height: auto;
  }
  .platform-hero__grid {
    grid-template-columns: 1fr;
  }
  .platform-hero__visual {
    max-width: 820px;
    min-height: 430px;
  }
  .product-card {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .hero-grid {
    width: 100%;
    max-width: var(--maxw);
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 { max-width: 760px; }
  .hero-visual { min-height: auto; justify-self: start; }
  .hero-badge { right: 0; }
  .platform-hero__grid {
    width: 100%;
  }
  .solution-intro,
  .editor-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .related-grid,
  .pricing,
  .module-market-grid { grid-template-columns: 1fr; }
  .pricing > *:last-child,
  .footer-brand { grid-column: span 1; }
  .module-price-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .module-price-panel .btn {
    width: 100%;
  }
  .module-market-card {
    min-height: auto;
  }
  .hero { padding-top: 58px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trust-list { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .hero-badge-inline {
    display: block;
    width: 156px;
    margin: 0 0 22px;
  }
  .mockup__status,
  .mockup__kpis { grid-template-columns: 1fr; }
  .platform-hero {
    padding-top: 56px;
  }
  .platform-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }
  .platform-hero__visual {
    min-height: auto;
    gap: 14px;
  }
  .platform-hero__visual::before,
  .platform-flow-note,
  .platform-hero__badge {
    display: none;
  }
  .platform-card-mock--shop,
  .platform-card-mock--app {
    width: 100%;
    margin: 0;
  }
  .platform-mini-kpis {
    grid-template-columns: 1fr;
  }
  .platform-mini-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-card {
    border-radius: 18px;
  }
  .product-card__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .product-card__price span {
    white-space: normal;
  }
  .inv-row { align-items: flex-start; flex-direction: column; }
  .inline-cta { align-items: stretch; }
  .inline-cta .btn { width: 100%; }
  .flow-panel {
    padding: 20px;
    border-radius: 18px;
  }
  .flow-panel__header {
    margin-bottom: 22px;
  }
  .pipe-step {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 20px 20px;
  }
  .form .row-2,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .header-inner { min-height: 66px; }
  .mobile-nav { top: 66px; }
  .logo-text { font-size: 1.12rem; }
  .card,
  .step,
  .price-card,
  .related-card,
  .toc,
  .inline-cta,
  .editor-card { padding: 20px; }
  .platforms-logos { justify-content: flex-start; }
  .plogo { width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .js .reveal .pipe-step,
  .js .reveal .pipe-arrow,
  .js .reveal-up > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
