/* APS Payroll — brand from original site (not P and G) */
:root {
  --aps-teal: #63b8bd;
  --aps-teal-deep: #4a9ea3;
  --aps-charcoal: #2f3337;
  --aps-ink: #1a1d20;
  --aps-muted: #6b7280;
  --aps-paper: #f4f6f7;
  --aps-white: #ffffff;
  --aps-red: #c8102e;
  --max: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--aps-charcoal);
  background: var(--aps-paper);
  line-height: 1.55;
}
h1, h2, h3, h4, .nav, .btn, .logo-tag {
  font-family: "Segoe UI", system-ui, sans-serif;
}
a { color: var(--aps-teal-deep); }
a:hover { color: var(--aps-charcoal); }

.call-bar {
  background: var(--aps-charcoal);
  color: #fff;
  text-align: center;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
}
.call-bar a { color: var(--aps-teal); font-weight: 600; text-decoration: none; }

.site-header {
  background: #000;
  border-bottom: 3px solid var(--aps-teal);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}
.logo-link img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 280px;
}
.logo-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.nav a {
  margin-left: 0.85rem;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--aps-teal);
}

.page-hero {
  background: linear-gradient(135deg, var(--aps-charcoal) 0%, #1a1d20 55%, #3a5f62 100%);
  color: #fff;
  padding: 2.75rem 1.25rem;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { margin: 0 0 0.5rem; font-size: 1.9rem; font-weight: 700; }
.page-hero p { margin: 0; opacity: 0.92; max-width: 40rem; font-family: "Segoe UI", system-ui, sans-serif; }
.page-hero .eyebrow {
  color: var(--aps-teal);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.section-title {
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  color: var(--aps-charcoal);
}
.section-lead {
  color: var(--aps-muted);
  margin: 0 0 1.5rem;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.note {
  background: #e8f6f7;
  border-left: 4px solid var(--aps-teal);
  padding: 0.85rem 1rem;
  border-radius: 0.25rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
}

.card-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 1.5rem 0;
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--aps-teal);
  border-radius: 0.35rem;
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { box-shadow: 0 6px 18px rgba(47,51,55,0.08); }
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--aps-charcoal);
}
.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--aps-muted);
  font-family: "Segoe UI", system-ui, sans-serif;
}
.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  background: #eee;
}
.card-banner {
  background-color: #2f3337;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border: 0;
  border-top: none;
  min-height: 11rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.card-banner h3,
.card-banner p { color: #fff; }
.card-banner p { opacity: 0.9; }
.card-banner:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

.btn {
  display: inline-block;
  background: var(--aps-charcoal);
  color: #fff !important;
  text-decoration: none;
  padding: 0.65rem 1.15rem;
  border-radius: 0.25rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.btn:hover { background: var(--aps-teal-deep); }
.btn-teal {
  background: var(--aps-teal);
  color: #fff !important;
}
.btn-teal:hover { background: var(--aps-teal-deep); }

.band-teal {
  background: var(--aps-teal);
  color: var(--aps-ink);
  padding: 2rem 1.25rem;
}
.band-teal .inner { max-width: var(--max); margin: 0 auto; }
.band-teal h2 { margin: 0 0 0.5rem; }

.site-footer {
  background: #000;
  color: rgba(255,255,255,0.75);
  padding: 2rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  border-top: 3px solid var(--aps-teal);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.site-footer h4 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer a { color: var(--aps-teal); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.3rem; }
.footer-bottom {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ----- Home slider (MotoPress Main Slider images) ----- */
.hero-slider {
  position: relative;
  background: #e4e4e4;
  overflow: hidden;
  min-height: 280px;
}
.hero-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2050 / 610;
  max-height: 520px;
  min-height: 260px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.hero-slide-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(47,51,55,0.88) 0%, rgba(47,51,55,0.55) 42%, transparent 68%);
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  pointer-events: none;
}
.hero-slide-caption-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: auto;
}
.hero-slide-caption h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  max-width: 26rem;
}
.hero-slide-caption p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 24rem;
}
.hero-slider-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-slider-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-slider-btn:hover { background: var(--aps-teal); }
.hero-slider-btn.prev { left: 0.75rem; }
.hero-slider-btn.next { right: 0.75rem; }
.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.hero-slider-dots button {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
}
.hero-slider-dots button.is-active { background: var(--aps-teal); width: 1.35rem; }

.sm-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.sm-table th, .sm-table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.sm-table th {
  background: var(--aps-charcoal);
  color: #fff;
}
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.badge-live { background: #d1fae5; color: #065f46; }
.badge-build { background: #e8f6f7; color: #0f5c61; }

.prose h2 { font-size: 1.25rem; margin: 1.75rem 0 0.6rem; color: var(--aps-charcoal); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--aps-charcoal);
}
.prose ul { padding-left: 1.2rem; }
.prose .center { text-align: center; }
.content-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  margin: 0.5rem 0 1rem;
}
.content-img-sm { max-width: 22rem; margin-left: auto; margin-right: auto; }
.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
}
.price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--aps-teal-deep);
  margin: 0.5rem 0 !important;
}
.btn-ghost {
  background: transparent;
  color: var(--aps-charcoal) !important;
  border: 1px solid #ced4da;
}
.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.dl-link img { width: 28px; height: 28px; object-fit: contain; }
.faq {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.35rem;
  padding: 0.75rem 1rem;
  margin: 0 0 0.65rem;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--aps-charcoal);
}
.faq p { margin: 0.65rem 0 0.15rem; color: var(--aps-muted); }
.steps-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0 1.5rem;
  text-align: left;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.steps-row h3 { margin: 0.35rem 0; font-size: 1.05rem; color: #fff; }
.steps-row p { margin: 0; color: rgba(255,255,255,0.9); font-size: 0.92rem; }
.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.contact-form {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.35rem;
  padding: 1.1rem 1.15rem 1.25rem;
}
.contact-form .form-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.contact-form .field { margin: 0 0 0.85rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--aps-charcoal);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: var(--aps-charcoal);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--aps-teal);
  outline-offset: 1px;
  border-color: var(--aps-teal);
}
.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
}
.contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-family: "Segoe UI", system-ui, sans-serif;
  padding: 0.75rem 0.9rem;
  border-radius: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.form-status.is-ok {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status.is-err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-slide-caption {
    background: linear-gradient(0deg, rgba(47,51,55,0.92) 0%, rgba(47,51,55,0.35) 100%);
  }
  .hero-slide-caption-inner {
    justify-content: flex-end;
    padding-bottom: 2.75rem;
  }
}
