/*
 * IndusArth TradeOps marketing — pure CSS, no framework.
 *
 * Palette sampled from the live IndusArth + TradeOps lockup
 * (brand/tradeops-logo*.png). Blue-forward to match the wordmark.
 */

:root {
  /* Brand */
  --midnight: #021125;
  --navy: #0B1A33;
  --royal: #2563EB;
  --royal-hover: #1D4ED8;
  --royal-soft: #DBEAFE;
  --teal: #00B0C0;
  --teal-soft: #E6FAF8;
  --sky: #93C5FD;
  --bronze: #E08020;
  --bronze-soft: #FEF3C7;

  /* Surfaces */
  --paper: #FFFFFF;
  --canvas: #F7F9FC;
  --border-subtle: #E5E9F0;
  --border-faint: #EEF1F6;

  /* Status soft tints (used on workflow pills) */
  --info: #1D4ED8;
  --info-soft: #DBEAFE;
  --success: #15803D;
  --success-soft: #DCFCE7;
  --attention: #B45309;

  /* Ink */
  --ink-900: #0B1A33;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;

  /* Type */
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ───────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

section[id] { scroll-margin-top: 5rem; }

/* Strong, brand-coloured text selection — readable on both light and
 * dark surfaces. */
::selection { background: var(--royal); color: #fff; }
::-moz-selection { background: var(--royal); color: #fff; }

/* ─── Scroll reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="100"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="200"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="300"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="400"] { transition-delay: 0.4s; }

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

/* ─── Layout primitives ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--canvas { background: var(--canvas); }
.section--paper { background: var(--paper); }
.section > .container { position: relative; z-index: 1; }

/* Decorative dot grid backdrop (subtle). Use on canvas sections to
 * add depth without competing for attention. */
.section--dotgrid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 26, 51, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}
.section--dotgrid-wide::before {
  background-size: 36px 36px;
  background-image: radial-gradient(rgba(11, 26, 51, 0.06) 1px, transparent 1px);
}

/* Soft radial glow — used for the Outcomes section. */
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 50%, rgba(0, 176, 192, 0.08), transparent 70%);
}

/* Mesh gradient — used for Pricing. Cool brand-tinted wash. */
.section--mesh {
  background:
    radial-gradient(40% 50% at 10% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(35% 45% at 90% 100%, rgba(0, 176, 192, 0.08), transparent 60%),
    var(--canvas);
}

/* DARK section — mid-page beat that mirrors the hero. */
.section--dark {
  color: #fff;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(50% 40% at 100% 100%, rgba(0, 176, 192, 0.12), transparent 60%),
    linear-gradient(180deg, var(--midnight), #061a3a 60%, var(--midnight));
}
.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.4), transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.4), transparent 80%);
}
.section--dark .eyebrow { color: var(--teal); }
.section--dark .section-title { color: #fff; }
.section--dark .section-desc { color: rgba(255, 255, 255, 0.72); }

/* Subtle divider line between sections — premium feel. */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--royal);
  margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 72rem;
}
.section-desc {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 64rem;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.2s var(--ease),
              box-shadow 0.25s var(--ease);
  position: relative;
}
.btn:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--royal), #4F86F5);
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(37,99,235,0.45),
              0 2px 6px -2px rgba(37,99,235,0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--royal-hover), var(--royal));
  box-shadow: 0 10px 24px -4px rgba(37,99,235,0.55),
              0 4px 10px -2px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--teal), #2BCDD9);
  color: var(--midnight);
  box-shadow: 0 6px 18px -4px rgba(0,176,192,0.45);
}
.btn--accent:hover {
  background: linear-gradient(135deg, #00C8DA, var(--teal));
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(0,176,192,0.55);
}

.btn--ghost-dark {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}
.btn--ghost-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.32);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border-subtle);
}
.btn--ghost:hover {
  background: var(--canvas);
  border-color: var(--royal);
  color: var(--royal);
}

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

/* ─── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              backdrop-filter 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 20px -8px rgba(11,26,51,0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}
.logo-link:hover { opacity: 0.85; }

/* ─── Logo ───────────────────────────────────────────────────────────
 * Lockup is composed live: PNG mark + HTML wordmark text.
 *   .logo-mark       — square mark image (the user's preferred design).
 *                      Two PNG variants: .logo-on-dark / .logo-on-light.
 *   .logo-wordmark   — "IndusArth TradeOps" rendered as HTML text using
 *                      the page's Inter font; visible on ≥480px so the
 *                      mark stands alone on narrow viewports.
 * Wordmark colours follow the surrounding surface via CSS variables. */
