/* ============================================================
   PROCEE — Linear × Attio × Ramp DNA, Radix tokens, brand blue
   ============================================================ */

:root {
  /* — brand — */
  --primary: #1B6EE8;
  --primary-dark: #1556B8;
  --primary-soft: #E8F0FE;
  --mint: #2BBA7E;
  --mint-soft: #DDF3E9;

  /* — neutrals (radix slate, tuned) — */
  --c1: #FBFCFD;
  --c2: #F7F8FA;
  --c3: #F1F3F5;
  --c4: #ECEEF1;
  --c5: #E4E7EB;
  --c6: #D8DCE0;
  --c7: #C8CDD3;
  --c8: #A6ADB5;
  --c9: #7B838C;
  --c10: #5C6470;
  --c11: #3D4451;
  --c12: #0E1116;

  /* — ink & surfaces — */
  --ink: #0E1116;
  --ink-2: #2A2F38;
  --muted: #5C6470;
  --ink-3: var(--muted);
  /* Preserved from the pre-redesign token set — still referenced by site pages
     the bundle has no concept of: --line-2 (TrialDialog), --shadow (wiki/blog
     card hover), --tint (default accent tint). */
  --line-2: rgba(14, 17, 22, 0.04);
  --shadow: var(--sh-3);
  --tint: var(--primary-soft);
  --line: rgba(14, 17, 22, 0.08);
  --line-strong: rgba(14, 17, 22, 0.12);
  --bg: #FFFFFF;
  --bg-alt: #FAFBFC;
  --bg-dark: #0E1116;
  --bg-dark-2: #161A21;

  /* — radii & shadows — */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --sh-1: 0 1px 2px rgba(14, 17, 22, 0.04), 0 1px 0 rgba(14, 17, 22, 0.02);
  --sh-2: 0 2px 8px rgba(14, 17, 22, 0.04), 0 1px 2px rgba(14, 17, 22, 0.06);
  --sh-3: 0 12px 30px -10px rgba(14, 17, 22, 0.18), 0 4px 12px rgba(14, 17, 22, 0.06);
  --sh-4: 0 40px 80px -20px rgba(14, 17, 22, 0.22), 0 8px 24px rgba(14, 17, 22, 0.08);

  /* — type — */
  --f-sans: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* — theme surfaces — */
  --surface: #FFFFFF;
  --glass: rgba(255,255,255,0.78);
  --grid-line: rgba(14,17,22,0.04);

  /* — layout — */
  --container: 1180px;
  --container-wide: 1280px;
}

/* ── reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.mono { font-family: var(--f-mono); letter-spacing: 0.02em; font-variant-ligatures: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
}

/* ── buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .1s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(-3px); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 2px rgba(14,17,22,0.2);
}
.btn-primary:hover { background: #1F252E; }
html[data-theme="dark"] .btn-primary {
  background: var(--ink);
  color: var(--bg-dark);
  box-shadow: 0 1px 2px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}
html[data-theme="dark"] .btn-primary:hover { background: #ffffff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--c2); border-color: var(--c7); }
.btn-light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.btn-light:hover { background: var(--c2); }
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }

/* ── nav ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark { width: 26px; height: 26px; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-family: var(--f-sans); }
.brand-logo { height: 26px; width: auto; display: block; flex: 0 0 auto; max-width: none; }
.bp-lockup { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.bp-mark { height: 30px; width: auto; display: block; position: relative; z-index: 2; }
.bp-trail {
  position: absolute;
  top: 50%;
  right: 100%;
  margin-right: -1px;
  transform: translateY(-50%);
  width: 96px;
  height: 30px;
  overflow: visible;
  pointer-events: none;
}
.bp-trail .shard { fill: #26c7a9; }
.footer-ptrail { display: inline-flex; align-items: center; padding: 0; }
.fp-lockup { position: relative; display: inline-flex; align-items: center; }
.fp-mark { height: 17px; width: auto; display: block; position: relative; z-index: 2; }
.fp-trail {
  position: absolute;
  top: 50%;
  right: 100%;
  margin-right: -1px;
  transform: translateY(-50%);
  width: 89px;
  height: 17px;
  overflow: visible;
  pointer-events: none;
}
.fp-trail .shard { fill: #26c7a9; }
@media (max-width: 720px) {
  .fp-mark { height: 16px; }
  .fp-trail { width: 84px; height: 16px; }
  .footer-bottom-left { gap: 14px 90px; flex-wrap: wrap; }
}
.footer-bottom-left { display: flex; align-items: center; gap: 104px; }
.footer-brand .brand-logo { height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  color: var(--c11);
  padding: 8px 12px;
  border-radius: 7px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--c3); color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link-muted {
  font-size: 14px;
  color: var(--c10);
  padding: 8px 12px;
  font-weight: 500;
}
.nav-link-muted:hover { color: var(--ink); }

/* hamburger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
}
body.m-nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.m-nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.m-nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile side drawer (RTL — slides in from the right edge) */
.m-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14,17,22,0.42);
  opacity: 0;
  transition: opacity .2s ease;
}
.m-nav-scrim.is-on { opacity: 1; }
.m-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 61;
  width: min(310px, 82vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: var(--sh-4);
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.m-nav.is-open { transform: translateX(0); }
.m-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.m-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--c11);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.m-nav-close:hover { background: var(--c3); color: var(--ink); }
.m-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 4px;
  gap: 2px;
}
.m-nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c11);
  padding: 13px 14px;
  border-radius: 9px;
  transition: background .15s ease, color .15s ease;
}
.m-nav-links a:hover,
.m-nav-links a:active { background: var(--c3); color: var(--ink); }
.m-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.m-nav-actions .btn { width: 100%; justify-content: center; }
.m-nav-login {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--c10);
  padding: 11px;
}
.m-nav-login:hover { color: var(--ink); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-burger { display: flex; }
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--primary-soft) 0%, transparent 55%),
    radial-gradient(90% 60% at 50% 0%, color-mix(in oklch, var(--primary) 8%, transparent) 0%, transparent 60%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 78% 76% at 50% 26%, #000 24%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 76% at 50% 26%, #000 24%, transparent 78%);
  opacity: 1.4;
}
.hero-spot {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 520px;
  background: radial-gradient(ellipse at center, var(--primary) 0%, transparent 62%);
  opacity: 0.16;
  filter: blur(90px);
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 130%;
  height: 130%;
  transform: translateX(-50%);
  background:
    conic-gradient(from 180deg at 50% 0%,
      transparent 0deg,
      color-mix(in oklch, var(--primary) 22%, transparent) 18deg,
      transparent 40deg,
      transparent 320deg,
      color-mix(in oklch, var(--mint) 18%, transparent) 342deg,
      transparent 360deg);
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.45;
}
.hero-glow-blue {
  background: var(--primary);
  top: -140px;
  right: -120px;
  opacity: 0.32;
}
.hero-glow-mint {
  background: var(--mint);
  top: 40px;
  left: -180px;
  opacity: 0.20;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--c11);
  margin-bottom: 24px;
  box-shadow: var(--sh-1);
  transition: border-color .15s ease, transform .15s ease;
}
.hero-pill:hover { border-color: var(--c7); transform: translateY(-1px); }
.hero-pill-tag {
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.hero-pill svg { color: var(--c10); }

.hero-h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 auto;
  max-width: 920px;
  color: var(--ink);
}
.hero-h1 span { display: block; }
.hero-h1-accent {
  background: linear-gradient(120deg, var(--c10) 0%, var(--c11) 50%, var(--c10) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c10);
  margin: 22px auto 0;
  max-width: 680px;
}
.hero-sub-strong { color: var(--ink); font-weight: 500; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--c10);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(46, 132, 74, 0.12);
}
.hero-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c7);
}

