:root {
  --ink: #111827;
  --muted: #5d6b7d;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --navy: #07192d;
  --blue: #1c74bb;
  --cyan: #29abe2;
  --orange: #f26522;
  --yellow: #fdb913;
  --line: rgba(15, 35, 57, 0.13);
  --shadow: 0 28px 80px rgba(9, 25, 45, 0.16);
  --soft-shadow: 0 16px 36px rgba(9, 25, 45, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.company-home h1 {
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand small {
  color: #526074;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 38px rgba(20, 38, 62, 0.08);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #526074;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: #edf4fb;
}

.site-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ec4d18);
  box-shadow: 0 10px 22px rgba(242, 101, 34, 0.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.header-home-link { display: none; color: var(--ink); font-size: 13px; font-weight: 850; text-decoration: none; }

.home-hero,
.product-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(620px, calc(100vh - 72px));
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.9), rgba(244, 248, 252, 0.98)),
    radial-gradient(circle at 78% 22%, rgba(28, 116, 187, 0.18), transparent 28%);
}

.company-home {
  background:
    radial-gradient(circle at 86% 20%, rgba(107, 183, 69, 0.22), transparent 24%),
    radial-gradient(circle at 72% 62%, rgba(28, 116, 187, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.home-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  padding: clamp(46px, 7vw, 90px) clamp(20px, 6vw, 96px);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(28, 116, 187, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 116, 187, 0.06) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.home-hero-copy p:not(.eyebrow),
.product-hero-copy p:not(.eyebrow) {
  max-width: min(670px, calc(100vw - 32px));
  color: #3f5168;
  font-size: clamp(17px, 1.35vw, 21px);
}

.home-hero-copy,
.product-hero-copy {
  max-width: min(690px, calc(100vw - 32px));
}

.partner-logo,
.product-logo-wide {
  width: min(260px, 62vw);
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.btx-home-logo {
  width: 118px;
  background: transparent;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ec4d18);
  box-shadow: 0 16px 36px rgba(242, 101, 34, 0.28);
}

.btn-outline-light {
  color: var(--ink);
  border-color: rgba(31, 44, 61, 0.22);
  background: rgba(255, 255, 255, 0.7);
}

.home-hero-panel {
  position: relative;
  min-height: 460px;
}

.solution-slider {
  position: relative;
  min-height: 460px;
}

.solution-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 58px);
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.solution-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.solution-slide img {
  width: min(420px, 90%);
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.solution-slide strong {
  display: block;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
}

.solution-slide span {
  display: block;
  margin-top: 8px;
  max-width: 520px;
  color: #526074;
  font-size: clamp(17px, 1.45vw, 22px);
}

.solution-slide figure {
  align-self: end;
  margin: 2px 0 0;
}

.solution-slide figure img {
  width: min(760px, 112%);
  max-height: 300px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.28));
}

.hero-device {
  position: absolute;
  inset: 14% 0 10% 2%;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 55% 52%, rgba(28, 116, 187, 0.35), transparent 44%);
  box-shadow: none;
}

.hero-device img {
  width: min(760px, 112%);
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.28));
}

.hero-mini-card {
  position: absolute;
  width: min(270px, 54%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(8, 19, 33, 0.88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.hero-mini-card strong,
.hero-mini-card span {
  display: block;
}

.hero-mini-card strong {
  font-size: 18px;
}

.hero-mini-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-mini-card.top {
  top: 5%;
  right: 0;
}

.hero-mini-card.bottom {
  left: 0;
  bottom: 0;
}

.section {
  padding: clamp(68px, 8vw, 120px) clamp(20px, 6vw, 96px);
}

.section-kicker {
  max-width: 860px;
  margin-bottom: 34px;
}

.product-carousel {
  position: relative;
}

.product-links {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px 2px 26px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-links::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 44%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn.prev {
  left: -18px;
}

.carousel-btn.next {
  right: -18px;
}

.carousel-btn:hover {
  color: #fff;
  background: var(--orange);
}

.product-menu {
  overflow: hidden;
}

.product-link {
  flex: 0 0 220px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-link img {
  width: 210px;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: auto;
}

.product-link span {
  display: block;
  margin-top: 30px;
  font-size: 24px;
  font-weight: 950;
}

.product-link p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-link.featured {
  color: var(--ink);
  border-color: rgba(44, 165, 83, 0.35);
  background:
    radial-gradient(circle at 78% 18%, rgba(44, 165, 83, 0.14), transparent 38%),
    #fff;
}

.product-link.featured p {
  color: var(--muted);
}

.dealer-section,
.split-feature,
.image-feature,
.cloud-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.dealer-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(253, 185, 19, 0.16), transparent 22%),
    radial-gradient(circle at 86% 28%, rgba(28, 116, 187, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f4f8fb);
}

.pricing-section h2,
.pricing-section .section-kicker h2 {
  color: #fff;
}

.dealer-section h2 {
  color: var(--ink);
}

.dealer-mark {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dealer-mark img {
  width: min(430px, 86%);
  filter: drop-shadow(0 20px 30px rgba(20, 38, 62, 0.12));
}

.dealer-content p:not(.eyebrow) {
  max-width: 720px;
  color: #526074;
  font-size: 18px;
}

.process-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.process-line span,
.cloud-points span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  background: #fff;
  color: var(--navy);
}

.contact-section {
  background: linear-gradient(90deg, #eff8fb, #fff);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.inquiry-form {
  display: grid;
  gap: 15px;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
  color: #293448;
  font-size: 13px;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(31, 44, 61, 0.18);
  border-radius: 11px;
  font: inherit;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr auto;
  gap: 24px;
  align-items: center;
  padding: 38px clamp(20px, 6vw, 96px);
  color: rgba(255, 255, 255, 0.78);
  background: #071421;
}

.site-footer div {
  display: grid;
  gap: 5px;
}

.site-footer img {
  width: 54px;
  padding: 7px;
  border-radius: 11px;
  background: #fff;
}

.site-footer strong {
  color: #fff;
}

.site-footer address {
  font-style: normal;
}

.site-footer a {
  color: #fff;
}

.product-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  min-height: min(560px, calc(100vh - 72px));
  padding: clamp(42px, 6vw, 74px) clamp(20px, 6vw, 96px);
}

.product-hero h1 {
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.08;
}

.product-menu .section-kicker h2 {
  max-width: 820px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.product-menu .section-kicker {
  margin-bottom: 22px;
}

.accounting-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 252, 0.96)),
    radial-gradient(circle at 78% 22%, rgba(111, 180, 63, 0.2), transparent 28%);
}

.pos-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 242, 0.96)),
    radial-gradient(circle at 78% 28%, rgba(242, 157, 34, 0.2), transparent 30%);
}

