/* ============================================================
   SUPERUNIT — Shared Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Tokens ------------------------------------------------ */
/* Brand colors sourced from 🐂 Superunit logobook:
   yellow #FCFF69 (primary accent), black #000000 (surface),
   grey #979AA4 (neutral). Grey scale tuned around #979AA4. */
:root {
  --black:      #000000;
  --black-900:  #0A0A0C;
  --black-800:  #141418;
  --black-700:  #1F1F25;
  --black-600:  #2A2A32;
  --yellow:     #FCFF69;
  --yellow-h:   #E8EB54;
  --yellow-tint: #FBFFC4;
  --green:      #059669;
  --green-500:  #10B981;
  --green-100:  #D1FAE5;
  --amber-100:  #FEF3C7;
  --amber:      #D97706;
  --gray-50:    #F8F9FA;
  --gray-100:   #EEEFF2;
  --gray-200:   #DEDFE4;
  --gray-300:   #C1C3CB;
  --gray-400:   #9DA0AA;
  --gray-500:   #6E717B;
  --gray-600:   #4B4D55;
  --gray-700:   #353639;
  --gray-800:   #1F2021;
  --gray-900:   #0E0E10;
  --white:      #FFFFFF;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --nav-h:      68px;
  --r:          8px;
  --r-lg:       12px;
  --r-xl:       16px;
  --r-2xl:      20px;
  --shadow:     0 4px 6px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 10px 20px rgba(0,0,0,.09), 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --shadow-xl:  0 28px 56px rgba(0,0,0,.16);
  --t:          .18s ease;
  --t-s:        .28s ease;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
p  { font-size: .975rem; color: var(--gray-500); line-height: 1.72; }
.lead { font-size: 1.15rem; line-height: 1.65; }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--gray-400); }
.text-yellow { color: var(--yellow); }
.text-green  { color: var(--green); }
.text-center { text-align: center; }

/* --- Layout ----------------------------------------------- */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide   { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.grid-2   { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }
.flex         { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-col     { display: flex; flex-direction: column; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.055);
  transition: background var(--t-s), box-shadow var(--t-s);
}
.nav.scrolled {
  background: var(--black);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.logo-mark svg { width: 26px; height: 26px; display: block; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  letter-spacing: -.04em; line-height: 1;
}
.logo-mark { color: var(--yellow); flex-shrink: 0; }

/* SVG Icon system — default is BLACK on light bg, YELLOW on dark bg */
svg.icon { width: 22px; height: 22px; stroke-width: 1.8; }
.dd-icon svg, .pc-icon svg, .card-icon svg, .aw-icon svg { width: 20px; height: 20px; }
.dd-icon { color: var(--black); }
.dd-icon.green { color: var(--green); }
.dd-icon.amber { color: var(--amber); }
.dd-icon.purple { color: var(--black); }
.card-icon { color: var(--black); }
.card-icon.green { color: var(--green); }
.card-icon.amber { color: var(--amber); }
.card-icon.purple { color: var(--black); }
.card-icon.slate { color: var(--gray-600); }
.pc-icon { color: var(--black); }
.aw-icon.green { color: var(--green); }
.aw-icon.blue { color: var(--black); }
.aw-icon.amber { color: var(--amber); }
.ac-top-icon svg { width: 34px; height: 34px; color: var(--white); stroke-width: 1.6; }
.badge svg { width: 14px; height: 14px; stroke-width: 2; }
.dl-icon svg { width: 16px; height: 16px; color: var(--gray-600); }
.ph-tag svg { width: 13px; height: 13px; stroke-width: 2; }
.vc-event-icon svg { width: 14px; height: 14px; color: rgba(255,255,255,.7); stroke-width: 2; }
.proc-icon svg { width: 24px; height: 24px; color: var(--yellow); stroke-width: 1.6; }
.trust-check svg { width: 11px; height: 11px; stroke-width: 3; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item  { position: relative; }
.nav-link  {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 11px; border-radius: 6px;
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.68);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.075);
}
.nav-link .chev {
  font-size: .6rem; opacity: .65;
  transition: transform var(--t);
  display: inline-block;
}
.nav-item:hover .chev { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-mobile-btn {
  display: none; flex-direction: column; gap: 4.5px;
  padding: 8px; cursor: pointer;
}
.nav-mobile-btn span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.75); border-radius: 2px;
  transition: all var(--t-s);
}
.nav-mobile-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-btn.open span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: 100%; left: -14px;
  margin-top: 12px;
  transform: translateY(-6px);
  min-width: 680px; max-width: calc(100vw - 48px);
  background: var(--white);
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-s), transform var(--t-s), visibility var(--t-s);
}
.dropdown-menu::before {
  content: ''; position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateY(0);
}
.dropdown-menu.sm { min-width: 260px; left: auto; right: -14px; }
.dropdown-inner { padding: 24px; }
.dd-header {
  font-size: .7rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 13px; border-radius: var(--r);
  transition: background var(--t);
}
.dd-item:hover { background: var(--gray-50); }
.dd-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
  background: var(--gray-100);
}
.dd-icon.green { background: var(--green-100); }
.dd-icon.amber { background: var(--amber-100); }
.dd-icon.purple { background: #EDE9FE; }
.dd-title { font-size: .845rem; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.dd-desc  { font-size: .73rem; color: var(--gray-500); line-height: 1.4; }
.dd-footer {
  padding-top: 12px; margin-top: 10px;
  border-top: 1px solid var(--gray-100);
}
.dd-footer a {
  font-size: .82rem; font-weight: 600; color: var(--black);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap var(--t);
}
.dd-footer a:hover { gap: 8px; }
.dd-list { padding: 8px; }
.dd-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r);
  font-size: .875rem; font-weight: 500; color: var(--gray-700);
  transition: background var(--t), color var(--t);
}
.dd-list a:hover { background: var(--gray-50); color: var(--gray-900); }
.dd-list .dl-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 899;
  overflow-y: auto; padding: 24px 20px 40px;
}
.mobile-nav.open { display: block; }
.mobile-nav-section { margin-bottom: 28px; }
.mn-label {
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 8px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav a {
  display: block; padding: 10px 0;
  font-size: .95rem; font-weight: 500;
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r);
  font-size: .875rem; font-weight: 600;
  transition: all var(--t); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--yellow); color: var(--black);
}
.btn-primary:hover {
  background: var(--yellow-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252,255,105,.45);
}
.btn-secondary {
  background: rgba(255,255,255,.09);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-300); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 15px; font-size: .8rem; border-radius: 6px; }

