/*
 * 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;
  /* Offset anchor-link scrolling by the fixed header height (4rem)
   * so clicking nav links / in-page CTAs lands the destination
   * section's top edge BELOW the menu bar, not behind it. */
  scroll-padding-top: 4rem;
  -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 tuned for compact modern B2B rhythm.
 * mobile  : 3.5rem (56px) top + bottom = 112px between sections
 * desktop : 4.5rem (72px) top + bottom = 144px between sections
 * Was 5rem mobile / 7rem desktop (160/224px) — brochure-scale.
 * The alternating section backgrounds (canvas / dark / glow) already
 * carry the visual separation, so padding doesn't need to over-deliver. */
.section { padding: 3.5rem 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 4.5rem 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;
  /* 4rem = 64px — compact modern density. The 36px mark + 20px/11px
   * stacked wordmark fits with ~14px breathing room above and below.
   * Sits between Notion (~56) and Stripe/HubSpot (~72). Was 6rem when
   * the lockup was the brochure-scale 80px logo. */
  height: 4rem;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}
.logo-link:hover { opacity: 0.85; }

/* ─── Logo ───────────────────────────────────────────────────────────
 * Canonical 2-line product-first lockup (Option B): framed PNG mark
 * on the left, two-line text stack on the right (TradeOps / by
 * IndusArth). The dark-variant PNG already carries the midnight-blue
 * rounded frame baked into the artwork — render it directly, no CSS
 * wrapper. (Adding one creates a visible double-frame effect since
 * the PNG's edges sit inside a second navy square.)
 *   .logo-mark             — IA framed-mark image, dark-variant PNG.
 *   .logo-wordmark         — two-line text stack (product + parent).
 *                            Visible on ≥480px so the mark stands
 *                            alone on narrow viewports.
 *   .logo-wordmark-product — "TradeOps" (the product brand).
 *   .logo-wordmark-parent  — "by IndusArth" (parent credit, smaller).
 *
 * Product-first lockup (Option B): the product name leads at full
 * weight + brand-accent colour; the parent credit sits below in a
 * muted weight + tone. Mark is sized in the 32-40px range matching
 * modern B2B SaaS header conventions instead of the previous 80px
 * brochure-scale lockup. Footer uses a slightly bigger variant via
 * .footer-logo so it anchors the footer without feeling shrunken. */
.logo-link { gap: 0.625rem; }
.logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--sans);
  line-height: 1.05;
}
@media (min-width: 480px) { .logo-wordmark { display: inline-flex; } }
.logo-wordmark-product {
  font-size: 1.25rem;         /* 20px — product brand, header */
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--royal);
}
/* Parent credit — mixed-case subtitle, no tracking. Sits as a quiet
 * second line under the product name; the B of "By" aligns naturally
 * under the T of "TradeOps" since both spans share the same left
 * flex edge with no horizontal compensation. */
.logo-wordmark-parent {
  margin-top: 0.25rem;
  font-size: 0.8125rem;       /* 13px — readable subtitle weight */
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-500);
}

/* Footer lockup — slightly larger so it anchors the footer column. */
.footer-logo .logo-mark { width: 40px; height: 40px; }
.footer-logo .logo-wordmark-product { font-size: 1.375rem; }   /* 22px */
.footer-logo .logo-wordmark-parent { font-size: 0.875rem; }     /* 14px */

/* Over the dark hero, the header is transparent — relight the
 * parent credit so it stays legible on the video background. */
body.has-dark-hero .site-header:not(.scrolled) .logo-wordmark-parent {
  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) {
  /* Subtle frosted-dark chrome — gives the menu nav, logo, and CTA
   * a self-contained legibility layer so the video below can play
   * unobscured (no big dark band painted over the video's top edge).
   * Same idea as the scrolled state's frosted white, just dark for
   * the inverted hero context. */
  background: rgba(2, 17, 37, 0.28);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: transparent;
}
/* Over the dark hero — relight the product wordmark to a lighter
 * royal so it pops against the dark video. The framed mark is
 * theme-invariant (frame + inner mark are both fixed), so no swap
 * is needed for the mark itself. */
