/* ============================================================
   3B Paie — Design system fintech light premium
   Inspiration : Mercury, Brex, Revolut (light side)
   ============================================================ */

:root {
  /* Surface scale */
  --bg: #f6f7fb;
  --bg-tint: #eef1f8;
  --surface: #ffffff;
  --surface-muted: #f4f6fb;
  --surface-subtle: #fafbfd;
  --surface-elevated: #ffffff;

  /* Borders */
  --border: #e6e9f2;
  --border-strong: #d4d9e6;
  --border-soft: #eef0f6;

  /* Text */
  --text: #0a1428;
  --text-soft: #28324a;
  --muted: #5a6578;
  --subtle: #8590a6;

  /* Brand fintech */
  --primary: #3a5cff;
  --primary-hover: #2e4be0;
  --primary-active: #2640c2;
  --primary-soft: #ecf0ff;
  --primary-softer: #f5f7ff;

  --primary-deep: #1e3aa8;
  --primary-light: #5b7fff;
  --cyan: #06b6d4;
  --cyan-soft: #e6fbff;

  --accent: #d97706;
  --accent-soft: #fff5e6;

  --success: #059669;
  --success-soft: #e7f7f0;
  --danger: #dc2626;
  --danger-soft: #fdecec;

  /* Signature gradients — all blue */
  --gradient-brand: linear-gradient(135deg, #4a6bff 0%, #1e3aa8 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(58, 92, 255, 0.14) 0%, rgba(30, 58, 168, 0.14) 100%);
  --gradient-mesh:
    radial-gradient(80% 60% at 8% 0%, rgba(58, 92, 255, 0.16) 0%, transparent 60%),
    radial-gradient(60% 50% at 100% 10%, rgba(30, 58, 168, 0.14) 0%, transparent 65%),
    radial-gradient(70% 60% at 60% 100%, rgba(6, 182, 212, 0.10) 0%, transparent 60%);
  --gradient-section-soft:
    radial-gradient(60% 80% at 100% 0%, rgba(58, 92, 255, 0.06) 0%, transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(30, 58, 168, 0.05) 0%, transparent 60%);

  /* Radii */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows — multi-layer fintech depth */
  --shadow-xs: 0 1px 2px rgba(10, 20, 40, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 20, 40, 0.04), 0 2px 6px rgba(10, 20, 40, 0.04);
  --shadow-md:
    0 1px 2px rgba(10, 20, 40, 0.04),
    0 4px 12px -2px rgba(10, 20, 40, 0.06),
    0 14px 28px -10px rgba(10, 20, 40, 0.08);
  --shadow-lg:
    0 1px 2px rgba(10, 20, 40, 0.04),
    0 8px 20px -4px rgba(10, 20, 40, 0.08),
    0 28px 60px -16px rgba(10, 20, 40, 0.14);
  --shadow-xl:
    0 2px 4px rgba(10, 20, 40, 0.04),
    0 18px 40px -10px rgba(58, 92, 255, 0.22),
    0 40px 80px -24px rgba(30, 58, 168, 0.26);
  --shadow-float:
    0 2px 4px rgba(10, 20, 40, 0.04),
    0 24px 60px -16px rgba(58, 92, 255, 0.24),
    0 56px 120px -32px rgba(30, 58, 168, 0.28);
  --shadow-glow-primary: 0 8px 24px -8px rgba(58, 92, 255, 0.50);
  --shadow-glow-hover: 0 14px 36px -10px rgba(58, 92, 255, 0.62), 0 4px 12px -2px rgba(30, 58, 168, 0.32);

  /* Layout */
  --max: 1160px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11", "zero" 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(58, 92, 255, 0.18);
  color: var(--text);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 10px 14px;
  color: var(--text);
  box-shadow: var(--shadow-md);
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.narrow {
  width: min(100% - 32px, 780px);
  margin-inline: auto;
}

/* ============================================================
   Header — glass on scroll
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(246, 247, 251, 0);
  transition: background-color 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(214, 219, 232, 0.7);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(58, 92, 255, 0.18);
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.brand-muted {
  color: var(--muted);
  font-weight: 500;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 30px;
}
.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.16s ease;
  position: relative;
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
}
.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}
.menu-button:hover { box-shadow: var(--shadow-sm); }
.menu-button .close-icon,
.menu-button[aria-expanded="true"] .menu-icon { display: none; }
.menu-button[aria-expanded="true"] .close-icon { display: block; }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.mobile-nav nav {
  display: grid;
  gap: 0;
  padding: 8px 0 20px;
}
.mobile-nav a {
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.mobile-nav .btn { margin-top: 14px; }

/* ============================================================
   Buttons — gradient primary with glow
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.22s ease;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #4a6bff 0%, #8b4cf6 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: var(--shadow-glow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--text);
  padding-inline: 12px;
}
.btn-ghost:hover {
  color: var(--primary);
  background: var(--primary-softer);
}

/* ============================================================
   Hero — mesh gradient background, floating mockup
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 92, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 92, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 40%, #000 30%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
  min-height: 640px;
  align-items: center;
  padding: 72px 0 84px;
  z-index: 1;
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(58, 92, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary-active);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 8px 12px 8px 10px;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 3px rgba(58, 92, 255, 0.15);
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero h1 { white-space: nowrap; }
.hero h1 span.accent,
.page-hero h1 span.accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle,
.page-hero .lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 450;
}

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

.assurance-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 36px;
  max-width: 650px;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 550;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.assurance-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.assurance-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-visual {
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Floating dashboard mockup */
.dashboard-scene {
  position: relative;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.dashboard-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(58, 92, 255, 0.25), rgba(30, 58, 168, 0.25), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.scene-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface) 100%);
  padding: 14px 16px;
}
.scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.12);
}
.scene-dot:nth-child(1) { background: #ff5f57; opacity: 0.7; }
.scene-dot:nth-child(2) { background: #febc2e; opacity: 0.7; }
.scene-dot:nth-child(3) { background: #28c840; opacity: 0.7; }
.scene-url {
  margin-left: 10px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.scene-body {
  padding: 22px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(58, 92, 255, 0.04) 0%, transparent 60%),
    var(--surface);
}

.kpi-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.kpi {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-subtle) 100%);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.kpi::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--gradient-brand-soft);
  filter: blur(20px);
  opacity: 0.7;
}
.kpi strong {
  position: relative;
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpi span,
.mini-label {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workflow-card {
  margin-top: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.workflow-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 16px;
  min-width: 460px;
  transition: background-color 0.16s ease;
}
.workflow-row:hover { background: var(--surface-subtle); }
.workflow-row:last-child { border-bottom: 0; }
.workflow-row strong {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text);
}
.workflow-row span {
  color: var(--muted);
  font-size: 12.5px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 680;
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-style: normal;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 2px currentColor;
  opacity: 0.35;
}
.status-blue { background: var(--primary-soft); color: var(--primary-active); }
.status-green { background: var(--success-soft); color: var(--success); }
.status-amber { background: var(--accent-soft); color: #8a540d; }

/* ============================================================
   Sections — alternating rhythm
   ============================================================ */
.section {
  position: relative;
  border-top: 1px solid var(--border-soft);
  padding: 88px 0;
}
.section-soft {
  background: var(--surface-subtle);
  background-image: var(--gradient-section-soft);
}

.section-head { max-width: 760px; }
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 30px;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-head p,
.split-copy p,
.cta-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}
.grid-2, .grid-3, .grid-4 {
  grid-template-columns: 1fr;
}

.cards { margin-top: 40px; }

/* ============================================================
   Card — premium with depth on hover
   ============================================================ */
.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  transition: border-color 0.22s ease, box-shadow 0.28s ease, transform 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 92, 255, 0.4), rgba(30, 58, 168, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

.icon-box {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-brand-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(58, 92, 255, 0.12);
  transition: transform 0.22s ease;
}
.card:hover .icon-box { transform: scale(1.06); }
.icon-box svg { width: 20px; height: 20px; }

.card h3 {
  margin: 20px 0 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.clean-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.clean-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}
.check-list li::before,
.clean-list li::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px rgba(58, 92, 255, 0.10);
  background-image:
    var(--gradient-brand),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7l2.4 2.4L10.5 5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* ============================================================
   Split — copy + panel
   ============================================================ */
.split {
  display: grid;
  gap: 40px;
  align-items: start;
}
.split-copy,
.panel,
.card { min-width: 0; }

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 28px;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: var(--gradient-brand-soft);
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}
.panel > * { position: relative; z-index: 1; }