.logo-link { gap: 0.625rem; }
.logo-mark { height: 44px; width: auto; display: none; }
.logo-link .logo-mark.logo-on-light { display: inline-block; }

.logo-wordmark {
  display: none;
  flex-direction: column;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
@media (min-width: 480px) { .logo-wordmark { display: inline-flex; } }
.logo-wordmark-1 { color: var(--ink-900); }
.logo-wordmark-2 { color: var(--royal); }

/* Brand cluster — logo lockup stacked above a small product-level
 * tagline. Mirrors the product app's auth-shell treatment (logo +
 * BrandTagline in a vertical column) so the same brand cue reads
 * across marketing and signup. Tagline is hidden on the narrowest
 * viewports where the wordmark itself is suppressed. */
.brand-cluster {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
}
.brand-tagline {
  display: none;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  color: var(--slate-grey);
  /* Aligned to the cluster's left edge — sits under the full lockup
   * (mark + wordmark) rather than only under the wordmark, giving it
   * the visual weight of a brand-level descriptor. */
  padding-left: 0;
}
@media (min-width: 480px) { .brand-tagline { display: inline-block; } }
/* Over the dark hero, the header is transparent — relight the tagline. */
body.has-dark-hero .site-header:not(.scrolled) .brand-tagline {
  color: rgba(255, 255, 255, 0.65);
}

/* Subtle dark-glass chrome on the header over the dark hero so menu
 * items sit visibly inside a "bar" instead of floating on the video. */
body.has-dark-hero .site-header:not(.scrolled) {
  /* Transparent over the dark hero — same treatment as the product
   * signup shell. The hero video flows up behind the header with
   * no visible navy band; nav text reads against the dark video
   * via its own light colour. */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
/* Over the dark hero — swap mark variant + relight the wordmark. */
body.has-dark-hero .site-header:not(.scrolled) .logo-link .logo-on-light { display: none !important; }
body.has-dark-hero .site-header:not(.scrolled) .logo-link .logo-mark.logo-on-dark { display: inline-block; }
body.has-dark-hero .site-header:not(.scrolled) .logo-link .logo-wordmark-1 { color: #FFFFFF; }
body.has-dark-hero .site-header:not(.scrolled) .logo-link .logo-wordmark-2 { color: #4F86F5; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: 0.9375rem;
  color: var(--ink-700);
  font-weight: 500;
  transition: color 0.15s var(--ease);
  position: relative;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--royal);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-desktop a:hover { color: var(--ink-900); }
.nav-desktop a:hover::after { transform: scaleX(1); }

/* Header over dark hero — light text + teal underline so the nav
 * reads cleanly against the midnight gradient. */
body.has-dark-hero .site-header:not(.scrolled) .nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
}
body.has-dark-hero .site-header:not(.scrolled) .nav-desktop a:hover {
  color: #fff;
}
body.has-dark-hero .site-header:not(.scrolled) .nav-desktop a::after {
  background: var(--teal);
}
body.has-dark-hero .site-header:not(.scrolled) .menu-toggle {
  color: #fff;
}
body.has-dark-hero .site-header:not(.scrolled) .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-cta-desktop { display: none; }
@media (min-width: 900px) { .header-cta-desktop { display: inline-flex; } }
.header-cta-desktop .btn {
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--ink-900);
  border-radius: 0.5rem;
}
.menu-toggle:hover { background: var(--canvas); }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.375rem; height: 1.375rem; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background: var(--paper);
  padding: 1rem;
  animation: slideDown 0.25s var(--ease);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 0.125rem; }
.nav-mobile a {
  display: block;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  color: var(--ink-900);
  font-weight: 500;
  transition: background 0.15s var(--ease);
}
.nav-mobile a:hover { background: var(--canvas); }
.nav-mobile .btn { margin-top: 0.75rem; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 8rem 0 4.5rem;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(37,99,235,0.20), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(0,176,192,0.15), transparent 60%),
    linear-gradient(180deg, var(--midnight), #061a3a 60%, var(--midnight));
}
@media (min-width: 768px) { .hero { padding: 10rem 0 6.5rem; } }