/* --- Hero -------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 108px;
  background: var(--black);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -5%, rgba(252,255,105,.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(16,185,129,.06) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 20px;
  background: rgba(252,255,105,.14);
  border: 1px solid rgba(252,255,105,.3);
  font-size: .72rem; font-weight: 700;
  color: var(--yellow); letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  font-size: 1.12rem; color: rgba(255,255,255,.6);
  max-width: 560px; margin-bottom: 38px; line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(16,185,129,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: var(--green-500); font-weight: 700;
}
.trust-text { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.5); }
.trust-text strong { color: rgba(255,255,255,.82); font-weight: 600; }

/* Hero Visual — Verification Card */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.verification-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 24px;
  width: 100%; max-width: 400px;
  backdrop-filter: blur(8px);
}
.vc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.vc-title { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.45); }
.vc-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 12px;
  font-size: .7rem; font-weight: 700;
}
.vc-status.live {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  color: #34D399;
}
.vc-status.live::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #34D399;
  animation: pulse 1.5s ease infinite;
}
.vc-applicant {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  padding: 14px; background: rgba(255,255,255,.04);
  border-radius: 10px; border: 1px solid rgba(255,255,255,.07);
}
.vc-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--yellow); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.vc-name { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88); }
.vc-role { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 2px; }
.vc-timeline { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.vc-event {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
}
.vc-event.done { background: rgba(16,185,129,.08); }
.vc-event.active { background: rgba(252,255,105,.1); }
.vc-event.queued { opacity: .45; }
.vc-event-icon { font-size: 15px; flex-shrink: 0; }
.vc-event-text { font-size: .78rem; color: rgba(255,255,255,.7); flex: 1; }
.vc-event-tag {
  font-size: .67rem; font-weight: 700; padding: 2px 7px; border-radius: 8px;
}
.vc-event-tag.done  { background: rgba(16,185,129,.2); color: #34D399; }
.vc-event-tag.live  { background: rgba(252,255,105,.3); color: var(--yellow); }
.vc-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07);
}
.vc-metric { text-align: center; }
.vc-metric-val { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.vc-metric-lbl { font-size: .65rem; color: rgba(255,255,255,.38); margin-top: 2px; }

/* Page hero (interior) */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  background: var(--black);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 55% -15%, rgba(252,255,105,.16) 0%, transparent 65%);
}
.page-hero .relative { position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  font-size: .78rem; color: rgba(255,255,255,.38);
}
.breadcrumb a { color: rgba(255,255,255,.38); transition: color var(--t); }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.breadcrumb span { opacity: .45; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero .page-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.58);
  max-width: 540px; margin-bottom: 32px; line-height: 1.7;
}
.page-hero .hero-actions { flex-wrap: wrap; }
.ph-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(252,255,105,.14);
  border: 1px solid rgba(252,255,105,.28);
  font-size: .7rem; font-weight: 700;
  color: var(--yellow); letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 18px;
}