/* product shot */
.hero-shot-wrap {
  position: relative;
  margin: 56px auto 0;
  max-width: 1280px;
  perspective: 1500px;
}
.hero-shot-frame {
  position: relative;
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-4);
  z-index: 2;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--c2);
  border-bottom: 1px solid var(--line);
}
.chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.chrome-url {
  margin-inline-start: 14px;
  font-size: 12px;
  color: var(--c10);
  background: var(--surface);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.hero-shot-frame img { width: 100%; height: auto; display: block; }
.hero-shot-fade {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -3px;
  height: 36%;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 94%);
  z-index: 2;
  pointer-events: none;
}
.hero-phone-wrap {
  position: absolute;
  left: -2%;
  bottom: -32px;
  width: 158px;
  z-index: 3;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.hero-phone {
  width: 100%;
  background: #0E1116;
  border-radius: 28px;
  padding: 7px;
  box-shadow: 0 34px 64px -18px rgba(14,17,22,0.45), 0 0 0 1px rgba(14,17,22,0.04);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: hero-phone-float 5.5s ease-in-out infinite; }
}
@keyframes hero-phone-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.5);
  z-index: 2;
}
.hero-phone-screen {
  border-radius: 22px;
  overflow: hidden;
  background: #F2F4F7;
}
.hero-phone img {
  width: 108%;
  max-width: none;
  margin: -14% 0 0 -8%;
  display: block;
}
@media (max-width: 720px) {
  .hero { overflow-x: clip; }
  .hero-shot-wrap { perspective: none; margin-top: 40px; }
  .hero-shot-frame { width: 175%; margin-inline-start: -75%; border-radius: 12px; }
  .hero-shot-chrome { display: none; }
  .hero-phone-wrap {
    display: block;
    width: clamp(96px, 30vw, 122px);
    left: 2px;
    bottom: -20px;
  }
  .hero-phone { animation: none; border-radius: 22px; padding: 5px; }
  .hero-phone-screen { border-radius: 18px; }
  .hero-phone::before { top: 10px; width: 32px; height: 4px; }
  .hero-shot-fade { height: 44%; }
}
.hero-shot-glow {
  position: absolute;
  inset: auto 10% -40px 10%;
  height: 140px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(27,110,232,0.25), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

/* ── STATS STRIP ───────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px 24px;
  gap: 16px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--c5);
}
.stat:first-child { border-inline-start: none; padding-inline-start: 0; }
.stat-n {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.stat-l {
  font-size: 13px;
  color: var(--c10);
}
@media (max-width: 720px) {
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-inline-start: none; padding-inline-start: 0; }
}

/* ── LOGOS MARQUEE ─────────────────────────────── */
.logos {
  padding: 40px 0 32px;
  background: var(--bg);
}
.logos-head {
  text-align: center;
  margin-bottom: 44px;
}
.logos-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c9);
  margin-bottom: 14px;
}
.logos-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.logos-title-accent { color: var(--primary); }
.logos-title-logo { height: 0.82em; width: auto; display: inline-block; vertical-align: baseline; margin: 0 0.08em; }
.cta-title-logo { height: 0.78em; width: auto; display: inline-block; vertical-align: baseline; margin: 0 0.1em; }
.logos-label {
  text-align: center;
  font-size: 16px;
  color: var(--c9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 56px;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-cell {
  flex: 0 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
}
.logo-cell img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter .2s ease;
}
.logo-cell:hover img { filter: grayscale(0) opacity(1); }
html[data-theme="dark"] .logo-cell img { filter: brightness(0) invert(1) opacity(0.5); }
html[data-theme="dark"] .logo-cell:hover img { filter: brightness(0) invert(1) opacity(0.92); }
html[data-theme="dark"] .logos-title-logo { filter: brightness(0) invert(1); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ── section base ──────────────────────────────── */
.section {
  padding: 60px 0;
}
/* ═══ DARK ACCENT SECTION — fixed deep navy in both themes ═══ */
.section-dark {
  color-scheme: dark;
  --primary: #4A8DF2;
  --primary-dark: #6BA3F6;
  --primary-soft: rgba(74,141,242,0.14);
  --mint: #3DCE8F;
  --mint-soft: rgba(61,206,143,0.13);
  --c1: #11151B; --c2: #151A21; --c3: #1B212A; --c4: #222934;
  --c5: #2A323F; --c6: #353F4E; --c7: #455062; --c8: #5E6979;
  --c9: #7E8895; --c10: #9CA6B2; --c11: #C6CDD6; --c12: #EEF1F5;
  --ink: #EEF1F5; --ink-2: #CBD2DB; --muted: #9CA6B2;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --bg: #0D1014; --bg-alt: #11151B; --bg-dark: #090B0E; --bg-dark-2: #0F1318;
  --surface: #14181F;
  --grid-line: rgba(255,255,255,0.05);
  --sh-1: 0 1px 2px rgba(0,0,0,0.35), 0 1px 0 rgba(0,0,0,0.2);
  --sh-2: 0 2px 8px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.4);
  --sh-3: 0 12px 30px -10px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
  --sh-4: 0 40px 80px -20px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.4);
  background: #0B0E13 !important;
  border-block: 1px solid rgba(255,255,255,0.08) !important;
  color: var(--ink);
}
@media (max-width: 720px) {
  .section { padding: 44px 0; }
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow-n {
  font-size: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-head p {
  font-size: 17px;
  color: var(--c10);
  line-height: 1.55;
  margin: 0;
}

/* ── FLOW (3-way match) ────────────────────────── */
.section-players { background: var(--bg-alt); border-block: 1px solid var(--line); }

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 32px 0 12px;
}
.flow-rail {
  position: absolute;
  top: 60px;
  inset-inline: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--c6) 0 6px,
    transparent 6px 12px
  );
  z-index: 0;
}
.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 18px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--c7);
}
.flow-tag {
  font-size: 10.5px;
  background: var(--tint);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-icon svg { width: 22px; height: 22px; }
.flow-icon i { font-size: 19px; line-height: 1; }
.flow-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.section-dark .flow-name { color: #EEF1F5; }
.flow-meta {
  font-size: 11.5px;
  color: var(--c10);
  line-height: 1.4;
}
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow-rail { display: none; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
}

.process-callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.callout {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--sh-1);
}
.callout-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 7px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.callout h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.callout p {
  margin: 0;
  font-size: 14.5px;
  color: var(--c10);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .process-callouts { grid-template-columns: 1fr; }
}

/* ── FEATURES (bento) ──────────────────────────── */
.section-features { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 28px 28px 0;
  overflow: hidden;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  grid-column: span 3;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bento-tile:hover {
  border-color: var(--c7);
  box-shadow: var(--sh-3);
}
.bento-ai { grid-column: span 6; min-height: 380px; }
.bento-mini { min-height: 240px; padding-bottom: 28px; grid-column: span 3; }

/* 3-way match tile */
.bento-art-match { flex-direction: column; justify-content: center; gap: 16px; padding-bottom: 26px; }
.match-stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.match-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--sh-1);
}
.match-doc-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
}
.match-po .match-doc-tag { background: #d6eafb; color: #1a6db5; }
.match-gr .match-doc-tag { background: #ffe1cb; color: #b85c1b; }
.match-inv .match-doc-tag { background: #fff5cc; color: #8a6a00; }
.match-doc-id { font-size: 13px; color: var(--c11); }
.match-check {
  margin-inline-start: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #2E844A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-check svg { width: 13px; height: 13px; }
.match-result {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mint-soft);
  color: #2E844A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 999px;
}
.match-result svg { width: 14px; height: 14px; }

/* ═══ NEW FEATURE TILES (03) ═══════════════════════ */
.bento-wide { grid-column: span 3; display: grid; grid-template-columns: 1fr; gap: 18px; }
.bento-wide .bento-art { margin-top: 0; align-items: stretch; }

/* Email inbox */
.bento-art-inbox { flex-direction: column; justify-content: center; gap: 18px; align-items: stretch; min-width: 0; max-width: 100%; }
.inbox-addr {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px dashed var(--c7); border-radius: var(--r-md);
  padding: 14px 16px; cursor: pointer; font: inherit; width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.inbox-addr:hover { border-color: var(--primary); background: var(--primary-soft); }
.inbox-addr-text { font-size: 15px; font-weight: 600; color: var(--primary); min-width: 0; overflow-wrap: anywhere; word-break: break-all; text-align: left; }
.inbox-copy { width: 30px; height: 30px; border-radius: var(--r-xs); display: flex; align-items: center; justify-content: center; color: var(--c10); background: var(--c2); flex: 0 0 auto; }
.inbox-addr.is-copied .inbox-copy { background: var(--mint-soft); color: #2E844A; }
.inbox-copy svg { width: 16px; height: 16px; }
.inbox-flow { display: flex; align-items: center; justify-content: center; gap: 14px; }
.inbox-node { display: flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; }
.inbox-mail { background: var(--c3); color: var(--c11); }
.inbox-mail svg { width: 22px; height: 22px; }
.inbox-ai { background: var(--primary); color: #fff; }
.inbox-ai svg { width: 18px; height: 18px; }
.inbox-arrow { color: var(--c8); }
.inbox-arrow svg { width: 22px; height: 22px; display: block; }
.inbox-files { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.inbox-file { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--c10); background: var(--c2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.inbox-file-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* ── inbox interactive pipeline ── */
.inbox-pipe { display: flex; flex-direction: column; gap: 14px; }
.pipe-track { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 2px 8px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.pipe-node:hover { background: var(--c2); }
.pipe-num {
  font-size: 9px;
  font-weight: 600;
  color: var(--c8);
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}
.pipe-num::after { content: ""; }
.pipe-node.is-active .pipe-num { color: var(--primary); }
.pipe-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c3);
  color: var(--c10);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.pipe-ico svg { width: 23px; height: 23px; }
.pipe-ico i { font-size: 20px; line-height: 1; }
.pipe-lbl {
  font-size: 9.5px;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--c9);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}
.pipe-node.is-done .pipe-ico { background: var(--primary-soft); color: var(--primary); }
.pipe-node.is-done .pipe-lbl { color: var(--primary); }
.pipe-node.is-active .pipe-ico {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 5px var(--primary-soft);
}
.pipe-node.is-active .pipe-lbl { color: var(--ink); }
.pipe-arr {
  flex: 1 1 0;
  min-width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c7);
  margin-bottom: 18px;
}
.pipe-arr svg { width: 18px; height: 18px; }
.pipe-caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c10);
  min-height: 2.6em;
  transition: opacity 0.14s ease;
}

/* Segmentation */
.bento-art-seg { flex-direction: column; justify-content: center; gap: 22px; }
.seg-key { display: flex; align-items: stretch; justify-content: center; gap: 4px; }
.seg-part { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 14px; border-radius: var(--r-sm); transition: transform .15s ease; }
.seg-part:hover { transform: translateY(-3px); }
.seg-part b { font-size: 22px; font-weight: 700; line-height: 1; }
.seg-part i { font-size: 10.5px; font-style: normal; font-weight: 600; letter-spacing: 0.02em; opacity: 0.9; }
.seg-1 { background: #d6eafb; color: #1a6db5; }
.seg-2 { background: #e7dfff; color: #5a4ab5; }
.seg-3 { background: #fff5cc; color: #8a6a00; }
.seg-4 { background: #d4f0dc; color: #2d6a4f; }
.seg-5 { background: #fce0eb; color: #b03070; }
.seg-5 b { font-size: 15px; }
.seg-sep { align-self: center; color: var(--c7); font-weight: 700; }
.seg-out { display: flex; gap: 8px; justify-content: center; }
.seg-pill { font-size: 12.5px; font-weight: 600; color: var(--c11); background: var(--c2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; }

/* Budget layering (mapping) */
.bento-art-map { align-items: center; justify-content: center; gap: 6px; }
.map-col { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.map-col-label { font-size: 11px; font-weight: 600; color: var(--c9); margin-bottom: 2px; text-align: center; }
.map-node { font-size: 13px; font-weight: 600; color: var(--c11); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 12px; text-align: center; }
.map-node.budget { background: var(--primary-soft); border-color: transparent; color: var(--primary-dark); }
.map-link { color: var(--c7); flex: 0 0 auto; }
.map-link svg { width: 38px; height: 58px; display: block; }

/* Group / umbrella budget */
.bento-art-umbrella { flex-direction: column; justify-content: center; align-items: center; gap: 0; }
.umb-top { background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: var(--r-md); }
.umb-fan { width: 100%; max-width: 240px; height: 44px; color: var(--c6); }
.umb-cos { display: flex; gap: 10px; justify-content: center; width: 100%; }
.umb-co { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--c11); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 6px; text-align: center; }

/* Smart routes (rules) */
.bento-art-rules { flex-direction: column; justify-content: center; gap: 10px; }
.rule-row { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 14px; font-size: 13px; color: var(--c11); transition: border-color .15s ease, box-shadow .15s ease; }
.rule-row:hover { border-color: var(--primary); box-shadow: var(--sh-2); }
.rule-if { font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 5px; flex: 0 0 auto; }
.rule-cond { flex: 1; }
.rule-arrow { color: var(--c8); font-weight: 700; }
.rule-then { font-weight: 700; color: var(--ink); background: var(--c3); padding: 4px 11px; border-radius: 999px; font-size: 12.5px; }

/* Permissions */
.bento-art-perm { flex-direction: column; justify-content: center; gap: 18px; }
.perm-user { display: flex; align-items: center; gap: 12px; }
.perm-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.perm-meta { display: flex; flex-direction: column; gap: 2px; }
.perm-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.perm-seg { font-size: 11.5px; color: var(--c9); }
.perm-levels { display: flex; gap: 8px; }
.perm-lvl { flex: 1; font: inherit; font-size: 13px; font-weight: 600; color: var(--c10); background: var(--c2); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 6px; cursor: pointer; transition: all .15s ease; }
.perm-lvl.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Tax invoice closure */
.bento-art-tax { flex-direction: column; justify-content: center; gap: 9px; }
.tax-stage { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 14px; font-size: 13px; font-weight: 600; color: var(--c11); }
.tax-n { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex: 0 0 auto; background: var(--c3); color: var(--c10); }
.tax-stage span:nth-child(2) { flex: 1; }
.tax-stage.done .tax-n { background: var(--mint-soft); color: #2E844A; }
.tax-stage.done svg { width: 17px; height: 17px; color: #2E844A; }
.tax-stage.wait { border-style: dashed; color: var(--c10); }
.tax-stage.wait .tax-n { background: #FFF3D6; color: #8a6a00; }
.tax-wait-dot { width: 9px; height: 9px; border-radius: 50%; background: #E7A615; animation: tax-blink 1.4s ease-in-out infinite; }
@keyframes tax-blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.tax-block { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 600; color: #B5413E; background: #FCEBEA; border-radius: var(--r-sm); padding: 9px 12px; }
.tax-block svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* SLA */
.bento-art-sla { flex-direction: column; justify-content: center; gap: 12px; }
.sla-row { display: flex; align-items: center; gap: 12px; }
.sla-name { width: 56px; font-size: 13px; font-weight: 600; color: var(--c11); flex: 0 0 auto; }
.sla-bar { flex: 1; height: 9px; background: var(--c3); border-radius: 999px; overflow: hidden; }
.sla-bar > span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.sla-t { width: 40px; font-size: 12px; color: var(--c10); text-align: left; flex: 0 0 auto; }
.sla-row.is-bottleneck .sla-bar > span { background: #D44545; }
.sla-row.is-bottleneck .sla-name, .sla-row.is-bottleneck .sla-t { color: #B5413E; }
.sla-flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #B5413E; background: #FCEBEA; border-radius: 999px; padding: 6px 12px; margin-top: 2px; }

/* Reports */
.bento-art-reports { flex-direction: column; justify-content: center; gap: 16px; }
.rep-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 18px; }
.rep-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.rep-bars > span { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; opacity: 0.85; }
.rep-bars > span:nth-child(4) { background: var(--primary-dark); opacity: 1; }
.rep-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rep-chip { font-size: 11.5px; font-weight: 700; color: var(--c11); background: var(--c2); border: 1px solid var(--line-strong); border-radius: var(--r-xs); padding: 6px 11px; }
.rep-sched { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: 12px; font-weight: 600; color: var(--primary); }
.rep-sched svg { width: 15px; height: 15px; }

/* Supplier onboarding */
.bento-art-onb { align-items: center; justify-content: center; }
.onb-form { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh-1); }
.onb-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.onb-field:nth-child(3) { border-bottom: none; padding-bottom: 0; }
.onb-label { font-size: 12px; color: var(--c9); }
.onb-val { font-size: 13px; font-weight: 600; color: var(--ink); }
.onb-submit { margin-top: 2px; text-align: center; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; border-radius: var(--r-sm); padding: 10px; }

/* RFP */
.bento-art-rfp { flex-direction: column; justify-content: center; gap: 9px; }
.rfp-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 14px; }
.rfp-name { font-size: 13px; font-weight: 600; color: var(--c11); }
.rfp-price { font-size: 13px; font-weight: 700; color: var(--c8); background: var(--c2); border-radius: var(--r-xs); padding: 5px 11px; min-width: 64px; text-align: center; }
.rfp-price.filled { color: var(--mint); background: var(--mint-soft); }
.rfp-secure { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--c9); margin-top: 2px; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile, .bento-mini { grid-column: span 1; }
  .bento-ai, .bento-wide { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile, .bento-ai, .bento-mini, .bento-wide { grid-column: span 1; min-width: 0; }
  .bento-wide { grid-template-columns: 1fr; }
  .bento-art-inbox { min-width: 0; }
  .inbox-addr { padding: 12px 14px; }
  .inbox-addr-text { font-size: 12.5px; }
  .inbox-flow { gap: 10px; }
  .inbox-files { justify-content: flex-start; }
  .inbox-file { max-width: 100%; }
  .inbox-file .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pipe-track { gap: 2px; }
  .pipe-node { padding: 6px 4px 5px; gap: 4px; }
  .pipe-ico { width: 34px; height: 34px; border-radius: 8px; }
  .pipe-ico svg { width: 18px; height: 18px; }
  .pipe-lbl { font-size: 7.5px; letter-spacing: 0.04em; }
  .pipe-arr { min-width: 8px; margin-bottom: 14px; }
  .pipe-arr svg { width: 13px; height: 13px; }
  .pipe-caption { font-size: 12px; min-height: 3.2em; }
}

.bento-text { flex: 0 0 auto; }
.bento-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--c10);
  background: var(--c3);
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 16px;
}
/* Section 04 bento tags → top-left corner, like the security tiles */
#features .bento-tile > .bento-text > .bento-tag {
  position: absolute;
  top: 26px;
  left: 28px;
  margin-bottom: 0;
  z-index: 2;
}
#features .bento-tile > .bento-text { padding-top: 24px; }
/* APP+CHANNELS combined tile — tag to the top-left corner like the rest */
#features .int-tile-combined .int-tile-head .bento-tag {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: 0;
}

/* ── Compact feature index (section 04, below flagship tiles) ── */
.feat-index {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat-row {
  background: var(--surface);
  padding: 20px 22px;
  transition: background .15s ease;
}
.feat-row:hover { background: var(--c1); }
.feat-row:hover h4 { color: var(--primary); }
.feat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.feat-ic {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-ic i { font-size: 14px; line-height: 1; }
.feat-tag {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--c10);
  background: var(--c3);
  padding: 3px 7px;
  border-radius: 5px;
  margin-bottom: 10px;
}
.feat-row h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .15s ease;
}
.feat-row p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--c10); }
@media (max-width: 1000px) {
  .feat-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feat-index { grid-template-columns: 1fr; }
  .feat-row { padding: 17px 18px; }
}
.bento-tile h3 {
  font-size: 22px;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
}
.bento-tile p {
  font-size: 14.5px;
  color: var(--c10);
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

.bento-art {
  margin-top: 28px;
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* AI tile */
.bento-ai { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-bottom: 28px; }
.bento-ai .bento-art { margin-top: 0; align-items: center; }
@media (max-width: 980px) {
  .bento-ai { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 600px) {
  .bento-ai { grid-template-columns: 1fr; }
}
.ai-card {
  width: 100%;
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  box-shadow: var(--sh-2);
}
.ai-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}
.ai-doc-h { height: 14px; width: 70%; background: var(--c4); border-radius: 4px; }
.ai-doc-l { height: 8px; background: var(--c3); border-radius: 4px; }
.ai-doc-l.short { width: 60%; }
.ai-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.ai-field {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--c2);
  font-size: 13px;
}
.ai-field-k {
  font-size: 10.5px;
  color: var(--c10);
  letter-spacing: 0.04em;
}
.ai-field-v { color: var(--ink); font-weight: 500; }
.ai-field-conf {
  font-size: 11px;
  color: var(--mint);
  font-weight: 600;
  background: var(--mint-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.ai-field-conf.ok { color: #fff; background: var(--mint); }

/* approvals */
.bento-art-approvals { padding-bottom: 16px; }
.ap-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
}
.ap-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--c10);
  white-space: nowrap;
  flex: 0 0 auto;
}
.ap-step svg { width: 12px; height: 12px; color: var(--mint); }
.ap-step.done { background: var(--mint-soft); color: #1F8260; border-color: transparent; }
.ap-step.active { background: var(--primary-soft); color: var(--primary); border-color: transparent; font-weight: 500; }
.ap-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(27,110,232,0.4);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27,110,232,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(27,110,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,110,232,0); }
}
.ap-line {
  height: 2px;
  flex: 1 1 auto;
  background: repeating-linear-gradient(to right, var(--c6) 0 4px, transparent 4px 8px);
  min-width: 14px;
}
.ap-line.done { background: var(--mint); border-radius: 1px; }

/* budget */
.bento-art-budget {
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  padding-bottom: 8px;
}
.bg-row {
  display: grid;
  grid-template-columns: 86px 1fr 50px;
  align-items: center;
  gap: 12px;
}
.bg-name { font-size: 12.5px; color: var(--c10); font-weight: 500; letter-spacing: 0.02em; }
.bg-bar {
  height: 10px;
  background: #D4F0DC;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  flex-direction: row; /* RTL context: row starts at the right edge, like the system */
}
.bg-bar > .seg { display: block; height: 100%; }
.bg-pct { font-size: 12px; color: var(--c10); text-align: end; }
.bg-row.alert .bg-pct { color: #D44545; font-weight: 600; }

/* tooltip-style legend card (mirrors the in-product budget popover) */
.bgl-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 10px 26px -16px rgba(14,17,22,0.25);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.bgl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.bgl-head-l { font-size: 12px; font-weight: 600; color: var(--c10); }
.bgl-head-v { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: 0.03em; }
.bgl-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink);
}
.bgl-dot { width: 13px; height: 13px; border-radius: 50%; flex: 0 0 auto; }
.bgl-l { flex: 1; }
.bgl-v { color: var(--ink); }
.bgl-total { border-top: 1px solid var(--line); padding-top: 8px; }
.bgl-total .bgl-l, .bgl-total .bgl-v { font-weight: 700; }

/* ITA tile */
.bento-art-ita {
  flex-direction: column;
  gap: 18px;
  padding-bottom: 10px;
}
.ita-line {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 10px;
}
.ita-end {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}
.ita-end-procee { background: var(--ink); color: #fff; }
.ita-end-procee img { height: 17px; width: auto; display: block; }
.ita-end-ita { background: var(--mint-soft); color: #1F8260; border: 1px solid rgba(31,130,96,0.2); }
.ita-wire {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--c6) 0 4px, transparent 4px 8px);
}
.ita-pulse-dot {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: ita-travel 2.4s linear infinite;
}
@keyframes ita-travel {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.ita-payload {
  background: var(--bg-dark);
  color: #ECEEF1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ita-payload .k { color: #7B838C; margin-inline-end: 12px; }
.ita-payload .v { color: #ECEEF1; }
.ita-payload .v.ok { color: var(--mint); }
.ita-payload > div { display: flex; justify-content: space-between; }

/* archive */
.bento-art-archive {
  align-items: center;
  justify-content: center;
  padding-bottom: 16px;
  min-height: 180px;
}
.arc-doc {
  position: relative;
  width: 160px;
  height: 200px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--sh-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
}
.arc-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--c2);
  border: 1px solid var(--line);
  color: var(--c11);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-icon svg { width: 34px; height: 34px; }
.arc-doc-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: var(--c3);
  border-bottom-left-radius: 8px;
}
.arc-stamp {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(43,186,126,0.25);
  font-weight: 600;
}
.arc-stamp-2 { margin-top: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .pipe-node.pipe-flash .pipe-ico {
    animation: pipe-flash 0.7s cubic-bezier(.4,0,.2,1);
  }
  @keyframes pipe-flash {
    0%   { transform: scale(1); box-shadow: none; }
    45%  { transform: scale(1.07); box-shadow: 0 0 0 3px var(--primary-soft); }
    100% { transform: scale(1); box-shadow: none; }
  }
  .pipe-node.pipe-flash .pipe-ico { color: var(--primary); border-color: var(--primary); }
  .pipe-node.pipe-flash .pipe-num { color: var(--primary); }
  @keyframes seq-flash {
    0%   { background-color: transparent; }
    40%  { background-color: color-mix(in srgb, var(--primary-soft) 55%, transparent); }
    100% { background-color: transparent; }
  }
  .seq-flash { animation: seq-flash 0.8s cubic-bezier(.4,0,.2,1); border-radius: 8px; }
  @keyframes pulse-heart {
    0%, 28%, 70%, 100% { transform: scale(1); }
    14% { transform: scale(1.06); }
    42% { transform: scale(1.04); }
  }
  .pulse-heart { animation: pulse-heart 2.2s ease-in-out infinite; will-change: transform; }
  .pulse-heart:hover { animation-play-state: paused; }
  @keyframes tile-flash {
    0%   { box-shadow: var(--sh-1); border-color: var(--line-strong); }
    35%  { box-shadow: 0 0 0 2px var(--primary), 0 8px 24px -8px rgba(43,99,221,0.4); border-color: var(--primary); }
    100% { box-shadow: var(--sh-1); border-color: var(--line-strong); }
  }
  .sec-tile.tile-flash { animation: tile-flash 0.6s ease; }
  html.js-rv .flow-step.rv {
    opacity: 0;
    transform: scale(.55);
    transition: opacity .38s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
    transition-delay: var(--rv-d, 0ms);
  }
  html.js-rv .flow-step.rv.rv-in { opacity: 1; transform: scale(1); }
  .arc-doc-front .arc-stamp { opacity: 0; }
  .arc-signed .arc-stamp { animation: stamp-in 0.45s cubic-bezier(.34,1.56,.64,1) forwards; }
  .arc-signed .arc-stamp-2 { animation-delay: 0.6s; }
  @keyframes stamp-in {
    0%   { opacity: 0; transform: scale(1.7) rotate(9deg); }
    55%  { opacity: 1; transform: scale(.9) rotate(-3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
  }
}
.arc-doc-back, .arc-doc-backer {
  position: absolute;
  z-index: -1;
}
.arc-stack {
  position: relative;
  width: 160px;
  height: 200px;
}
.arc-stack .arc-doc {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 200px;
  margin: 0;
}
.arc-doc-front { z-index: 3; }
.arc-doc-b1 { z-index: 2; transform: rotate(-5deg) translate(-13px, 5px); box-shadow: var(--sh-1); }
.arc-doc-b2 { z-index: 1; transform: rotate(5deg) translate(13px, 9px); box-shadow: var(--sh-1); opacity: 0.92; }
.arc-doc-b3 { z-index: 0; transform: rotate(-9deg) translate(-24px, 14px); box-shadow: var(--sh-1); opacity: 0.8; }
.bento-art-archive { position: relative; padding-bottom: 70px; }
.arc-logos {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.arc-logo {
  height: 30px;
  width: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 5px 12px;
  box-sizing: content-box;
}

/* mini chips */
.mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--c3);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c11);
  font-weight: 500;
}

/* ── ERP / INTEGRATIONS ────────────────────────── */
.section-erp { background: var(--bg-alt); border-block: 1px solid var(--line); }

.erp-frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.erp-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c10);
  font-weight: 500;
}
.erp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-weight: 500;
  letter-spacing: normal;
  font-size: 13px;
}
.erp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(43,186,126,0.18);
}
.erp-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
}
.erp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  border-inline-start: 1px solid var(--line);
  position: relative;
  transition: background .15s ease;
}
.erp-tile:first-child { border-inline-start: none; }
.erp-tile:hover { background: var(--bg-alt); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes erp-wave { 0% { transform: translateY(0); } 35% { transform: translateY(-9px); } 70% { transform: translateY(2px); } 100% { transform: translateY(0); } }
  .erp-grid.wave-go .erp-tile .erp-mark { animation: erp-wave 0.62s cubic-bezier(.4,0,.2,1) 1 both; }
  .erp-grid.wave-go .erp-tile:nth-child(1) .erp-mark { animation-delay: 0s; }
  .erp-grid.wave-go .erp-tile:nth-child(2) .erp-mark { animation-delay: 0.07s; }
  .erp-grid.wave-go .erp-tile:nth-child(3) .erp-mark { animation-delay: 0.14s; }
  .erp-grid.wave-go .erp-tile:nth-child(4) .erp-mark { animation-delay: 0.21s; }
  .erp-grid.wave-go .erp-tile:nth-child(5) .erp-mark { animation-delay: 0.28s; }
  .erp-grid.wave-go .erp-tile:nth-child(6) .erp-mark { animation-delay: 0.35s; }
  .erp-grid.wave-go .erp-tile:nth-child(7) .erp-mark { animation-delay: 0.42s; }
  .erp-grid.wave-go .erp-tile:nth-child(8) .erp-mark { animation-delay: 0.49s; }
}
.erp-mark {
  height: 46px;
  min-width: 56px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 8px 12px;
}
.erp-mark img { height: 100%; width: auto; max-width: 100px; object-fit: contain; display: block; }
.erp-mark-wide img { max-width: 116px; }
.erp-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.erp-state {
  font-size: 10.5px;
  color: var(--mint);
  background: var(--mint-soft);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
@media (max-width: 980px) {
  .erp-grid { grid-template-columns: repeat(3, 1fr); }
  .erp-tile { border-block-end: 1px solid var(--line); }
  .erp-tile:nth-child(3n+1) { border-inline-start: none; }
}
@media (max-width: 560px) {
  .erp-grid { grid-template-columns: repeat(2, 1fr); }
  .erp-tile:nth-child(3n+1) { border-inline-start: 1px solid var(--line); }
  .erp-tile:nth-child(2n+1) { border-inline-start: none; }
}

/* ERP bi-directional sync diagram */
.erp-sync {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 20px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: 22px 24px;
}
.erp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 138px;
  padding: 18px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.erp-node-mark {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}
.erp-node-mark-db { background: var(--ink); }
.erp-node-mark-db svg { width: 24px; height: 24px; }
.erp-node-mark-logo { background: var(--surface); border: 1px solid var(--line); padding: 6px; }
.erp-node-mark-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.erp-tile { cursor: pointer; position: relative; }
.erp-tile.is-selected { background: var(--primary-soft); }
.erp-tile.is-selected::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--primary);
  border-radius: 9px;
  pointer-events: none;
}
.erp-tile:focus-visible { outline: 2px solid var(--primary); outline-offset: -4px; }
.erp-node-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.erp-node-live { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); font-weight: 600; }
.erp-node-live .erp-status-dot { width: 6px; height: 6px; }
.erp-node-target { width: auto; min-width: 138px; padding-left: 18px; padding-right: 18px; }
.erp-node-target .erp-node-name { white-space: nowrap; }
.erp-node-sub { font-size: 11px; color: var(--c9); }