/* Full-bleed video hero: the video occupies the entire hero "stage"
 * up top while a full-width frosted card anchored at the bottom holds
 * the headline, lead, CTAs, and badges. Layout uses flex column so
 * the card naturally pushes to the bottom regardless of content
 * volume — no absolute-positioning fragility. */
.hero--video {
  min-height: clamp(620px, 86vh, 860px);
  padding: 6.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .hero--video { padding: 8.5rem 0 1.75rem; min-height: clamp(660px, 88vh, 880px); }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Desktop: aspect-preserving, right-anchored placement (same approach
 * the product signup page uses). 400px offset so the video's right
 * edge sits INSIDE the hero panel's footprint (panel is 460-520px
 * wide at right:0) — that 60-120px overlap, blurred by the panel's
 * frosted-glass backdrop-filter, removes any visible seam between
 * the video and the panel. */
@media (min-width: 960px) {
  .hero-video {
    left: auto;
    right: 400px;
    width: auto;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2,17,37,0.55) 0%, rgba(2,17,37,0.05) 30%, rgba(2,17,37,0.45) 70%, rgba(2,17,37,0.88) 100%);
}
.hero--video > .container { position: relative; z-index: 2; }
/* Desktop: the hero panel breaks out of the container and positions
 * directly against `.hero`. Drop position:relative on the container
 * here so the panel's `position: absolute` references `.hero`
 * (full-viewport-width) instead of the container's max-width box. */
@media (min-width: 960px) {
  .hero--video > .hero-bottom { position: static; }
}
/* When motion is reduced, freeze the video on its poster. */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero--video {
    background:
      linear-gradient(rgba(2,17,37,0.65), rgba(2,17,37,0.65)),
      url("/brand/hero-execution-flow.png") center/cover no-repeat,
      var(--midnight);
  }
}

/* Animated gradient blob behind the mockup. */
.hero-blob {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.45), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  top: -10%; right: -20%;
  animation: float 22s ease-in-out infinite;
}
.hero--video .hero-blob { z-index: 1; opacity: 0.55; }
.hero-blob--alt {
  background: radial-gradient(circle, rgba(0,176,192,0.35), transparent 60%);
  width: 420px; height: 420px;
  top: 60%; right: 40%;
  animation: float 28s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 30px) scale(1.05); }
}

/* Subtle dot-grid texture on hero. */
.hero:not(.hero--video)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 80%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}

/* Hero panel — on mobile, a full-width card anchored at the bottom of
 * the hero; on desktop (≥960px), an absolutely-positioned card that
 * pins flush to the viewport's right edge, starting at the bottom of
 * the fixed header and extending to the bottom of the hero. */
.hero-bottom {
  width: 100%;
}
.hero-panel {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem;
  border-radius: 0;
  /* Warm graphite — charcoal with a subtle warm undertone.
     Aggressively transparent — video flows through. Legibility comes
     from the backdrop-blur softening whatever frame is behind. */
  background: linear-gradient(180deg, rgba(26, 22, 19, 0.50), rgba(26, 22, 19, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    0 30px 60px -28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 240, 220, 0.06) inset;
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (min-width: 768px) { .hero-panel { padding: 2.25rem 2.5rem 2.25rem; } }
@media (min-width: 960px) {
  /* Break out of the container and position against .hero (which is
     full-viewport-width). Top sits below the fixed header (5rem) with
     a small breathing band so the panel and header don't visually
     butt up against each other. */
  .hero-panel {
    position: absolute;
    top: 6.5rem;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 460px;
    flex-shrink: 0;
    justify-content: center;
    padding: 2.5rem 2.25rem;
    /* All corners square — straight edges. */
    border-radius: 0;
    border-right: none;
    /* Shadow carves the card's left edge against the video stage. */
    box-shadow:
      -28px 0 60px -32px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 240, 220, 0.06) inset;
  }
}
@media (min-width: 1200px) {
  .hero-panel { width: 520px; padding: 3rem 2.5rem; }
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(224, 128, 32, 0.14), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(255, 240, 220, 0.05), transparent 60%);
}
.hero-panel > * { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  /* Same orange as the mark's top dot — keeps a single accent across
     the hero (eyebrow dot ↔ logo top dot). */
  background: #FF7A1A;
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #ffffff 0%, #93C5FD 35%, #2BCDD9 65%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  display: inline-block;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero p.lead {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 40rem;
  line-height: 1.6;
}
.hero-ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}
.hero-ctas .btn { width: 100%; }

