:root {
  --ab-blue: #234a97;
  --ab-blue-dark: #172f64;
  --ab-yellow: #f2c94c;
}
section[id] { scroll-margin-top: 92px; }

/* Branded header correction */
.glass-header > div:first-child {
  gap: 20px;
}
.glass-header a[aria-label="AttendanceBox home"],
.glass-header a[href="https://attendancebox.in/"] {
  flex: 0 0 auto;
}
.glass-header a[aria-label="AttendanceBox home"] img,
.glass-header a[href="https://attendancebox.in/"] img {
  width: 225px !important;
  max-width: 24vw;
  height: auto !important;
}
.glass-header nav {
  gap: clamp(14px, 1.7vw, 28px) !important;
  white-space: nowrap;
}

/* AttendanceBox branded preloader */
#ab-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.08), transparent 32%),
    #1d3f83;
  transition: opacity .45s ease, visibility .45s ease;
}
#ab-preloader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ab-loader-inner {
  width: min(410px, calc(100vw - 48px));
  text-align: center;
}
.ab-loader-logo {
  background: white;
  padding: 17px 22px;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(3,14,40,.28);
  position: relative;
  overflow: hidden;
}
.ab-loader-logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  height: 4px;
  background: var(--ab-yellow);
  box-shadow: 0 0 18px 5px rgba(242,201,76,.45);
  animation: logoScan 1.45s ease-in-out infinite;
}
.ab-loader-logo img { display: block; width: 100%; height: auto; }
.ab-loader-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 28px 0 17px;
  color: white;
  font: 700 10px/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ab-loader-flow i { color: var(--ab-yellow); font-style: normal; }
.ab-loader-track {
  height: 3px;
  background: rgba(255,255,255,.16);
  overflow: hidden;
}
.ab-loader-track span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--ab-yellow);
  animation: loaderTrack 1.1s ease-in-out infinite;
}
.ab-loader-note {
  color: #cad8f4;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@keyframes logoScan {
  0% { top: -5px; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% + 5px); opacity: 0; }
}
@keyframes loaderTrack {
  from { transform: translateX(-110%); }
  to { transform: translateX(270%); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-yellow) var(--read-progress, 0%), transparent 0);
  z-index: 100;
  pointer-events: none;
}

.smart-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.smart-reveal.is-visible { opacity: 1; transform: none; }

.content-enter {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  filter: blur(3px);
  transition:
    opacity .65s cubic-bezier(.2,.75,.25,1),
    transform .65s cubic-bezier(.2,.75,.25,1),
    filter .65s ease;
  transition-delay: var(--enter-delay, 0ms);
}
.content-enter.from-left { transform: translateX(-30px); }
.content-enter.from-right { transform: translateX(30px); }
.content-enter.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}
.hero-content-enter {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--hero-delay, 0ms);
}
.hero-primary-cta,
.hero-secondary-cta {
  position: relative;
  z-index: 8;
  pointer-events: auto !important;
}
.hero-primary-cta span {
  display: inline-block;
  margin-left: 8px;
  transition: transform .25s ease;
}
.hero-primary-cta:hover span { transform: translateX(5px); }
.cta-play {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: white;
  background: var(--ab-blue);
  font-size: 10px;
}
body.page-ready .hero-content-enter {
  opacity: 1;
  transform: none;
}
.hero-v3 {
  min-height: calc(100vh - 92px);
  padding: 0 !important;
  color: white;
  background:
    radial-gradient(circle at 70% 36%, rgba(71,123,231,.26), transparent 25%),
    linear-gradient(135deg, #0d1e43 0%, #173b7d 58%, #102b60 100%) !important;
}
.hero-v3-shell {
  width: min(1580px, 100%);
  min-height: calc(100vh - 92px);
  margin: auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: stretch;
}
.hero-v3-copy {
  align-self: center;
  padding: 74px clamp(34px, 5vw, 86px);
}
.hero-v3-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce7fb !important;
  font: 700 10px/1 "JetBrains Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-v3-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ab-yellow);
  box-shadow: 0 0 0 6px rgba(242,201,76,.14);
}
.hero-v3 h1 {
  margin: 25px 0 22px;
  color: white !important;
  font-size: clamp(57px, 5.1vw, 84px) !important;
  font-weight: 800;
  line-height: .9 !important;
  letter-spacing: -.065em !important;
}
.hero-v3 h1 em {
  color: #91b6ff;
  font-style: normal;
}
.hero-v3 h1 + p {
  max-width: 590px;
  color: #c7d5ef !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}
.hero-v3-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 34px;
}
.hero-v3-actions a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.hero-v3-actions a:first-child {
  color: #152b5a !important;
  border-color: var(--ab-yellow);
  background: var(--ab-yellow) !important;
  box-shadow: 0 15px 36px rgba(5,15,36,.3);
}
.hero-v3-trust {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255,255,255,.13);
}
.hero-v3-trust span {
  color: #b8c8e7;
  font-size: 9px;
  font-weight: 700;
}
.hero-v3-trust b {
  display: inline-block;
  margin: 0 5px 0 0;
  color: var(--ab-yellow);
  font: 700 9px/1 "JetBrains Mono", monospace;
}
.hero-v3-product {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, white, transparent 58%),
    #eef3fa;
}
.mobile-hero-experience { display:none; }
.hero-stage-grid {
  position: absolute;
  inset: 0;
  opacity: .72;
  background-image:
    linear-gradient(rgba(35,74,151,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,74,151,.075) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero-stage-grid::after {
  content: "";
  position: absolute;
  width: 78%;
  height: 44%;
  right: -8%;
  bottom: 10%;
  border: 34px solid #dde5f1;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  transform: rotate(-8deg);
}
.hero-stage-label {
  position: absolute;
  z-index: 4;
  top: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #20365f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(23,47,100,.1);
  font: 700 9px/1 "JetBrains Mono", monospace;
}
.hero-stage-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21bd71;
  box-shadow: 0 0 0 5px rgba(33,189,113,.12);
}
.hero-v3 .terminal-bezel.is-live-scene {
  width: min(780px, 89%);
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  padding: 9px !important;
  transform: translate(-50%, -50%) rotate(-.7deg);
  border: 2px solid #60728e;
  border-radius: 30px !important;
  box-shadow: 0 55px 110px rgba(16,36,79,.28);
}
.hero-v3 .generated-hero-visual {
  height: min(61vh, 650px) !important;
  min-height: 470px;
  border-radius: 21px !important;
}
.hero-v3 .hero-live-rail { top: 22px; left: 22px; right: 22px; }
.hero-v3 .hero-live-proof { left: 22px; right: 22px; bottom: 22px; }
.hero-data-path {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 21px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #697a95;
  font: 700 8px/1 "JetBrains Mono", monospace;
  letter-spacing: .06em;
}
.hero-data-path b { color: var(--ab-blue); }
.hero-payroll-card {
  width: 230px;
  position: absolute;
  z-index: 6;
  right: 24px;
  top: 92px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  color: #172b52;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 55px rgba(23,47,100,.18);
  backdrop-filter: blur(12px);
}
.hero-payroll-card small {
  color: #77869e;
  font: 700 8px/1 "JetBrains Mono", monospace;
  letter-spacing: .12em;
}
.hero-payroll-card strong {
  display: block;
  margin: 9px 0;
  font-size: 12px;
}
.hero-payroll-card strong span { color: var(--ab-blue); font-size: 21px; }
.hero-payroll-card > div {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9f2;
}
.hero-payroll-card > div i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ab-blue), #58c987);
  animation: readinessLoad 1.3s ease both;
}
.hero-payroll-card p { margin-top: 9px; color: #7b889b; font-size: 8px; }
@keyframes readinessLoad { from { width: 0; } to { width: 98%; } }

.diagnostic-section {
  padding: 112px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(242,201,76,.18), transparent 23%),
    #f6f8fc;
}
.diagnostic-shell {
  max-width: 1220px;
  margin: auto;
  display: block;
}
.diagnostic-intro { text-align: center; }
.diagnostic-intro > span {
  color: var(--ab-blue);
  font: 700 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.diagnostic-intro h2 {
  margin: 20px 0 22px;
  color: #111b31;
  font-size: clamp(45px, 5.2vw, 72px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.052em;
}
.diagnostic-intro h2 em { color: var(--ab-blue); font-style: normal; }
.diagnostic-intro > p {
  max-width: 510px;
  margin-left: auto;
  margin-right: auto;
  color: #66738a;
  font-size: 16px;
  line-height: 1.72;
}
.diagnostic-questions {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.diagnostic-question {
  grid-column: span 2;
  width: 100%;
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid #d9e1ed;
  border-radius: 13px;
  color: #68768e;
  background: rgba(255,255,255,.66);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.diagnostic-question > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--ab-blue);
  background: #edf3ff;
  font: 800 11px/1 "JetBrains Mono", monospace;
  font-style: normal;
}
.diagnostic-question > span { min-width: 0; }
.diagnostic-question > span strong {
  display: block;
  color: #263754;
  font-size: 18px;
  line-height: 1.25;
}
.diagnostic-question > span small {
  display: block;
  margin-top: 4px;
  color: #748198;
  font-size: 13px;
  line-height: 1.35;
}
.diagnostic-question > b {
  color: #9ba8bb;
  font-size: 15px;
  transition: transform .25s ease, color .25s ease;
}
.diagnostic-question:hover,
.diagnostic-question.is-active {
  color: var(--ab-blue);
  border-color: #7ca3ed;
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(32,72,150,.1);
}
.diagnostic-question.is-active > i {
  color: #172d5b;
  background: var(--ab-yellow);
}
.diagnostic-question.is-active > b {
  color: var(--ab-blue);
  transform: translateX(3px);
}
.diagnostic-question:nth-child(4) { grid-column: 2 / span 2; }
.diagnostic-question:last-child { grid-column: 4 / span 2; }
.diagnostic-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 22px;
  color: #65738a;
  font-size: 13px;
}
.diagnostic-prompt span {
  padding: 7px 11px;
  border-radius: 99px;
  color: #17346f;
  background: #e8effd;
  font-weight: 800;
}
.diagnostic-prompt b { color: #283955; }
.diagnostic-prompt i { color: var(--ab-blue); font-style: normal; }

.diagnostic-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.diagnostic-modal.is-open { opacity: 1; visibility: visible; }
.diagnostic-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5,15,36,.74);
  backdrop-filter: blur(8px);
}
.diagnostic-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(850px, 94vw);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 28px;
  box-shadow: 0 35px 100px rgba(0,0,0,.32);
  transform: translateY(20px) scale(.98);
  transition: transform .28s ease;
}
.diagnostic-modal.is-open .diagnostic-modal-dialog { transform: none; }
.diagnostic-modal-close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.12);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.diagnostic-modal .diagnostic-answer { border: 0; border-radius: 28px; }
body.diagnostic-modal-open { overflow: hidden; }
.diagnostic-answer {
  overflow: hidden;
  border: 1px solid #dfe6f0;
  border-radius: 28px;
  background: white;
  box-shadow: 0 32px 80px rgba(23,47,100,.13);
}
.answer-you-asked,
.answer-reason,
.answer-solution { padding: 27px 32px; }
.answer-you-asked {
  color: white;
  background: #162f65;
}
.diagnostic-answer small {
  display: block;
  margin-bottom: 10px;
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .14em;
}
.answer-you-asked small { color: #8eb3ff; }
.answer-you-asked strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.answer-reason {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  color: #596880;
  background: #f7f9fc;
  border-bottom: 1px solid #e3e9f1;
}
.answer-reason small { color: #9a4f4f; margin-top: 5px; }
.answer-reason p { font-size: 14px; line-height: 1.65; }
.answer-solution {
  position: relative;
  padding-top: 34px;
}
.answer-solution > small { color: var(--ab-blue); }
.answer-solution h3 {
  max-width: 650px;
  color: #121d34;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.answer-solution > p {
  max-width: 650px;
  margin-top: 17px;
  color: #65728a;
  font-size: 15px;
  line-height: 1.68;
}
.answer-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.answer-flow::-webkit-scrollbar { display: none; }
.answer-flow span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  color: #2f4264;
  background: #f8fafc;
  font: 700 9px/1 "JetBrains Mono", monospace;
}
.answer-flow b { color: var(--ab-blue); font-size: 10px; }
.answer-solution > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: 9px;
  color: #152b5a;
  background: var(--ab-yellow);
  font-size: 12px;
  font-weight: 800;
}
.answer-solution > a span { transition: transform .25s ease; }
.answer-solution > a:hover span { transform: translateX(5px); }