/* --- Stats Bar -------------------------------------------- */
.stats-bar { background: var(--black); padding: 64px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.stat-item { text-align: center; padding: 8px 4px; }
/* One size for every character inside .stat-num — visually balanced across all stats */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700; color: var(--yellow);
  letter-spacing: -.04em; line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
}
.stat-lbl {
  font-size: .74rem; color: rgba(255,255,255,.55);
  font-weight: 500; line-height: 1.4;
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* --- Section Header --------------------------------------- */
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); max-width: 520px; }
.section-header.center p { margin: 0 auto; }

/* --- Cards ------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.card-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 18px;
}
.card-icon.green  { background: var(--green-100); }
.card-icon.purple { background: var(--gray-100); }
.card-icon.amber  { background: var(--amber-100); }
.card-icon.slate  { background: var(--gray-100); }
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 9px; color: var(--gray-900); }
.card p  { font-size: .88rem; color: var(--gray-500); line-height: 1.62; margin: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .84rem; font-weight: 600; color: var(--black);
  transition: gap var(--t);
}
.card-link:hover { gap: 9px; }

/* Product card */
.product-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 26px;
  transition: all var(--t); display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md); border-color: var(--black);
  transform: translateY(-2px);
}
.pc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.product-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: 7px; color: var(--gray-900); }
.product-card p  { font-size: .83rem; color: var(--gray-500); line-height: 1.55; flex: 1; }
.pc-footer {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.pc-link { font-size: .8rem; font-weight: 600; color: var(--black); }

/* --- How It Works (steps) --------------------------------- */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; position: relative;
}
.step:not(:last-child)::before {
  content: ''; position: absolute;
  left: 22px; top: 72px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gray-200), transparent);
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  font-size: .95rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px var(--white), 0 0 0 6px rgba(0,0,0,.08);
}
.step-body { padding-top: 10px; }
.step-body h4 { font-size: 1.04rem; font-weight: 700; margin-bottom: 7px; color: var(--gray-900); }
.step-body p  { font-size: .91rem; color: var(--gray-500); max-width: 460px; }

/* --- Process (horizontal icons) --------------------------- */
.process-row {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 8px; position: relative;
}
.process-row::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 2px;
  background: var(--black);
  z-index: 0;
}
.proc-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 8px; position: relative; z-index: 1;
}
.proc-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px rgba(0,0,0,.08);
}
.proc-step h4 { font-size: .82rem; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.proc-step p  { font-size: .74rem; color: var(--gray-500); line-height: 1.5; }

/* --- Split section ---------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-copy .section-label { margin-bottom: 10px; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy p  { margin-bottom: 24px; font-size: 1.02rem; }
.split-visual {
  background: var(--gray-50); border-radius: var(--r-2xl);
  padding: 36px; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.split-visual.dark { background: var(--black-700); border-color: rgba(255,255,255,.07); }

/* Audit trail widget */
.audit-widget {
  background: var(--white); border-radius: 12px;
  padding: 20px; box-shadow: var(--shadow-lg); width: 100%;
  max-width: 340px;
}
.aw-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--gray-400); margin-bottom: 14px;
}
.aw-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--gray-100);
}
.aw-item:last-child { border-bottom: none; }
.aw-icon {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.aw-icon.green  { background: var(--green-100); }
.aw-icon.blue   { background: var(--gray-100); }
.aw-icon.amber  { background: var(--amber-100); }
.aw-text { flex: 1; font-size: .78rem; font-weight: 500; color: var(--gray-700); }
.aw-badge {
  font-size: .66rem; font-weight: 700; padding: 2px 8px;
  border-radius: 10px;
}
.aw-badge.done    { background: var(--green-100); color: var(--green); }
.aw-badge.pending { background: var(--amber-100); color: var(--amber); }
.aw-time { font-size: .68rem; color: var(--gray-400); }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 11px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; }
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.check-item p { font-size: .94rem; color: var(--gray-600); margin: 0; }
.check-item p strong { color: var(--gray-900); font-weight: 600; }