/* ─── Benefits strip ────────────────────────────────────────────────
 * Full-bleed royal-blue band right under the hero. Uses the same
 * gradient as the header's "Book a Workflow Audit" CTA so the two
 * brand surfaces read as connected. */
.benefits-strip {
  background: linear-gradient(135deg, var(--royal), #4F86F5);
  color: #fff;
  padding: 0.75rem 0;
  position: relative;
  overflow: hidden;
}
.benefits-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(60% 100% at 100% 50%, rgba(43,205,217,0.18), transparent 60%);
}
.benefits-strip > .container { position: relative; }
.benefits-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@media (min-width: 640px) { .benefits-strip-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  /* Desktop: single horizontal row, each item kept on one line. */
  .benefits-strip-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8125rem;
  }
  .benefits-strip-list li { white-space: nowrap; }
}
@media (min-width: 1200px) {
  .benefits-strip-list { font-size: 0.875rem; gap: 2rem; }
}
.benefits-strip-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.benefits-strip-list svg {
  width: 1rem;
  height: 1rem;
  color: rgba(255,255,255,0.95);
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.1875rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}
.pill--info { background: var(--info-soft); color: var(--info); }
.pill--success { background: var(--success-soft); color: var(--success); }
.pill--attention { background: var(--bronze-soft); color: var(--attention); }
.pill--neutral { background: var(--canvas); color: var(--ink-700); }

/* ─── Generic grid + cards ────────────────────────────────────────── */
.grid-3, .grid-4, .grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 640px)  { .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1280px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  background: linear-gradient(180deg, var(--paper), #FBFCFE);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.25s var(--ease),
              box-shadow 0.3s var(--ease),
              transform 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(37,99,235,0.04));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(37,99,235,0.25);
  box-shadow:
    0 12px 28px -10px rgba(11,26,51,0.12),
    0 4px 8px -2px rgba(37,99,235,0.08);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  transition: transform 0.25s var(--ease);
}
.card:hover .card-icon { transform: scale(1.08); }
.card-icon svg { width: 22px; height: 22px; }
.card-icon--attention { background: var(--bronze-soft); color: var(--attention); }
.card-icon--royal { background: var(--royal-soft); color: var(--royal); }
.card-icon--teal { background: var(--teal-soft); color: var(--teal); }
.card-icon--bronze { background: var(--bronze-soft); color: var(--bronze); }
.card-title {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.card-body {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.card--module { padding: 1.25rem; }
.card--module .card-icon { width: 38px; height: 38px; margin-bottom: 0.875rem; }
.card--module .card-icon svg { width: 18px; height: 18px; }
.card--module .card-title { font-size: 0.9375rem; }
.card--module .card-body { font-size: 0.8125rem; margin-top: 0.375rem; }

/* ─── Workflow timeline ───────────────────────────────────────────── */
.timeline-desktop {
  display: none;
  position: relative;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .timeline-desktop { display: block; } }
.timeline-desktop::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--royal-soft), var(--teal-soft));
  border-radius: 1px;
}
/* On the dark workflow section, brighten the connector line so it
 * reads against midnight. */
.section--dark .timeline-desktop::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(0, 176, 192, 0.5), rgba(255, 255, 255, 0.12));
}
.section--dark .timeline-circle {
  background: var(--paper);
  border-color: var(--teal);
  box-shadow: 0 4px 14px -4px rgba(0, 176, 192, 0.45);
}
.section--dark .timeline-circle svg,
.section--dark .timeline-circle--num { color: var(--royal); }
.section--dark .timeline-label { color: #fff; }
.section--dark .timeline-owner { color: rgba(255, 255, 255, 0.6); }
.section--dark .timeline-mobile li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.section--dark .timeline-mobile li:hover {
  border-color: rgba(0, 176, 192, 0.45);
}
.section--dark .timeline-mobile-head .timeline-label { color: #fff; }
.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.75rem;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.timeline-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 8px -3px rgba(37,99,235,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.timeline-step:hover .timeline-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 14px -4px rgba(37,99,235,0.45);
}
.timeline-circle svg { width: 16px; height: 16px; color: var(--royal); }
.timeline-circle--num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--royal);
}
.timeline-label {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
}
.timeline-owner {
  font-size: 0.75rem;
  color: var(--ink-500);
  margin-top: 0.125rem;
}
.timeline-status {
  margin-top: 0.5rem;
}