.outcome-story {
  padding: 112px 24px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 86% 22%, rgba(65,116,224,.28), transparent 26%),
    #0c1b39;
}
.outcome-story-shell { max-width: 1220px; margin: auto; }
.outcome-story-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  column-gap: 80px;
  align-items: end;
}
.outcome-story-head > span {
  grid-column: 1 / -1;
  margin-bottom: 19px;
  color: var(--ab-yellow);
  font: 700 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.outcome-story-head h2 {
  font-size: clamp(48px, 5.3vw, 74px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.052em;
}
.outcome-story-head h2 em { color: #8eb3ff; font-style: normal; }
.outcome-story-head > p {
  max-width: 520px;
  color: #b6c6e2;
  font-size: 16px;
  line-height: 1.72;
}
.outcome-role-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  margin-top: 48px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,.15);
  scrollbar-width: none;
}
.outcome-role-tabs::-webkit-scrollbar { display: none; }
.outcome-role {
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #91a5c8;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.outcome-role.is-active { color: white; border-color: var(--ab-yellow); }
.outcome-stage {
  display: grid;
  grid-template-columns: .82fr 150px 1.18fr;
  align-items: stretch;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}
.outcome-before,
.outcome-after { padding: clamp(30px, 4vw, 52px); }
.outcome-before {
  color: #d1d9e8;
  background:
    linear-gradient(rgba(255,255,255,.025), rgba(255,255,255,.025)),
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255,255,255,.018) 12px 24px);
}
.outcome-stage small {
  display: block;
  margin-bottom: 16px;
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .14em;
}
.outcome-before small { color: #dc9b9b; }
.outcome-after small { color: var(--ab-yellow); }
.outcome-before > strong,
.outcome-after > strong {
  display: block;
  font-size: clamp(25px, 2.8vw, 39px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.outcome-before ul { margin-top: 27px; }
.outcome-before li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #94a4be;
  font-size: 13px;
}
.outcome-before li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #e08484;
  font-weight: 900;
}
.outcome-transition {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
  color: #aab9d4;
  background: rgba(255,255,255,.04);
  font: 700 8px/1.5 "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.outcome-transition::before,
.outcome-transition::after {
  content: "";
  width: 1px;
  height: 25%;
  background: linear-gradient(transparent, rgba(255,255,255,.22));
}
.outcome-transition::after { background: linear-gradient(rgba(255,255,255,.22), transparent); }
.outcome-transition i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #57df91;
  box-shadow: 0 0 0 8px rgba(87,223,145,.12);
}
.outcome-transition b { color: var(--ab-yellow); font-size: 18px; }
.outcome-after {
  color: #152544;
  background: #f8faff;
}
.outcome-after > p {
  margin-top: 18px;
  color: #5d6c84;
  font-size: 14px;
  line-height: 1.7;
}
.outcome-metrics {
  display: flex;
  gap: 18px;
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid #dde5f0;
}
.outcome-metrics span {
  color: #77849a;
  font-size: 10px;
  font-weight: 700;
}
.outcome-metrics b {
  display: block;
  margin-bottom: 5px;
  color: var(--ab-blue);
  font-size: 20px;
}
.outcome-after > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 9px;
  color: #152b5a;
  background: var(--ab-yellow);
  font-size: 12px;
  font-weight: 800;
}
.outcome-after > a span { transition: transform .25s ease; }
.outcome-after > a:hover span { transform: translateX(5px); }
.outcome-mobile-list { display: none; }

@media (min-width: 1021px) {
  .diagnostic-section,
  .field-suite,
  .terminal-story,
  .outcome-story,
  .live-story {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
  }
  .diagnostic-section { padding-top: 58px; padding-bottom: 58px; }
  .diagnostic-intro h2 { font-size: clamp(42px, 4vw, 62px); }
  .diagnostic-intro > p { font-size: 14px; }
  .diagnostic-questions { margin-top: 24px; }
  .diagnostic-question { padding-top: 12px; padding-bottom: 12px; }
  .answer-you-asked,
  .answer-reason,
  .answer-solution { padding: 22px 27px; }
  .answer-solution h3 { font-size: clamp(28px, 2.8vw, 41px); }
  .answer-solution > p { margin-top: 12px; font-size: 13px; }
  .answer-flow { margin-top: 18px; }
  .answer-solution > a { margin-top: 18px; }

  .field-suite { padding-top: 64px; padding-bottom: 64px; }
  .field-suite-copy h2 { font-size: clamp(42px, 4vw, 57px); }
  .field-product-stage { min-height: min(570px, 65vh); }
  .field-map { top: 20px; }
  .staff-phone { transform: rotate(-2.5deg) scale(.93); transform-origin: left top; }

  .terminal-story { padding-top: 62px; padding-bottom: 62px; }
  .terminal-story-visual { min-height: min(610px, 68vh); }
  .terminal-device-window { height: min(560px, 64vh); }
  .terminal-story-copy h2 { font-size: clamp(44px, 4.4vw, 65px); }
  .terminal-story-copy > p { font-size: 15px; }
  .terminal-spec-line { margin-top: 27px; }

  .outcome-story { padding-top: 48px; padding-bottom: 48px; }
  .outcome-story-head h2 { font-size: clamp(40px, 4vw, 59px); }
  .outcome-story-head > p { font-size: 14px; }
  .outcome-role-tabs { margin-top: 28px; }
  .outcome-stage { margin-top: 26px; }
  .outcome-before,
  .outcome-after { padding: clamp(26px, 3vw, 38px); }
  .outcome-before > strong,
  .outcome-after > strong { font-size: clamp(24px, 2.2vw, 33px); }
  .outcome-before ul { margin-top: 18px; }
  .outcome-before li { padding-top: 9px; padding-bottom: 9px; }
  .outcome-after > p { margin-top: 12px; }
  .outcome-metrics { margin-top: 19px; padding-top: 17px; }
  .outcome-after > a { margin-top: 20px; }

  .live-story { padding-top: 60px; padding-bottom: 60px; }
  .live-story-frame,
  .live-story-frame > img { min-height: min(500px, 62vh); }
}