/* --- Who We Serve cards ----------------------------------- */
.audience-card {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1.5px solid var(--gray-200); transition: all var(--t);
  display: flex; flex-direction: column; height: 100%;
}
.audience-card:hover {
  border-color: var(--black); box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.ac-top {
  padding: 32px; background: var(--black);
  position: relative; overflow: hidden;
}
.ac-top::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(252,255,105,.18) 0%, transparent 70%);
}
.ac-top-icon {
  font-size: 2.2rem; margin-bottom: 14px; position: relative; z-index: 1;
}
.ac-top h3 {
  font-size: 1.2rem; font-weight: 800; color: var(--white);
  margin-bottom: 8px; position: relative; z-index: 1;
}
.ac-top p {
  font-size: .85rem; color: rgba(255,255,255,.55);
  line-height: 1.6; margin: 0; position: relative; z-index: 1;
}
.audience-card > .ac-top { flex-shrink: 0; }
.ac-bottom {
  padding: 24px; flex: 1 1 auto; background: var(--white);
  display: flex; flex-direction: column;
}
.ac-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1 1 auto; }
.ac-bottom > .btn { margin-top: auto; }
.ac-feature { display: flex; align-items: flex-start; gap: 9px; font-size: .85rem; color: var(--gray-600); line-height: 1.45; }
.ac-feature::before { content: '✓'; color: var(--green); font-weight: 700; font-size: .82rem; flex-shrink: 0; margin-top: 1px; }

/* --- Pricing ---------------------------------------------- */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-xl); padding: 36px;
  transition: all var(--t); position: relative;
}
.pricing-card.featured { border-color: var(--black); }
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--black);
  font-size: .68rem; font-weight: 700; padding: 4px 13px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .06em;
}
.pricing-tier {
  font-size: .75rem; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px;
}
.pricing-price {
  font-size: 3.2rem; font-weight: 900; color: var(--gray-900);
  letter-spacing: -.04em; line-height: 1; margin-bottom: 4px;
}
.pricing-price .sym { font-size: 1.3rem; vertical-align: super; font-weight: 700; color: var(--gray-600); }
.pricing-price .per { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.pricing-note { font-size: .84rem; color: var(--gray-500); margin-bottom: 24px; line-height: 1.5; }
.pricing-hr { height: 1px; background: var(--gray-200); margin: 22px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-feat {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .88rem; color: var(--gray-600);
}
.pricing-feat::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* --- Comparison table ------------------------------------- */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.compare-table th {
  background: var(--gray-50); padding: 14px 18px;
  font-size: .75rem; font-weight: 700; color: var(--gray-600);
  text-transform: uppercase; letter-spacing: .06em;
  text-align: left; border-bottom: 2px solid var(--gray-200);
}
.compare-table th.hi { background: var(--black); color: var(--yellow); }
.compare-table td { padding: 14px 18px; font-size: .88rem; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.compare-table td.hi { background: rgba(252,255,105,.03); }
.compare-table tr:last-child td { border-bottom: none; }
.cmp-yes   { color: var(--green); font-weight: 700; }
.cmp-no    { color: #EF4444; }
.cmp-maybe { color: var(--amber); }

/* --- Quote ------------------------------------------------ */
.quote-card {
  background: var(--gray-50); border-radius: var(--r-xl); padding: 32px;
  border-left: 4px solid var(--black);
}
.quote-text {
  font-size: 1.05rem; color: var(--gray-700); font-style: italic;
  line-height: 1.72; margin-bottom: 20px;
}
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.quote-name  { font-size: .9rem; font-weight: 700; color: var(--gray-900); }
.quote-role  { font-size: .78rem; color: var(--gray-500); }

/* --- Inline metric ---------------------------------------- */
.metric-box {
  background: var(--yellow-tint); border: 1px solid rgba(252,255,105,.5);
  border-radius: 12px; padding: 20px 26px;
  display: inline-flex; flex-direction: column; align-items: center; text-align: center;
}
.metric-box .val {
  font-size: 2.2rem; font-weight: 900;
  color: var(--black); letter-spacing: -.04em; line-height: 1;
}
.metric-box .lbl { font-size: .73rem; color: var(--gray-500); margin-top: 4px; }

/* --- Badges ----------------------------------------------- */
.badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.65);
}
.badge .yc {
  width: 18px; height: 18px; border-radius: 4px;
  background: #FF6600;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; color: var(--white);
}

/* --- Pills / Tags ----------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 600;
}
.pill-blue   { background: var(--black); color: var(--yellow); }
.pill-green  { background: var(--green-100); color: var(--green); }
.pill-gray   { background: var(--gray-100); color: var(--gray-600); }
.pill-amber  { background: var(--amber-100); color: var(--amber); }

/* --- CTA section ------------------------------------------ */
.cta-section {
  background: var(--black); padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(252,255,105,.14) 0%, transparent 70%);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 14px; }
.cta-inner p {
  color: rgba(255,255,255,.58); font-size: 1.1rem;
  margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* --- Form ------------------------------------------------- */
.form-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-xl); padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label { font-size: .83rem; font-weight: 600; color: var(--gray-700); }
.form-input, .form-select, .form-textarea {
  padding: 11px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--r); font-size: .9rem; color: var(--gray-900);
  outline: none; width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
  background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(252,255,105,.35);
}
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #DC2626;
}
.form-input.is-invalid:focus, .form-select.is-invalid:focus, .form-textarea.is-invalid:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.form-error {
  display: flex; align-items: center; gap: 6px;
  margin-top: 7px;
  font-size: .82rem; font-weight: 500; color: #DC2626;
  line-height: 1.4;
}
.form-error[hidden] { display: none; }
.form-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 38px;
}
.form-textarea { resize: vertical; min-height: 100px; }