.erp-rails { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.erp-rail { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px; }
.erp-rail-dir {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
}
.erp-rail-arrow {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
}
.erp-rail-in .erp-rail-arrow { color: var(--jade-text, #1F8260); }
.erp-rail-out .erp-rail-arrow { color: var(--primary); }
.erp-rail-in .erp-rail-dir { color: var(--jade-text, #1F8260); background: var(--mint-soft); }
.erp-rail-track {
  grid-column: 2;
  position: relative;
  height: 2px;
  background: var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
}
.erp-rail-dot {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--primary);
}
.erp-rail-in .erp-rail-dot { background: #2E844A; }
.erp-rail-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.erp-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c11);
  background: var(--c2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
@media (prefers-reduced-motion: no-preference) {
  .erp-rail-out .erp-rail-dot { animation: erp-move-out 2.4s linear infinite; }
  .erp-rail-in  .erp-rail-dot { animation: erp-move-in  2.4s linear infinite; }
  .erp-rail-dot:nth-child(2) { animation-delay: -0.8s; }
  .erp-rail-dot:nth-child(3) { animation-delay: -1.6s; }
}
/* RTL: Procee node is on the right, ERP on the left. out = Procee→ERP = move leftward */
@keyframes erp-move-out { from { right: -8px; } to { right: 100%; } }
@keyframes erp-move-in  { from { left: -8px; } to { left: 100%; } }

.erp-syncbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 0 4px;
  font-size: 12.5px;
  color: var(--c10);
}
.erp-syncbar-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.erp-syncbar-sep { width: 1px; height: 12px; background: var(--line-strong); }

@media (max-width: 720px) {
  .erp-sync { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .erp-node,
  .erp-node-target {
    flex-direction: row;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
  }
  .erp-node-mark { width: 34px; height: 34px; border-radius: 8px; font-size: 18px; }
  .erp-node-mark-db svg { width: 18px; height: 18px; }
  .erp-node-mark-logo { padding: 4px; }
  .erp-node-name { font-size: 14px; }
  .erp-node-sub { margin-inline-start: auto; font-size: 11px; }
  .erp-rails { gap: 12px; }
  .erp-rail { gap: 7px 10px; }
  .erp-rail-chips { gap: 5px; }
  .erp-chip { font-size: 10.5px; padding: 3px 9px; }
}

.int-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.bento-fullrow {
  grid-column: span 3;
  display: block;
  margin-top: 0;
}
@media (max-width: 980px) {
  .bento-fullrow { grid-column: 1 / -1; }
}
.int-tile {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-1);
}
.int-tile-head { margin-bottom: 8px; }
.int-tile h3 {
  font-size: 22px;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.int-tile p {
  font-size: 14.5px;
  color: var(--c10);
  margin: 0 0 22px;
  line-height: 1.55;
}
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.int-tile-combined { grid-column: 1 / -1; }
.int-tile-combined .int-tile-head { margin-bottom: 20px; }
.int-tile-combined .int-tile-head h3 { max-width: 760px; }
.int-combo {
  display: flex;
  gap: 14px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.int-combo-col { display: flex; flex-direction: column; }
/* Channels column on the right (RTL start), attached to the app badges */
.int-combo > .int-combo-col:first-child { order: 2; }
.int-combo > .int-combo-col:last-child { order: 1; }
.int-combo-divider { display: none; }
@media (max-width: 720px) {
  .int-combo { flex-direction: column; align-items: center; gap: 18px; }
  .int-tile-combined .int-tile-head { margin-bottom: 14px; }
  .int-tile-combined .int-tile-head h3 { font-size: 19px; line-height: 1.45; }
  .int-combo .channels { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .int-combo .channel { width: auto; flex: 0 0 auto; padding: 7px 10px; font-size: 12px; gap: 7px; }
  .int-combo .store-badges { align-items: center; }
}
.int-tile-combined .store-badges { margin-top: 0; }
.channels {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.channel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  flex: 1;
  width: 158px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--c2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
}
.ch-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ch-mark svg { width: 13px; height: 13px; }

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 6px;
  align-items: flex-start;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 172px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 10px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.store-badge:hover {
  background: #14181E;
  border-color: rgba(255,255,255,0.45);
}
.sb-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
}
.sb-icon svg { height: 26px; width: auto; display: block; }
.sb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  white-space: nowrap;
}
.sb-text small {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}
.sb-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  font-family: var(--f-sans);
}
@media (max-width: 720px) {
  .int-row { grid-template-columns: 1fr; }
}

/* ── INVOICE OCR EMBED ─────────────────────────── */
.section-ocr { background: var(--bg-alt); border-block: 1px solid var(--line); }
.ocr-embed { max-width: 980px; margin: 0 auto; text-align: center; }
.ocr-embed-frame {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.ocr-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--c2);
  border-bottom: 1px solid var(--line);
}
.ocr-frame { display: block; width: 100%; height: 640px; border: 0; background: var(--surface); }
.ocr-cta { margin-top: 24px; }
.ocr-ai {
  max-width: 980px;
  margin: 0 auto 44px;
  text-align: right;
}
.ocr-ai-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c9);
  margin-bottom: 14px;
  text-align: center;
}
.ocr-ai-card { margin: 0; }

/* ── SUPPLIERS PORTAL ──────────────────────────── */
.section-suppliers { background: var(--bg); }

.sup-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .sup-split { grid-template-columns: 1fr; gap: 36px; }
}