.hrms-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 254, 0.96)),
    radial-gradient(circle at 78% 22%, rgba(0, 168, 230, 0.2), transparent 28%);
}

.cloud-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 246, 0.96)),
    radial-gradient(circle at 76% 24%, rgba(44, 165, 83, 0.22), transparent 30%);
}

.product-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 22px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(41, 171, 226, 0.25), transparent 45%);
  box-shadow: none;
}

.product-hero-visual img {
  width: min(760px, 108%);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.24));
}

.product-stack {
  grid-template-columns: 1fr 0.72fr;
  gap: 0;
  align-items: end;
}

.product-stack img:first-child {
  width: min(640px, 108%);
  transform: translateX(18px);
}

.product-stack img:last-child {
  width: min(330px, 92%);
  transform: translate(-66px, 28px);
}

.pos-hero .product-hero-visual img,
.hrms-hero .product-hero-visual img {
  width: min(760px, 108%);
}

.cloud-hero .product-hero-visual img {
  width: min(600px, 100%);
  max-height: 390px;
}

.btx-product-logo {
  width: 150px;
}

.copy-block p,
.cloud-story-panel p,
.image-feature p,
.section-kicker p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 22px 24px;
  border-left: 5px solid var(--orange);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.feature-list span {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 950;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.comparison-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(28, 116, 187, 0.08), transparent 24%),
    #fff;
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.edition-visual {
  margin: 0;
  display: grid;
  place-items: center;
}

.edition-visual img {
  width: min(420px, 100%);
  filter: drop-shadow(0 24px 36px rgba(12, 32, 54, 0.16));
}

.edition-rail,
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.edition-rail {
  margin-top: 28px;
}

.comparison-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.edition-rail article,
.comparison-cards article {
  position: relative;
  padding: 18px 4px 18px 18px;
  border-left: 4px solid var(--orange);
  background: linear-gradient(90deg, rgba(242, 101, 34, 0.08), transparent 78%);
}

.edition-rail span,
.comparison-cards span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
}

.edition-rail p,
.comparison-cards p {
  margin: 0;
  color: var(--muted);
}

.comparison-cards.compact article {
  min-height: 155px;
}

.pos-visual-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.pos-visual-board img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(13, 32, 51, 0.12));
}

.pos-visual-board img:last-child {
  grid-column: 1 / -1;
  width: min(360px, 74%);
  justify-self: center;
}

.hrms-official-visual {
  min-height: 440px;
  padding: 0;
  background: transparent;
}

.hrms-official-visual img {
  width: min(880px, 116%);
  max-height: 500px;
  object-fit: contain;
}

.hrms-plan-summary {
  display: grid;
  gap: 12px;
}

.hrms-plan-summary article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.hrms-plan-summary span {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.hrms-plan-summary strong {
  color: var(--orange);
  font-size: 20px;
}

.hrms-plan-summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.module-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.module-strip span,
.module-strip b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
}

.module-strip span {
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.module-strip b {
  color: #213248;
  background: #eef4fb;
  font-size: 13px;
}

.image-feature {
  background: #fff;
}

.image-feature.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.8fr);
}

.image-feature img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 26px;
  background: #eef4f9;
  box-shadow: var(--soft-shadow);
}

.pos-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.flow-copy p {
  max-width: 620px;
  color: var(--muted);
}

.flow-lanes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
}

.flow-lanes span {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  text-align: center;
  background: linear-gradient(180deg, #1c74bb, #0b2d4d);
  box-shadow: var(--soft-shadow);
}

.cloud-intro {
  background: #fff;
}

.cloud-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.cloud-points span {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: var(--soft-shadow);
}

.pricing-section {
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(253, 185, 19, 0.18), transparent 22%),
    linear-gradient(135deg, #071421, #123052 62%, #133f5d);
}

.pricing-section .register-strip {
  margin-bottom: 22px;
}

.pricing-section .section-kicker p {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.promo-board {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 780px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(253, 185, 19, 0.35);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.18), rgba(255, 255, 255, 0.08));
}

.promo-seal {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: #071421;
  background:
    radial-gradient(circle at 35% 28%, #fff8d7, transparent 36%),
    linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 20px 50px rgba(242, 101, 34, 0.32);
}

.promo-seal b,
.promo-seal span {
  display: block;
  line-height: 0.9;
}

.promo-seal b {
  font-size: 46px;
}

.promo-seal span {
  font-size: 18px;
  font-weight: 950;
}

.promo-board span,
.promo-board strong {
  display: block;
}

.promo-board span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.promo-board strong {
  margin: 4px 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 30px);
}

.promo-board p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-tabs button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.pricing-tabs button.is-active {
  background: #fff;
  color: var(--navy);
}

.pricing-tabs span {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.plan-card::before {
  content: attr(data-plan);
  position: absolute;
  right: -10px;
  bottom: -28px;
  color: rgba(28, 116, 187, 0.07);
  font-size: 78px;
  font-weight: 950;
  line-height: 1;
}

.plan-card.highlighted {
  border-color: rgba(253, 185, 19, 0.8);
  box-shadow: 0 24px 70px rgba(253, 185, 19, 0.2);
}

.plan-fit {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #e9f5fd;
  font-size: 12px;
  font-weight: 950;
}

.plan-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1;
}

.onesales-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 244, 0.96)),
    radial-gradient(circle at 78% 25%, rgba(255, 96, 80, 0.18), transparent 28%);
}

.palmpos-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 244, 0.96)),
    radial-gradient(circle at 78% 25%, rgba(242, 101, 34, 0.18), transparent 30%);
}

