:root {
  --bg: #f7f9fd;
  --surface: #ffffff;
  --surface-soft: #f2f6fd;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e2e8f0;
  --primary: #2474e8;
  --primary-2: #65a2f3;
  --primary-dark: #1557b8;
  --navy: #0b1d3a;
  --success: #15956f;
  --teal: #65a2f3;
  --teal-soft: #edf5ff;
  --shadow: 0 24px 70px rgba(18, 38, 76, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,251,255,.90); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(226,232,240,.8); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .04em; color: white; background: linear-gradient(135deg, var(--primary), var(--teal)); box-shadow: 0 8px 20px rgba(20,87,230,.24); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 17px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 650; color: #405066; }
.primary-nav > a:not(.button):hover { color: var(--primary); }
.nav-signin { border-left: 1px solid var(--line); padding-left: 25px; }
.nav-toggle { display: none; width: 44px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 3px; }

.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; border: 1px solid transparent; cursor: pointer; }
.button:hover { transform: translateY(-1px); }
.button-sm { min-height: 40px; padding: 0 17px; font-size: 14px; }
.button-lg { min-height: 52px; padding: 0 24px; font-size: 15px; }
.button-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 10px 26px rgba(20,87,230,.22); }
.button-primary:hover { box-shadow: 0 14px 32px rgba(20,87,230,.28); }
.button-secondary { background: #fff; color: var(--navy); border-color: #d7deea; }
.button-white { background: #fff; color: var(--navy); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.button-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }

.hero-section { position: relative; overflow: hidden; padding: 68px 0 66px; background: radial-gradient(circle at 78% 4%, #dcecff 0, rgba(220,236,255,0) 36%), linear-gradient(180deg, #f7fbff, #eef5ff); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); gap: 50px; align-items: center; }
.hero-copy { padding: 12px 0; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: #edf3ff; border: 1px solid #dbe7ff; color: #2e5cc5; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.eyebrow-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(20,87,230,.12); }
.hero-copy h1 { margin: 23px 0 20px; font-size: clamp(46px, 5.2vw, 72px); line-height: .99; letter-spacing: -.055em; color: var(--navy); }
.hero-copy h1 em { font-style: normal; color: var(--primary); }
.hero-lead { max-width: 670px; margin: 0; font-size: 19px; line-height: 1.65; color: #526176; }
.hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 24px; margin-top: 25px; font-size: 13px; color: #607087; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row b { color: var(--success); }

.hero-visual { position: relative; min-height: 510px; display: flex; align-items: center; justify-content: center; }
.main-card { position: relative; z-index: 2; width: 100%; background: rgba(255,255,255,.94); border: 1px solid rgba(213,222,237,.9); border-radius: 25px; box-shadow: 0 32px 90px rgba(39,61,106,.18); overflow: hidden; transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.mock-topbar { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 18px; border-bottom: 1px solid #e8edf5; background: #fbfcfe; }
.mock-logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--primary),var(--teal)); font-size: 10px; font-weight: 800; }
.mock-title { font-size: 13px; font-weight: 800; color: #24324a; }
.mock-chip { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: #edf3ff; color: var(--primary); font-size: 10px; font-weight: 800; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px; }
.mock-kpis article { padding: 16px; border: 1px solid #e4e9f2; border-radius: 14px; background: #fff; }
.mock-kpis small, .mock-kpis span { display: block; font-size: 9px; color: #8290a3; }
.mock-kpis strong { display: block; margin: 5px 0 3px; font-size: 20px; color: #17233b; }
.mock-content { display: grid; grid-template-columns: 1.55fr .8fr; gap: 13px; padding: 0 18px 20px; }
.mock-chart, .mock-actions { border: 1px solid #e4e9f2; border-radius: 14px; background: #fff; }
.mock-chart { padding: 14px; }
.chart-head { display: flex; justify-content: space-between; font-size: 10px; color: #7f8ca0; }
.chart-head b { color: #293752; font-size: 11px; }
.mock-chart svg { width: 100%; margin-top: 8px; }
.mock-actions { padding: 8px; }
.mock-actions > div { display: flex; align-items: center; gap: 9px; padding: 11px 8px; border-bottom: 1px solid #edf0f5; }
.mock-actions > div:last-child { border-bottom: 0; }
.action-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #eef3ff; color: var(--primary); font-size: 12px; font-weight: 900; }
.mock-actions p { margin: 0; display: flex; flex-direction: column; }
.mock-actions b { font-size: 10px; color: #273650; }
.mock-actions small { font-size: 8px; color: #8995a6; margin-top: 2px; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 11px 14px; background: rgba(255,255,255,.96); border: 1px solid #e1e7f1; border-radius: 14px; box-shadow: 0 16px 45px rgba(32,55,101,.15); }
.floating-card span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #ecf6f2; color: var(--success); font-weight: 900; }
.floating-card p { margin: 0; display: flex; flex-direction: column; }
.floating-card b { font-size: 11px; color: #26344e; }
.floating-card small { font-size: 9px; color: #8290a3; }
.floating-one { left: -25px; bottom: 45px; }
.floating-two { right: -25px; top: 45px; }
.hero-decor { position: absolute; z-index: 0; width: 260px; right: -110px; bottom: -10px; opacity: .18; transform: rotate(-8deg); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .4; }
.hero-glow-one { width: 360px; height: 360px; right: 2%; top: 6%; background: radial-gradient(circle, rgba(101,162,243,.22), rgba(101,162,243,0) 70%); }
.hero-glow-two { width: 300px; height: 300px; left: -120px; bottom: -100px; background: radial-gradient(circle, rgba(20,87,230,.14), rgba(20,87,230,0) 70%); }

.logo-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip-inner { min-height: 75px; display: flex; align-items: center; justify-content: center; gap: 24px; color: #78869a; font-size: 13px; font-weight: 750; }
.logo-strip i { width: 4px; height: 4px; border-radius: 50%; background: #ccd5e2; }

.section { padding: 78px 0; }
.section-alt { background: #fff; }
.section-heading { margin-bottom: 36px; }
.section-heading.centered { max-width: 800px; text-align: center; margin-left: auto; margin-right: auto; }
.section-kicker { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.section-kicker.light { color: #bfd2ff; }
.section-heading h2, .why-copy h2, .security-grid h2, .launch-card h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p { max-width: 700px; margin: 17px auto 0; color: var(--muted); font-size: 17px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.split-heading p { margin: 0 0 4px; }

.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card { min-height: 220px; padding: 25px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(20,39,75,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.industry-card:hover { transform: translateY(-4px); border-color: #c8d6f8; box-shadow: 0 16px 36px rgba(20,39,75,.08); }
.industry-card.featured { background: linear-gradient(145deg, #102a66, #165be8); color: #fff; border-color: transparent; }
.industry-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: #eef3ff; font-size: 20px; }
.industry-card.featured .industry-icon { background: rgba(255,255,255,.13); }
.industry-card h3 { margin: 20px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.industry-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.industry-card.featured p { color: #dbe6ff; }
.industry-link { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 800; color: #fff; }
.custom-card { border-style: dashed; background: #fafcff; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcfe; }
.feature-card > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #edf3ff; color: var(--primary); font-weight: 850; font-size: 11px; }
.feature-card h3 { margin: 17px 0 9px; font-size: 18px; color: #1c2b47; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.why-copy > p { margin: 20px 0 25px; color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 14px; }
.check-list > div { display: flex; gap: 12px; align-items: flex-start; }
.check-list > div > span { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: #eaf7f2; color: var(--success); font-weight: 900; }
.check-list p { margin: 0; display: flex; flex-direction: column; }
.check-list b { font-size: 14px; }
.check-list small { color: var(--muted); margin-top: 2px; }
.architecture-card { padding: 36px; border-radius: 25px; background: linear-gradient(160deg, #0b1d43, #102b64); color: #fff; box-shadow: var(--shadow); }
.arch-row { padding: 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.arch-row span { color: #b7c9ec; font-size: 12px; }
.arch-business { background: linear-gradient(135deg, rgba(46,108,255,.26), rgba(29,155,120,.18)); }
.arch-connector { width: 2px; height: 24px; background: #456bba; margin: 0 auto; }
.arch-modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.arch-modules span { padding: 11px 10px; text-align: center; border-radius: 10px; font-size: 11px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }

.security-section { padding-top: 0; }
.security-grid { padding: 35px 40px; border: 1px solid #dce4f0; border-radius: 22px; background: #fff; display: grid; grid-template-columns: auto 1fr .9fr; gap: 28px; align-items: center; }
.security-badge { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: #e9f7f2; color: var(--success); font-size: 24px; font-weight: 900; }
.security-grid h2 { font-size: 30px; }
.security-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.launch-section { padding-top: 18px; }
.launch-card { padding: 52px 56px; border-radius: 28px; background: linear-gradient(135deg, #0d4ea6, #2373da 48%, #1b9b72); color: #fff; display: flex; justify-content: space-between; gap: 50px; align-items: center; box-shadow: 0 28px 70px rgba(21,76,181,.24); }
.launch-card h2 { color: #fff; max-width: 650px; }
.launch-card p { max-width: 650px; color: #dbe7ff; margin: 15px 0 0; }
.launch-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }

.site-footer { margin-top: 30px; background: #08152f; color: #d8e0ef; padding: 65px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 50px; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #8fa2c6; }
.footer-brand p { max-width: 340px; color: #8fa2b9; font-size: 13px; margin-top: 17px; }
.footer-grid h4 { margin: 0 0 17px; color: #fff; font-size: 13px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:not(.footer-brand) a { color: #98a9c6; font-size: 13px; }
.footer-grid > div:not(.footer-brand) a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; color: #7488aa; font-size: 11px; }

.legal-page { background: #fff; }
.legal-shell { min-height: 100vh; }
.legal-header { border-bottom: 1px solid var(--line); background: #fff; }
.legal-main { width: min(calc(100% - 40px), 880px); margin: 0 auto; padding: 70px 0 100px; }
.legal-main h1 { font-size: 42px; letter-spacing: -.04em; margin: 0 0 12px; }
.legal-main .legal-note { padding: 18px 20px; margin: 28px 0; border-radius: 14px; background: #fff8e9; border: 1px solid #f3dfb0; color: #765817; }
.legal-main h2 { margin-top: 38px; font-size: 22px; }
.legal-main p, .legal-main li { color: #58677b; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; text-align: center; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { max-width: 700px; margin: 0 auto; min-height: 500px; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { gap: 50px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: 67px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 8px; }
  .primary-nav .button { margin-top: 6px; }
  .nav-signin { border-left: 0; padding-left: 8px !important; border-top: 1px solid var(--line); margin-top: 5px; padding-top: 13px !important; }
  .split-heading, .why-grid, .security-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
  .launch-card { flex-direction: column; align-items: flex-start; }
  .launch-actions { width: 100%; flex-direction: row; }
  .launch-actions .button { flex: 1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero-section { padding: 58px 0 60px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 390px; }
  .main-card { transform: none; }
  .mock-content { grid-template-columns: 1fr; }
  .mock-actions { display: none; }
  .floating-card { display: none; }
  .mock-kpis strong { font-size: 15px; }
  .logo-strip-inner { justify-content: flex-start; overflow-x: auto; padding: 0 6px; }
  .logo-strip-inner span { flex: 0 0 auto; }
  .section { padding: 74px 0; }
  .industry-grid, .feature-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: auto; }
  .section-heading h2, .why-copy h2, .launch-card h2 { font-size: 34px; }
  .architecture-card { padding: 22px; }
  .arch-row { flex-direction: column; align-items: flex-start; }
  .security-grid { padding: 25px; }
  .launch-card { padding: 34px 25px; }
  .launch-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 28px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}


/* V2: owner-control positioning and blue → teal launch palette */
.owner-control-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #eaf2ff 0%, #eef8f6 100%);
  border-bottom: 1px solid var(--line);
}
.owner-control-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}
.owner-control-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.owner-control-copy > p {
  max-width: 700px;
  margin: 17px 0 24px;
  color: var(--muted);
  font-size: 16px;
}
.owner-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.owner-points > div {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 15px; border: 1px solid rgba(40,107,225,.12);
  border-radius: 14px; background: rgba(255,255,255,.7);
}
.owner-points > div > span {
  width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 9px; background: linear-gradient(135deg,var(--primary),var(--teal));
  color: #fff; font-size: 10px; font-weight: 850;
}
.owner-points p { margin: 0; display: flex; flex-direction: column; }
.owner-points b { font-size: 13px; color: #1b2c49; }
.owner-points small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.owner-summary-card {
  padding: 24px; border-radius: 24px; background: #fff;
  border: 1px solid rgba(40,107,225,.13);
  box-shadow: 0 26px 70px rgba(26,66,125,.15);
}
.summary-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.summary-head > div { display: flex; flex-direction: column; }
.summary-head small { color: var(--primary); font-size: 10px; letter-spacing: .11em; font-weight: 850; }
.summary-head b { margin-top: 4px; font-size: 19px; color: #182843; }
.summary-head > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal); font-weight: 900; }
.summary-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.summary-kpis > div { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.summary-kpis small { display: block; color: #7b899c; font-size: 10px; }
.summary-kpis strong { display: block; margin-top: 4px; color: #172842; font-size: 18px; }
.summary-actions { margin-top: 13px; padding: 16px; border-radius: 14px; background: #f7fafc; border: 1px solid var(--line); }
.summary-actions > b { font-size: 12px; color: #263750; }
.summary-actions p { margin: 9px 0 0; font-size: 11px; color: #5c6b7f; }
.summary-actions p span { display: inline-grid; width: 19px; height: 19px; place-items: center; border-radius: 6px; margin-right: 6px; background: #edf3ff; color: var(--primary); font-size: 9px; font-weight: 900; }
.summary-footer { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); color: #7b899c; font-size: 10px; }
.feature-highlight {
  background: linear-gradient(145deg, #eef4ff, #eef9f6);
  border-color: rgba(40,107,225,.18);
}
.feature-highlight > span { background: linear-gradient(135deg,var(--primary),var(--teal)); color: #fff; }

@media (max-width: 900px) {
  .owner-control-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 640px) {
  .owner-control-section { padding: 52px 0; }
  .owner-points { grid-template-columns: 1fr; }
}

/* V3: A2E brand mark + animated business-day walkthrough */
.brand-logo {
  width: 52px;
  height: 38px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #111827;
  box-shadow: 0 8px 20px rgba(17,24,39,.18);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.85) saturate(5.2) hue-rotate(174deg) brightness(1.08) contrast(1.08); }
.brand-copy small { letter-spacing: .08em; font-size: 9px; }

.day-flow-section {
  padding-top: 70px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}
.day-flow-heading { margin-bottom: 30px; }
.workflow-shell {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(28,55,97,.10);
  overflow: hidden;
}
.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid #e5ebf4;
  background: #fbfcfe;
}
.workflow-tab {
  position: relative;
  min-height: 84px;
  padding: 15px 18px;
  border: 0;
  border-right: 1px solid #e8edf4;
  background: transparent;
  color: #738097;
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.workflow-tab:last-child { border-right: 0; }
.workflow-tab span { display: inline-block; margin-bottom: 5px; color: #8da0b9; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.workflow-tab b { display: block; color: #334155; font-size: 14px; }
.workflow-tab small { display: block; margin-top: 2px; font-size: 11px; }
.workflow-tab.active { background: linear-gradient(180deg,#f2f7ff,#edf8f5); color: #3e5068; }
.workflow-tab.active b { color: var(--navy); }
.workflow-tab.active:after { content:""; position:absolute; left:18px; right:18px; bottom:-1px; height:3px; border-radius:999px; background:linear-gradient(90deg,var(--primary),var(--teal)); }

.workflow-stage { position: relative; min-height: 500px; padding: 34px; background: radial-gradient(circle at 86% 5%, rgba(29,155,120,.08), transparent 28%), radial-gradient(circle at 8% 85%, rgba(40,107,225,.08), transparent 25%), #fff; }
.workflow-progress { position:absolute; top:0; left:0; right:0; height:3px; background:#eef2f7; overflow:hidden; }
.workflow-progress span { display:block; height:100%; width:0; background:linear-gradient(90deg,var(--primary),var(--teal)); }
.workflow-progress.running span { animation: workflowProgress 4.6s linear forwards; }
@keyframes workflowProgress { from { width:0; } to { width:100%; } }

.workflow-screen { display:none; grid-template-columns: minmax(0,1fr) 320px; gap:30px; align-items:center; animation: screenIn .45s ease both; }
.workflow-screen.active { display:grid; }
@keyframes screenIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.screen-window { min-height: 390px; border:1px solid #dfe7f2; border-radius:20px; background:#f9fbfe; overflow:hidden; box-shadow: 0 18px 48px rgba(38,61,99,.08); }
.screen-toolbar { min-height:54px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; background:#fff; border-bottom:1px solid #e5ebf3; }
.screen-toolbar > div { display:flex; align-items:center; gap:9px; }
.screen-dot { width:9px; height:9px; border-radius:50%; background:var(--primary); box-shadow:0 0 0 4px rgba(40,107,225,.10); }
.screen-status { padding:5px 9px; border-radius:999px; background:#edf3ff; color:#3565c5; font-size:10px; font-weight:800; }
.status-green { background:#e8f7f1; color:#16775d; }
.workflow-caption { display:flex; gap:14px; align-items:flex-start; padding:24px; border-radius:18px; background:linear-gradient(145deg,#0c214d,#12346d); color:#fff; }
.workflow-caption > span { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border-radius:10px; background:linear-gradient(135deg,var(--primary),var(--teal)); font-size:12px; font-weight:900; }
.workflow-caption p { margin:0; display:flex; flex-direction:column; gap:5px; }
.workflow-caption b { font-size:17px; }
.workflow-caption small { color:#bdd0ec; line-height:1.55; }

.sales-demo-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; padding:22px; }
.sales-items { display:grid; grid-template-columns:repeat(2,1fr); gap:11px; }
.demo-item { min-height:105px; border:1px solid #dfe7f2; border-radius:14px; background:#fff; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:15px; color:#334155; }
.demo-item span { font-size:22px; }
.demo-item b { margin-top:7px; font-size:13px; }
.demo-item small { color:#6f7d92; }
.demo-item.selected { border-color:#8fb4f6; box-shadow:0 0 0 3px rgba(40,107,225,.08); }
.demo-bill { border:1px solid #dfe7f2; border-radius:15px; padding:18px; background:#fff; }
.demo-line,.demo-total { display:flex; justify-content:space-between; gap:15px; padding:10px 0; border-bottom:1px dashed #e3e9f1; font-size:12px; }
.demo-total { margin-top:4px; padding:15px 0; align-items:center; }
.demo-total strong { font-size:22px; color:var(--navy); }
.demo-pay-row { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:14px; }
.demo-pay-row button { border:1px solid #dfe7f2; border-radius:9px; background:#fff; padding:8px 4px; font-size:10px; }
.demo-pay-row .active-pay { background:#eaf7f2; border-color:#a7ddcc; color:#16775d; font-weight:800; }
.demo-submit,.close-day-demo { margin-top:13px; width:100%; min-height:40px; display:flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:10px; background:linear-gradient(135deg,var(--primary),var(--teal)); color:#fff; font-size:12px; font-weight:800; }

.purchase-demo { padding:22px; }
.purchase-alert { display:flex; gap:12px; align-items:center; padding:14px; border-radius:13px; background:#eef6ff; border:1px solid #cfe2fb; }
.purchase-alert > span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#dcecff; color:#2467c9; font-weight:900; }
.purchase-alert div { display:flex; flex-direction:column; }
.purchase-alert b { font-size:12px; }
.purchase-alert small { color:#627a99; font-size:10px; }
.purchase-table { margin-top:15px; border:1px solid #e1e7ef; border-radius:13px; overflow:hidden; background:#fff; }
.purchase-row { display:grid; grid-template-columns:1.6fr .55fr .65fr .55fr; align-items:center; gap:8px; padding:11px 13px; border-bottom:1px solid #edf1f6; font-size:11px; }
.purchase-row:last-child { border-bottom:0; }
.purchase-row.head { background:#f5f8fc; color:#7b8798; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.purchase-row > span:first-child { display:flex; flex-direction:column; }
.purchase-row small { color:#8a97a8; }
.qty-chip { display:inline-grid; place-items:center; width:42px; min-height:25px; border-radius:7px; background:#edf3ff; color:#2b62c8; font-weight:800; }
.purchase-footer { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:14px; color:#6b7789; font-size:10px; }
.purchase-footer button { border:0; border-radius:9px; padding:10px 14px; background:#153d83; color:#fff; font-size:10px; font-weight:800; }

.eod-demo { padding:22px; }
.eod-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.eod-kpis > div { padding:15px; border:1px solid #e0e7f0; border-radius:12px; background:#fff; }
.eod-kpis small { display:block; color:#7d899b; font-size:9px; text-transform:uppercase; letter-spacing:.06em; }
.eod-kpis b { display:block; margin-top:5px; font-size:18px; }
.eod-kpis .difference { background:#fff8f6; border-color:#f4d6ce; }
.eod-kpis .difference b { color:#b84a32; }
.eod-rows { margin-top:13px; display:grid; grid-template-columns:1fr 1fr; border:1px solid #e0e7f0; border-radius:12px; overflow:hidden; background:#fff; }
.eod-rows div { display:flex; justify-content:space-between; padding:10px 12px; border-bottom:1px solid #edf1f5; font-size:11px; }
.eod-rows div:nth-child(odd) { border-right:1px solid #edf1f5; }
.reason-demo { display:block; margin-top:13px; }
.reason-demo > span { display:block; margin-bottom:5px; color:#68768a; font-size:9px; font-weight:800; text-transform:uppercase; }
.reason-demo > div { padding:10px 12px; border:1px solid #dfe7f2; border-radius:9px; background:#fff; color:#38475d; font-size:11px; }

.owner-demo { padding:20px; }
.owner-demo-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.owner-demo-kpis div { padding:12px; border:1px solid #e0e7f0; border-radius:11px; background:#fff; }
.owner-demo-kpis small { display:block; color:#7c8899; font-size:8px; text-transform:uppercase; }
.owner-demo-kpis b { display:block; margin-top:4px; font-size:15px; }
.owner-demo-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.owner-demo-columns > div { padding:14px; border:1px solid #e0e7f0; border-radius:12px; background:#fff; }
.owner-demo-columns h4 { margin:0 0 9px; font-size:11px; color:#334155; }
.owner-demo-columns p { margin:0; padding:7px 0; border-bottom:1px dashed #e5eaf1; display:flex; justify-content:space-between; gap:10px; font-size:10px; }
.owner-demo-columns p:last-child { border-bottom:0; }
.owner-action-box { background:#fff8f1 !important; border-color:#f3dcc0 !important; }
.owner-action-box p { justify-content:flex-start; }
.owner-action-box p span { color:#c9771b; font-weight:900; }
.owner-delivery { display:flex; gap:8px; margin-top:11px; }
.owner-delivery span { padding:7px 10px; border-radius:999px; background:#edf5ff; color:#245fae; font-size:9px; font-weight:800; }

@media (max-width: 900px) {
  .workflow-tabs { grid-template-columns: repeat(2,1fr); }
  .workflow-tab:nth-child(2) { border-right:0; }
  .workflow-tab:nth-child(-n+2) { border-bottom:1px solid #e8edf4; }
  .workflow-screen.active { grid-template-columns:1fr; }
  .workflow-caption { max-width:none; }
}
@media (max-width: 640px) {
  .workflow-stage { padding:18px; min-height:0; }
  .workflow-tabs { grid-template-columns:1fr 1fr; }
  .workflow-tab { min-height:72px; padding:12px; }
  .workflow-tab small { display:none; }
  .sales-demo-grid { grid-template-columns:1fr; padding:14px; }
  .sales-items { grid-template-columns:repeat(2,1fr); }
  .purchase-demo,.eod-demo,.owner-demo { padding:14px; }
  .purchase-row { grid-template-columns:1.35fr .55fr .65fr .55fr; font-size:9px; }
  .owner-demo-kpis { grid-template-columns:1fr 1fr; }
  .owner-demo-columns { grid-template-columns:1fr; }
  .eod-kpis { grid-template-columns:1fr; }
  .eod-rows { grid-template-columns:1fr; }
  .eod-rows div:nth-child(odd) { border-right:0; }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-screen { animation:none; }
  .workflow-progress.running span { animation:none; width:100%; }
}


/* V4 launch polish */
.brand-logo { overflow: hidden; background: linear-gradient(145deg,#f7fbff,#e5f1ff); border: 1px solid #cfe1fa; box-shadow: 0 8px 22px rgba(36,116,232,.14); }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.85) saturate(5.2) hue-rotate(174deg) brightness(1.08) contrast(1.08); }
.site-header .brand-logo { width: 43px; height: 43px; border-radius: 12px; }
.brand-copy strong { font-size: 18px; }
.brand-copy small { letter-spacing: .16em; }
.hero-section { padding-top: 54px; padding-bottom: 54px; }
.hero-grid { gap: 42px; }
.hero-visual { min-height: 470px; }
.section { padding: 66px 0; }
.section-heading { margin-bottom: 30px; }
.owner-control-section { padding-top: 64px; padding-bottom: 66px; }
.day-flow-section { padding-top: 64px; padding-bottom: 66px; }
.launch-card { padding: 46px 50px; }
.site-footer { padding-top: 54px; }

.proof-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.proof-strip-inner > div { min-height: 104px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-strip-inner > div:first-child { border-left: 1px solid var(--line); }
.proof-strip strong { color: var(--navy); font-size: 14px; }
.proof-strip span { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.legal-main { padding-top: 52px; padding-bottom: 84px; }
.legal-main h1 { font-size: clamp(36px, 5vw, 48px); }
.legal-main .legal-meta { color: #718096; font-size: 13px; margin-bottom: 24px; }
.legal-main .legal-intro { font-size: 17px; line-height: 1.72; color: #46566b; }
.legal-main h2 { margin-top: 34px; margin-bottom: 10px; }
.legal-main h3 { margin-top: 24px; font-size: 17px; }
.legal-main ul { padding-left: 22px; }
.legal-main li { margin: 7px 0; }
.legal-main a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-note.review { background: #eef6ff; border-color: #d4e5fb; color: #365b84; }
.legal-callout { padding: 18px 20px; margin: 24px 0; border-radius: 14px; background: #f7fafc; border: 1px solid #e2e8f0; color: #506176; }
.legal-footer-note { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: #718096; font-size: 12px; }

@media (max-width: 860px) {
  .proof-strip-inner { grid-template-columns: repeat(2,1fr); }
  .proof-strip-inner > div:nth-child(odd) { border-left: 1px solid var(--line); }
  .proof-strip-inner > div { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero-section { padding-top: 44px; padding-bottom: 48px; }
  .section, .owner-control-section, .day-flow-section { padding-top: 52px; padding-bottom: 52px; }
  .proof-strip-inner { grid-template-columns: 1fr; }
  .proof-strip-inner > div { min-height: 88px; border-left: 1px solid var(--line); }
}

/* V6 — transparent two-tone A2E mark + blue browser icon */
.brand-logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.brand-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 2px rgba(8, 30, 68, .34)) !important;
}
.site-header .brand-logo { width: 52px; height: 40px; }
.brand-footer .brand-logo { width: 52px; height: 40px; }
.legal-header .brand-logo { width: 52px; height: 40px; }

/* V7 — single clean A2E mark: blue on light surfaces, white in blue footer */
.brand-logo {
  position: relative;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.brand-logo img {
  position: absolute;
  left: 0;
  top: -100%;
  width: 100% !important;
  height: 200% !important;
  object-fit: fill !important;
  filter: url(#a2eLogoBlue) !important;
  drop-shadow: none !important;
}
.brand-footer .brand-logo img {
  filter: url(#a2eLogoWhite) !important;
}
.site-header .brand-logo,
.legal-header .brand-logo,
.brand-footer .brand-logo {
  width: 52px;
  height: 38px;
}

/* V8 — use the supplied blue A2E artwork exactly on light surfaces. */
.brand-logo {
  position: relative;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.brand-logo img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: none !important;
}
/* The footer sits on the blue background, so keep its mark white as requested. */
.brand-footer .brand-logo img {
  filter: brightness(0) invert(1) !important;
}

/* V9: operational depth — barcode, counters, BOM, production and wastage */
.operating-capabilities {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-bottom: 1px solid var(--line);
}
.operating-heading { max-width: 820px; margin-left: auto; margin-right: auto; }
.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.operation-card {
  position: relative;
  padding: 24px;
  min-height: 230px;
  border: 1px solid #e0e8f3;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(32,64,112,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.operation-card:hover { transform: translateY(-3px); border-color: rgba(36,116,232,.28); box-shadow: 0 22px 50px rgba(32,64,112,.10); }
.operation-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #eaf2ff, #e8f8f3);
  color: var(--primary);
  font-size: 19px;
  font-weight: 900;
}
.operation-card h3 { margin: 17px 0 9px; font-size: 18px; color: #192b47; }
.operation-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.operational-depth-section {
  background: #0d1e3d;
  color: #fff;
}
.operational-depth-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  align-items: center;
}
.operational-depth-copy h2 { margin: 0; color: #fff; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
.operational-depth-copy > p { margin: 17px 0 22px; color: #b7c7df; font-size: 15px; line-height: 1.75; }
.operational-depth-section .section-kicker { color: #6fd7b3; }
.depth-note { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.05); }
.depth-note > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #dff7ee; color: #12815e; font-size: 12px; font-weight: 900; }
.depth-note p { margin: 0; display: flex; flex-direction: column; }
.depth-note b { font-size: 12px; color: #fff; }
.depth-note small { margin-top: 3px; color: #a8bbd6; font-size: 11px; line-height: 1.55; }
.depth-flows { display: grid; gap: 15px; }
.depth-flow { padding: 20px; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.depth-flow > small { display: block; margin-bottom: 13px; color: #79a6eb; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.flow-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-pills span { padding: 8px 10px; border-radius: 10px; background: #fff; color: #1c3151; font-size: 10px; font-weight: 750; white-space: nowrap; }
.flow-pills i { color: #6fd7b3; font-style: normal; font-weight: 900; }

@media (max-width: 900px) {
  .operations-grid { grid-template-columns: repeat(2, 1fr); }
  .operational-depth-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .operations-grid { grid-template-columns: 1fr; }
  .operation-card { min-height: auto; }
  .flow-pills { align-items: stretch; }
  .flow-pills span { white-space: normal; }
}