.timeline-mobile { display: none; margin-top: 2.5rem; }
@media (max-width: 1023px) { .timeline-mobile { display: block; } }
.timeline-mobile ol { display: flex; flex-direction: column; gap: 0.875rem; }
.timeline-mobile li {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  padding: 1.125rem;
  transition: border-color 0.2s var(--ease);
}
.timeline-mobile li:hover { border-color: var(--royal-soft); }
.timeline-mobile .timeline-circle {
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.timeline-mobile-body { flex: 1; min-width: 0; }
.timeline-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.timeline-mobile-head .timeline-label { margin-top: 0; }

/* ─── Comparison table ────────────────────────────────────────────── */
.compare-wrap {
  margin-top: 3rem;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(11,26,51,0.05);
}
.compare-table {
  display: none;
  width: 100%;
  border-collapse: collapse;
}
@media (min-width: 768px) { .compare-table { display: table; } }
.compare-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  background: var(--canvas);
}
.compare-table th:first-child { width: 25%; }
.compare-table th:nth-child(2) { width: 40%; }
.compare-table td {
  padding: 1.125rem 1.5rem;
  border-top: 1px solid var(--border-faint);
  vertical-align: top;
}
.compare-table td:first-child { font-weight: 600; color: var(--ink-900); }
.compare-table td:nth-child(2) { color: var(--ink-700); }
.compare-table td:nth-child(3) { color: var(--ink-500); }
.compare-table tr.highlight {
  background: linear-gradient(90deg, var(--royal-soft), rgba(0,176,192,0.08));
}
.compare-table tr.highlight td:first-child { color: var(--navy); }
.compare-badge {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.125rem 0.4375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  background: var(--royal);
  color: #fff;
  letter-spacing: 0.05em;
}

.compare-cards { display: block; }
@media (min-width: 768px) { .compare-cards { display: none; } }
.compare-cards > div {
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--border-faint);
}
.compare-cards > div:first-child { border-top: 0; }
.compare-cards > div.highlight {
  background: linear-gradient(90deg, var(--royal-soft), rgba(0,176,192,0.08));
}
.compare-cards-tool {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--ink-900);
}
.compare-cards-line {
  margin-top: 0.5rem; font-size: 0.875rem;
}
.compare-cards-line span:first-child { color: var(--ink-500); }
.compare-cards-line span:last-child { color: var(--ink-700); }

/* ─── Outcomes ────────────────────────────────────────────────────── */
.outcomes {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .outcomes { grid-template-columns: repeat(4, 1fr); } }
.outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem;
  border-radius: 0.875rem;
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  transition: border-color 0.25s var(--ease),
              box-shadow 0.3s var(--ease),
              transform 0.25s var(--ease);
}
.outcome:hover {
  border-color: var(--royal-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(37,99,235,0.18);
}
.outcome-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-soft), var(--teal-soft));
  color: var(--royal);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.4;
}