/* --- Footer ----------------------------------------------- */
.footer { background: var(--black); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p {
  font-size: .83rem; color: rgba(255,255,255,.42);
  margin-top: 12px; max-width: 220px; line-height: 1.65;
}
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer-col h5 {
  font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.42);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: .83rem;
  color: rgba(255,255,255,.48); margin-bottom: 9px;
  transition: color var(--t);
}
.footer-col a:hover { color: rgba(255,255,255,.82); }
.footer-bottom {
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.28); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* --- Dark section variant --------------------------------- */
.section-dark { background: var(--black); }
.section-dark .section-label { color: var(--yellow); }
.section-dark h2 { color: var(--white); }
.section-dark > .container > p,
.section-dark .section-header p { color: rgba(255,255,255,.55); }
.section-dark .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.section-dark .card h3 { color: var(--white); }
.section-dark .card p  { color: rgba(255,255,255,.5); }

/* --- Animated horizontal how-it-works flow ----------------- */
.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 0 8px;
}
/* The thin horizontal track connecting steps */
.flow-row::before {
  content: '';
  position: absolute;
  top: 30px; left: 10%; right: 10%; height: 2px;
  background: var(--gray-200);
  z-index: 0;
  border-radius: 2px;
}
/* Yellow progress fill that sweeps across the track */
.flow-row::after {
  content: '';
  position: absolute;
  top: 30px; left: 10%; height: 2px;
  background: var(--yellow);
  z-index: 1;
  border-radius: 2px;
  animation: flowProgress 12s linear infinite;
  box-shadow: 0 0 10px rgba(252,255,105,.45);
}
@keyframes flowProgress {
  0%   { width: 0%; }
  95%  { width: 80%; }  /* 80% = the full span between first and last step, since left:10% right:10% */
  100% { width: 80%; opacity: 0; }
}

.flow-step {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 4px;
}
.flow-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white);
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.flow-step h4 {
  font-size: .88rem; font-weight: 700; color: var(--gray-900);
  letter-spacing: -.01em;
  margin-bottom: 6px;
  transition: color .3s ease;
}
.flow-step p {
  font-size: .78rem; line-height: 1.5; color: var(--gray-500);
  margin: 0;
  max-width: 180px;
}

/* Active-state driven by individual keyframe animations (staggered timing) */
.flow-step .flow-num,
.flow-step h4 { animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }

/* Each step's number circle pulses yellow during its active window within a 12s loop.
   Windows: step1 0-16%, step2 20-36%, step3 40-56%, step4 60-76%, step5 80-96%. */
.flow-step:nth-child(1) .flow-num { animation-name: numActive1; }
.flow-step:nth-child(2) .flow-num { animation-name: numActive2; }
.flow-step:nth-child(3) .flow-num { animation-name: numActive3; }
.flow-step:nth-child(4) .flow-num { animation-name: numActive4; }
.flow-step:nth-child(5) .flow-num { animation-name: numActive5; }
.flow-step:nth-child(1) h4 { animation-name: titleActive1; }
.flow-step:nth-child(2) h4 { animation-name: titleActive2; }
.flow-step:nth-child(3) h4 { animation-name: titleActive3; }
.flow-step:nth-child(4) h4 { animation-name: titleActive4; }
.flow-step:nth-child(5) h4 { animation-name: titleActive5; }