body.has-dark-hero .site-header:not(.scrolled) .logo-link .logo-wordmark-product { 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;
  /* Top padding clears the 4rem fixed header + ~1.5rem breathing room.
   * Bumped on desktop to seat the panel lower in the visual field. */
  padding: 5.5rem 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: 7.5rem 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);
  /* Top padding kept tight against the 4rem (64px) header. Anything
   * beyond ~1rem of breathing room reads as a dark empty slab because
   * the header is transparent over the dark video — header + gap
   * merge into one tall zone visually. Keep the gap narrow so the
   * header feels like a defined bar, not a merged dark column. */
  padding: 4rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .hero--video { padding: 5rem 0 1.75rem; min-height: clamp(660px, 88vh, 880px); }
}
/* Hero video frame — wraps the <video> so its scale-up doesn't bleed
 * the video under the menu bar. The wrapper's overflow:hidden clips
 * the transformed video to the wrapper's layout box (below the menu
 * bar + navy strip on top, left of the right panel on the side).
 *
 * Mobile / narrow viewports: fills the full hero (inset:0). The
 * panel sits at the bottom via the standard flex flow, so the video
 * frame covers everything underneath it.
 * Desktop (≥960px): bounded to the left side, top starts below the
 * menu bar + 2px navy strip. The right panel sits next to it. */
.hero-video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero-video-frame {
    top: 4rem;
    left: 0;
    /* 30vw target with sensible floor/cap: never below 360px (panel
     * needs room for H1 + CTAs) and never above 520px (avoids the
     * panel ballooning on ultra-wide displays). Matches the auth-shell
     * brand-pane/form-pane proportions on common viewports (~70/30). */
    right: clamp(360px, 30vw, 520px);
    bottom: 0;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Scale up the rendered video from its bottom edge so the dark
   * factory-ceiling band at the top of the source frame pushes above
   * the wrapper's top edge and gets clipped by the wrapper's
   * overflow:hidden. The bottom edge of the video stays anchored, so
   * only the top crop changes. 1.2 scale crops just enough of the
   * dark top without zooming the lit content too aggressively. */
  transform: scale(1.2);
  transform-origin: center bottom;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Top dark band removed entirely — the header now carries its own
   * legibility chrome (backdrop-blur on the transparent-over-dark-hero
   * state, see body.has-dark-hero .site-header:not(.scrolled) below).
   * The overlay's only remaining job is the soft fade-to-dark in the
   * lower portion of the hero, for the transition into the next
   * section and behind the panel's frosted backdrop. */
  background:
    linear-gradient(180deg,
      rgba(2,17,37,0) 0%,
      rgba(2,17,37,0) 70%,
      rgba(2,17,37,0.55) 88%,
      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 aligns to the header bottom (4rem) so
     the panel's top edge sits flush with the video frame's top edge
     — they read as one continuous block under the menu bar.
     Width is 30vw with the same clamp as .hero-video-frame's right
     offset, so the two meet exactly with no overlap or gap. */
  .hero-panel {
    position: absolute;
    top: 4rem;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: clamp(360px, 30vw, 520px);
    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 { 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 p.lead .lead-strong {
  display: block;
  margin-bottom: 0.375rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
}

.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;
  /* Tighter on mobile (2rem) so the desc → cards gap doesn't eat
   * more screen real estate than necessary. Stays generous (3rem)
   * on desktop where there's room to breathe. */
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .grid-3, .grid-4, .grid-5 { 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;
}

/* ─── 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(3, 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-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.outcome-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}
.outcome-text {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-700);
  line-height: 1.45;
}

/* ─── Outcome scenario — concrete example, sits below the outcome grid. */
.outcome-scenario {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--royal-soft);
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(20,184,166,0.04));
}
.outcome-scenario-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--royal);
  margin-bottom: 0.625rem;
}
.outcome-scenario p {
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0;
}