.sup-mock {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.sup-mock-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--c2);
  border-bottom: 1px solid var(--line);
}
.sup-mock-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, var(--c2) 0%, var(--surface) 100%);
  min-height: 360px;
}
/* Interactive supplier journey */
.sup-portal-head { display: flex; align-items: baseline; justify-content: space-between; }
.sup-portal-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.sup-portal-hint { font-size: 10px; letter-spacing: 0.1em; color: var(--c8); }
.sup-progress { height: 4px; background: var(--c3); border-radius: 999px; overflow: hidden; }
.sup-progress-fill { display: block; height: 100%; width: 25%; background: var(--primary); border-radius: 999px; transition: width .35s cubic-bezier(.2,.8,.2,1); }
.sup-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sup-stage {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 11px 6px; border-radius: 10px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong); font: inherit;
  color: var(--c10); transition: all .15s ease; position: relative;
}
.sup-stage:hover { border-color: var(--c7); }
.sup-stage-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--c2); display: flex; align-items: center; justify-content: center; color: var(--c10); transition: all .15s ease; }
.sup-stage-ic svg { width: 18px; height: 18px; }
.sup-stage-label { font-size: 12.5px; font-weight: 600; }
.sup-stage-num { font-size: 9.5px; color: var(--c8); }
.sup-stage.is-active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.sup-stage.is-active .sup-stage-ic { background: var(--primary); color: #fff; }
.sup-stage.is-done .sup-stage-ic { background: var(--mint-soft); color: #2E844A; }
.sup-panels { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 16px; min-height: 132px; }
.sup-panel { display: none; flex-direction: column; gap: 10px; animation: sup-fade .22s ease; }
.sup-panel.is-active { display: flex; }
@keyframes sup-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sup-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sup-doc-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 6px; }
.sup-doc-chip.po { background: #EFEAFB; color: #5B4BB6; }
.sup-doc-chip.inv { background: var(--primary-soft); color: var(--primary-dark); }
.sup-doc-meta { font-size: 12.5px; color: var(--c10); }
.sup-secure, .sup-cap { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.sup-secure { color: var(--c11); background: var(--c2); }
.sup-secure svg { width: 17px; height: 17px; color: var(--c10); flex: 0 0 auto; }
.sup-cap { color: #2E844A; background: var(--mint-soft); }
.sup-cap svg { width: 17px; height: 17px; flex: 0 0 auto; }
.sup-line { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
.sup-line-name { font-size: 13px; font-weight: 600; color: var(--c11); }
.sup-qty { font-size: 12px; color: var(--c10); }
.sup-bar { grid-column: 1 / -1; height: 7px; background: var(--c3); border-radius: 999px; overflow: hidden; }
.sup-bar > span { display: block; height: 100%; background: #5B4BB6; border-radius: 999px; }
.sup-action { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.sup-action.lav { background: #F0EDFB; color: #5B4BB6; }
.sup-status-row { display: flex; align-items: center; gap: 12px; }
.sup-status { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; flex: 0 0 auto; min-width: 78px; text-align: center; }
.sup-status.done { background: var(--mint-soft); color: #2E844A; }
.sup-status.wait { background: #FFF3D6; color: #8a6a00; }
.sup-status.pay { background: var(--primary-soft); color: var(--primary-dark); }
.sup-status-t { font-size: 12.5px; color: var(--c10); }
@media (max-width: 720px) {
  .sup-stage-label { font-size: 11.5px; }
}
.sup-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
}
.sup-card-hero {
  background: linear-gradient(135deg, #E4F3EC 0%, #DDF3E9 100%);
  border-color: rgba(43,186,126,0.2);
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.sup-card-white { background: var(--surface); }
.sup-card-lav { background: #F0EDFB; border-color: rgba(91,75,182,0.18); display: flex; align-items: center; gap: 10px; }
.sup-card-yel { background: #FEF6DE; border-color: rgba(183,137,42,0.18); display: flex; align-items: center; gap: 10px; }
.sup-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.sup-card-head .mono {
  font-size: 10.5px;
  color: var(--c10);
  background: rgba(255,255,255,0.6);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.sup-upload {
  flex: 1;
  border: 2px dashed rgba(27,110,232,0.4);
  background: rgba(27,110,232,0.06);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.sup-upload-cloud {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--sh-1);
}
.sup-upload-text { font-size: 13px; color: var(--c11); font-weight: 500; }
.sup-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 0;
  text-align: center;
}
.sup-empty-glyph { font-size: 32px; color: var(--c8); }
.sup-empty-text { font-size: 12.5px; color: var(--c10); }
.sup-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sup-mini-icon svg { width: 18px; height: 18px; }
.sup-mini-label { font-size: 13px; font-weight: 600; color: var(--ink); }

.sup-bullets {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sup-bullet {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.sup-bullet-num {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0;
}
.sup-bullet h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
  color: var(--ink);
}
.sup-bullet p {
  margin: 0;
  font-size: 14.5px;
  color: var(--c10);
  line-height: 1.55;
}

/* ── SECURITY ──────────────────────────────────── */
.section-security { background: var(--bg-alt); border-block: 1px solid var(--line); }

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }

.sec-tile {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--sh-1);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sec-tile:hover {
  border-color: var(--c7);
  box-shadow: var(--sh-2);
}
.sec-tag {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  font-size: 10.5px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.sec-icon {
  width: 32px;
  height: 32px;
  color: var(--ink);
  margin-bottom: 14px;
}
.sec-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin-bottom: 14px;
}
.sec-badges img { height: 52px; width: auto; display: block; }
.sec-badges .sec-badge-link { display: inline-flex; border-radius: 50%; transition: transform .15s ease, box-shadow .15s ease; }
.sec-badges .sec-badge-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(14,17,22,0.35); }
.sec-icon-hacker { width: auto; height: 64px; display: block; margin-bottom: 10px; }
.sec-icon-lock { width: 50px; height: 50px; display: block; margin-bottom: 12px; }
.sec-badges-lockup { height: 60px; }
.sec-badges-lockup img { height: 60px; max-width: 150px; object-fit: contain; }
.sec-badges-sso { height: 70px; margin-top: 0; margin-bottom: 10px; }
.sec-badges-sso img { height: 70px; max-width: 150px; }
.sso-vec { height: 66px; width: auto; display: block; }
.sec-tile h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--ink);
}
.sec-tile p {
  margin: 0;
  font-size: 14px;
  color: var(--c10);
  line-height: 1.55;
}

/* ── PRICING ───────────────────────────────────── */
.section-pricing { background: var(--bg); }

/* keep raster logos legible on the dark security section */
/* uniform white icon tiles across the dark security section */
.section-dark .sec-badges {
  height: 74px !important;
  margin: 0 0 14px !important;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}
.section-dark .sec-badge-link,
.section-dark .sec-badges > img,
.section-dark .sec-icon-hacker,
.section-dark .sec-badges-sso,
.section-dark .sec-icon-lock {
  width: 74px !important;
  height: 74px !important;
  background: #fff;
  border-radius: 14px;
  box-sizing: border-box;
  padding: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px !important;
  flex: 0 0 auto;
  vertical-align: top;
}
.section-dark .sec-icon-hacker,
.section-dark .sec-badges > img { object-fit: contain; }
.section-dark .sec-badge-link img,
.section-dark .sec-badges-sso .sso-vec {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section-dark .sec-icon-lock { padding: 13px; }
.section-dark .sec-badges-lockup > img { padding: 5px !important; }

.pricing-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  max-width: 940px;
  margin: 0 auto;
}
.pricing-head {
  padding: 44px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--surface) 100%);
}
.pricing-badge {
  display: inline-block;
  font-size: 12px;
  background: var(--mint-soft);
  color: #1F8260;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-currency { font-size: 28px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.pricing-amount {
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.pricing-unit {
  font-size: 13.5px;
  color: var(--c10);
  margin-top: 14px;
  margin-inline-start: 8px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}
.pricing-unit small { font-size: 11px; opacity: 0.7; }
.pricing-note {
  font-size: 13px;
  color: var(--c10);
  margin: 16px 0 24px;
}
.pricing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pricing-list {
  padding: 44px;
  background: var(--bg-dark);
  color: #ECEEF1;
}
.pricing-list .bento-tag {
  background: rgba(255,255,255,0.08);
  color: #A6ADB5;
  margin-bottom: 24px;
}
.pricing-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #ECEEF1;
}
.pricing-list li svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-head, .pricing-list { padding: 32px; }
}

/* ── CTA BAND ──────────────────────────────────── */
.section-dark .sup-card-hero {
  background: linear-gradient(135deg, rgba(61,206,143,0.16) 0%, rgba(61,206,143,0.07) 100%);
  border-color: rgba(61,206,143,0.28);
}
.section-dark .sup-card-head .mono { background: rgba(255,255,255,0.08); }
.section-dark .sup-mini-icon { background: rgba(255,255,255,0.08); }
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
}
.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mint);
  background: rgba(43,186,126,0.12);
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 22px;
  font-weight: 600;
}
.cta-band h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.024em;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 16px;
}
.cta-band p {
  font-size: 18px;
  color: #A6ADB5;
  margin: 0 auto 32px;
  max-width: 560px;
}
.cta-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── FOOTER ────────────────────────────────────── */
.footer {
  background: var(--bg-dark-2);
  color: #A6ADB5;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 48px 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { max-width: 340px; }
.footer-brand p {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: #7B838C;
  line-height: 1.6;
}
.footer-brand .brand { color: #fff; }
.footer-cert {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 14px 8px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.footer-cert:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5); }
.footer-creds {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.footer-creds .footer-cert { flex: 0 0 auto; }
.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-apps .store-badge {
  width: 146px;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 8px;
}
.footer-apps .sb-icon { width: 19px; }
.footer-apps .sb-icon svg { height: 19px; }
.footer-apps .sb-text small { font-size: 8px; }
.footer-apps .sb-text strong { font-size: 13px; }
.footer-cert img { height: 46px; width: auto; display: block; }
.footer-cert-cap {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #5C6470;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #5C6470;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col-h {
  font-size: 13px;
  letter-spacing: 0;
  color: #8B93A0;
  margin: 0 0 16px;
  font-weight: 700;
  text-align: right;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #C8CDD3;
  padding: 5px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-contact > a:first-of-type { margin-bottom: 14px; word-break: break-word; }
.footer-phone { margin-bottom: 14px; text-align: left; }
.footer-phone-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.footer-phone a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: #5C6470;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}
@media (max-width: 560px) {
  .footer { padding: 48px 0 28px; }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
  .footer-brand { padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

/* ── FLOW DIAGRAM EMBED ─────────────────────────── */
.section-flow { background: var(--bg); }
.section-flow .section-head { margin-bottom: 12px; }
.flow-embed {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.flow-embed-frame {
  position: relative;
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
}
/* invisible marker sitting where the closing 1-2-3 card lives, so the host can
   fire the step animation exactly when that card reaches the viewport */
.flow-steps-sentinel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 90px;
  height: 1px;
  pointer-events: none;
}
.flow-embed-frame iframe {
  display: block;
  width: 100%;
  height: 1900px; /* initial fallback; replaced by postMessage auto-height */
  border: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: height .45s cubic-bezier(.22,.61,.36,1), opacity 1s ease, transform 1.05s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.flow-embed-frame iframe.is-ready { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .flow-embed-frame iframe { opacity: 1; transform: none; transition: none; }
}
/* Fullscreen CTA — only shown on mobile, where the map renders small */
.flow-poster-cta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 28px);
  max-width: 420px;
  margin: 14px auto 0;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--sh-3);
}
.flow-poster-cta svg { flex: 0 0 auto; }
@media (max-width: 720px) {
  .flow-embed { padding: 0 14px; }
  .flow-poster-cta { display: flex; }
  /* ITA sync row — give the Procee wordmark breathing room inside its box */
  .ita-line { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .ita-end-procee img { max-width: calc(100% - 22px); }
}

/* ── CONTACT MODAL ─────────────────────────────── */
.contact-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(14, 17, 22, 0.5);
  opacity: 0;
  transition: opacity .2s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.contact-scrim.is-on { opacity: 1; }
.contact-modal {
  position: fixed;
  z-index: 81;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 34px 34px 30px;
  transform: translate(-50%, -50%);
  display: none;
}
.contact-modal.is-open { display: block; animation: contact-pop .2s cubic-bezier(.2,.8,.2,1); }
@keyframes contact-pop {
  from { opacity: 0; transform: translate(-50%, -47%) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.contact-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--c10);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.contact-close:hover { background: var(--c3); color: var(--ink); }
.contact-close svg { width: 18px; height: 18px; }
.contact-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.contact-modal h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.contact-lead {
  font-size: 14.5px;
  color: var(--c10);
  line-height: 1.55;
  margin: 0 0 22px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--c11);
}
.contact-field > span i { color: var(--primary); font-style: normal; }
.contact-field > span em { color: var(--c9); font-style: normal; font-weight: 400; font-size: 12px; }
.contact-field input,
.contact-field select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--f-sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-field input::placeholder { color: var(--c8); }
.contact-field input:focus,
.contact-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.contact-field.is-error input { border-color: #D44545; box-shadow: 0 0 0 3px rgba(212,69,69,0.12); }
.contact-submit { width: 100%; justify-content: center; margin-top: 4px; }
.contact-fineprint {
  font-size: 11.5px;
  color: var(--c9);
  line-height: 1.5;
  margin: 4px 0 0;
  text-align: center;
}
.contact-success { text-align: center; padding: 18px 6px 8px; }
.contact-success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #1F8260;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-success-mark svg { width: 28px; height: 28px; }
.contact-success h3 { font-size: 22px; margin: 0 0 8px; }
.contact-success p { font-size: 15px; color: var(--c10); line-height: 1.55; margin: 0 0 22px; }
.contact-success .btn { margin: 0 auto; }
@media (max-width: 480px) {
  .contact-modal { padding: 30px 20px 24px; }
  .contact-row { grid-template-columns: 1fr; }
}

/* ═══ FAQ PAGE ═════════════════════════════════════ */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.faq-hero {
  padding: 124px 0 40px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.faq-hero .eyebrow { justify-content: center; }
.faq-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 16px 0 14px;
}
.faq-title-lockup { display: inline-block; white-space: nowrap; }
.faq-title-logo { height: 0.74em; width: auto; vertical-align: baseline; }
.faq-hero > .container > p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c10);
}
.faq-inline-link {
  font: inherit;
  color: var(--primary);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.faq-inline-link:hover { border-bottom-color: var(--primary); }

.faq-search {
  position: relative;
  max-width: 520px;
  margin: 28px auto 0;
}
.faq-search-ic {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--c9);
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 14px 46px 14px 16px;
  box-shadow: var(--sh-1);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-search input::placeholder { color: var(--c8); }
.faq-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.faq-body { padding-top: 56px; }
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.faq-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-rail-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c10);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  border-inline-start: 2px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.faq-rail-link:hover { color: var(--ink); background: var(--c2); }
.faq-rail-link.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  border-inline-start-color: var(--primary);
  font-weight: 600;
}

.faq-groups { max-width: 820px; }
.faq-group { margin-bottom: 44px; scroll-margin-top: 96px; }
.faq-group:last-of-type { margin-bottom: 0; }
.faq-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c9);
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--c7); box-shadow: var(--sh-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq-chevron {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--c9);
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-chevron { color: var(--primary); }
.faq-item[open] .faq-chevron::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  padding: 0 20px 19px;
}
.faq-a p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c11);
  margin: 0 0 10px;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-list {
  margin: 0 0 12px;
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.faq-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c11);
}
.faq-list li::marker { color: var(--primary); }
.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}
.faq-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c11);
  background: var(--c2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  padding: 6px 12px;
}
.faq-store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .15s ease;
}
.faq-cta-btn:hover { background: var(--primary-dark); }
.faq-cta-btn svg { width: 17px; height: 17px; }
.contact-deflect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-deflect > span { font-size: 13px; color: var(--c10); }
.contact-deflect a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.contact-deflect a:hover { color: var(--primary-dark); }
.contact-deflect a svg { width: 16px; height: 16px; flex: 0 0 auto; }
.faq-empty {
  font-size: 15px;
  color: var(--c10);
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .faq-rail-link { border-inline-start: none; border: 1px solid var(--line-strong); }
  .faq-rail-link.is-active { border-color: var(--primary); }
}
@media (max-width: 720px) {
  .faq-hero { padding: 104px 0 32px; }
}