.terminal-story {
  padding: 118px 24px;
  overflow: hidden;
  color: #111b31;
  background:
    radial-gradient(circle at 18% 44%, rgba(35,74,151,.12), transparent 28%),
    linear-gradient(135deg, #f8faff, #eef3fb);
}
.terminal-story-shell {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(58px, 8vw, 110px);
  align-items: center;
}
.terminal-story-visual {
  min-height: 660px;
  position: relative;
}
.terminal-device-window {
  width: min(470px, 78%);
  height: 610px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 10px solid #101a2d;
  border-radius: 34px;
  background: white;
  box-shadow: 0 48px 100px rgba(0,0,0,.42);
}
.terminal-device-window img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: 50% center;
}
.terminal-device-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(9,22,47,.18));
  pointer-events: none;
}
.terminal-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(35,74,151,.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 600px; height: 600px; }
.orbit-two { width: 760px; height: 760px; border-style: dashed; animation: orbitSpin 36s linear infinite; }
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.terminal-scan-line {
  width: 250px;
  height: 2px;
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 26%;
  transform: translateX(-67%);
  background: #55e695;
  box-shadow: 0 0 22px 5px rgba(85,230,149,.45);
  animation: terminalScan 3.2s ease-in-out infinite;
}
@keyframes terminalScan {
  0%, 100% { top: 27%; opacity: .25; }
  50% { top: 66%; opacity: 1; }
}
.terminal-event {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: white;
  background: rgba(21,45,91,.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(23,47,100,.2);
}
.terminal-event i {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #112652;
  background: var(--ab-yellow);
  font-style: normal;
  font-weight: 900;
}
.terminal-event span { font-size: 11px; font-weight: 800; }
.terminal-event small { display: block; margin-top: 4px; color: #aebfdf; font-size: 8px; font-weight: 600; }
.event-face { left: 0; top: 15%; }
.event-offline { right: -8px; top: 43%; }
.event-sync { left: 2%; bottom: 11%; }
.terminal-kicker {
  color: var(--ab-yellow);
  font: 700 11px/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.terminal-story-copy h2 {
  margin: 22px 0 25px;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.055em;
}
.terminal-story-copy h2 em { color: var(--ab-blue); font-style: normal; }
.terminal-story-copy > p {
  max-width: 570px;
  color: #65738a;
  font-size: 17px;
  line-height: 1.74;
}
.terminal-spec-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid #d6dfeb;
  border-bottom: 1px solid #d6dfeb;
}
.terminal-spec {
  padding: 20px 12px 20px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #77869e;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.terminal-spec.is-active { color: var(--ab-blue-dark); border-color: var(--ab-blue); }
.terminal-spec b { display: block; margin-bottom: 6px; font-size: 13px; }
.terminal-spec span { font-size: 9px; }
.terminal-spec-detail { min-height: 94px; padding-top: 23px; }
.terminal-spec-detail strong { display: block; margin-bottom: 8px; font-size: 18px; }
.terminal-spec-detail span { display: block; color: #68778f; font-size: 13px; line-height: 1.62; }
.terminal-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 19px;
  border-radius: 10px;
  color: #142a5b;
  background: var(--ab-yellow);
  font-size: 12px;
  font-weight: 800;
}
.terminal-story-cta span { transition: transform .25s ease; }
.terminal-story-cta:hover span { transform: translateX(5px); }

@media (max-width: 1020px) {
  .hero-v3 { min-height: auto; }
  .hero-v3-shell { min-height: auto; grid-template-columns: 1fr; }
  .hero-v3-copy { padding-top: 76px; padding-bottom: 70px; }
  .hero-v3-product { min-height: 680px; }
  .terminal-story-shell { grid-template-columns: 1fr; }
  .terminal-story-copy { max-width: 760px; }
  .terminal-story-visual { order: 2; max-width: 720px; width: 100%; margin: auto; }
  .diagnostic-shell { grid-template-columns: 1fr; }
  .diagnostic-questions { grid-template-columns: 1fr 1fr; }
  .diagnostic-question,
  .diagnostic-question:nth-child(4) { grid-column: auto; }
  .diagnostic-question:last-child { grid-column: 1 / -1; }
  .diagnostic-intro > p { max-width: 720px; }
  .outcome-story-head { grid-template-columns: 1fr; gap: 24px; }
  .outcome-story-head > span,
  .outcome-role-tabs { grid-column: 1; }
  .outcome-stage { grid-template-columns: 1fr; }
  .outcome-transition {
    min-height: 92px;
    flex-direction: row;
  }
  .outcome-transition::before,
  .outcome-transition::after { width: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22)); }
  .outcome-transition::after { background: linear-gradient(90deg, rgba(255,255,255,.22), transparent); }
}
@media (max-width: 600px) {
  .hero-v3 { min-height:0; overflow:visible; background:#f4f7fc!important; }
  .hero-v3-shell { display:none; }
  .mobile-hero-experience { display:block; padding:26px 15px 22px; color:#14223a; background:linear-gradient(180deg,#f7f9fd,#edf3fb); }
  .mobile-hero-copy { padding:24px 5px 25px; }
  .mobile-hero-copy > span { display:flex; align-items:center; gap:8px; color:#315baa; font-size:10px; font-weight:900; letter-spacing:.1em; }
  .mobile-hero-copy > span i { width:7px; height:7px; border-radius:50%; background:#f4bd17; box-shadow:0 0 0 5px rgba(244,189,23,.16); }
  .mobile-hero-copy h1 { margin:17px 0 14px!important; color:#101d35!important; font-size:clamp(42px,12.8vw,55px)!important; line-height:.98!important; letter-spacing:-.052em!important; }
  .mobile-hero-copy h1 em { color:#275bd4; font-style:normal; }
  .hero-v3 .mobile-hero-copy h1 + p { color:#40516b!important; opacity:1!important; filter:none!important; font-size:16px!important; font-weight:600; line-height:1.58!important; }
  .mobile-hero-copy > a { min-height:54px; margin-top:22px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border-radius:13px; color:#fff; background:#16a75c; box-shadow:0 14px 30px rgba(22,167,92,.24); font-size:14px; font-weight:850; text-decoration:none; }
  .mobile-hero-copy > a b { font-size:18px; }
  .mobile-live-card { overflow:hidden; border:1px solid #cdd8e8; border-radius:21px; background:#0e1d38; box-shadow:0 22px 48px rgba(20,45,91,.18); }
  .mobile-live-head { min-height:43px; padding:0 14px; display:flex; align-items:center; justify-content:space-between; color:#e8effc; font-size:9px; font-weight:850; letter-spacing:.07em; }
  .mobile-live-head span { display:flex; align-items:center; gap:7px; }
  .mobile-live-head span i { width:7px; height:7px; border-radius:50%; background:#36d786; box-shadow:0 0 0 5px rgba(54,215,134,.13); }
  .mobile-live-head small { color:#9fb1d0; font-size:9px; }
  .mobile-live-card > img { width:100%; height:235px; display:block; object-fit:cover; object-position:52% center; }
  .mobile-staff-app-screen { min-height:300px; padding:18px; color:#172743; background:linear-gradient(155deg,#f8fbff,#e9f1fc); }
  .mobile-app-slider { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; overscroll-behavior-x:contain; touch-action:pan-x; }
  .mobile-app-slider::-webkit-scrollbar { display:none; }
  .mobile-app-slide { width:100%; min-width:100%; min-height:360px; flex:0 0 100%; scroll-snap-align:start; box-sizing:border-box; }
  .mobile-image-slide { position:relative; min-height:0; margin:0; padding:0 0 82px; overflow:hidden; background:#edf3fb; }
  .mobile-image-slide > img { width:100%; aspect-ratio:3/2; display:block; object-fit:cover; object-position:center; }
  .mobile-image-slide.is-field > img { object-position:center; }
  .mobile-image-slide figcaption { position:absolute; left:12px; right:12px; bottom:12px; min-height:64px; padding:12px 14px 11px 50px; display:flex; flex-direction:column; justify-content:center; border:1px solid #d7e1ed; border-radius:14px; color:#172743; background:#fff; box-shadow:0 12px 25px rgba(16,35,68,.15); }
  .mobile-image-slide figcaption::before { content:"✓"; position:absolute; left:13px; top:50%; width:27px; height:27px; display:grid; place-items:center; transform:translateY(-50%); border-radius:50%; color:#fff; background:#1ebd70; font-size:13px; font-weight:900; }
  .mobile-image-slide figcaption[data-state="danger"]::before { content:"!"; background:#df4242; }
  .mobile-image-slide figcaption small { color:#647b9f; font-size:7px; font-weight:900; letter-spacing:.08em; }
  .mobile-image-slide figcaption strong { margin-top:3px; font-size:13px; line-height:1.15; }
  .mobile-image-slide figcaption span { margin-top:3px; color:#6e7b8e; font-size:8px; }
  .mobile-device-slide { position:relative; min-height:360px; margin:0; padding:0; overflow:hidden; background:#e9eef6; }
  .mobile-device-slide > img { width:100%; height:278px; display:block; object-fit:cover; object-position:50% 50%; }
  .mobile-device-slide figcaption { min-height:82px; padding:13px 17px; display:flex; flex-direction:column; justify-content:center; color:#172743; background:#fff; }
  .mobile-device-slide figcaption small { color:#5872a0; font-size:8px; font-weight:900; letter-spacing:.09em; }
  .mobile-device-slide figcaption strong { margin-top:4px; font-size:14px; }
  .mobile-device-slide figcaption span { margin-top:4px; color:#6d7b90; font-size:9px; }
  .mobile-slider-controls { height:52px; padding:0 15px; display:flex; align-items:center; justify-content:space-between; border-top:1px solid #dce4ef; background:#f6f9fd; position:relative; z-index:4; }
  .mobile-slider-controls button { width:32px;height:32px;display:grid;place-items:center;border:1px solid #d5deeb;border-radius:10px;color:#2456c8;background:#fff;font-size:15px;font-weight:900; }
  .mobile-slider-controls>div { display:flex;gap:6px }.mobile-slider-controls>div i{width:6px;height:6px;border-radius:50%;background:#c2ccda;transition:.2s}.mobile-slider-controls>div i.is-active{width:20px;border-radius:6px;background:#2456d8}
  .mobile-tracking-screen,.mobile-payroll-screen { padding:22px 18px;color:#172743;background:linear-gradient(155deg,#f8fbff,#e9f1fc); }
  .mobile-tracking-screen>small,.mobile-payroll-screen>small { color:#5572a4;font-size:8px;font-weight:900;letter-spacing:.1em }.mobile-tracking-screen>strong,.mobile-payroll-screen>strong{display:block;margin-top:7px;font-size:18px;line-height:1.25}
  .mobile-mini-map{height:205px;margin-top:18px;position:relative;overflow:hidden;border:1px solid #d5dfec;border-radius:17px;background:linear-gradient(28deg,transparent 47%,#d8e2ef 48% 52%,transparent 53%),linear-gradient(145deg,transparent 45%,#e1e8f1 46% 52%,transparent 53%),#fff}.mobile-mini-map span{position:absolute;left:12%;top:52%;width:72%;height:70px;border-top:5px dashed #285bd2;border-radius:50%;transform:rotate(-8deg)}.mobile-mini-map i{position:absolute;z-index:2;width:28px;height:28px;display:grid;place-items:center;border:4px solid white;border-radius:50%;color:white;background:#285bd2;font-style:normal;font-size:9px}.mobile-mini-map .m1{left:15%;top:52%}.mobile-mini-map .m2{left:49%;top:35%}.mobile-mini-map .m3{right:12%;top:47%}.mobile-track-summary{margin-top:12px;padding:13px;border-radius:13px;background:#fff}.mobile-track-summary b{display:block;font-size:14px}.mobile-track-summary span{display:block;margin-top:4px;color:#69768b;font-size:9px}
  .mobile-payroll-screen>div{margin-top:12px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d9e2ee;border-radius:13px;background:#fff}.mobile-payroll-screen>div span{font-size:10px;font-weight:850}.mobile-payroll-screen>div span i{width:22px;height:22px;margin-right:8px;display:inline-grid;place-items:center;border-radius:50%;color:white;background:#1dbf72;font-style:normal}.mobile-payroll-screen>div b{color:#63718a;font-size:8px;text-align:right}.mobile-payroll-screen>div.is-ready{border-color:#f2cc4d;background:#fff8d9}.mobile-payroll-screen>div.is-ready span i{color:#153468;background:#f3bf1b}
  .mobile-app-greeting small,.mobile-app-time small,.mobile-app-route>small { display:block; color:#70809b; font-size:8px; font-weight:900; letter-spacing:.08em; }
  .mobile-app-greeting strong { display:block; margin-top:5px; font-size:15px; }
  .mobile-app-time { margin-top:14px; padding:16px; border-radius:16px; color:#fff; background:linear-gradient(135deg,#2456c8,#163a82); box-shadow:0 14px 28px rgba(25,63,139,.2); }
  .mobile-app-time small { color:#aac4ff; }.mobile-app-time b{display:block;margin-top:5px;font-size:30px}.mobile-app-time span{display:block;margin-top:7px;font-size:9px}.mobile-app-time span i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#42df91}
  .mobile-app-route { margin-top:14px; padding:14px; border:1px solid #d9e3f0; border-radius:15px; background:#fff; }
  .mobile-app-route>div { margin-top:10px; display:flex; align-items:center; gap:9px; }
  .mobile-app-route>div>i { width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#285bd2;font-style:normal;font-size:9px;font-weight:900}.mobile-app-route>div:first-of-type>i{background:#1dbf72}.mobile-app-route span{font-size:10px;font-weight:850}.mobile-app-route span small{display:block;margin-top:2px;color:#7b8799;font-size:8px;font-weight:600}
  .mobile-app-track { margin-top:12px;padding:11px 13px;display:flex;align-items:center;gap:9px;border-radius:13px;color:#0d7547;background:#dbf7e9}.mobile-app-track>i{width:9px;height:9px;border-radius:50%;background:#1ec174;box-shadow:0 0 0 5px rgba(30,193,116,.14)}.mobile-app-track b{display:block;font-size:10px}.mobile-app-track small{display:block;margin-top:2px;color:#54816c;font-size:8px}
  .mobile-attendance-result { margin:0 12px 12px; position:relative; z-index:2; padding:13px; display:flex; gap:11px; align-items:center; border-radius:14px; background:#fff; box-shadow:0 14px 32px rgba(4,17,42,.28); }
  .mobile-attendance-result > i { width:39px; height:39px; flex:0 0 39px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#1fbf72; font-style:normal; font-size:18px; font-weight:900; }
  .mobile-attendance-result div { min-width:0; }
  .mobile-attendance-result small { display:block; color:#6680ac; font-size:8px; font-weight:900; letter-spacing:.07em; }
  .mobile-attendance-result strong { display:block; margin-top:3px; color:#14243f; font-size:13px; line-height:1.2; }
  .mobile-attendance-result span { display:block; margin-top:4px; color:#68768b; font-size:9px; }
  .mobile-workflow-strip { margin-top:13px; padding:15px 11px; display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:center; gap:5px; border:1px solid #d5deec; border-radius:16px; background:#fff; }
  .mobile-workflow-strip > div { min-width:0; text-align:center; }
  .mobile-workflow-strip b { width:25px; height:25px; margin:auto; display:grid; place-items:center; border-radius:8px; color:#fff; background:#285bd2; font-size:9px; }
  .mobile-workflow-strip span { display:block; margin-top:7px; color:#263650; font-size:9px; font-weight:850; line-height:1.25; }
  .mobile-workflow-strip small { display:block; margin-top:3px; color:#7b8799; font-size:7px; font-weight:600; }
  .mobile-workflow-strip > i { color:#e5ae0b; font-style:normal; font-size:13px; }
  .mobile-hero-proof { padding:18px 3px 2px; display:grid; grid-template-columns:1fr 1fr; gap:9px; }
  .mobile-hero-proof span { color:#41516a; font-size:10px; font-weight:800; }
  .hero-v3-copy { padding: 58px 18px 48px; }
  .hero-v3 h1 { font-size: clamp(48px, 13.8vw, 61px) !important; }
  .hero-v3-actions { flex-direction: column !important; }
  .hero-v3-trust { gap: 12px; justify-content: space-between; }
  .hero-v3-trust { flex-direction: column; }
  .hero-v3-trust span { max-width: none; font-size: 9px; }
  .hero-v3-product { min-height: 530px; }
  .hero-v3 .terminal-bezel.is-live-scene { width: 94%; }
  .hero-v3 .generated-hero-visual { min-height: 0; height: 435px !important; }
  .hero-v3 .hero-live-rail { top: 15px; left: 15px; right: 15px; }
  .hero-v3 .hero-live-proof { left: 15px; right: 15px; bottom: 15px; }
  .diagnostic-questions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .diagnostic-question,
  .diagnostic-question:last-child {
    grid-column: 1;
    min-height: 76px;
    padding: 12px !important;
  }
  .diagnostic-question > span strong { font-size: 15px; }
  .diagnostic-question > span small { font-size: 12px; }
  .hero-stage-label { top: 14px; right: 14px; font-size: 7px; }
  .hero-data-path { bottom: 10px; gap: 5px; font-size: 6px; }
  .hero-payroll-card {
    width: 190px;
    right: 10px;
    top: 72px;
    padding: 12px;
  }
  .terminal-story { padding: 78px 18px; }
  .terminal-story-copy h2 { font-size: 50px; }
  .terminal-story-copy > p { font-size: 15px; }
  .terminal-spec-line { overflow-x: auto; scrollbar-width: none; }
  .terminal-spec { min-width: 138px; }
  .terminal-story-visual { min-height: 560px; }
  .terminal-device-window { width: 300px; height: 510px; }
  .terminal-device-window img { width: 100%; left: 0; object-position: 50% center; }
  .orbit-one { width: 440px; height: 440px; }
  .orbit-two { width: 560px; height: 560px; }
  .terminal-event { min-width: 148px; padding: 10px; }
  .terminal-event i { width: 28px; height: 28px; }
  .terminal-event span { font-size: 9px; }
  .event-face { left: -8px; top: 12%; }
  .event-offline { right: -15px; top: 44%; }
  .event-sync { left: -5px; bottom: 9%; }
  .diagnostic-section { padding: 78px 18px; }
  .diagnostic-intro h2 { font-size: 43px; }
  .diagnostic-intro > p { font-size: 15px; }
  .diagnostic-shell { gap: 42px; }
  .diagnostic-question { padding-top: 15px; padding-bottom: 15px; }
  .answer-you-asked,
  .answer-reason,
  .answer-solution { padding: 23px 21px; }
  .answer-reason { grid-template-columns: 1fr; gap: 2px; }
  .answer-reason small { margin-bottom: 5px; }
  .answer-solution h3 { font-size: 34px; }
  .answer-solution > a { width: 100%; justify-content: center; min-height: 50px; }
  .outcome-story { padding: 72px 18px; }
  .outcome-story-head { display: block; }
  .outcome-story-head h2 { font-size: 42px; }
  .outcome-story-head > p { font-size: 15px; }
  .outcome-role-tabs,
  .outcome-stage { display: none; }
  .outcome-mobile-list {
    display: grid;
    gap: 18px;
    margin-top: 38px;
  }
  .outcome-mobile-list article {
    padding: 25px 21px 21px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    color: #152544;
    background: #f8faff;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
  }
  .outcome-mobile-list article > span {
    color: var(--ab-blue);
    font: 700 9px/1 "JetBrains Mono", monospace;
    letter-spacing: .13em;
  }
  .outcome-mobile-list h3 {
    margin: 12px 0 20px;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .outcome-mobile-list article > div {
    padding: 14px;
    border-radius: 12px;
    background: #f0f3f8;
  }
  .outcome-mobile-list article > div small {
    display: block;
    margin-bottom: 5px;
    color: #a45151;
    font: 700 8px/1 "JetBrains Mono", monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .outcome-mobile-list article > div p {
    color: #67748a;
    font-size: 12px;
    line-height: 1.55;
  }
  .outcome-mobile-list article > b {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin: -3px auto;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    color: #132b5c;
    background: var(--ab-yellow);
  }
  .outcome-mobile-list article > .mobile-after {
    background: #e9f7ef;
  }
  .outcome-mobile-list article > .mobile-after small { color: #14804a; }
  .outcome-mobile-list article > a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding: 0 15px;
    border-radius: 9px;
    color: #152b5a;
    background: var(--ab-yellow);
    font-size: 11px;
    font-weight: 800;
  }
  .outcome-mobile-list article > a i { font-style: normal; }
}
.panel-changing {
  animation: panelSwap .42s cubic-bezier(.2,.75,.25,1);
}
@keyframes panelSwap {
  0% { opacity: .25; transform: translateY(8px); }
  100% { opacity: 1; transform: none; }
}

.terminal-bezel {
  background:
    linear-gradient(145deg, #0c1427, #18233a);
  position: relative;
}
.terminal-bezel::before {
  content: "ATTENDANCEBOX COMPLETE SOLUTION";
  position: absolute;
  right: -58px;
  top: 142px;
  transform: rotate(90deg);
  font: 600 8px/1 "JetBrains Mono", monospace;
  letter-spacing: .18em;
  color: rgba(255,255,255,.35);
}
.terminal-bezel.is-live-scene {
  padding: 8px !important;
  overflow: hidden;
  background: #101a2e;
  box-shadow: 0 28px 70px rgba(10, 25, 55, .25);
}
.hero-live-rail {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9px;
  color: white;
  background: rgba(10,25,55,.72);
  backdrop-filter: blur(10px);
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-live-rail i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #51df8a;
  box-shadow: 0 0 0 5px rgba(81,223,138,.14);
}
.hero-live-proof {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,.35);
  box-shadow: 0 12px 32px rgba(5,15,36,.22);
}
.hero-live-proof div {
  padding: 12px 13px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(9px);
}
.hero-live-proof small {
  display: block;
  margin-bottom: 5px;
  color: #71809a;
  font: 700 8px/1 "JetBrains Mono", monospace;
  letter-spacing: .08em;
}
.hero-live-proof strong { display: block; color: #17233a; font-size: 11px; }
.terminal-bezel.is-live-scene::before { display: none; }
.generated-hero-visual {
  width: 100% !important;
  height: clamp(330px, 38vw, 470px) !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 58% center;
  border-radius: 18px !important;
}

.field-suite {
  padding: 112px 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 74% 42%, rgba(64,116,224,.32), transparent 27%),
    linear-gradient(135deg, #10244f, #173b80 58%, #102b61);
}
.field-suite-shell {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
}
.field-kicker {
  color: var(--ab-yellow);
  font: 700 12px/1 "JetBrains Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.field-suite-copy h2 {
  margin: 20px 0 24px;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.048em;
}
.field-suite-copy h2 em { color: #8eb3ff; font-style: normal; }
.field-suite-copy > p {
  max-width: 540px;
  color: #c9d7f1;
  font-size: 17px;
  line-height: 1.75;
}
.field-mode-tabs {
  display: flex;
  gap: 4px;
  margin-top: 34px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.field-mode {
  flex: 0 0 auto;
  padding: 13px 8px;
  border-bottom: 2px solid transparent;
  color: #aebfdf;
  background: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.field-mode.is-active { color: white; border-color: var(--ab-yellow); }
.field-mode-copy { min-height: 88px; padding-top: 22px; }
.field-mode-copy strong { display: block; margin-bottom: 8px; font-size: 18px; }
.field-mode-copy span { display: block; color: #b9c9e7; font-size: 14px; line-height: 1.65; }
.field-suite-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #142a5b;
  padding: 15px 20px;
  border-radius: 10px;
  background: var(--ab-yellow);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(5,15,36,.2);
}
.field-suite-cta span { transition: transform .25s ease; }
.field-suite-cta:hover span { transform: translateX(5px); }
.field-product-stage {
  min-height: 600px;
  position: relative;
}
.field-map {
  position: absolute;
  inset: 28px 0 0 34px;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: #f7f9fc;
  box-shadow: 0 40px 90px rgba(4,13,33,.4);
}
.field-map > svg { width: 100%; height: 100%; object-fit: cover; }
.map-road { fill: none; stroke: #d0d9e6; stroke-width: 24; stroke-linecap: round; }
.map-road.thin { stroke-width: 14; }
.map-route {
  fill: none;
  stroke: var(--ab-blue);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 14 12;
  animation: routeMove 1.3s linear infinite;
}
.map-stop circle:first-child { fill: white; stroke: var(--ab-blue); stroke-width: 4; }
.map-stop circle:last-child { fill: var(--ab-yellow); }
.map-person {
  offset-path: path("M80 394C167 357 209 405 294 338S469 247 627 273");
  animation: fieldTravel 9s ease-in-out infinite;
  fill: var(--ab-blue);
  stroke: white;
  stroke-width: 3;
}
.map-person path { fill: var(--ab-yellow); stroke: none; }
@keyframes routeMove { to { stroke-dashoffset: -26; } }
@keyframes fieldTravel {
  0%, 8% { offset-distance: 0%; }
  45%, 55% { offset-distance: 48%; }
  92%, 100% { offset-distance: 100%; }
}
.map-topbar {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-topbar img {
  width: 150px;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 24px rgba(23,47,100,.12);
}
.map-topbar span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #21385f;
  background: rgba(255,255,255,.92);
  font: 700 9px/1 "JetBrains Mono", monospace;
}
.map-topbar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #20b468;
}
.map-summary {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 15px;
  color: #1a2d52;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 36px rgba(23,47,100,.16);
}
.map-summary small { display: block; color: #75849c; font: 700 8px/1 "JetBrains Mono", monospace; }
.map-summary strong { display: block; margin: 8px 0 3px; font-size: 17px; }
.map-summary span { color: #687790; font-size: 11px; }
.staff-phone {
  width: 268px;
  height: 544px;
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  padding: 9px;
  border: 2px solid #536680;
  border-radius: 38px;
  background: #0b1424;
  box-shadow: 0 36px 80px rgba(4,13,33,.48);
  transform: rotate(-2.5deg);
}
.phone-speaker {
  width: 76px;
  height: 20px;
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #0b1424;
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  color: #15233b;
  background: #f5f8fd;
}
.phone-brand { padding: 34px 17px 12px; background: white; }
.phone-brand img { width: 144px; }
.phone-brand span { display: block; margin-top: 13px; color: #52617a; font-size: 12px; }
.phone-status { margin: 0 14px; padding: 17px; color: white; border-radius: 0 0 18px 18px; background: var(--ab-blue); }
.phone-status small { display: block; color: #b9ccf3; font: 700 8px/1 "JetBrains Mono", monospace; }
.phone-status strong { display: block; margin: 9px 0; font-size: 27px; }
.phone-status span { font-size: 10px; }
.phone-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #5be092; }
.phone-punch {
  width: calc(100% - 28px);
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 14px;
  padding: 13px;
  border: 0;
  border-radius: 13px;
  color: #17315f;
  background: #fff4c6;
  text-align: left;
}
.phone-punch b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: #20b468; }
.phone-punch span { font-size: 11px; font-weight: 800; }
.phone-punch small { display: block; margin-top: 3px; color: #6d788a; font-size: 8px; font-weight: 600; }
.phone-route { padding: 0 18px; }
.phone-route > strong { display: block; margin-bottom: 10px; font-size: 11px; }
.phone-route > span { display: block; position: relative; padding: 0 0 13px 15px; color: #273a5b; font-size: 9px; font-weight: 700; border-left: 1px dashed #afbed4; }
.phone-route > span i { width: 7px; height: 7px; position: absolute; left: -4px; top: 2px; border-radius: 50%; background: var(--ab-blue); }
.phone-route > span small { display: block; margin-top: 3px; color: #8490a2; font-size: 8px; font-weight: 500; }
.phone-nav {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-around;
  padding: 12px 4px;
  border-top: 1px solid #e2e8f1;
  color: #8a96a8;
  background: white;
  font-size: 8px;
}
.phone-nav b { color: var(--ab-blue); }

@media (max-width: 980px) {
  .field-suite-shell { grid-template-columns: 1fr; }
  .field-suite-copy > p { max-width: 760px; }
  .field-product-stage { max-width: 720px; width: 100%; margin: 10px auto 0; }
}
@media (max-width: 600px) {
  .field-suite { padding: 78px 18px; }
  .field-product-stage { min-height: 510px; }
  .field-map { inset: 54px -100px 0 62px; }
  .staff-phone { width: 238px; height: 490px; }
  .map-topbar img { display: none; }
  .map-summary { right: 114px; min-width: 190px; }
}

.live-story {
  padding: 96px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(242,201,76,.16), transparent 25%),
    #f5f8ff;
}
.live-story-shell {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: .82fr 1.38fr;
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.live-story-heading > span {
  color: var(--ab-blue);
  font: 700 12px/1 "JetBrains Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.live-story-heading h2 {
  margin: 18px 0 22px;
  color: #111827;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.live-story-heading h2 em {
  color: var(--ab-blue);
  font-style: normal;
}
.live-story-heading p {
  max-width: 490px;
  color: #5f6b7c;
  font-size: 17px;
  line-height: 1.75;
}
.live-story-frame {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #dfe7f5;
  box-shadow: 0 34px 80px rgba(23,47,100,.18);
}
.live-story-frame > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 36% center;
  transition: transform 1.2s cubic-bezier(.2,.75,.25,1);
}
.live-story-frame:hover > img { transform: scale(1.025); }
.live-story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,25,55,.52));
  pointer-events: none;
}
.live-story-signal {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 999px;
  color: #fff;
  background: rgba(15,32,68,.76);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.live-story-signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56df8a;
  box-shadow: 0 0 0 5px rgba(86,223,138,.14);
}
.live-story-signal b { color: var(--ab-yellow); }
.live-story-event {
  position: absolute;
  z-index: 3;
  top: 100px;
  right: 22px;
  width: min(290px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 15px;
  color: #182843;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 42px rgba(10,29,65,.22);
  backdrop-filter: blur(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.live-story-event.is-changing { opacity: 0; transform: translateY(8px); }
.live-story-event > i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #21bb71;
  box-shadow: 0 0 0 6px rgba(33,187,113,.12);
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
}
.live-story-event[data-event="logout"] > i { background: var(--ab-blue); box-shadow: 0 0 0 6px rgba(35,74,151,.12); }
.live-story-event small {
  display: block;
  margin-bottom: 4px;
  color: #66748a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .045em;
}
.live-story-event strong { display: block; font-size: 16px; line-height: 1.2; }
.live-story-event span { display: block; margin-top: 4px; color: #657289; font-size: 11px; line-height: 1.3; }
.live-story-proof {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: min(340px, calc(100% - 44px));
  padding: 22px;
  border-radius: 20px;
  color: white;
  background: rgba(23,47,100,.9);
  backdrop-filter: blur(12px);
}
.live-story-proof small {
  color: var(--ab-yellow);
  font: 700 9px/1 "JetBrains Mono", monospace;
  letter-spacing: .14em;
}
.live-story-proof strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 21px;
}
.live-story-proof p { color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; }

@media (max-width: 900px) {
  .live-story { padding: 72px 20px; }
  .live-story-shell { grid-template-columns: 1fr; }
  .live-story-heading p { max-width: 680px; }
  .live-story-frame, .live-story-frame > img { min-height: 480px; }
}
@media (max-width: 560px) {
  .generated-hero-visual { height: 330px !important; object-position: 61% center; }
  .live-story-frame, .live-story-frame > img { min-height: 460px; }
  .live-story-signal { left: 14px; top: 14px; gap: 6px; padding: 9px 11px; font-size: 9px; }
  .live-story-event { top: 70px; right: 14px; width: calc(100% - 28px); }
  .live-story-proof { right: 14px; bottom: 14px; width: calc(100% - 28px); }
}

.wf-tab { position: relative; overflow: hidden; }
.wf-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--wf-progress, 0%);
  background: var(--ab-yellow);
  transition: width .15s linear;
}

#wf-display-window { position: relative; overflow: hidden; }
#wf-display-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--phase-progress, 14.28%);
  height: 4px;
  background: var(--ab-yellow);
  transition: width .45s ease;
}

.automation-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.automation-pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22,163,74,.4);
  animation: abPulse 1.8s infinite;
}
@keyframes abPulse {
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.smart-advisor {
  background:
    linear-gradient(135deg, rgba(35,74,151,.97), rgba(23,47,100,.99)),
    url("https://attendancebox.in/images/ab-slider-Desktop.jpg") center/cover;
  color: white;
}
.advisor-shell {
  max-width: 1120px;
  margin: auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.advisor-shell h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.04em;
}
.advisor-shell h2 span { color: var(--ab-yellow); }
.advisor-shell p { color: #d8e2f5; margin-top: 18px; line-height: 1.65; }
.advisor-panel {
  background: white;
  color: #0f172a;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 18px 18px 0 rgba(242,201,76,.95);
}
.advisor-panel > p {
  color: #64748b;
  margin: 4px 0 18px;
  font-size: 13px;
}
.advisor-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.advisor-option {
  border: 1px solid #dbe2ec;
  background: #f8fafc;
  padding: 13px;
  border-radius: 11px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.advisor-option:hover,
.advisor-option.is-selected {
  border-color: var(--ab-blue);
  background: #eff6ff;
  color: var(--ab-blue);
}
.advisor-result {
  display: none;
  margin-top: 18px;
  border-left: 4px solid var(--ab-yellow);
  background: #f8fafc;
  padding: 16px;
}
.advisor-result.is-visible { display: block; }
.advisor-result small { color: #64748b; }
.advisor-result strong { display: block; color: var(--ab-blue-dark); margin: 4px 0; }
.advisor-result a {
  display: inline-block;
  margin-top: 10px;
  background: var(--ab-blue);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.lead-context {
  display: none;
  padding: 12px 14px;
  border-radius: 9px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--ab-blue-dark);
  font-size: 12px;
  margin-bottom: 14px;
}
.lead-context.is-visible { display: block; }
.field-error { border-color: #dc2626 !important; background: #fff7f7 !important; }
.form-error {
  display: none;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}
.form-error.is-visible { display: block; }

.floating-demo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  color: #172342;
  background: var(--ab-yellow);
  box-shadow: 0 12px 35px rgba(15,23,42,.25);
  font-size: 12px;
  font-weight: 800;
}
.floating-demo i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ab-blue);
  color: white;
  display: grid;
  place-items: center;
  font-style: normal;
}
.whatsapp-chat {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 46;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  color: white;
  background: #159b52;
  box-shadow: 0 12px 35px rgba(12,88,45,.28);
  font-size: 11px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(12,88,45,.34);
}
.whatsapp-chat i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #159b52;
  background: white;
  font-size: 16px;
  font-style: normal;
}
.whatsapp-chat span { display: block; line-height: 1.05; }
.whatsapp-chat small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.72);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .advisor-shell { grid-template-columns: 1fr; gap: 30px; padding: 60px 20px; }
  .advisor-panel { box-shadow: 8px 8px 0 rgba(242,201,76,.95); }
  .advisor-options { grid-template-columns: 1fr; }
  .floating-demo span { display: none; }
  .floating-demo { padding: 8px; }
  .whatsapp-chat {
    right: 18px;
    bottom: 76px;
    padding: 8px;
  }
  .whatsapp-chat span { display: none; }
  .glass-header a[aria-label="AttendanceBox home"] img,
  .glass-header a[href="https://attendancebox.in/"] img {
    width: 205px !important;
    max-width: 64vw;
  }
  #mobile-menu a { font-size: 14px; }
}

@media (max-width: 600px) {
  .hero-mesh h1 {
    font-size: clamp(43px, 13vw, 58px) !important;
    line-height: .98 !important;
    letter-spacing: -.052em !important;
  }
  .hero-mesh h1 + p { font-size: 16px !important; line-height: 1.65 !important; }
  .hero-mesh .flex.flex-col { width: 100%; gap: 11px !important; }
  .hero-primary-cta,
  .hero-secondary-cta {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    text-align: center;
  }
  .terminal-bezel.is-live-scene { border-radius: 22px !important; }
  .hero-live-rail {
    top: 14px;
    left: 14px;
    right: 14px;
    font-size: 8px;
  }
  .hero-live-proof {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .hero-live-proof div { padding: 10px; }
  .hero-live-proof strong { font-size: 9px; }
  .field-suite-copy h2 { font-size: 39px; }
  .field-suite-copy > p { font-size: 15px; line-height: 1.7; }
  .field-mode-tabs {
    margin-right: -18px;
    padding-right: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .field-mode-tabs::-webkit-scrollbar { display: none; }
  .field-mode { scroll-snap-align: start; padding-right: 14px; }
  .field-mode-copy { min-height: 116px; }
  .field-suite-cta {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    text-align: center;
  }
  .field-product-stage { min-height: 520px; margin-top: 28px; }
  .field-map {
    inset: 44px -72px 0 74px;
    opacity: .92;
    border-width: 5px;
    border-radius: 22px;
  }
  .staff-phone {
    width: 238px;
    height: 490px;
    left: 50%;
    transform: translateX(-50%) rotate(-1.5deg);
  }
  .map-topbar { justify-content: flex-end; }
  .map-summary {
    right: 16px;
    bottom: 14px;
    min-width: 178px;
    padding: 13px;
  }
  .map-summary strong { font-size: 14px; }
  .live-story-heading h2 { font-size: 39px; }
  .live-story-heading p { font-size: 15px; }
}

@media (min-width: 1024px) and (max-width: 1220px) {
  .glass-header > div:first-child { padding-left: 18px; padding-right: 18px; }
  .glass-header a[aria-label="AttendanceBox home"] img,
  .glass-header a[href="https://attendancebox.in/"] img { width: 178px !important; }
  .glass-header nav { gap: 12px !important; font-size: 11px !important; }
  .glass-header a[href="#lead-capture"] { padding-left: 13px !important; padding-right: 13px !important; font-size: 11px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .smart-reveal { opacity: 1; transform: none; }
  .content-enter, .hero-content-enter {
    opacity: 1;
    transform: none;
    filter: none;
  }
  #ab-preloader { display: none; }
}

/* Laptop-sized desktop: each cinematic idea fits below the sticky header. */
@media (min-width: 1021px) and (max-height: 850px) {
  .hero-v3,
  .hero-v3-shell {
    min-height: 0;
    height: calc(100vh - 92px);
  }
  .hero-v3-copy { padding: 38px clamp(34px, 4vw, 66px); }
  .hero-v3 h1 {
    margin-top: 17px;
    margin-bottom: 16px;
    font-size: clamp(50px, 4.5vw, 70px) !important;
  }
  .hero-v3 h1 + p { font-size: 14px !important; line-height: 1.55 !important; }
  .hero-v3-actions { margin-top: 22px; }
  .hero-v3-actions a { min-height: 48px; }
  .hero-v3-trust { margin-top: 18px; padding-top: 17px !important; }
  .hero-v3 .generated-hero-visual {
    min-height: 0;
    height: min(520px, 70vh) !important;
  }
  .hero-payroll-card { top: 58px; }

  .diagnostic-section,
  .field-suite,
  .terminal-story,
  .outcome-story,
  .live-story {
    width: 100%;
    min-height: 0;
    height: calc(100vh - 92px);
    padding: 36px 24px;
    box-sizing: border-box;
  }
  .diagnostic-shell,
  .field-suite-shell,
  .terminal-story-shell,
  .outcome-story-shell,
  .live-story-shell {
    width: 100%;
    max-height: 100%;
  }
  .diagnostic-intro h2 { margin: 14px 0; font-size: clamp(38px, 3.5vw, 54px); }
  .diagnostic-intro > p { font-size: 13px; line-height: 1.55; }
  .diagnostic-questions { margin-top: 17px; }
  .diagnostic-question { padding-top: 9px; padding-bottom: 9px; font-size: 11px; }
  .answer-you-asked,
  .answer-reason,
  .answer-solution { padding: 18px 23px; }
  .answer-you-asked strong { font-size: 24px; }
  .answer-reason { grid-template-columns: 150px 1fr; }
  .answer-reason p,
  .answer-solution > p { font-size: 12px; line-height: 1.5; }
  .answer-solution h3 { font-size: 31px; }
  .answer-flow,
  .answer-solution > a { margin-top: 13px; }

  .field-suite-copy h2 { margin: 14px 0 16px; font-size: clamp(38px, 3.6vw, 52px); }
  .field-suite-copy > p { font-size: 13px; line-height: 1.55; }
  .field-mode-tabs { margin-top: 20px; }
  .field-mode-copy { min-height: 70px; padding-top: 14px; }
  .field-suite-cta { margin-top: 13px; }
  .field-product-stage { min-height: 0; height: min(510px, 72vh); }
  .field-map { inset: 18px 0 0 34px; }
  .staff-phone {
    width: 240px;
    height: 488px;
    transform: rotate(-2.5deg);
  }

  .terminal-story-shell { gap: clamp(42px, 5vw, 74px); }
  .terminal-story-visual { min-height: 0; height: min(520px, 72vh); }
  .terminal-device-window { height: min(490px, 68vh); width: min(390px, 72%); }
  .orbit-one { width: 500px; height: 500px; }
  .orbit-two { width: 620px; height: 620px; }
  .terminal-story-copy h2 { margin: 14px 0 16px; font-size: clamp(38px, 3.8vw, 55px); }
  .terminal-story-copy > p { font-size: 13px; line-height: 1.55; }
  .terminal-spec-line { margin-top: 19px; }
  .terminal-spec { padding-top: 13px; padding-bottom: 13px; }
  .terminal-spec-detail { min-height: 70px; padding-top: 14px; }
  .terminal-spec-detail strong { font-size: 15px; }
  .terminal-spec-detail span { font-size: 11px; }
  .terminal-story-cta { margin-top: 9px; }

  .outcome-story-head { column-gap: 54px; }
  .outcome-story-head > span { margin-bottom: 11px; }
  .outcome-story-head h2 { font-size: clamp(36px, 3.5vw, 50px); }
  .outcome-story-head > p { font-size: 12px; line-height: 1.55; }
  .outcome-role-tabs { margin-top: 17px; }
  .outcome-role { padding-top: 9px; padding-bottom: 9px; }
  .outcome-stage { margin-top: 17px; grid-template-columns: .82fr 110px 1.18fr; }
  .outcome-before,
  .outcome-after { padding: 22px 27px; }
  .outcome-stage small { margin-bottom: 10px; }
  .outcome-before > strong,
  .outcome-after > strong { font-size: clamp(21px, 2vw, 29px); }
  .outcome-before ul { margin-top: 12px; }
  .outcome-before li { padding-top: 7px; padding-bottom: 7px; font-size: 11px; }
  .outcome-after > p { margin-top: 9px; font-size: 12px; line-height: 1.5; }
  .outcome-metrics { margin-top: 12px; padding-top: 12px; }
  .outcome-metrics b { font-size: 16px; }
  .outcome-after > a { min-height: 40px; margin-top: 13px; padding-top: 10px; padding-bottom: 10px; }

  .live-story-heading h2 { margin: 13px 0 15px; font-size: clamp(38px, 3.7vw, 52px); }
  .live-story-heading p { font-size: 13px; line-height: 1.55; }
  .live-story-frame,
  .live-story-frame > img { min-height: 0; height: min(500px, 70vh); }
}

/* Desktop reading-size pass: keep interface microcopy compact, never core content. */
@media (min-width: 1021px) {
  .hero-v3-kicker { font-size: 13px; letter-spacing: .12em; }
  .hero-v3 h1 {
    font-size: clamp(52px, 4vw, 62px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.038em !important;
  }
  .hero-v3 h1 + p { font-size: 16px !important; line-height: 1.58 !important; }
  .hero-v3-actions a { font-size: 15px; }
  .hero-v3-trust span { font-size: 13px; line-height: 1.4; }

  .hero-v3-copy > h1 { margin-bottom: 22px; }
  .hero-v3-actions { margin-top: 26px; }
  .hero-v3-trust { margin-top: 21px; }

  .glass-header nav { font-size: 14px !important; }
  .glass-header nav a {
    position: relative;
    transition: color .22s ease;
  }
  .glass-header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -11px;
    height: 3px;
    border-radius: 3px;
    background: var(--ab-yellow);
    transition: left .22s ease, right .22s ease;
  }
  .glass-header nav a:hover,
  .glass-header nav a.is-current { color: var(--ab-blue) !important; }
  .glass-header nav a.is-current::after {
    left: 18%;
    right: 18%;
  }
  .glass-header a[href="#lead-capture"] {
    min-width: 168px;
    white-space: nowrap;
    text-align: center;
  }

  .diagnostic-intro > p,
  .field-suite-copy > p,
  .terminal-story-copy > p,
  .outcome-story-head > p,
  .live-story-heading p { font-size: 15px; line-height: 1.58; }

  .diagnostic-question,
  .field-mode,
  .terminal-spec,
  .outcome-role { font-size: 13px; line-height: 1.4; }

  .answer-reason p,
  .answer-solution > p,
  .field-mode-copy p,
  .terminal-spec-detail span,
  .outcome-after > p,
  .live-story-proof p { font-size: 14px; line-height: 1.52; }

  .diagnostic-answer small {
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: .1em;
  }
  .answer-you-asked strong {
    font-size: clamp(25px, 2vw, 31px);
    line-height: 1.3;
    letter-spacing: -.015em;
  }
  .answer-reason p {
    color: #46546b;
    font-size: 15px;
    line-height: 1.6;
  }
  .answer-solution h3 {
    font-size: clamp(32px, 2.65vw, 40px);
    line-height: 1.14;
    letter-spacing: -.022em;
  }
  .answer-solution > p {
    margin-top: 14px;
    color: #46546b;
    font-size: 16px;
    line-height: 1.58;
  }
  .answer-flow { margin-top: 18px; }
  .answer-flow span { font-size: 11px; }
  .answer-solution > a { margin-top: 18px; }

  .answer-solution > a,
  .field-suite-cta,
  .terminal-story-cta,
  .outcome-after > a { font-size: 14px; }

  .outcome-before li { font-size: 13px; line-height: 1.45; }

  #solutions .grid p,
  #workforces .workforce-card p { font-size: 14px; line-height: 1.55; }
}

/* Industry-led hero: real workplaces, readable events, one consistent brand voice. */
.hero-v3-shell { grid-template-columns: .9fr 1.1fr; }
.hero-v3-kicker {
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .025em;
  text-transform: none;
}
.hero-v3-kicker i { width: 8px; height: 8px; }
.hero-v3 h1 + p {
  max-width: 560px;
  font-size: 17px !important;
  line-height: 1.58 !important;
  text-wrap: balance;
}
.hero-v3 .generated-hero-visual {
  transition: opacity .36s ease, transform .6s ease;
}
.hero-v3 .generated-hero-visual.is-changing {
  opacity: .16;
  transform: scale(1.018);
}
.hero-stage-label {
  top: 24px;
  right: 24px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
}
.hero-live-rail {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .025em;
  text-transform: none;
}
.hero-live-rail b { font-weight: 800; }
.hero-slide-count { color: #d9e5fb; font-weight: 800; }
.hero-live-proof {
  left: 50% !important;
  right: auto !important;
  bottom: 74px !important;
  transform: translateX(-50%);
  width: min(390px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  overflow: visible;
  box-shadow: 0 18px 45px rgba(8, 24, 54, .2);
}
.hero-live-proof::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -49px;
  right: 58px;
  width: 2px;
  height: 51px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(29,191,114,.82), rgba(29,191,114,0));
  box-shadow: 0 0 12px rgba(29,191,114,.3);
  transform: rotate(26deg);
  transform-origin: bottom center;
}
.hero-live-proof::after {
  content: "";
  position: absolute;
  top: -53px;
  right: 35px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #1dbf72;
  box-shadow: 0 0 0 5px rgba(29,191,114,.14), 0 0 18px rgba(29,191,114,.5);
}
.hero-live-proof > div { padding: 0; background: transparent; }
.hero-live-proof .hero-event-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #1dbf72;
  font-size: 20px;
  font-weight: 900;
}
.hero-live-proof[data-state="danger"] {
  border-color: rgba(220, 54, 54, .34);
  box-shadow: 0 16px 38px rgba(132, 24, 24, .16);
}
.hero-live-proof[data-state="danger"]::before {
  background: linear-gradient(to top, rgba(220,54,54,.82), rgba(220,54,54,0));
  box-shadow: 0 0 12px rgba(220,54,54,.28);
}
.hero-live-proof[data-state="danger"]::after {
  background: #dc3636;
  box-shadow: 0 0 0 5px rgba(220,54,54,.13), 0 0 18px rgba(220,54,54,.48);
}
.hero-live-proof[data-state="danger"] .hero-event-icon { background: #dc3636; }
.hero-live-proof[data-state="danger"] strong { color: #b42323; }
.hero-live-proof[data-state="success"] {
  border-color: rgba(29, 191, 114, .34);
}
.hero-live-proof[data-state="success"] strong { color: #087b49; }
.hero-device-screen {
  --screen-right: 8.5%; --screen-top: 29%;
  position: absolute; z-index: 4; top: var(--screen-top); right: var(--screen-right);
  width: clamp(54px, 7.2vw, 72px); min-height: 122px; padding: 8px 5px 7px;
  display: flex; flex-direction: column; align-items: center;
  border: 3px solid #111a28; border-radius: 7px; color: #11203a;
  background: linear-gradient(180deg, #f8fbff, #eaf2fb);
  box-shadow: 0 9px 20px rgba(4,12,27,.3), inset 0 0 0 1px rgba(255,255,255,.75);
  transform: rotate(.2deg); transition: top .35s ease, right .35s ease, opacity .2s ease;
  pointer-events: none;
}
.device-face-scan {
  position: relative; width: 44px; height: 48px; display: grid; place-items: center;
  overflow: hidden; color: #1e57bf; background: #dfeaff;
}
.device-face-scan svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.device-face-scan i {
  position: absolute; left: 3px; right: 3px; top: 8px; height: 2px;
  background: #21bd71; box-shadow: 0 0 7px #21bd71;
  animation: deviceFaceScan 1.8s ease-in-out infinite alternate;
}
.scan-corner { position: absolute; width: 8px; height: 8px; border-color: #1e57bf; border-style: solid; z-index: 2; }
.corner-a { left: 2px; top: 2px; border-width: 2px 0 0 2px; }
.corner-b { right: 2px; top: 2px; border-width: 2px 2px 0 0; }
.corner-c { left: 2px; bottom: 2px; border-width: 0 0 2px 2px; }
.corner-d { right: 2px; bottom: 2px; border-width: 0 2px 2px 0; }
.hero-device-screen time { margin-top: 5px; color: #17233a; font-size: 8px; font-weight: 900; line-height: 1; }
.hero-device-screen strong { margin-top: 4px; color: #31527f; font-size: 5.5px; font-weight: 900; letter-spacing: .04em; }
.hero-device-screen b {
  width: 100%; margin-top: 5px; padding: 4px 2px; border-radius: 3px;
  color: #fff; background: #12985b; font-size: 5.5px; font-weight: 900;
  line-height: 1.15; text-align: center;
}
.hero-device-screen[data-state="danger"] .device-face-scan { color: #b42323; background: #ffe5e5; }
.hero-device-screen[data-state="danger"] .device-face-scan i { background: #dc3636; box-shadow: 0 0 7px #dc3636; }
.hero-device-screen[data-state="danger"] .scan-corner { border-color: #dc3636; }
.hero-device-screen[data-state="danger"] b { background: #c92d2d; }
@keyframes deviceFaceScan { from { transform: translateY(0); } to { transform: translateY(29px); } }
.hero-live-proof small {
  margin-bottom: 4px;
  color: #617089;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .035em;
}
.hero-live-proof strong { font-size: 16px; line-height: 1.2; }
.hero-live-proof .hero-event-detail {
  display: block;
  margin-top: 4px;
  color: #64728a;
  font-size: 11px;
  line-height: 1.3;
}
.hero-industry-nav {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 35px rgba(19,44,93,.18);
  backdrop-filter: blur(12px);
}
.hero-field-app-badge {
  display: none;
  position: absolute;
  z-index: 4;
  left: 22px;
  right: auto;
  top: 72px;
  width: 250px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  color: #142750;
  background: rgba(255,255,255,.95);
  box-shadow: 0 15px 38px rgba(14,35,76,.22);
  backdrop-filter: blur(12px);
}
.terminal-bezel[data-mode="staff-app"] .hero-field-app-badge { display: block; }
.hero-field-app-badge small { display:block; color:#5471a4; font-size:9px; font-weight:900; letter-spacing:.06em; }
.hero-field-app-badge strong { display:block; margin-top:7px; color:#0b8550; font-size:14px; line-height:1.25; }
.hero-field-app-badge span { display:block; margin-top:5px; color:#66758d; font-size:10px; line-height:1.35; }
.hero-industry-nav button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #56647a;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.terminal-bezel[data-mode="staff-app"] .generated-hero-visual {
  height: clamp(270px, 52vh, 500px) !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #e9eef6;
}
.hero-industry-nav button:hover,
.hero-industry-nav button.is-active {
  color: #fff;
  background: var(--ab-blue);
}
.hero-data-path {
  display: none;
}

@media (max-width: 1020px) {
  .hero-v3-shell { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-v3-kicker { font-size: 13px; }
  .hero-v3 h1 + p { font-size: 16px !important; line-height: 1.58 !important; }
  .hero-industry-nav {
    left: 14px;
    right: 14px;
    bottom: 10px;
    transform: none;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .hero-industry-nav::-webkit-scrollbar { display: none; }
  .hero-industry-nav button { flex: 0 0 auto; }
  .terminal-bezel[data-mode="staff-app"] .generated-hero-visual {
    height: 435px !important;
    object-fit: cover !important;
    object-position: 50% center !important;
  }
  .terminal-bezel[data-mode="staff-app"] .hero-field-app-badge { display: none; }
  .hero-data-path { display: none; }
  .hero-live-proof {
    left: 50% !important;
    bottom: 70px !important;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    padding: 11px 12px;
  }
  .hero-live-proof::before { top: -34px; right: 43px; height: 36px; }
  .hero-live-proof::after { top: -38px; right: 27px; }
  .hero-live-proof .hero-event-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .hero-live-proof strong { font-size: 14px; }
  .hero-live-proof .hero-event-detail { font-size: 10px; }
}

/* Focused diagnostic modal: problem → cause → solution → outcome. */
.diagnostic-modal-dialog {
  width: min(1040px, 94vw);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 24px;
  background: white;
}
.diagnostic-modal .diagnostic-answer {
  display: block;
  border-radius: 24px;
  box-shadow: none;
}
.diagnostic-modal .answer-you-asked {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 72px 24px 30px;
  background:
    radial-gradient(circle at 88% 20%, rgba(81,132,235,.34), transparent 25%),
    linear-gradient(120deg, #102756, #21458d);
}
.diagnostic-modal .answer-you-asked small {
  margin-bottom: 8px;
  color: #a9c4fb;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .08em;
}
.diagnostic-modal .answer-you-asked strong {
  max-width: 850px;
  font-size: clamp(27px, 2.35vw, 36px);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.answer-modal-body {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  min-height: 382px;
}
.diagnostic-modal .answer-reason,
.diagnostic-modal .answer-solution {
  position: relative;
  display: block;
  padding: 28px 30px;
}
.diagnostic-modal .answer-reason {
  border-right: 1px solid #dfe6f1;
  border-bottom: 0;
  color: #34445f;
  background: #f3f6fb;
}
.diagnostic-modal .answer-solution { padding-right: 32px; }
.answer-step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 9px;
  color: #1b448f;
  background: #dfeaff;
  font-size: 11px;
  font-weight: 900;
}
.diagnostic-modal .answer-solution .answer-step {
  color: #172c58;
  background: var(--ab-yellow);
}
.diagnostic-modal .answer-reason > small,
.diagnostic-modal .answer-solution > small {
  margin-bottom: 12px;
  color: #315ba8;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
}
.diagnostic-modal .answer-reason p {
  color: #34445f;
  font-size: 16px;
  line-height: 1.62;
}
.answer-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 13px 14px;
  border: 1px solid #f0d5d0;
  border-radius: 12px;
  color: #85483f;
  background: #fff5f3;
  font-size: 12px;
  line-height: 1.45;
}
.answer-warning i {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #dd6555;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.diagnostic-modal .answer-solution h3 {
  max-width: 620px;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.diagnostic-modal .answer-solution > p {
  max-width: 650px;
  margin-top: 12px;
  color: #4c5b72;
  font-size: 15px;
  line-height: 1.55;
}
.diagnostic-modal .answer-flow { margin-top: 17px; }
.diagnostic-modal .answer-flow span { padding: 7px 9px; font-size: 10px; }
.answer-modal-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #e0e6ef;
}
.answer-modal-action > div { max-width: 285px; }
.answer-modal-action > div small {
  margin-bottom: 5px;
  color: #6c7890;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: .08em;
}
.answer-modal-action > div strong {
  display: block;
  color: #17346f;
  font-size: 13px;
  line-height: 1.35;
}
.diagnostic-modal .answer-modal-action > a {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 18px;
  border-radius: 10px;
  color: #142a5b;
  background: var(--ab-yellow);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(242,201,76,.25);
}
.diagnostic-modal-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.1);
}

@media (max-width: 700px) {
  .diagnostic-modal { padding: 12px; }
  .diagnostic-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 20px;
  }
  .diagnostic-modal .answer-you-asked { min-height: 116px; padding: 23px 58px 20px 20px; }
  .diagnostic-modal .answer-you-asked strong { font-size: 25px; }
  .answer-modal-body { grid-template-columns: 1fr; }
  .diagnostic-modal .answer-reason,
  .diagnostic-modal .answer-solution { padding: 23px 20px; }
  .diagnostic-modal .answer-reason { border-right: 0; border-bottom: 1px solid #dfe6f1; }
  .answer-warning { margin-top: 17px; }
  .diagnostic-modal .answer-solution h3 { font-size: 31px; }
  .answer-modal-action { align-items: stretch; flex-direction: column; }
  .answer-modal-action > div { max-width: none; }
  .diagnostic-modal .answer-modal-action > a { width: 100%; justify-content: center; }
}

/* Punch-to-payroll journey — story first, dashboard second. */
.workflow-story {
  position: relative;
  padding: 58px 24px 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(94,142,239,.13), transparent 28%),
    linear-gradient(180deg, #f7f9fd, #eef3fa);
}
.workflow-story-shell { width: min(1240px, 100%); margin: auto; }
.workflow-story-head { max-width: 850px; margin: 0 auto; text-align: center; }
.workflow-story-head > span {
  color: var(--ab-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.workflow-story-head h2 {
  margin: 11px 0 12px;
  color: #111b31;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.045em;
}
.workflow-story-head h2 em { color: var(--ab-blue); font-style: normal; }
.workflow-story-head p {
  max-width: 720px;
  margin: auto;
  color: #5e6c84;
  font-size: 15px;
  line-height: 1.55;
  text-wrap: balance;
}
.workflow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 30px;
}
.workflow-rail::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 27px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: #d7e0ed;
}
.workflow-story .wf-tab {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 3px;
  border: 0;
  color: #68768d;
  background: transparent;
  cursor: pointer;
}
.workflow-story .wf-tab::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  width: var(--wf-progress, 0%);
  height: 3px;
  background: var(--ab-yellow);
  transition: width 4.6s linear;
}
.workflow-story .wf-tab i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 5px solid #eef3fa;
  border-radius: 50%;
  color: #50617b;
  background: white;
  box-shadow: 0 5px 16px rgba(25,53,104,.1);
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.workflow-story .wf-tab span {
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workflow-story .wf-tab b {
  position: absolute;
  top: -3px;
  right: calc(50% - 31px);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6a7890;
  background: #e4ebf5;
  font-size: 8px;
}
.workflow-story .wf-tab:hover i { transform: translateY(-3px); }
.workflow-story .wf-tab.active { color: #173b7d; }
.workflow-story .wf-tab.active i {
  color: white;
  background: var(--ab-blue);
  transform: scale(1.06);
  box-shadow: 0 10px 25px rgba(35,74,151,.24);
}
.workflow-story .wf-tab.active b { color: #172d5b; background: var(--ab-yellow); }
.workflow-stage {
  --phase-progress: 14.28%;
  position: relative;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid #d8e1ee;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 65px rgba(27,57,110,.12);
}
.workflow-stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: var(--phase-progress);
  height: 4px;
  background: linear-gradient(90deg, var(--ab-blue), var(--ab-yellow));
  transition: width .5s ease;
}
.workflow-stage-copy { padding: 27px 29px; border-right: 1px solid #dfe6f0; }
.workflow-stage-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.workflow-stage-status > span { color: var(--ab-blue); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.workflow-stage-status > b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #168454;
  font-size: 10px;
}
.workflow-stage-status > b i { width: 7px; height: 7px; border-radius: 50%; background: #24c978; box-shadow: 0 0 0 5px rgba(36,201,120,.12); }
.workflow-stage-copy h3 {
  margin: 25px 0 10px;
  color: #111b31;
  font-size: clamp(26px, 2.4vw, 37px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.workflow-stage-copy > p { color: #58677e; font-size: 14px; line-height: 1.58; }
.workflow-outcome {
  margin-top: 24px;
  padding: 14px 15px;
  border-left: 4px solid var(--ab-yellow);
  border-radius: 0 10px 10px 0;
  background: #fff9e8;
}
.workflow-outcome small { display: block; margin-bottom: 5px; color: #81703b; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.workflow-outcome strong { color: #26344e; font-size: 13px; line-height: 1.35; }
.workflow-live-visual {
  position: relative;
  min-width: 0;
  padding: 25px 27px 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(68,117,218,.13), transparent 27%),
    #f8faff;
}
.workflow-pulse { width: 70px; height: 70px; position: relative; display: grid; place-items: center; margin: 0 auto 18px; }
.workflow-pulse > i {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: white;
  background: var(--ab-blue);
  box-shadow: 0 12px 28px rgba(35,74,151,.28);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}
.workflow-pulse > span { position: absolute; inset: 5px; border: 1px solid rgba(35,74,151,.28); border-radius: 50%; animation: workflowPulse 2.4s ease-out infinite; }
.workflow-pulse > span:last-child { animation-delay: 1.2s; }
@keyframes workflowPulse { from { opacity: .7; transform: scale(.7); } to { opacity: 0; transform: scale(1.45); } }
.workflow-transform { display: grid; grid-template-columns: 1fr 18px 1.15fr 18px 1fr; gap: 6px; align-items: stretch; }
.workflow-transform article {
  min-width: 0;
  padding: 13px;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  background: white;
}
.workflow-transform article:nth-of-type(2) { border-color: #b9cdf5; background: #edf3ff; }
.workflow-transform article:nth-of-type(3) { border-color: #d9c15e; background: #fff9df; }
.workflow-transform small { display: block; margin-bottom: 7px; color: #77859a; font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.workflow-transform strong { display: block; color: #263650; font-size: 11px; line-height: 1.35; }
.workflow-transform > b { align-self: center; color: var(--ab-blue); font-size: 14px; }
.workflow-live-log {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #dce9ff;
  background: #101c34;
}
@media (min-width: 1021px) {
  .workflow-live-log { margin-right: 165px; }
}
.workflow-live-log span { flex: 0 0 auto; color: #66dfa0; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.workflow-live-log strong { overflow: hidden; font: 600 10px/1.4 "JetBrains Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 1021px) and (max-height: 850px) {
  .workflow-story { height: calc(100vh - 92px); padding: 30px 24px; box-sizing: border-box; }
  .workflow-story-head h2 { font-size: clamp(36px, 3.5vw, 50px); }
  .workflow-story-head p { font-size: 14px; }
  .workflow-rail { margin-top: 20px; }
  .workflow-stage { margin-top: 18px; }
  .workflow-stage-copy { padding: 23px 25px; }
  .workflow-live-visual { padding: 20px 23px; }
  .workflow-stage-copy h3 { margin-top: 20px; }
  .workflow-outcome { margin-top: 18px; }
  .workflow-pulse { margin-bottom: 12px; }
}

@media (max-width: 760px) {
  .workflow-story { padding: 70px 18px; }
  .workflow-story-head { text-align: left; }
  .workflow-story-head h2 { font-size: 40px; }
  .workflow-story-head p { margin: 0; }
  .workflow-rail {
    grid-template-columns: repeat(7, 82px);
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .workflow-rail::-webkit-scrollbar { display: none; }
  .workflow-rail::before { display: none; }
  .workflow-stage { grid-template-columns: 1fr; }
  .workflow-stage-copy { border-right: 0; border-bottom: 1px solid #dfe6f0; }
  .workflow-transform { grid-template-columns: 1fr; }
  .workflow-transform > b { transform: rotate(90deg); justify-self: center; }
  .workflow-live-log { align-items: flex-start; flex-direction: column; }
  .workflow-live-log strong { white-space: normal; }
}

/* Simple image-led attendance-to-payroll story */
.simple-workflow {
  min-height: calc(100vh - 92px);
  display: grid;
  align-items: center;
  box-sizing: border-box;
  padding: 58px 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 204, 51, .13), transparent 28%),
    linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
}
.simple-workflow-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, .8fr) minmax(560px, 1.2fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: center;
}
.simple-workflow-kicker {
  display: block;
  margin-bottom: 16px;
  color: #2857b5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.simple-workflow-copy h2 {
  margin: 0;
  color: #0f1c34;
  font-size: clamp(44px, 4.3vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}
.simple-workflow-copy h2 em { color: #2857b5; font-style: normal; }
.simple-workflow-copy > p {
  max-width: 650px;
  margin: 24px 0 28px;
  color: #5d6c84;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
}
.simple-workflow-steps { display: grid; gap: 10px; }
.simple-workflow-steps article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid #dce5f3;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(21, 51, 103, .05);
}
.simple-workflow-steps article b {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: #2857b5;
  font-size: 12px;
}
.simple-workflow-steps article:last-of-type b { color: #12213e; background: #ffcd43; }
.simple-workflow-steps article div { display: grid; gap: 2px; }
.simple-workflow-steps article strong { color: #16233d; font-size: 16px; }
.simple-workflow-steps article span { color: #6b7890; font-size: 13px; }
.simple-workflow-steps > i {
  height: 8px;
  margin-left: 27px;
  color: #e5b81d;
  font-size: 15px;
  line-height: 8px;
  transform: rotate(90deg);
  transform-origin: center;
}
.simple-workflow-cta {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
  padding: 16px 22px;
  border-radius: 14px;
  color: #10203e;
  background: #ffcd43;
  box-shadow: 0 12px 26px rgba(231, 180, 13, .22);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}
.simple-workflow-cta:hover { transform: translateY(-2px); }
.simple-workflow-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 34px;
  background: white;
  box-shadow: 0 28px 65px rgba(18, 47, 98, .18);
}
.simple-workflow-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}
.simple-workflow-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 35px rgba(13, 31, 63, .18);
  backdrop-filter: blur(12px);
}
.simple-workflow-visual figcaption > i {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #12b76a;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}
.simple-workflow-visual figcaption div { display: grid; gap: 3px; }
.simple-workflow-visual figcaption small { color: #63728a; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.simple-workflow-visual figcaption strong { color: #13213d; font-size: clamp(16px, 1.3vw, 21px); }
.connected-updates {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 20px;
  border: 1px solid #dce5f3;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 42px rgba(20,48,96,.07);
}
.connected-updates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}
.connected-updates-head span { color: #2857b5; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.connected-updates-head strong { color: #17243e; font-size: 15px; }
.connected-update-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; }
.connected-update-grid article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e2e8f1;
  border-radius: 14px;
  background: #fff;
}
.connected-update-grid article > i {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #2857b5;
  background: #edf3ff;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}
.connected-update-grid article[data-tone="alert"] > i,
.connected-update-grid article[data-tone="reminder"] > i { color: #b64646; background: #fff0f0; }
.connected-update-grid article[data-tone="leave"] > i,
.connected-update-grid article[data-tone="salary"] > i { color: #087844; background: #e9f9f0; }
.connected-update-grid article[data-tone="overtime"] > i { color: #8b6710; background: #fff7db; }
.connected-update-grid article div { min-width: 0; display: grid; gap: 3px; }
.connected-update-grid strong { overflow: hidden; color: #1b2943; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.connected-update-grid span { color: #77849a; font-size: 9px; line-height: 1.35; }

@media (max-width: 1000px) {
  .simple-workflow { min-height: 0; padding: 76px 22px; }
  .simple-workflow-shell { grid-template-columns: 1fr; gap: 40px; }
  .simple-workflow-copy { max-width: 720px; }
  .simple-workflow-visual { width: min(820px, 100%); }
  .connected-update-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 600px) {
  .simple-workflow { padding: 64px 16px 72px; }
  .simple-workflow-shell { gap: 30px; }
  .simple-workflow-kicker { margin-bottom: 12px; font-size: 11px; }
  .simple-workflow-copy h2 { font-size: clamp(40px, 11.5vw, 52px); line-height: 1.01; }
  .simple-workflow-copy > p { margin: 20px 0 24px; font-size: 17px; line-height: 1.5; }
  .simple-workflow-steps article { padding: 11px 13px; }
  .simple-workflow-cta { width: 100%; justify-content: space-between; box-sizing: border-box; }
  .simple-workflow-visual { border-width: 6px; border-radius: 24px; }
  .simple-workflow-visual img { aspect-ratio: 4 / 3; border-radius: 18px; }
  .simple-workflow-visual figcaption { right: 10px; bottom: 10px; left: 10px; padding: 12px; border-radius: 14px; }
  .simple-workflow-visual figcaption > i { flex-basis: 38px; height: 38px; font-size: 18px; }
  .simple-workflow-visual figcaption small { font-size: 8px; }
  .simple-workflow-visual figcaption strong { font-size: 14px; }
  .connected-updates { margin-right: -16px; padding: 18px 0 18px 16px; border-right: 0; border-radius: 19px 0 0 19px; }
  .connected-updates-head { padding-right: 16px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .connected-updates-head strong { max-width: 320px; font-size: 14px; line-height: 1.4; }
  .connected-update-grid { display: flex; gap: 10px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .connected-update-grid::-webkit-scrollbar { display: none; }
  .connected-update-grid article { flex: 0 0 210px; }
  .connected-update-grid strong { font-size: 12px; }
  .connected-update-grid span { font-size: 10px; }
}