/* ─── Self-qualifier — "This is for you if" checklist.
 *
 * No card chrome (was border + gradient + padding) — the bullets
 * flow as a natural extension of the section description above,
 * not as a separate callout block. Header reads as a small eyebrow
 * label so visitors know what they're scanning. Two columns on
 * desktop. */
.qualifier {
  margin-top: 1.75rem;
  max-width: 64rem;       /* matches .section-desc width so the
                              checklist sits flush within the section's
                              text column, not as a centered card. */
}
.qualifier-col {
  /* No border, no background, no padding — the column class is now
     just a semantic wrapper for the header + bullets. */
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  max-width: none;
  margin: 0;
}
.qualifier-head {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  color: var(--teal);
}
.qualifier-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}
/* CSS columns (not grid) so 7 items flow top-to-bottom, then to
 * the next column — fills 4 items left / 3 items right (auto-balanced)
 * rather than the row-flow grid's awkward 2+2+2+1 layout with an
 * orphan. break-inside:avoid keeps multi-line items in one column. */
.qualifier-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 1;
  column-gap: 2.5rem;
}
@media (min-width: 768px) {
  .qualifier-col ul { column-count: 2; }
}
.qualifier-col li {
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.5;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.qualifier-col li:last-child { margin-bottom: 0; }
.qualifier-col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1rem;
  height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
}

/* ─── Audit promise — "What you get in the audit" block above the form. */
.audit-promise {
  margin: 0 auto 1.5rem;
  max-width: 44rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.875rem;
  border: 1px solid var(--royal-soft);
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(20,184,166,0.03));
}
.audit-promise-head {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--royal);
  margin-bottom: 0.75rem;
}
.audit-promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.audit-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.audit-promise-list svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--royal);
  margin-top: 0.125rem;
}

/* ─── 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);
}
/* Unified with .outcome-num so both numbered-list patterns
 * (Outcomes + Implementation) read as the same metaphor visually. */
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-soft), var(--teal-soft));
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
}
.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; }

/* ─── Tour video placeholder (tour.html) ───────────────────────────
 * Holds the 16:9 video slot. Until the real walkthrough is recorded,
 * the placeholder body inside the slot routes visitors to the audit. */
.tour-video {
  margin-top: 2.5rem;
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(20,184,166,0.04));
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.tour-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--ink-700);
}
.tour-video-placeholder > svg { color: var(--royal); margin-bottom: 0.75rem; }
.tour-video-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.75rem;
}
.tour-video-body {
  max-width: 36rem;
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ─── 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 uses a slightly larger variant of the header lockup
 * via .footer-logo overrides (40px mark + 22px product wordmark);
 * see the lockup block at the top of this file. The full tagline
 * lives separately in .footer-tagline so it can flow at body width. */
.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); }

/* ─── Workflow buyer/supplier strip ─────────────────────────────────
 * Compact two-side view above the timeline. Replaces the dedicated
 * "two-sided transparency" section so the "shared workflow" message
 * lands once, not twice. On the dark workflow section background. */
.workflow-views {
  margin: 1.5rem auto 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .workflow-views {
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
  }
}
.workflow-view {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.125rem;
  backdrop-filter: blur(6px);
}
.workflow-view-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.workflow-view-head svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.workflow-view--buyer .workflow-view-head svg { color: var(--royal-soft); }
.workflow-view--supplier .workflow-view-head svg { color: var(--teal-soft); }
.workflow-view-role {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
.workflow-view-list {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.workflow-view-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}
.workflow-view-arrow svg {
  width: 28px; height: 28px;
}
@media (max-width: 959px) {
  .workflow-view-arrow svg { transform: rotate(90deg); }
}

/* ─── 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);
}