/* ─── Industries ──────────────────────────────────────────────────── */
.industries {
  margin-top: 2.5rem;
}
.industries-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.industry-pills span {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  font-size: 0.875rem;
  color: var(--ink-700);
  font-weight: 500;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.industry-pills span:hover {
  border-color: var(--royal);
  color: var(--royal);
}

/* ─── Implementation steps ────────────────────────────────────────── */
.steps {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 768px)  { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step {
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s var(--ease),
              box-shadow 0.3s var(--ease),
              transform 0.25s var(--ease);
}
.step:hover {
  border-color: var(--royal-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(11,26,51,0.1);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--royal-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 12px -3px rgba(37,99,235,0.4);
}
.step-title {
  margin-top: 1.125rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.step-body {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ─── Pricing ─────────────────────────────────────────────────────── */
/* Monthly / yearly billing toggle — segmented pill above the grid. */
.pricing-toggle {
  margin: 2.5rem auto 0;
  display: inline-flex;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(11,26,51,0.06);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.pricing-grid + .pricing-toggle,
.pricing-toggle {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.pricing-toggle-option {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-toggle-option:hover { color: var(--ink-900); }
.pricing-toggle-option.is-active {
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: 0 2px 6px -2px rgba(11,26,51,0.12);
}
.pricing-toggle-save {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pricing-toggle-option.is-active .pricing-toggle-save {
  background: var(--teal);
  color: #fff;
}

.pricing-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; } }
.tier {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(11,26,51,0.12); }
.tier--highlight {
  border-color: var(--royal);
  background: linear-gradient(180deg, var(--paper), #FAFBFF);
  box-shadow: 0 20px 40px -16px rgba(37,99,235,0.25);
  transform: scale(1.02);
}
.tier--highlight:hover { transform: scale(1.02) translateY(-4px); }
/* The previous .tier--highlight::before "Recommended" badge is
 * superseded by the explicit .tier-badge--rec element so each tier
 * can carry its own label (e.g. "Invitation only" on Supplier). */

/* Free tier — Supplier (invitation only). */
.tier--free {
  background: linear-gradient(180deg, #F4F8FB, var(--paper));
  border-style: dashed;
  border-color: #C7D2E0;
}

/* Tier label chip pinned to the top of the card. */
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3125rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-badge--rec {
  background: linear-gradient(135deg, var(--royal), #4F86F5);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(37,99,235,0.45);
}
.tier-badge--neutral {
  background: var(--canvas);
  color: var(--ink-700);
  border: 1px solid var(--border-subtle);
}

/* Per-user add-on + annual savings line under the headline price. */
.tier-price-meta {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.45;
}

/* One-time implementation cost, sits just above the CTA button. */
.tier-implementation {
  margin-top: 1.25rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--royal);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

/* Supplier card replaces the CTA button with an "invite only" note. */
.tier-invite-note {
  margin-top: auto;
  padding-top: 1.875rem;
  font-size: 0.8125rem;
  color: var(--ink-500);
  font-style: italic;
  text-align: center;
}
.tier-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-500);
}
/* User-limit subtitle — prominent right under the tier name so the
 * "Up to 5 users" cap is immediately clear before the eye reaches the
 * price. */
.tier-users {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.tier--highlight .tier-users { color: var(--royal); }
.tier--free .tier-users { color: var(--teal); }
.tier-price {
  margin-top: 0.875rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.tier-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
}
.tier--highlight .tier-amount {
  background: linear-gradient(135deg, var(--royal), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tier-cadence { color: var(--ink-500); font-size: 0.875rem; }
.tier-pitch {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.55;
}
.tier-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--ink-700);
}
.tier-features svg {
  width: 1.125rem; height: 1.125rem;
  color: var(--royal);
  flex-shrink: 0;
  margin-top: 0.0625rem;
}
.tier-cta { margin-top: 1.25rem; }
.tier-note {
  margin-top: 2.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-500);
}

/* Enterprise callout — sits below the 3 main tiers as a full-width
 * strip pointing larger teams to sales. */
.pricing-enterprise {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--midnight), #0B1A33);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.pricing-enterprise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 100% 50%, rgba(37,99,235,0.25), transparent 60%),
    radial-gradient(40% 100% at 0% 50%, rgba(0,176,192,0.18), transparent 60%);
}
.pricing-enterprise > * { position: relative; }
@media (min-width: 768px) {
  .pricing-enterprise {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
  }
}
.pricing-enterprise-text { max-width: 48rem; }
.pricing-enterprise-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.pricing-enterprise h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.pricing-enterprise p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.pricing-enterprise .btn { flex-shrink: 0; }

/* ─── Final CTA ───────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 50%, rgba(37,99,235,0.3), transparent 60%),
    radial-gradient(40% 40% at 20% 80%, rgba(0,176,192,0.18), transparent 60%),
    var(--midnight);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}
@media (min-width: 768px) { .final-cta { padding: 7.5rem 0; } }
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60% 50% at 50% 50%, rgba(0,0,0,0.5), transparent 80%);
}
.final-cta-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.final-cta h2 {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.final-cta p {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .btn { margin-top: 2.25rem; padding: 0.875rem 1.625rem; font-size: 1rem; }

/* ─── Contact form ────────────────────────────────────────────────── */
.form-wrap { margin-top: 2.5rem; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 4px 24px -10px rgba(11,26,51,0.06);
}
@media (min-width: 768px) { .form-card { padding: 2.25rem; } }
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: block; }
.form-field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.4375rem;
  letter-spacing: -0.005em;
}
.form-field-label .req { color: var(--bronze); margin-left: 2px; }
.form-input,
.form-select {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.6875rem 0.875rem;
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink-900);
  transition: border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.form-input:hover,
.form-select:hover { border-color: var(--ink-400); }
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}
.form-input--mono { font-family: var(--mono); }

.form-footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.form-footer p {
  font-size: 0.8125rem;
  color: var(--ink-500);
  max-width: 32rem;
}
.form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--bronze-soft);
  border: 1px solid rgba(254,243,199,0.8);
  color: var(--attention);
  font-size: 0.875rem;
}
.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  box-shadow: 0 4px 24px -10px rgba(11,26,51,0.06);
  animation: success-in 0.5s var(--ease);
}
@keyframes success-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 0 8px rgba(220,252,231,0.5);
}
.form-success-icon svg { width: 28px; height: 28px; }
.form-success-title {
  margin-top: 1.125rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.form-success-body {
  margin-top: 0.625rem;
  color: var(--ink-500);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img {
  height: 40px;
  width: auto;
}
/* Brand-pattern tagline that mirrors the product app's BrandTagline
 * component — small caps, tracked, slate. Sits between the lockup and
 * the longer descriptor below. */
.footer-brand-tagline {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-500);
}
.footer-tagline {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-500);
  max-width: 24rem;
  line-height: 1.6;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-500);
}
.footer-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
}
.footer-list a, .footer-list span {
  color: var(--ink-700);
  transition: color 0.15s var(--ease);
}
.footer-list a:hover { color: var(--royal); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-500);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a:hover { color: var(--ink-700); }