.custom-hero {
  background:
    radial-gradient(circle at 78% 25%, rgba(41, 171, 226, 0.22), transparent 30%),
    linear-gradient(124deg, #06131f, #102d4e 58%, #0b445a);
}

.custom-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: center;
  justify-content: center;
  min-height: 360px;
}

.custom-visual span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.plan-card p {
  color: var(--muted);
}

.register-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
}

.register-strip span {
  font-weight: 900;
}

.module-section {
  background: #fff;
}

.feature-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.feature-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.feature-table caption {
  padding: 18px;
  color: var(--muted);
  font-weight: 900;
  text-align: left;
}

.feature-table th,
.feature-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.feature-table td {
  color: #344155;
}

.feature-table th {
  color: #fff;
  background: #123052;
}

.feature-table th span,
.feature-table th strong,
.feature-table th em {
  display: block;
}

.feature-table th span {
  color: #fff;
  font-size: 17px;
}

.feature-table th strong {
  margin: 5px 0;
  color: var(--yellow);
  font-size: 18px;
}

.feature-table th em {
  color: #d9fff0;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.feature-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.feature-table tbody tr:nth-child(even) {
  background: #f6f9fc;
}

.feature-table .table-group td {
  padding: 12px 18px;
  background: #dce7df;
  color: #183728;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.matrix-legend td {
  padding: 14px 18px;
  color: #526166;
  font-size: 12px;
  font-weight: 700;
}