/* ═══ DARK MODE ════════════════════════════════════ */
html[data-theme="dark"] {
  color-scheme: dark;

  --primary: #4A8DF2;
  --primary-dark: #6BA3F6;
  --primary-soft: rgba(74,141,242,0.14);
  --mint: #3DCE8F;
  --mint-soft: rgba(61,206,143,0.13);

  --c1: #11151B;
  --c2: #151A21;
  --c3: #1B212A;
  --c4: #222934;
  --c5: #2A323F;
  --c6: #353F4E;
  --c7: #455062;
  --c8: #5E6979;
  --c9: #7E8895;
  --c10: #9CA6B2;
  --c11: #C6CDD6;
  --c12: #EEF1F5;

  --ink: #EEF1F5;
  --ink-2: #CBD2DB;
  --muted: #9CA6B2;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --bg: #0D1014;
  --bg-alt: #11151B;
  --bg-dark: #090B0E;
  --bg-dark-2: #0F1318;
  --surface: #14181F;
  --glass: rgba(13,16,20,0.72);
  --grid-line: rgba(255,255,255,0.05);

  --sh-1: 0 1px 2px rgba(0,0,0,0.35), 0 1px 0 rgba(0,0,0,0.2);
  --sh-2: 0 2px 8px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.4);
  --sh-3: 0 12px 30px -10px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
  --sh-4: 0 40px 80px -20px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.4);
}

