/* Qiyadon -- Ledger design system (2026-07-22 genesis rebuild) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy-950: #0A0F1C;
  --navy-900: #10182B;
  --navy-800: #1A2438;
  --surface-dark: #141C30;
  --border-dark: rgba(255,255,255,0.09);
  --emerald: #10B981;
  --emerald-dark: #0B8F63;
  --emerald-soft: rgba(16,185,129,0.14);
  --amber: #F5A524;
  --blue: #3B82F6;
  --blue-soft: rgba(59,130,246,0.14);
  --white: #FFFFFF;
  --slate-50: #F7F9FC;
  --slate-100: #EEF1F6;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --container: 1180px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: inherit; }
h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 19px; }
p { color: inherit; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.centered { text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,28,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-shell {
  height: 76px; width: min(var(--container), calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--white); }
.brand .brand-mark { color: var(--emerald); }
.brand .brand-mark-img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--slate-400); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--white); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--white); }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-cta { justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 26px; height: 50px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
}
.btn-primary { background: var(--emerald); color: var(--navy-950); }
.btn-primary:hover { background: #14C78F; }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--border-dark); }
.btn-secondary:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-light { background: var(--slate-900); color: var(--white); }
.btn-light:hover { background: var(--navy-800); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-darker { background: var(--navy-900); color: var(--white); }
.section-light { background: var(--slate-50); color: var(--slate-900); }
.section-white { background: var(--white); color: var(--slate-900); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 7px 14px; margin-bottom: 20px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(16,185,129,0.28);
}
.section-dark .eyebrow, .section-darker .eyebrow { color: #34E4A8; }

.section-lede { font-size: 17px; color: var(--slate-500); max-width: 640px; }
.section-dark .section-lede, .section-darker .section-lede { color: var(--slate-400); }
.section-head { margin-bottom: 48px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: stretch; padding: 100px 0 96px; }
.hero-copy .section-lede { margin: 18px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--slate-400); }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px; background: radial-gradient(circle, var(--emerald-soft), transparent 70%); filter: blur(10px); z-index: 0; }

/* Product wordmark inside hero copy */
.hero-product-mark { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.hero-product-mark .mark-name { font-size: 16px; font-weight: 800; letter-spacing: 0.01em; color: var(--emerald); }
.hero-product-mark .mark-by { font-size: 12px; font-weight: 600; color: var(--slate-400); }

/* Hero visual: real image, or an explicit pending placeholder */
.hero-visual { position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.35); min-height: 420px; }
.hero-visual img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-visual-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface-dark); border: 1px dashed var(--border-dark);
  color: var(--slate-400); font-size: 13px; text-align: center; padding: 24px;
}
.hero-visual-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }

/* Media feature: repeatable two-column image+text block for detail pages */
.media-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; padding: 88px 0; }
.media-feature-section.reverse .media-visual { order: 2; }
.media-feature-section.reverse .media-copy { order: 1; }
.media-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.12); min-height: 340px; }
.media-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-visual-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--slate-50); border: 1px dashed var(--slate-200);
  color: var(--slate-400); font-size: 13px; text-align: center; padding: 24px;
}
.media-visual-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }
.media-copy { display: flex; flex-direction: column; justify-content: center; }
.media-copy h2 { margin-bottom: 14px; }
.media-copy .section-lede { max-width: none; }
@media (max-width: 860px) {
  .media-feature-grid { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .media-visual { min-height: 260px; }
}

/* Dashboard mockup visual (legacy -- no longer used by the hero, kept in
   case another section still references it) */
.dash-card { position: relative; z-index: 2; background: var(--surface-dark); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,0.35); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border-dark); }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-dot.r { background: #F87171; } .dash-dot.y { background: #FBBF24; } .dash-dot.g { background: #34D399; }
.dash-title { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--slate-400); }
.dash-body { padding: 24px; }
.dash-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald); margin-bottom: 12px; }
.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.dash-metric { background: var(--navy-900); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.dash-metric strong { display: block; font-size: 20px; font-weight: 800; color: var(--white); }
.dash-metric span { font-size: 11px; color: var(--slate-400); }
.dash-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-node { padding: 7px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; background: var(--emerald-soft); color: #34E4A8; }
.dash-arrow { color: var(--slate-400); font-size: 13px; }
.dash-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--slate-400); }
.dash-live { color: var(--emerald); }