.matrix-legend span { margin-right: 22px; }
.matrix-legend .included { color: #247a4b; }
.matrix-legend .optional { color: #b56a00; }
.matrix-legend .unavailable { color: #7b8588; }

/* Product artwork sourced from the current official AutoCount product pages. */
.product-hero.hq-photo-hero {
  position: relative;
  isolation: isolate;
  min-height: min(520px, calc(100vh - 58px));
  grid-template-columns: minmax(300px, 0.48fr) 1fr;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-hero.hq-photo-hero::before {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, rgba(4, 14, 21, 0.98) 0%, rgba(4, 14, 21, 0.98) 50%, rgba(4, 14, 21, 0.58) 64%, rgba(4, 14, 21, 0.04) 84%);
}

.product-hero.hq-photo-hero .product-hero-copy { align-self: center; }
.product-hero.hq-photo-hero .product-hero-copy h1,
.product-hero.hq-photo-hero .product-hero-copy p { color: #fff; }
.product-hero.hq-photo-hero .product-logo-wide { filter: brightness(0) invert(1); }
.product-hero.hq-photo-hero .eyebrow { color: var(--product-accent); }
.product-hero.hq-photo-hero .product-hero-visual { display: none; }
.product-hero.hq-photo-hero .btn-outline-light { border-color: rgba(255, 255, 255, .58); color: #fff; }

.accounting-hero.hq-photo-hero {
  --product-accent: #80c31e;
  background-image: url("assets/autocount/hq-accounting-hero.jpg");
}

.pos-hero.hq-photo-hero {
  --product-accent: #ffa600;
  background-image: url("assets/autocount/hq-pos-hero.jpg");
}

.hrms-hero.hq-photo-hero {
  --product-accent: #00a8e6;
  background-image: url("assets/autocount/hq-hrms-hero.webp");
}

@media (max-width: 760px) {
  .product-hero.hq-photo-hero {
    min-height: 510px;
    background-position: 64% center;
  }

  .product-hero.hq-photo-hero::before {
    background: linear-gradient(180deg, rgba(4, 14, 21, 0.92), rgba(4, 14, 21, 0.5));
  }
}

.js-ready .reveal-section,
.js-ready .reveal-up,
.js-ready .reveal-left,
.js-ready .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal-up {
  transform: translateY(26px);
}

.js-ready .reveal-left {
  transform: translateX(-34px);
}

.js-ready .reveal-right {
  transform: translateX(34px);
}

.js-ready .is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .header-home-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-left: auto;
    padding: 0 10px;
    border-bottom: 2px solid var(--orange);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .brand small {
    display: none;
  }

  .home-hero,
  .product-hero,
  .dealer-section,
  .split-feature,
  .image-feature,
  .image-feature.reverse,
  .cloud-intro,
  .contact-card,
  .pos-flow {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .product-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .home-hero-copy p:not(.eyebrow),
  .product-hero-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 16px;
  }

  .home-hero-panel {
    min-height: 390px;
  }

  .hero-mini-card {
    position: relative;
    width: auto;
    inset: auto;
    margin-top: 12px;
  }

  .hero-device {
    position: relative;
    inset: auto;
  }

  .product-hero-visual {
    min-height: 250px;
  }

  .product-hero-visual img {
    max-height: 260px;
  }

  .flow-lanes {
    grid-template-columns: 1fr;
  }

  .comparison-layout,
  .edition-rail,
  .comparison-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-lanes span {
    min-height: 64px;
    border-radius: 18px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 18px;
  }

  .section,
  .home-hero,
  .product-hero {
    padding-inline: 16px;
  }

  .home-hero {
    gap: 18px;
  }

  .partner-logo,
  .product-logo-wide {
    width: min(260px, 100%);
  }

  .home-hero-panel {
    min-height: 250px;
    overflow: hidden;
  }

  .hero-device img {
    width: 100%;
  }

  .promo-board {
    grid-template-columns: 1fr;
  }

  .promo-seal {
    width: 100%;
    max-width: 280px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-link {
    min-height: 250px;
  }

  .comparison-layout,
  .edition-rail,
  .comparison-cards {
    grid-template-columns: 1fr;
  }

  .product-stack img:first-child,
  .product-stack img:last-child {
    width: 100%;
    transform: none;
  }

  .register-strip,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* 2026 editorial rebuild: deliberate hierarchy, product-led imagery, and fewer repeated panels. */
:root {
  --ink: #17202c;
  --muted: #627080;
  --paper: #f6f5f1;
  --surface: #fffefb;
  --navy: #13283b;
  --blue: #1c74bb;
  --cyan: #29abe2;
  --orange: #f26522;
  --yellow: #fdb913;
  --line: #d9dedf;
  --shadow: 0 24px 54px rgba(20, 34, 43, 0.11);
  --soft-shadow: 0 12px 28px rgba(20, 34, 43, 0.08);
}

body {
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
}

body[data-page="accounting"] { --product-accent: #84b93f; --product-pale: #eef5e6; }
body[data-page="pos"] { --product-accent: #eb9d10; --product-pale: #fff4df; }
body[data-page="hrms"] { --product-accent: #24a6dc; --product-pale: #e7f6fc; }
body[data-page="cloud"] { --product-accent: #2a9a68; --product-pale: #e8f4ed; }
body[data-page="onesales"] { --product-accent: #ff6558; --product-pale: #fff0ed; }
body[data-page="palmpos"] { --product-accent: #f26522; --product-pale: #fff0e9; }
body[data-page="customization"] { --product-accent: #1c74bb; --product-pale: #eaf3fa; }

h1,
h2,
h3,
.brand strong,
.btn,
.site-nav a,
.product-link span,
.feature-table,
.inquiry-form {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-weight: 760;
}

h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 3.45vw, 52px);
  line-height: 1.02;
}

.site-header {
  min-height: 62px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(12px);
}

.brand { gap: 10px; }
.brand img { width: 36px; height: 36px; }
.brand strong { font-size: 20px; font-weight: 850; }
.brand small { font-size: 9px; letter-spacing: 0.12em; }

.site-nav {
  gap: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav a {
  min-height: 38px;
  padding: 7px 9px;
  border-radius: 0;
  color: #4f5d69;
  font-size: 12px;
  font-weight: 760;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--orange);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 14px;
  border-radius: 3px;
  color: #fff;
  background: var(--orange);
  box-shadow: none;
}

.site-nav .nav-cta:hover { background: #d9511d; box-shadow: none; }

.btn {
  min-height: 46px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
}

.btn-primary { background: var(--orange); box-shadow: 0 12px 24px rgba(242, 101, 34, 0.2); }
.btn-primary:hover { background: #d9511d; }
.btn-outline-light { border-color: #aab3b9; background: transparent; }

.home-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  min-height: min(690px, calc(100vh - 62px));
  padding: clamp(48px, 8vw, 112px) clamp(20px, 6.4vw, 104px) clamp(44px, 6vw, 78px);
  background: #f7f6f2;
}

.company-home {
  background: #f7f6f2;
}

.hero-grid-bg {
  opacity: 1;
  background-image:
    linear-gradient(rgba(23, 32, 44, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 44, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0 43%, transparent 82%);
}

.company-home h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98;
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 590px;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.hero-meta {
  display: flex;
  gap: 0;
  margin-top: clamp(34px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  flex: 1;
  padding: 16px 16px 0 0;
}

.hero-meta b { color: var(--orange); font-size: 12px; }
.hero-meta span { color: #4e5d68; font-size: 12px; font-weight: 700; line-height: 1.35; }

.home-hero-panel { min-height: 500px; }
.solution-slider { display: none; }

.hero-artboard {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-top: 1px solid #2d4d62;
  border-bottom: 1px solid #2d4d62;
  background: #143a53;
}

.hero-artboard::before,
.hero-artboard::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-artboard::before {
  inset: 24px;
  border: 1px solid rgba(255,255,255,0.16);
}

.hero-artboard::after {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: -155px;
  border: 1px solid rgba(253,185,25,0.5);
  border-radius: 50%;
}

.artboard-kicker,
.artboard-index,
.artboard-caption {
  position: absolute;
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artboard-kicker { top: 40px; left: 40px; }
.artboard-index { top: 40px; right: 40px; color: var(--yellow); }
.artboard-caption { left: 40px; bottom: 34px; max-width: 235px; font-size: 11px; line-height: 1.45; letter-spacing: 0.03em; text-transform: none; }

.hero-screen {
  position: absolute;
  z-index: 1;
  padding: 10px 10px 28px;
  background: #fffefb;
  box-shadow: 0 22px 42px rgba(0,0,0,0.25);
}

.hero-screen img { display: block; width: 100%; max-height: 100%; object-fit: contain; }
.hero-screen small { position: absolute; bottom: 9px; left: 10px; color: #465764; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.primary-screen { top: 95px; right: 55px; width: 67%; transform: rotate(-2.5deg); }
.secondary-screen { width: 37%; right: 1px; bottom: 66px; transform: rotate(4deg); }
.tertiary-screen { width: 25%; left: 31%; bottom: 42px; transform: rotate(-7deg); }

.section { padding: clamp(74px, 9vw, 132px) clamp(20px, 6.4vw, 104px); }
.section-kicker { max-width: 790px; margin-bottom: 42px; }
.section-kicker h2 { max-width: 760px; }

.product-menu { background: var(--surface); }
.product-menu .section-kicker h2 { font-size: clamp(34px, 4vw, 56px); }
.product-carousel { overflow: visible; }
.product-links {
  gap: 0;
  padding: 0 0 18px;
  border-top: 1px solid #bbc4c8;
  border-bottom: 1px solid #bbc4c8;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.product-links::-webkit-scrollbar { display: block; height: 4px; }
.product-links::-webkit-scrollbar-thumb { background: var(--orange); }

.product-link {
  flex: 0 0 285px;
  min-height: 320px;
  justify-content: flex-end;
  padding: 24px 22px 20px;
  border: 0;
  border-right: 1px solid #cbd2d4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-link:hover { transform: none; box-shadow: none; background: #f1f4f2; }
.product-link img { width: 170px; max-height: 50px; margin-bottom: auto; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.product-link span { margin-top: 24px; font-size: 26px; font-weight: 760; }
.product-link p { max-width: 230px; color: #63707a; font-size: 14px; line-height: 1.45; }
.product-link.featured { border-color: #cbd2d4; background: #e9f4ed; }
.product-link.featured p { color: #465a4b; }

.carousel-btn {
  top: auto;
  bottom: -22px;
  width: 38px;
  height: 38px;
  border: 1px solid #56646e;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: none;
  font-size: 21px;
}
.carousel-btn.prev { left: auto; right: 48px; }
.carousel-btn.next { right: 0; }

.dealer-section {
  grid-template-columns: minmax(250px, 0.56fr) minmax(0, 1.25fr);
  gap: clamp(44px, 8vw, 120px);
  color: #f7f6f2;
  background: #143a53;
}

.dealer-mark {
  position: relative;
  display: block;
  min-height: 260px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.6);
  text-align: left;
}
.dealer-mark span { display: block; color: rgba(255,255,255,0.72); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; line-height: 1.42; }
.dealer-mark b { position: absolute; right: 0; bottom: 6px; color: var(--yellow); font-size: clamp(74px, 11vw, 160px); line-height: 0.78; letter-spacing: -0.06em; }
.dealer-content h2 { color: #fff; }
.dealer-content p:not(.eyebrow) { color: rgba(255,255,255,0.78); font-size: 18px; }
.dealer-content .eyebrow { color: var(--yellow); }
.process-line { gap: 0; margin-top: 34px; border-top: 1px solid rgba(255,255,255,0.25); }
.process-line span { flex: 1; min-height: 0; padding: 15px 12px 0 0; border-radius: 0; color: #fff; background: transparent; font-size: 13px; }

.contact-section { background: #eaece8; }
.contact-card { grid-template-columns: minmax(0, 0.84fr) minmax(380px, 0.86fr); max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.contact-card > div { padding-right: clamp(24px, 5vw, 70px); }
.contact-card h2 { max-width: 540px; }
.inquiry-form { padding-left: clamp(24px, 5vw, 68px); border-left: 1px solid #aeb7b4; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { border: 0; border-bottom: 1px solid #aeb7b4; border-radius: 0; background: transparent; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: 2px solid rgba(242,101,34,0.35); outline-offset: 2px; }

.site-footer { grid-template-columns: 1fr 1.2fr auto; gap: 28px; padding: 34px clamp(20px, 6.4vw, 104px); background: #13283b; }
.site-footer img { width: 38px; padding: 0; border-radius: 0; background: transparent; }

.product-hero {
  grid-template-columns: minmax(0, 0.73fr) minmax(480px, 1.18fr);
  gap: clamp(40px, 7vw, 110px);
  min-height: min(630px, calc(100vh - 62px));
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6.4vw, 104px) clamp(50px, 6vw, 78px);
  background: var(--surface) !important;
}

.product-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: var(--product-pale);
}

.product-hero h1 { max-width: 590px; font-size: clamp(38px, 4vw, 58px); line-height: 1; }
.product-hero-copy p:not(.eyebrow) { font-size: 17px; }
.product-hero-copy .eyebrow { color: var(--product-accent); }

.product-logo-wide,
.partner-logo {
  width: min(245px, 70vw);
  max-height: 54px;
  margin-bottom: 24px;
  mix-blend-mode: multiply;
  filter: none;
}

.product-hero-visual {
  position: relative;
  min-height: 390px;
  padding: 24px 0;
  background: transparent;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 7%;
  width: 80%;
  height: 76%;
  border: 1px solid color-mix(in srgb, var(--product-accent) 45%, transparent);
  transform: rotate(-4deg);
}

.product-hero-visual img { position: relative; z-index: 1; width: min(830px, 112%); max-height: 510px; filter: drop-shadow(0 26px 28px rgba(20,34,43,0.16)); }
.accounting-hero .product-hero-visual img { width: min(820px, 114%); }
.cloud-hero .product-hero-visual img { width: min(710px, 108%); }
.hrms-official-visual { min-height: 390px; }
.hrms-official-visual img { width: min(920px, 116%); max-height: 520px; }

.product-stack { display: block; }
.product-stack img:first-child { width: min(700px, 101%); transform: none; }
.product-stack img:last-child { position: absolute; z-index: 2; width: min(315px, 45%); right: -1%; bottom: 2%; transform: rotate(4deg); }

.split-feature,
.image-feature,
.cloud-intro,
.pos-flow {
  grid-template-columns: minmax(0, 0.77fr) minmax(420px, 1.12fr);
  gap: clamp(42px, 8vw, 124px);
  align-items: start;
  background: var(--surface);
}

.copy-block,
.flow-copy,
.cloud-story-panel { position: sticky; top: 104px; }
.copy-block p, .cloud-story-panel p, .image-feature p, .section-kicker p { color: #627080; font-size: 17px; }

.feature-list { gap: 0; border-top: 1px solid #c7ced0; }
.feature-list article { padding: 22px 0; border: 0; border-bottom: 1px solid #c7ced0; border-left: 0; border-radius: 0; background: transparent; box-shadow: none; }
.feature-list article::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--product-accent); }
.feature-list span { display: inline; font-size: 20px; font-weight: 760; }
.feature-list p { margin-top: 8px; margin-bottom: 0; color: var(--muted); }

.comparison-section { background: #eef0ec; }
.comparison-layout { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr); gap: clamp(40px, 8vw, 120px); }
.edition-visual img { width: min(470px, 100%); filter: none; }
.edition-rail, .comparison-cards { gap: 0; margin-top: 44px; border-top: 1px solid #bdc6c7; }
.edition-rail article, .comparison-cards article { min-height: 165px; padding: 18px 18px 22px 0; border: 0; border-right: 1px solid #bdc6c7; border-left: 0; background: transparent; }
.edition-rail article + article, .comparison-cards article + article { padding-left: 18px; }
.edition-rail span, .comparison-cards span { color: var(--ink); font-size: 18px; font-weight: 760; }
.edition-rail p, .comparison-cards p { font-size: 14px; line-height: 1.45; }
.module-strip { gap: 8px 20px; margin-top: 34px; padding: 20px 0; border: 0; border-top: 1px solid #bdc6c7; border-bottom: 1px solid #bdc6c7; border-radius: 0; background: transparent; }
.module-strip span, .module-strip b { min-height: auto; padding: 0; border-radius: 0; background: transparent; }
.module-strip span { margin-right: 8px; color: var(--product-accent); font-size: 12px; }
.module-strip b { color: #43515a; font-size: 13px; }
.module-strip b::before { content: "+"; margin-right: 5px; color: var(--product-accent); }

.pos-visual-board { gap: 18px; }
.pos-visual-board img { filter: none; }
.hrms-plan-summary { border-top: 1px solid #bdc6c7; }
.hrms-plan-summary article { padding: 18px 0; }
.hrms-plan-summary strong { color: var(--product-accent); }

.image-feature { background: var(--surface); }
.image-feature.reverse { grid-template-columns: minmax(430px, 1.12fr) minmax(0, 0.77fr); }
.image-feature img { max-height: 470px; border-radius: 0; background: transparent; box-shadow: none; }

.flow-lanes { grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid #c7ced0; border-bottom: 1px solid #c7ced0; }
.flow-lanes span { position: relative; min-height: 160px; padding: 22px 12px; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font-size: 14px; font-weight: 760; }
.flow-lanes span + span { border-left: 1px solid #c7ced0; }
.flow-lanes span::before { content: "0" counter(flow-step); counter-increment: flow-step; display: block; margin-bottom: 28px; color: var(--product-accent); font-size: 12px; }
.flow-lanes { counter-reset: flow-step; }

.cloud-intro { background: var(--surface); }
.cloud-points { gap: 0; border-top: 1px solid #c7ced0; }
.cloud-points span { min-height: auto; padding: 15px 0; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font-size: 16px; }
.cloud-points span::before { content: "↗"; margin-right: 10px; color: var(--product-accent); }

.pricing-section { color: #f8fbf9; background: #1d4636; }
.pricing-section h2, .pricing-section .section-kicker h2 { color: #fff; }
.pricing-section .section-kicker p { color: rgba(255,255,255,0.75); }
.promo-board { max-width: 860px; padding: 22px 0; border: 0; border-top: 1px solid rgba(255,255,255,0.35); border-bottom: 1px solid rgba(255,255,255,0.35); border-radius: 0; background: transparent; }
.promo-seal { width: 130px; background: var(--yellow); box-shadow: none; }
.register-strip { padding: 18px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.32); background: transparent; }
.feature-table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.feature-table th { background: #183728; }

.custom-hero { color: var(--ink); }
.custom-hero .product-hero-copy h1, .custom-hero .product-hero-copy p { color: inherit; }
.custom-visual { align-content: stretch; justify-content: stretch; min-height: 330px; padding: 28px 0; border-top: 1px solid var(--product-accent); border-bottom: 1px solid var(--product-accent); }
.custom-visual span { flex: 1 0 42%; min-height: 78px; padding: 16px 0; border: 0; border-radius: 0; color: var(--ink); background: transparent; font-size: 16px; font-weight: 760; }
.custom-visual span::before { content: "//"; margin-right: 10px; color: var(--product-accent); }

.js-ready .reveal-section,
.js-ready .reveal-up,
.js-ready .reveal-left,
.js-ready .reveal-right {
  transition: opacity 0.48s ease, transform 0.48s cubic-bezier(.2,.7,.2,1);
}
.js-ready .reveal-up { transform: translateY(14px); }
.js-ready .reveal-left { transform: translateX(-16px); }
.js-ready .reveal-right { transform: translateX(16px); }

@media (max-width: 1180px) {
  .home-hero,
  .product-hero,
  .dealer-section,
  .split-feature,
  .image-feature,
  .image-feature.reverse,
  .cloud-intro,
  .contact-card,
  .pos-flow {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .product-hero { min-height: auto; }
  .home-hero-panel { min-height: 440px; }
  .copy-block, .flow-copy, .cloud-story-panel { position: static; }
  .dealer-mark { max-width: 400px; min-height: 180px; }
  .contact-card > div { padding-right: 0; }
  .inquiry-form { padding-left: 0; padding-top: 36px; border-left: 0; border-top: 1px solid #aeb7b4; }
  .site-nav { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--soft-shadow); }
}

@media (max-width: 620px) {
  .site-header { min-height: 58px; }
  .brand img { width: 31px; height: 31px; }
  .brand strong { font-size: 18px; }
  .header-home-link { font-size: 12px; padding-inline: 7px; }
  .site-nav { top: 65px; }
  .home-hero, .product-hero, .section { padding-inline: 18px; }
  .home-hero { padding-top: 42px; }
  .company-home h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-meta div { grid-template-columns: 28px 1fr; padding-right: 8px; }
  .hero-artboard { min-height: 340px; }
  .artboard-kicker { top: 20px; left: 20px; max-width: 190px; font-size: 8px; }
  .artboard-index { display: none; }
  .artboard-caption { left: 20px; bottom: 18px; max-width: 180px; }
  .hero-artboard::before { inset: 12px; }
  .primary-screen { top: 62px; right: 18px; }
  .secondary-screen { bottom: 33px; }
  .tertiary-screen { left: 26%; bottom: 26px; }
  .product-link { flex-basis: 250px; min-height: 284px; }
  .product-link span { font-size: 23px; }
  .product-hero h1 { font-size: clamp(38px, 10vw, 52px); }
  .product-hero::before { width: 100%; height: 46%; top: auto; bottom: 0; }
  .product-hero-visual { min-height: 250px; }
  .product-hero-visual::before { width: 86%; height: 72%; }
  .product-hero-visual img { max-height: 310px; }
  .product-stack img:last-child { width: 42%; right: 0; }
  .edition-rail, .comparison-cards { display: block; }
  .edition-rail article, .comparison-cards article { min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid #bdc6c7; }
  .edition-rail article + article, .comparison-cards article + article { padding-left: 0; }
  .flow-lanes { grid-template-columns: 1fr; }
  .flow-lanes span { min-height: 0; border-left: 0 !important; border-bottom: 1px solid #c7ced0; }
  .flow-lanes span::before { display: inline; margin-right: 12px; }
  .dealer-mark b { font-size: 96px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Tighter first screens and product-specific source visuals. */
.site-header { min-height: 58px; }
.home-hero {
  min-height: min(500px, calc(100vh - 58px));
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(28px, 3.6vw, 44px);
}
.company-home h1 { max-width: 530px; font-size: clamp(38px, 3.85vw, 54px); }
.home-hero-panel { min-height: 360px; }
.product-hero {
  min-height: min(535px, calc(100vh - 58px));
  padding-top: clamp(38px, 5.5vw, 68px);
  padding-bottom: clamp(36px, 4.8vw, 62px);
}
.product-hero h1 { max-width: 560px; font-size: clamp(34px, 3.35vw, 50px); }
.product-hero-visual { min-height: 310px; }
.product-hero-visual img { max-height: 410px; }
.accounting-hero .product-hero-visual img,
.pos-hero .product-hero-visual img,
.hrms-hero .product-hero-visual img { width: min(790px, 118%); }
.hrms-official-visual { overflow: hidden; }
.hrms-official-visual img { width: min(860px, 132%); max-height: 470px; }

.home-banner-slider {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-top: 1px solid #28516b;
  border-bottom: 1px solid #28516b;
  background: #143a53;
}

.home-banner-slider::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  pointer-events: none;
}

.home-banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 54px 40px 44px;
  opacity: 0;
  transform: translateX(18px);
  animation: home-banner-cycle 14.4s infinite;
}

.home-banner-slide.is-active { opacity: 1; transform: translateX(0); }
.home-banner-slide:nth-child(2) { animation-delay: 4.8s; }
.home-banner-slide:nth-child(3) { animation-delay: 9.6s; }
@keyframes home-banner-cycle {
  0%, 27% { opacity: 1; transform: translateX(0); }
  33%, 100% { opacity: 0; transform: translateX(-12px); }
}
.home-banner-slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -72px;
  top: -94px;
  border: 1px solid rgba(253,185,25,0.55);
  border-radius: 50%;
}
.home-banner-slide:nth-child(2)::after { border-color: rgba(242,101,34,.65); }
.home-banner-slide:nth-child(3)::after { border-color: rgba(41,171,226,.75); }
.banner-copy { position: relative; z-index: 1; align-self: end; }
.banner-copy span { display: block; margin-bottom: 12px; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.banner-copy strong { display: block; color: #fff; font-size: clamp(28px, 3.1vw, 43px); line-height: 1; }
.banner-copy p { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.45; }
.home-banner-slide > img { position: relative; z-index: 1; width: min(590px, 120%); max-height: 310px; justify-self: end; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0,0,0,.27)); }
.banner-dots { position: absolute; z-index: 3; bottom: 22px; left: 40px; display: flex; gap: 8px; }
.banner-dots span { display: block; width: 22px; height: 3px; background: rgba(255,255,255,.35); animation: home-banner-dot 14.4s infinite; }
.banner-dots span:nth-child(2) { animation-delay: 4.8s; }
.banner-dots span:nth-child(3) { animation-delay: 9.6s; }
@keyframes home-banner-dot {
  0%, 27% { background: var(--yellow); }
  33%, 100% { background: rgba(255,255,255,.35); }
}

@media (max-width: 620px) {
  .home-hero { min-height: auto; padding-top: 30px; }
  .company-home h1 { font-size: clamp(36px, 10vw, 42px); }
  .home-hero-panel, .home-banner-slider { min-height: 276px; }
  .home-banner-slider::before { inset: 12px; }
  .home-banner-slide { grid-template-columns: 1fr; gap: 0; padding: 34px 24px 36px; }
  .banner-copy { align-self: start; max-width: 200px; }
  .banner-copy strong { font-size: 29px; }
  .banner-copy p { font-size: 11px; }
  .home-banner-slide > img { position: absolute; width: 78%; max-height: 190px; right: 3%; bottom: 22px; }
  .banner-dots { bottom: 18px; left: 24px; }
  .product-hero { min-height: auto; padding-top: 36px; }
  .product-hero h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .product-hero-visual { min-height: 230px; }
  .product-hero-visual img { max-height: 290px; }
}

/* Final product hero artwork overrides. */
.product-hero.hq-photo-hero { background-size: cover !important; }
.accounting-hero.hq-photo-hero { background-image: url("assets/autocount/hq-accounting-hero.jpg") !important; }
.pos-hero.hq-photo-hero { background-image: url("assets/autocount/hq-pos-hero.jpg") !important; }
.hrms-hero.hq-photo-hero { background-image: url("assets/autocount/hq-hrms-hero.webp") !important; }
.product-hero.hq-photo-hero::before { z-index: 0 !important; }
.product-hero.hq-photo-hero .product-hero-copy { position: relative; z-index: 1; }
.hrms-hero.hq-photo-hero .product-logo-wide { display: none; }
.accounting-hero.hq-photo-hero { background-position: 72% center !important; }
.accounting-hero.hq-photo-hero::before {
  background: linear-gradient(90deg, rgba(0, 12, 19, .99) 0%, rgba(0, 12, 19, .98) 54%, rgba(0, 12, 19, .65) 68%, rgba(0, 12, 19, .08) 100%) !important;
}
.hrms-hero.hq-photo-hero::before {
  background: linear-gradient(90deg, rgba(0, 14, 23, .98) 0%, rgba(0, 14, 23, .96) 44%, rgba(0, 14, 23, .30) 64%, rgba(0, 14, 23, .03) 100%) !important;
}

/* Comparison pages follow the denser, reference-style documentation rhythm. */
.comparison-section { padding-top: 68px; }
.comparison-layout { align-items: center; gap: 52px; }
.comparison-layout .section-kicker h2 { max-width: 640px; font-size: clamp(32px, 3.4vw, 48px); }
.comparison-layout .section-kicker p { max-width: 650px; }
.comparison-layout .edition-visual img { max-height: 250px; object-fit: contain; }
.comparison-section .feature-table-wrap { margin-top: 42px; border-radius: 0; box-shadow: none; }
.comparison-section .feature-table { min-width: 780px; }
.comparison-section .feature-table caption { padding: 17px 22px; font-size: 13px; letter-spacing: .04em; }
.comparison-section .feature-table th { font-size: 13px; }
.comparison-section .feature-table td { font-size: 13px; line-height: 1.45; }
.comparison-section .feature-table td:not(:first-child),
.comparison-section .feature-table th:not(:first-child) { text-align: center; }
.comparison-section .feature-table td:first-child { font-weight: 650; }
.comparison-section .module-strip { margin-top: 28px; }
.comparison-section .pos-visual-board { min-height: 210px; }
.comparison-section .hrms-plan-summary { margin: 0; }

/* Full-frame home product banners use the actual product visual as the focal point. */
.home-hero.company-home { display: none; }
.home-banner-stage { position: relative; min-height: min(680px, calc(100vh - 58px)); overflow: hidden; background: #071520; }
.home-full-slide { position: absolute; inset: 0; display: grid; align-items: end; padding: clamp(42px, 7vw, 100px) max(6vw, calc((100vw - 1290px) / 2)); background-size: cover; background-position: center; opacity: 0; animation: full-home-cycle 20s infinite; }
.home-full-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 14, 23, .95) 0%, rgba(3, 14, 23, .78) 39%, rgba(3, 14, 23, .13) 72%, rgba(3, 14, 23, .15) 100%); }
.home-full-slide:nth-child(2) { animation-delay: 5s; }
.home-full-slide:nth-child(3) { animation-delay: 10s; }
.home-full-slide:nth-child(4) { animation-delay: 15s; }
@keyframes full-home-cycle { 0%, 22% { opacity: 1; } 25%, 100% { opacity: 0; } }
.accounting-slide { background-image: url("assets/autocount/hq-accounting-hero.jpg"); background-position: 64% center; }
.accounting-slide::before { background: linear-gradient(90deg, rgba(3, 14, 23, 1) 0%, rgba(3, 14, 23, .995) 53%, rgba(3, 14, 23, .68) 69%, rgba(3, 14, 23, .12) 100%); }
.pos-slide { background-image: url("assets/autocount/hq-pos-hero.jpg"); background-position: center; }
.hrms-slide { background-image: url("assets/autocount/hq-hrms-hero.webp"); background-position: center; }
.cloud-slide { background-image: url("assets/autocount/hq-cloud-44.jpg"); background-position: center; }
.cloud-slide::before { background: linear-gradient(90deg, rgba(3, 30, 36, .97) 0%, rgba(3, 30, 36, .87) 43%, rgba(3, 30, 36, .33) 71%, rgba(3, 30, 36, .10) 100%); }
.home-slide-copy { position: relative; z-index: 1; max-width: 580px; color: #fff; }
.home-slide-copy p { margin: 0 0 18px; color: var(--yellow); font-size: 12px; font-weight: 850; letter-spacing: .09em; }
.home-slide-copy h1 { margin: 0; max-width: 560px; color: #fff; font-size: clamp(42px, 5.1vw, 74px); line-height: .98; }
.home-slide-copy span { display: block; margin: 22px 0; color: rgba(255,255,255,.8); font-size: 17px; }
.home-banner-index { position: absolute; z-index: 3; right: 6vw; bottom: 38px; display: flex; gap: 10px; }
.home-banner-index span { display: block; width: 28px; height: 3px; overflow: hidden; background: rgba(255,255,255,.32); color: transparent; }
.home-banner-index span:first-child { width: 56px; background: var(--yellow); }
.cloud-dashboard-visual { align-items: center; }
.cloud-dashboard-visual::before { width: 100%; height: 70%; background: #e8f1ec; }
.cloud-dashboard-visual img { width: min(920px, 124%) !important; max-height: none !important; box-shadow: 0 26px 45px rgba(23, 41, 43, .2); }
.comparison-note { max-width: 330px; padding: 20px 0; border-top: 1px solid #bdc6c7; border-bottom: 1px solid #bdc6c7; color: var(--muted); font-size: 14px; line-height: 1.5; }
.comparison-note p { margin: 0; }
.matrix-key { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 -18px; color: var(--muted); font-size: 13px; }
.pos-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-top: 0; padding-bottom: 0; background: #fff; }
.pos-path { display: grid; grid-template-columns: minmax(0, .9fr) minmax(230px, 1.1fr); align-items: center; min-height: 340px; gap: 28px; padding: clamp(28px, 3.8vw, 54px); border-top: 1px solid var(--line); }
.pos-path + .pos-path { border-left: 1px solid var(--line); }
.pos-path h2 { max-width: 380px; font-size: clamp(29px, 2.6vw, 42px); }
.pos-path p:not(.eyebrow) { max-width: 390px; color: var(--muted); line-height: 1.6; }
.pos-path img { width: 100%; max-height: 260px; object-fit: contain; }
.pos-path img.fnb-qr { width: min(150px, 100%); justify-self: center; max-height: 260px; }
.dealer-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr); gap: clamp(44px, 8vw, 128px); align-items: start; background: #123a59; color: #fff; }
.implementation-copy h2 { margin: 0; max-width: 490px; color: #fff; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; }
.implementation-copy p:not(.eyebrow) { max-width: 470px; margin: 20px 0; color: rgba(255,255,255,.7); line-height: 1.6; }
.implementation-copy .text-link { color: #fff; }
.implementation-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.35); }
.implementation-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; min-height: 118px; padding: 24px 18px 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.implementation-steps li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.implementation-steps b { grid-row: span 2; color: var(--yellow); font-size: 12px; }
.implementation-steps span { color: #fff; font-size: 20px; font-weight: 750; }
.implementation-steps small { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.4; }

@media (max-width: 760px) {
  .home-banner-stage { min-height: 560px; }
  .home-full-slide { align-items: end; padding: 34px 22px 70px; background-position: 64% center; }
  .home-full-slide::before, .cloud-slide::before { background: linear-gradient(180deg, rgba(3, 14, 23, .94) 0%, rgba(3, 14, 23, .52) 62%, rgba(3, 14, 23, .77) 100%); }
  .home-slide-copy h1 { font-size: clamp(38px, 11vw, 52px); }
  .home-banner-index { right: 22px; bottom: 24px; }
  .pos-paths { grid-template-columns: 1fr; }
  .pos-path + .pos-path { border-left: 0; }
  .pos-path { grid-template-columns: 1fr .72fr; min-height: 0; padding: 36px 20px; }
  .dealer-section { grid-template-columns: 1fr; }
  .implementation-steps { grid-template-columns: 1fr; }
  .implementation-steps li:nth-child(even) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .comparison-section { padding-top: 48px; }
  .comparison-layout { gap: 28px; }
  .comparison-layout .section-kicker h2 { font-size: 32px; }
  .comparison-section .feature-table-wrap { margin-left: -20px; margin-right: -20px; }
}