/* keep raster logos on light chips */
html[data-theme="dark"] .arc-logo,
html[data-theme="dark"] .erp-mark,
html[data-theme="dark"] .erp-node-mark-logo,
html[data-theme="dark"] .footer-cert,
html[data-theme="dark"] .ocr-frame { background: #FFFFFF; }

html[data-theme="dark"] .sup-card-hero {
  background: linear-gradient(135deg, rgba(61,206,143,0.16) 0%, rgba(61,206,143,0.07) 100%);
  border-color: rgba(61,206,143,0.28);
}
html[data-theme="dark"] .sup-card-head .mono { background: rgba(255,255,255,0.08); }
html[data-theme="dark"] .sup-mini-icon { background: rgba(255,255,255,0.08); }

/* theme toggle button */
.theme-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--c10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { background: var(--c3); color: var(--ink); }
.theme-toggle .tt-sun { display: none; }
html[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
html[data-theme="dark"] .theme-toggle .tt-sun { display: block; }

/* brand logo swap */
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand .brand-logo-light { display: none; }
html[data-theme="dark"] .brand .brand-logo-dark { display: block; }

html[data-theme="dark"] .sup-card-lav { background: rgba(91,75,182,0.16); border-color: rgba(122,104,214,0.35); }
html[data-theme="dark"] .sup-card-yel { background: rgba(231,166,21,0.12); border-color: rgba(231,166,21,0.3); }
html[data-theme="dark"] .sla-flag { background: rgba(217,72,72,0.15); }
html[data-theme="dark"] .tax-block { background: rgba(217,72,72,0.15); }


/* ═══ SCROLL REVEAL ═════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  html.js-rv .rv {
    opacity: 0;
    transform: translateY(46px);
    filter: blur(6px);
    transition:
      opacity 1.05s cubic-bezier(.22,.61,.36,1),
      transform 1.15s cubic-bezier(.22,.61,.36,1),
      filter 1.05s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--rv-d, 0ms);
    will-change: opacity, transform, filter;
  }
  html.js-rv .rv.rv-in {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@media print {
  .rv { opacity: 1 !important; transform: none !important; }
}


/* ═══ FEATURE TABS (04) — Precoro-style module explorer ═ */
.feat-tabs { display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 100%; }
.ft-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ft-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--c10);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ft-tab:hover { background: var(--c2); color: var(--ink); }
.ft-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.ft-tab-ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  color: var(--fg);
  font-size: 10.5px;
  flex: 0 0 auto;
}
.ft-tab.is-active .ft-tab-ic { background: var(--tint); color: var(--fg); }