/* ---------- Card grid / features ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-card);
}
.section-dark .feature-card, .section-darker .feature-card {
  background: var(--surface-dark); border-color: var(--border-dark); box-shadow: none;
}
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  background: var(--emerald-soft); color: var(--emerald); margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--slate-500); }
.section-dark .feature-card p, .section-darker .feature-card p { color: var(--slate-400); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { position: relative; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-950); color: var(--emerald);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
  margin-bottom: 18px; border: 1px solid var(--border-dark);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--slate-500); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 4px 24px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; color: var(--emerald); font-weight: 400; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { padding: 0 0 20px; color: var(--slate-500); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta .section-lede { margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.55fr max-content max-content; gap: 32px; padding-bottom: 40px; padding-right: 6px; }
.footer-brand { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 16px; }
.footer-col a, .footer-col span, .footer-col p { display: block; font-size: 13.5px; margin-bottom: 10px; color: var(--slate-400); }
.footer-col a:hover { color: var(--emerald); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: 12.5px; flex-wrap: wrap; gap: 10px; }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md);
  padding: 30px 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--emerald); position: relative; }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: var(--navy-950); font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: var(--radius-pill); letter-spacing: 0.04em; text-transform: uppercase;
}
.price-card h3 { margin-bottom: 6px; }
.price-truck-range { font-size: 12.5px; font-weight: 700; color: var(--emerald-dark); text-transform: uppercase; letter-spacing: 0.03em; }
.price-amount { font-size: 34px; font-weight: 800; color: var(--slate-900); margin: 10px 0 2px; }
.price-amount span { font-size: 14px; font-weight: 600; color: var(--slate-500); }
.price-annual-note { font-size: 12.5px; color: var(--slate-500); margin: 0 0 18px; }
.price-card ul { list-style: none; margin: 0 0 26px; flex: 1; }
.price-card li { position: relative; padding: 7px 0 7px 26px; font-size: 14.5px; color: var(--slate-700); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--emerald-soft); }
.price-card li::after { content: "\2713"; position: absolute; left: 3px; top: 8px; color: var(--emerald); font-size: 11px; font-weight: 800; }

/* ---------- Simple content pages (legal, contact) ---------- */
.content-page { padding: 72px 0 96px; }
.content-page h1 { font-size: 38px; margin-bottom: 12px; }
.content-page .page-lede { color: var(--slate-500); font-size: 15.5px; margin-bottom: 40px; }
.content-page h2 { font-size: 22px; margin: 36px 0 12px; }
.content-page p { color: var(--slate-700); font-size: 15px; margin-bottom: 14px; }
.content-page ul { margin: 0 0 14px 20px; color: var(--slate-700); font-size: 15px; }
.claim-template-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 32px; margin: 28px 0; }
.claim-template-card h3 { font-size: 17px; margin: 0 0 16px; }
.claim-template-card pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 13.5px; line-height: 1.7; color: var(--slate-700); background: var(--slate-50); border: 1px dashed var(--slate-200); border-radius: var(--radius-sm); padding: 20px; margin: 0; }
.claim-template-card .hint { font-size: 13px; color: var(--slate-500); margin-top: 14px; }
@media print { .site-header, .site-footer, .waitlist-modal-overlay { display: none !important; } }
.calc-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.calc-form label { font-size: 13.5px; font-weight: 700; color: var(--slate-700); }
.calc-form input { font-family: inherit; font-size: 15px; color: var(--slate-900); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 12px 14px; }
.calc-form .hint { font-size: 12.5px; color: var(--slate-500); }
.rate-chart { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; }
.rate-chart-row { display: flex; align-items: center; gap: 16px; }
.rate-chart-label { width: 190px; flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: var(--slate-700); }
.rate-chart-track { flex: 1; background: var(--slate-100); border-radius: var(--radius-pill); height: 32px; }
.rate-chart-bar { height: 100%; background: var(--emerald); border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; min-width: 56px; }
.rate-chart-value { font-size: 13px; font-weight: 800; color: var(--navy-950); }
@media (max-width: 640px) { .rate-chart-row { flex-direction: column; align-items: stretch; gap: 6px; } .rate-chart-label { width: auto; } }
.compare-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--slate-200); }
.compare-table th { background: var(--slate-50); font-weight: 800; color: var(--slate-900); font-size: 13px; white-space: nowrap; }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 700; color: var(--slate-700); white-space: nowrap; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.chargeguard-col, .compare-table th.chargeguard-col { background: var(--emerald-soft); }
.compare-sources { font-size: 12.5px; color: var(--slate-500); margin-top: 10px; }
.compare-sources a { color: var(--slate-500); text-decoration: underline; }
.compare-caveat { font-size: 13.5px; color: var(--slate-500); background: var(--slate-50); border: 1px dashed var(--slate-200); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-form { max-width: 620px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 18px; }
.contact-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 13.5px; font-weight: 700; color: var(--slate-700); }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 15px; color: var(--slate-900); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 12px 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.contact-form button[type="submit"] { align-self: flex-start; border: none; cursor: pointer; }
.contact-form .form-status { font-size: 14px; min-height: 20px; }
.contact-form .form-status.success { color: var(--emerald-dark); }
.contact-form .form-status.error { color: #B42318; }
.contact-form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; margin-top: 40px; }
.contact-form-grid .contact-form { max-width: none; margin: 0; }
.contact-form-aside { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 28px; margin-top: 27px; }
.contact-form-aside h3 { font-size: 17px; margin-bottom: 14px; }
.contact-form-aside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-form-aside li { font-size: 14.5px; color: var(--slate-700); line-height: 1.6; padding-left: 22px; position: relative; }
.contact-form-aside li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
@media (max-width: 860px) { .contact-form-grid { grid-template-columns: 1fr; } }
.waitlist-modal-overlay { position: fixed; inset: 0; background: rgba(10,15,28,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.waitlist-modal-overlay[hidden] { display: none; }
.waitlist-modal { background: var(--white); border-radius: var(--radius-lg); padding: 36px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.28); }
.waitlist-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--slate-400); padding: 4px 8px; }
.waitlist-modal-close:hover { color: var(--slate-900); }
.waitlist-modal h2 { font-size: 24px; margin-bottom: 8px; }
.waitlist-modal-sub { color: var(--slate-500); font-size: 14px; margin-bottom: 24px; }
.waitlist-modal form { display: flex; flex-direction: column; gap: 16px; }
.waitlist-modal .form-row { display: flex; flex-direction: column; gap: 6px; }
.waitlist-modal label { font-size: 13px; font-weight: 700; color: var(--slate-700); }
.waitlist-modal input, .waitlist-modal select, .waitlist-modal textarea { font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); color: var(--slate-900); background: var(--white); }
.waitlist-modal input:focus, .waitlist-modal select:focus, .waitlist-modal textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.waitlist-modal button[type="submit"] { border: none; cursor: pointer; margin-top: 4px; }
.waitlist-modal .form-status { font-size: 13.5px; min-height: 18px; }
.waitlist-modal .form-status.error { color: #B42318; }
body.waitlist-modal-open { overflow: hidden; }
@media (max-width: 500px) {
  .waitlist-modal { padding: 28px 22px; }
}
.contact-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-card); }
.contact-card h3 { margin-bottom: 8px; font-size: 16px; }
.contact-card a, .contact-card p { color: var(--slate-500); font-size: 14.5px; }
.contact-card a:hover { color: var(--emerald); }
.workflow-diagram { display: flex; align-items: stretch; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.workflow-step { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 26px 20px; box-shadow: var(--shadow-card); width: 230px; text-align: center; }
.workflow-step-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.workflow-step-icon svg { width: 26px; height: 26px; }
.workflow-step h3 { flex-shrink: 0; font-size: 16px; margin-bottom: 8px; }
.workflow-step p { flex-grow: 1; font-size: 13.5px; color: var(--slate-500); }
.workflow-arrow { align-self: center; color: var(--slate-400); font-size: 22px; padding: 0 2px; }
/* MOOSA_TRANSFORM_VISUAL_V6_CSS_ACTIVE_20260723: Ahmad's fourth-round
   request on the homepage visual -- bigger/richer icons matching the
   product-page mockup style, chaos loops spread across the whole canvas
   (varied sizes, a couple pulled back toward the center) instead of all
   clustered in the middle, and a traveling light-beam on every connector
   in both scenes that lights up the destination icon on arrival. Whole
   section stays transparent per Ahmad's original request -- no card/frame. */
.transform-visual { position: relative; max-width: 810px; height: 504px; margin: 40px auto 0; }
.transform-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.transform-scene.is-active { opacity: 1; }
.transform-scene svg.transform-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.transform-line { fill: none; stroke: var(--emerald); stroke-width: 0.35; opacity: 0; transition: opacity 0.7s ease; }
.transform-line-chaos { stroke: #94A3B8; }
.transform-scene.is-active .transform-line.is-in { opacity: 0.55; }
.transform-scene.is-active .transform-line-chaos.is-in { opacity: 0.4; }
.transform-beam { pointer-events: none; }
.transform-beam.order { fill: #34D399; filter: drop-shadow(0 0 3px rgba(52,211,153,0.9)); }
.transform-beam.chaos { fill: #F87171; filter: drop-shadow(0 0 3px rgba(248,113,113,0.9)); }
.transform-node { position: absolute; left: var(--tx); top: var(--ty); transform: translate(-50%, -50%) scale(0.6); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 130px; text-align: center; }
.transform-scene.is-active .transform-node.is-in {
  animation-name: transformPopIn, transformIdlePulse;
  animation-duration: 0.7s, 3.4s;
  animation-timing-function: cubic-bezier(.34,1.56,.64,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}
@keyframes transformPopIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes transformIdlePulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.035); } }
.transform-node-icon { width: 97px; height: auto; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(15,23,42,0.16)); transition: filter 0.25s ease; }
.transform-node-hub .transform-node-icon { width: 140px; height: auto; filter: drop-shadow(0 0 22px rgba(16,185,129,0.4)); }
.transform-node-label { font-size: 12px; font-weight: 700; color: var(--slate-900); line-height: 1.3; }
.transform-scene-chaos .transform-node.is-lit .transform-node-icon { filter: drop-shadow(0 0 26px rgba(239,68,68,0.85)) brightness(1.12); }
.transform-scene-order .transform-node.is-lit .transform-node-icon { filter: drop-shadow(0 0 26px rgba(16,185,129,0.85)) brightness(1.12); }
.transform-tag { position: absolute; left: var(--tx); top: var(--ty); transform: translate(-50%, -50%) scale(0.6); opacity: 0; background: #FEE2E2; color: #B91C1C; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid #FCA5A5; white-space: nowrap; }
.transform-scene.is-active .transform-tag.is-in { animation: transformPopIn 0.7s cubic-bezier(.34,1.56,.64,1) forwards; }
.transform-static-fallback { display: none; }
@media (prefers-reduced-motion: reduce), (max-width: 640px) {
  .transform-scene-chaos { display: none; }
  .transform-scene-order { position: static; opacity: 1; height: auto; padding: 20px 0; }
  .transform-scene-order .transform-node { position: static; transform: none; opacity: 1; display: inline-flex; margin: 14px 18px; animation: none !important; }
  .transform-scene-order .transform-lines { display: none; }
  .transform-beam { display: none; }
  .transform-visual { height: auto; display: flex; flex-wrap: wrap; justify-content: center; }
}

/* MOOSA_PROCESS_ANIMATION_V1_CSS_ACTIVE_20260723: product page "How the
   Autonomous Agent Works" -- two parallel tracks (Payables/Receivables),
   a flowing signal travels each connector in sequence, each stage lights
   up as the signal arrives, then the whole thing settles permanently on
   the completed state (no loop, unlike the homepage transform visual). */
.process-visual { max-width: 1100px; margin: 40px auto 0; }
.process-track { position: relative; margin-bottom: 48px; }
.process-track:last-child { margin-bottom: 0; }
.process-track-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.process-track-label.ap { color: var(--blue); }
.process-track-label.ar { color: var(--emerald); }
.process-nodes { display: flex; align-items: flex-start; }
.process-node { flex: 0 0 auto; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; opacity: 0.36; filter: grayscale(70%); transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s cubic-bezier(.34,1.56,.64,1); }
.process-node.is-active { opacity: 1; filter: none; transform: translateY(-4px); }
.process-node-icon { width: 118px; height: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(15,23,42,0.14)); }
.process-node-label { font-size: 13px; font-weight: 700; color: var(--slate-900); line-height: 1.3; }
.process-connector { flex: 1 1 auto; height: 2px; margin-top: 45px; background: linear-gradient(90deg, rgba(148,163,184,0.15), rgba(148,163,184,0.55), rgba(148,163,184,0.15)); }
.process-track[data-process-track="ap"] .process-connector { background: linear-gradient(90deg, rgba(59,130,246,0.12), rgba(59,130,246,0.55), rgba(59,130,246,0.12)); }
.process-track[data-process-track="ar"] .process-connector { background: linear-gradient(90deg, rgba(16,185,129,0.12), rgba(16,185,129,0.55), rgba(16,185,129,0.12)); }
.process-pulse { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; opacity: 0; pointer-events: none; }
.process-pulse.ap { background: var(--blue); box-shadow: 0 0 16px 5px rgba(59,130,246,0.65); }
.process-pulse.ar { background: var(--emerald); box-shadow: 0 0 16px 5px rgba(16,185,129,0.65); }
@media (prefers-reduced-motion: reduce), (max-width: 760px) {
  .process-node { opacity: 1; filter: none; transform: none; }
  .process-pulse { display: none; }
  .process-nodes { flex-direction: column; align-items: center; gap: 28px; }
  .process-connector { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-grid, .card-grid, .steps, .footer-grid, .pricing-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .workflow-diagram { flex-direction: column; align-items: center; }
  .workflow-step { width: 100%; max-width: 320px; }
  .workflow-arrow { transform: rotate(90deg); margin: 2px 0; }
}