/* The yellow "active" look for the number circle */
@keyframes numActive1 { 0%, 0.5% { background:var(--white);color:var(--gray-500);border-color:var(--gray-200);transform:scale(1);box-shadow:none; } 4%, 14% { background:var(--yellow);color:var(--black);border-color:var(--yellow);transform:scale(1.12);box-shadow:0 8px 24px rgba(252,255,105,.4); } 18%, 100% { background:var(--gray-900);color:var(--yellow);border-color:var(--gray-900);transform:scale(1);box-shadow:none; } }
@keyframes numActive2 { 0%, 20% { background:var(--white);color:var(--gray-500);border-color:var(--gray-200);transform:scale(1);box-shadow:none; } 24%, 34% { background:var(--yellow);color:var(--black);border-color:var(--yellow);transform:scale(1.12);box-shadow:0 8px 24px rgba(252,255,105,.4); } 38%, 100% { background:var(--gray-900);color:var(--yellow);border-color:var(--gray-900);transform:scale(1);box-shadow:none; } }
@keyframes numActive3 { 0%, 40% { background:var(--white);color:var(--gray-500);border-color:var(--gray-200);transform:scale(1);box-shadow:none; } 44%, 54% { background:var(--yellow);color:var(--black);border-color:var(--yellow);transform:scale(1.12);box-shadow:0 8px 24px rgba(252,255,105,.4); } 58%, 100% { background:var(--gray-900);color:var(--yellow);border-color:var(--gray-900);transform:scale(1);box-shadow:none; } }
@keyframes numActive4 { 0%, 60% { background:var(--white);color:var(--gray-500);border-color:var(--gray-200);transform:scale(1);box-shadow:none; } 64%, 74% { background:var(--yellow);color:var(--black);border-color:var(--yellow);transform:scale(1.12);box-shadow:0 8px 24px rgba(252,255,105,.4); } 78%, 100% { background:var(--gray-900);color:var(--yellow);border-color:var(--gray-900);transform:scale(1);box-shadow:none; } }
@keyframes numActive5 { 0%, 80% { background:var(--white);color:var(--gray-500);border-color:var(--gray-200);transform:scale(1);box-shadow:none; } 84%, 94% { background:var(--yellow);color:var(--black);border-color:var(--yellow);transform:scale(1.12);box-shadow:0 8px 24px rgba(252,255,105,.4); } 100% { background:var(--gray-900);color:var(--yellow);border-color:var(--gray-900);transform:scale(1);box-shadow:none; } }

/* Title gets slightly darker / bolder during active window (subtle) */
@keyframes titleActive1 { 0%, 3%   { color:var(--gray-500); } 5%, 14%  { color:var(--gray-900); } 18%, 100% { color:var(--gray-700); } }
@keyframes titleActive2 { 0%, 23%  { color:var(--gray-500); } 25%, 34% { color:var(--gray-900); } 38%, 100% { color:var(--gray-700); } }
@keyframes titleActive3 { 0%, 43%  { color:var(--gray-500); } 45%, 54% { color:var(--gray-900); } 58%, 100% { color:var(--gray-700); } }
@keyframes titleActive4 { 0%, 63%  { color:var(--gray-500); } 65%, 74% { color:var(--gray-900); } 78%, 100% { color:var(--gray-700); } }
@keyframes titleActive5 { 0%, 83%  { color:var(--gray-500); } 85%, 94% { color:var(--gray-900); } 100%     { color:var(--gray-700); } }

@media (max-width: 768px) {
  .flow-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .flow-row::before, .flow-row::after { display: none; }
  .flow-step { flex-direction: row; text-align: left; gap: 14px; padding: 0; }
  .flow-num { margin-bottom: 0; flex-shrink: 0; }
  .flow-step p { max-width: none; }
}

/* --- Benefit cards (dark, hero-like feel) ----------------- */
.benefits-section {
  background: var(--black);
  padding: 112px 0;
  position: relative; overflow: hidden;
}
.benefits-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%,  rgba(252,255,105,.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(252,255,105,.08) 0%, transparent 65%);
}
.benefits-section .container { position: relative; }
.benefits-intro { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.benefits-intro h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  margin-bottom: 14px;
}
.benefits-intro p {
  color: rgba(255,255,255,.6);
  font-size: 1.08rem;
}
.benefit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 40px 36px;
  transition: border-color var(--t-s), background var(--t-s), transform var(--t-s);
  position: relative;
}
.benefit-card:hover {
  border-color: rgba(252,255,105,.3);
  background: rgba(255,255,255,.055);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(252,255,105,.12);
  border: 1px solid rgba(252,255,105,.25);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.benefit-icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.15; font-weight: 700; letter-spacing: -.022em;
  color: var(--white);
  margin-bottom: 14px;
}
.benefit-card p {
  font-size: 1rem; line-height: 1.6;
  color: rgba(255,255,255,.65);
  margin: 0;
}
@media (max-width: 640px) {
  .benefits-section { padding: 72px 0; }
  .benefit-card { padding: 32px 26px; }
}