.panel-title {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-subtle) 100%);
  padding: 14px 16px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.metric:hover {
  border-color: rgba(58, 92, 255, 0.25);
  transform: translateX(2px);
}
.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.metric strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  gap: 32px;
  margin: 40px 0 0;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 14px;
  top: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(58, 92, 255, 0.4), rgba(30, 58, 168, 0.4), rgba(58, 92, 255, 0.05));
}

.timeline-item { position: relative; }
.timeline-number {
  position: absolute;
  left: -32px;
  top: -2px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.timeline-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.timeline-item p {
  max-width: 580px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ============================================================
   Service table
   ============================================================ */
.service-table {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.service-table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.service-table th,
.service-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
.service-table tr:last-child td { border-bottom: 0; }
.service-table tbody tr { transition: background-color 0.14s ease; }
.service-table tbody tr:hover { background: var(--surface-subtle); }
.service-table th {
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-subtle) 100%);
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-table td {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}
.service-table td strong { color: var(--text); font-weight: 680; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.16s ease;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item.is-open { background: var(--surface-subtle); }

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 22px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 660;
  letter-spacing: -0.01em;
}
.faq-icon {
  flex: 0 0 auto;
  color: var(--primary);
  transition: transform 0.24s ease;
}
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-panel {
  max-width: 760px;
  padding: 0 24px 22px 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ============================================================
   CTA panel — dramatic gradient
   ============================================================ */
.cta-band {
  border-top: 1px solid var(--border-soft);
  padding: 84px 0;
}
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58, 92, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(58, 92, 255, 0.10) 0%, transparent 60%),
    radial-gradient(70% 100% at 100% 100%, rgba(30, 58, 168, 0.10) 0%, transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-xl);
  padding: 42px 38px;
}
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 280px;
  height: 200px;
  background-image:
    linear-gradient(rgba(58, 92, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 92, 255, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 80% at 100% 100%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 80% at 100% 100%, #000 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }

/* ============================================================
   Page hero
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  padding: 72px 0 60px;
  background: var(--bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  opacity: 0.7;
}
.page-hero > .container { position: relative; z-index: 1; }

.breadcrumb {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}
.breadcrumb a:hover { color: var(--primary-hover); }

.article-section {
  padding: 72px 0;
  border-top: 1px solid var(--border-soft);
}
.article-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
.article-section .lede,
.article-section p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 28px;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.field-grid {
  display: grid;
  gap: 16px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14.5px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(58, 92, 255, 0.15), var(--shadow-xs);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-section-soft);
  opacity: 0.5;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  padding: 56px 0 32px;
  z-index: 1;
}
.footer-grid { display: grid; gap: 36px; }
.footer-brand p {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-col h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.16s ease;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-soft);
  margin-top: 40px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ============================================================
   Reveal animation
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible,
.no-js [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Subtle hero mockup float animation
   ============================================================ */
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .hero-visual .dashboard-scene {
    animation: float-soft 7s ease-in-out infinite;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 560px) {
  .assurance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-row,
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .hero h1 { font-size: 42px; }
  .page-hero h1 { font-size: 52px; }
  .section-head h2,
  .split-copy h2,
  .cta-panel h2 { font-size: 36px; }
  .article-section h2 { font-size: 30px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .cta-panel { padding: 56px 52px; }
}

@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .menu-button { display: none; }
  .mobile-nav { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
    padding-top: 96px;
  }
  .hero-visual { margin-right: -32px; }
  .split { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
}

@media (min-width: 1160px) {
  .hero h1 { font-size: 40px; }
  .page-hero h1 { font-size: 60px; }
  .section-head h2,
  .split-copy h2,
  .cta-panel h2 { font-size: 40px; }
}

@media (max-width: 560px) {
  .container,
  .narrow { width: min(100% - 24px, var(--max)); }
  .header-inner { min-height: 60px; }
  .header-actions .btn { display: none; }
  .hero-inner {
    min-height: auto;
    padding: 52px 0 64px;
  }
  .hero h1 { white-space: normal; font-size: 32px; }
  .page-hero h1 { font-size: 34px; }
  .hero-subtitle,
  .page-hero .lede { font-size: 16px; }
  .hero-cta,
  .section-cta { flex-direction: column; }
  .btn { width: 100%; }
  .section,
  .article-section { padding: 60px 0; }
  .cta-panel { padding: 30px 26px; }
  .panel,
  .contact-card { padding: 22px; }
  .card { padding: 22px 20px; }
  .workflow-card { overflow-x: auto; }
  .section-head h2,
  .split-copy h2,
  .cta-panel h2 { font-size: 26px; }
}