/* ─── Two-sided transparency ──────────────────────────────────────── */
.two-sided {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 960px) {
  .two-sided {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
  }
}
.two-sided-card {
  background: var(--paper);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 2px 4px rgba(2, 17, 37, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}
.two-sided-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(37, 99, 235, 0.35);
}
.two-sided-card--buyer:hover { border-color: var(--royal); }
.two-sided-card--supplier:hover { border-color: var(--teal); }
.two-sided-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.two-sided-card--supplier::before {
  background: linear-gradient(180deg, rgba(0, 176, 192, 0.05), transparent 50%);
}
.two-sided-card:hover::before { opacity: 1; }
.two-sided-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.two-sided-role {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.two-sided-sub {
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-top: 0.125rem;
}
.two-sided-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.two-sided-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.55;
}
.two-sided-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.two-sided-card--buyer .two-sided-list li svg { color: var(--royal); }
.two-sided-card--supplier .two-sided-list li svg { color: var(--teal); }
.two-sided-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--royal);
  padding: 0 0.5rem;
}
.two-sided-arrow svg {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--royal-soft), var(--teal-soft));
  border-radius: 999px;
  padding: 8px;
  color: var(--royal);
}
.two-sided-arrow span {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}
@media (max-width: 959px) {
  .two-sided-arrow { flex-direction: row; padding: 0.25rem 0; }
  .two-sided-arrow svg { transform: rotate(90deg); }
}
.two-sided-foot {
  margin: 2rem auto 0;
  max-width: 56rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-500);
  font-style: italic;
}

/* ─── Integrations ────────────────────────────────────────────────── */
.integrations-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .integrations-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .integrations-grid { grid-template-columns: repeat(4, 1fr); } }
.integration-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.75rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  backdrop-filter: blur(6px);
}
.integration-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
}
.section--dark .integration-card .card-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.section--dark .integration-card .card-icon--royal { color: #93C5FD; }
.section--dark .integration-card .card-icon--teal { color: #67E8F9; }
.section--dark .integration-card .card-icon--bronze { color: #FCD34D; }
.integration-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
}
.integration-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.integration-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.125rem;
}
.integration-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.integration-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.integration-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}
.integration-foot {
  margin: 2rem auto 0;
  max-width: 60rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