.ft-panels { position: relative; }
.ft-panel {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 34px 38px;
  min-height: 218px;
  box-shadow: var(--sh-1);
}
.ft-panel.is-active { display: grid; animation: ftIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes ftIn { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .ft-panel.is-active { animation: none; } }

.ft-text { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ft-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.ft-text h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.ft-text p { font-size: 15.5px; line-height: 1.65; color: var(--c10); margin: 0; max-width: 52ch; text-wrap: pretty; }

.ft-visual {
  position: relative;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tint) 38%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}
.ft-watermark {
  position: absolute;
  inset-inline-start: -18px;
  bottom: -26px;
  font-size: 130px;
  color: var(--fg);
  opacity: 0.07;
  pointer-events: none;
}
.ft-chip {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--fg) 45%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  font-size: 26px;
}

@media (max-width: 720px) {
  .ft-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .ft-rail::-webkit-scrollbar { display: none; }
  .ft-panel { grid-template-columns: 1fr; padding: 24px 22px; gap: 18px; min-height: 0; }
  .ft-visual { order: -1; min-height: 96px; }
  .ft-chip { width: 48px; height: 48px; font-size: 20px; border-radius: 12px; }
  .ft-watermark { font-size: 90px; }
  .ft-text h3 { font-size: 20px; }
  .ft-text p { font-size: 14.5px; }
}