/* --- Blog --------------------------------------------------- */
.blog-hero h1 { font-size: clamp(2.5rem, 5vw, 3.6rem); margin-bottom: 14px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
}
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--t);
  text-decoration: none; color: inherit;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.post-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}
.post-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-s);
}
.post-card:hover .post-card-thumb img { transform: scale(1.03); }
.post-card-thumb.placeholder {
  background: var(--black); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  letter-spacing: -.03em;
}
.post-card-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  font-size: .72rem; font-weight: 700; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.post-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; line-height: 1.25; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 12px; color: var(--gray-900);
}
.post-card-body p {
  font-size: .92rem; color: var(--gray-600); line-height: 1.6;
  flex: 1; margin: 0;
}
.post-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .85rem; font-weight: 600; color: var(--black);
  transition: gap var(--t);
}
.post-card:hover .post-card-link { gap: 9px; }

/* Article / individual blog post layout */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 40px;
}
.article-header .article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--gray-500);
  margin-bottom: 24px; transition: color var(--t);
}
.article-header .article-back:hover { color: var(--black); }
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15; letter-spacing: -.03em;
  margin-bottom: 18px; color: var(--gray-900);
}
.article-subhead {
  font-size: 1.15rem; line-height: 1.6; color: var(--gray-600);
  margin-bottom: 22px;
}
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: var(--gray-500);
}
.article-meta .pill-gray { font-weight: 600; }
.article-body {
  font-size: 1.05rem; line-height: 1.75; color: var(--gray-800);
  padding-bottom: 64px;
}
.article-body > *:first-child { margin-top: 0; }
.article-body h1 {
  /* Suppress any body H1 since we already render the title up top */
  display: none;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem; line-height: 1.2; letter-spacing: -.02em;
  font-weight: 700; color: var(--gray-900);
  margin: 52px 0 16px;
}
.article-body h3 {
  font-size: 1.25rem; line-height: 1.3; font-weight: 700;
  color: var(--gray-900); margin: 36px 0 12px;
  letter-spacing: -.01em;
}
.article-body p { margin: 0 0 20px; color: var(--gray-800); }
.article-body p:last-child { margin-bottom: 0; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; color: var(--gray-800); }
.article-body li::marker { color: var(--gray-500); }
.article-body strong { color: var(--gray-900); font-weight: 600; }
.article-body a {
  color: var(--black); text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: text-decoration-color var(--t);
}
.article-body a:hover { text-decoration-color: var(--black); }
.article-body blockquote {
  margin: 28px 0; padding: 14px 22px;
  border-left: 4px solid var(--black);
  background: var(--gray-50);
  font-style: italic; color: var(--gray-700);
  border-radius: 0 var(--r) var(--r) 0;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body figure { margin: 32px 0; }
.article-body figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--gray-200);
}
.article-body figcaption {
  margin-top: 10px; font-size: .85rem; color: var(--gray-500);
  text-align: center; font-style: italic;
}
.article-body hr {
  border: none; border-top: 1px solid var(--gray-200);
  margin: 40px 0;
}

/* --- Animated AI Agent Widget ----------------------------- */
.agent-widget {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 22px;
  width: 100%;
  max-width: 460px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(252,255,105,.04) inset;
  position: relative;
}
.agent-widget::after {
  content: ''; position: absolute; inset: -1px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(252,255,105,.22), transparent 40%);
  pointer-events: none; z-index: -1;
}
.aw-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.aw-agent { display: flex; align-items: center; gap: 10px; }
.aw-agent-avatar {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .82rem;
  box-shadow: 0 0 0 0 rgba(252,255,105,.55);
  animation: avaPulse 2.2s ease infinite;
}
@keyframes avaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252,255,105,.55); }
  50%      { box-shadow: 0 0 0 8px rgba(252,255,105,0); }
}
.aw-agent-meta { display: flex; flex-direction: column; gap: 1px; }
.aw-agent-name { font-size: .88rem; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.aw-agent-role {
  font-size: .68rem; color: rgba(255,255,255,.5);
  display: inline-flex; align-items: center; gap: 5px;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
}
.aw-agent-role .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
  animation: liveBlink 1.2s ease infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
.aw-status-pill {
  font-size: .66rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(252,255,105,.12); color: var(--yellow);
  border: 1px solid rgba(252,255,105,.3);
}
.aw-order {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; margin-bottom: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
}
.aw-order-avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.aw-order-meta { flex: 1; min-width: 0; }
.aw-order-name { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); }
.aw-order-sub  { font-size: .68rem; color: rgba(255,255,255,.4); margin-top: 1px; }
.aw-order-num  { font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.35); font-family: 'Courier New', monospace; }

.aw-channels {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  margin-bottom: 14px;
}
.aw-channel {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.55);
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.aw-channel svg { width: 13px; height: 13px; opacity: .7; }
.aw-channel.c1 { animation: channelFire 16s ease infinite; animation-delay: 2.5s; }
.aw-channel.c2 { animation: channelFire 16s ease infinite; animation-delay: 2.7s; }
.aw-channel.c3 { animation: channelFire 16s ease infinite; animation-delay: 2.9s; }
@keyframes channelFire {
  0%, 14% {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.07);
    color: rgba(255,255,255,.55);
  }
  18%, 85% {
    background: rgba(252,255,105,.1);
    border-color: rgba(252,255,105,.35);
    color: var(--yellow);
  }
  92%, 100% {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.07);
    color: rgba(255,255,255,.55);
  }
}

.aw-feed { display: flex; flex-direction: column; gap: 6px; min-height: 220px; }
.aw-event {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(6px);
}
.aw-event .ev-icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aw-event .ev-icon svg { width: 12px; height: 12px; stroke-width: 2.2; }
.aw-event .ev-icon.yellow { background: rgba(252,255,105,.15); color: var(--yellow); }
.aw-event .ev-icon.green  { background: rgba(16,185,129,.18); color: #34D399; }
.aw-event .ev-icon.neutral{ background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.aw-event .ev-text { flex: 1; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.82); min-width: 0; }
.aw-event .ev-text .typing::after {
  content: '●●●'; letter-spacing: 2px; margin-left: 3px;
  animation: dots 1.2s steps(4, end) infinite;
  color: rgba(255,255,255,.45);
}
@keyframes dots {
  0%   { content: '●'; }
  33%  { content: '●●'; }
  66%  { content: '●●●'; }
  100% { content: '●'; }
}
.aw-event .ev-tag {
  font-size: .62rem; font-weight: 700;
  padding: 2px 7px; border-radius: 10px;
  letter-spacing: .04em; text-transform: uppercase;
  flex-shrink: 0;
}
.aw-event .ev-tag.live { background: rgba(252,255,105,.2); color: var(--yellow); }
.aw-event .ev-tag.done { background: rgba(16,185,129,.2); color: #34D399; }
.aw-event .ev-tag.sent { background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); }

/* Each event appears at a specific moment in a 16-second loop.
   All share the same duration/timing so they stay in sync. */
.aw-event.e1 { animation: evShow1 16s ease infinite; }
.aw-event.e2 { animation: evShow2 16s ease infinite; }
.aw-event.e3 { animation: evShow3 16s ease infinite; }
.aw-event.e4 { animation: evShow4 16s ease infinite; }
.aw-event.e5 { animation: evShow5 16s ease infinite; }
.aw-event.e6 { animation: evShow6 16s ease infinite; }
.aw-event.e7 { animation: evShow7 16s ease infinite; }

/* Each keyframe defines: hidden pre-appearance, appear, hold, fade out at end of loop */
@keyframes evShow1 { 0%,3%{opacity:0;transform:translateY(6px);} 7%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow2 { 0%,15%{opacity:0;transform:translateY(6px);} 19%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow3 { 0%,16%{opacity:0;transform:translateY(6px);} 20%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow4 { 0%,17%{opacity:0;transform:translateY(6px);} 21%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow5 { 0%,40%{opacity:0;transform:translateY(6px);} 44%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow6 { 0%,55%{opacity:0;transform:translateY(6px);} 59%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }
@keyframes evShow7 { 0%,72%{opacity:0;transform:translateY(6px);} 76%,90%{opacity:1;transform:translateY(0);} 96%,100%{opacity:0;} }

.aw-footer {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: rgba(255,255,255,.45);
}
.aw-footer strong { color: rgba(255,255,255,.85); font-weight: 700; }

/* --- Misc ------------------------------------------------- */
.bg-gray  { background: var(--gray-50); }
.bg-white { background: var(--white); }
.divider  { height: 1px; background: var(--gray-200); margin: 40px 0; }
.rounded  { border-radius: var(--r); }
.rounded-lg{ border-radius: var(--r-lg); }
.shadow   { box-shadow: var(--shadow); }
.shadow-md{ box-shadow: var(--shadow-md); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .process-row { grid-template-columns: repeat(3,1fr); }
  .process-row::before { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-right .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.75rem; }
  .pricing-card { padding: 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .process-row { grid-template-columns: 1fr; }
  .stats-grid .stat-item::after { display: none; }
}