html[data-theme="dark"] .ft-visual { background: color-mix(in srgb, var(--tint) 16%, var(--surface)); }
html[data-theme="dark"] .ft-tab.is-active { color: #0E1116; }


/* ═══ FEATURE CAROUSEL (04) — Precoro-style cards ═ */
.feat-carousel { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 100%; }
.ftc-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
  outline: none;
}
.ftc-track::-webkit-scrollbar { display: none; }
.ftc-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.ftc-visual {
  position: relative;
  height: 232px;
  border-radius: 20px;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(27,110,232,0.18) 0%, transparent 55%),
    #0D1B33;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.ftc-watermark {
  position: absolute;
  inset-inline-start: -22px;
  bottom: -30px;
  font-size: 150px;
  color: var(--tint);
  opacity: 0.08;
  pointer-events: none;
}
.ftc-mock {
  width: 72%;
  max-width: 280px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(4px);
}
.ftc-mock-head { display: flex; align-items: center; gap: 10px; }
.ftc-mock-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--tint);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.ftc-mock-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,0.75); }
.ftc-mock-rows { display: flex; flex-direction: column; gap: 8px; }
.ftc-mock-rows span { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.14); display: block; }
.ftc-mock-btn {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: #0D1B33;
  background: var(--tint);
  border-radius: 999px;
  padding: 5px 14px;
}
.ftc-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.ftc-p { font-size: 14.5px; line-height: 1.6; color: var(--c10); margin: 0; text-wrap: pretty; }

.ftc-nav { display: flex; justify-content: flex-end; gap: 10px; }
.ftc-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--c3);
  color: var(--ink);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}
.ftc-btn:hover:not(:disabled) { background: var(--c4); }
.ftc-btn:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 720px) {
  .ftc-card { flex-basis: 82vw; }
  .ftc-visual { height: 230px; border-radius: 16px; }
  .ftc-watermark { font-size: 110px; }
  .ftc-title { font-size: 18px; }
  .ftc-p { font-size: 14px; }
  .ftc-btn { width: 42px; height: 42px; }
}

html[data-theme="dark"] .ftc-visual {
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(74,141,242,0.2) 0%, transparent 55%),
    #0A1426;
  border: 1px solid rgba(255,255,255,0.07);
}


/* ── feature-card mini mocks ── */
.fm {
  width: 82%;
  max-width: 300px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  backdrop-filter: blur(4px);
  font-size: 11.5px;
  color: rgba(255,255,255,0.82);
  position: relative;
  z-index: 1;
}
.fm-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 2px; }
/* approval-rule mock */
.fm-rule { width: 90%; max-width: 320px; gap: 0; padding: 15px 16px 16px; }
.fmr-cond {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 11.5px; color: rgba(255,255,255,0.7);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.fmr-chip {
  font-weight: 600; font-size: 11.5px; border-radius: 6px; padding: 3px 9px; color: #fff;
}
.fmr-amber { background: rgba(231,166,21,0.22); color: #f4cd72; }
.fmr-blue  { background: rgba(74,141,242,0.24); color: #aacbff; }
.fmr-pink  { background: rgba(176,48,112,0.24); color: #f0a8cb; }
.fmr-op {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; background: rgba(255,255,255,0.1); font-weight: 700; color: #fff;
}
.fmr-steps { display: flex; flex-direction: column; gap: 13px; padding-top: 13px; position: relative; }
.fmr-steps::before {
  content: ""; position: absolute; top: 26px; bottom: 26px; right: 17px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.28) 0 3px, transparent 3px 7px);
}
.fmr-step { display: flex; align-items: center; gap: 11px; position: relative; }
.fmr-av {
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(13,16,20,0.5); z-index: 1;
}
.fmr-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fmr-who b { font-size: 13px; font-weight: 700; color: #fff; }
.fmr-who span { font-size: 10.5px; color: rgba(255,255,255,0.62); }
.fm-ic {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--tint); color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex: 0 0 auto;
}
.fm-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
}
.fm-row.is-now { border-color: var(--tint); }
.fm-row.is-alert { border-color: rgba(255,120,120,0.4); }
.fm-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  border-radius: 999px; padding: 2px 8px;
  flex: 0 0 auto;
}
.fm-pill.ok { background: rgba(61,206,143,0.18); color: #7BE3B4; }
.fm-pill.warn { background: rgba(240,185,60,0.16); color: #F2CB6B; }
.fm-pill.danger { background: rgba(235,90,90,0.16); color: #F08A8A; }
.fm-pill.lock { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.fm-val { color: #fff; font-size: 11px; }
.fm-note { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--tint); }
.fm-map { text-align: center; font-size: 10px; letter-spacing: 0.06em; color: var(--tint); }
.fm-sub { gap: 10px; }
.fm-bar { flex: 1 1 auto; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; min-width: 40px; }
.fm-bar i { display: block; height: 100%; border-radius: 3px; background: var(--tint); }
.fm-bar i.bad { background: #E06565; }
.fm-num { font-size: 10px; color: rgba(255,255,255,0.6); flex: 0 0 auto; }
.fm-tgl {
  width: 30px; height: 17px; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  position: relative; flex: 0 0 auto;
  transition: background .15s ease;
}
.fm-tgl i { position: absolute; top: 2px; inset-inline-start: 2px; width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,0.55); }
.fm-tgl.on { background: var(--tint); }
.fm-tgl.on i { inset-inline-start: auto; inset-inline-end: 2px; background: var(--fg); }
.fm-code {
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  text-align: left;
}
.fm-code span { color: rgba(255,255,255,0.5); }
.fm-code b { color: #7BE3B4; font-weight: 600; }
.fm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fm-chip {
  font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; padding: 3px 9px;
  color: rgba(255,255,255,0.8);
}
.fm-chart { display: flex; align-items: flex-end; gap: 7px; height: 64px; padding: 0 4px; }
.fm-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--tint); opacity: 0.85; }
.fm-dest-label { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--tint); }
.fm-btn {
  align-self: flex-start;
  font-size: 11px; font-weight: 600;
  color: #0D1B33; background: var(--tint);
  border-radius: 999px; padding: 5px 14px;
  margin-top: 2px;
}
.fm-input {
  min-width: 52px; text-align: center;
  font-size: 10.5px;
  background: rgba(255,255,255,0.09);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 6px; padding: 3px 8px;
  color: rgba(255,255,255,0.6);
  flex: 0 0 auto;
}

/* ── animated SHAAM sync mock (card 02) ── */
.fm-ita { gap: 13px; }
.fmi-line { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr; align-items: center; gap: 9px; }
.fmi-end {
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px; padding: 0 9px;
}
.fmi-end-procee { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 0 6px; color: #fff; font-weight: 700; font-size: 15px; }
.fmi-end-procee img { height: 17px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.fmi-end-ita { background: #fff; }
.fmi-end-ita img { height: 33px; width: auto; display: block; }
.fmi-wire {
  position: relative; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.32) 0 4px, transparent 4px 8px);
}
.fmi-dot {
  position: absolute; top: -3px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 12px var(--tint);
  animation: fmi-travel 2.6s linear infinite;
}
@keyframes fmi-travel {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.fmi-payload {
  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 11.5px;
  display: flex; flex-direction: column; gap: 7px;
}
.fmi-payload .k { color: rgba(255,255,255,0.5); }
.fmi-payload .v { color: #fff; }
.fmi-payload .v.ok { color: #7BE3B4; }
.fmi-prow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  white-space: nowrap;
}
.fmi-prow .v.ok { animation: fmi-blink 2.6s ease-in-out infinite; }
@keyframes fmi-blink {
  0%, 40% { opacity: 0.35; }
  55%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .fmi-dot { animation: none; left: 50%; }
  .fmi-prow .v.ok { animation: none; opacity: 1; }
}


/* ============================================================
   SITE-ONLY a11y blocks (preserved across /import-design — NOT
   from the Designs bundle). See CLAUDE.md "Accessibility".
   ============================================================ */

/* ── a11y: skip-to-content link ─────────────────── */
/* Visually hidden until focused; first tab stop on every page so keyboard +
   screen-reader users can jump past the nav straight to <main id=main-content>. */
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: -64px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: inset-block-start .15s ease;
}
.skip-link:focus { inset-block-start: 0; outline: 2px solid #fff; outline-offset: 2px; }
#main-content:focus { outline: none; } /* programmatic focus target, no visible ring */

/* ── a11y: visible keyboard focus ring ──────────── */
/* Restore a consistent ring for keyboard users (mouse clicks do not trigger
   :focus-visible). The Designs bundle suppresses outlines on its buttons. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── a11y: respect reduced-motion preference ────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
