/* /pos-billing-software (pages/pos_billing.php). Everything is under .posp so
   nothing here reaches another page. */

.posp {
  --posp-ink: #0b2147;
  --posp-muted: #4e607c;
  --posp-blue: #0b3fa8;
  --posp-blue-soft: #eaf1ff;
  --posp-green: #079653;
  --posp-orange: #ff8a16;
  --posp-line: #dce5ef;
  --posp-tint: #f6f9fd;
  background: #fff;
  color: var(--posp-ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}

.posp h1,
.posp h2,
.posp h3 {
  color: var(--posp-ink);
  font-family: 'Outfit', 'Poppins', sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

.posp p {
  margin: 0;
}

.posp-wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

.posp-narrow {
  max-width: 820px;
}

.posp-section {
  padding: 64px 0;
}

.posp-tint {
  background: var(--posp-tint);
}

.posp-section h2,
.posp-final h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.2;
}

.posp-sub {
  color: var(--posp-muted);
  margin-top: 10px !important;
  max-width: 640px;
}

.posp-small {
  color: var(--posp-muted);
  font-size: 14px;
}

.posp-small .bi {
  color: var(--posp-green);
  margin-right: 4px;
}

.posp-center {
  margin-top: 18px !important;
  text-align: center;
}

.posp a:not(.posp-btn) {
  color: var(--posp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- hero ---------- */

.posp-hero {
  background: linear-gradient(180deg, #fff7ec 0%, #fff 70%);
  padding: 56px 0 40px;
}

.posp-hero-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.posp-kicker {
  color: #b4530a;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.posp-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

.posp-hero h1 span {
  color: var(--posp-green);
  display: block;
}

.posp-lead {
  color: var(--posp-muted);
  font-size: 17px;
  margin-top: 18px !important;
}

.posp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 14px;
}

.posp-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.posp-btn:hover {
  transform: translateY(-1px);
}

.posp-btn:focus-visible {
  outline: 3px solid #9cc0ff;
  outline-offset: 2px;
}

.posp-btn-primary {
  background: var(--posp-orange);
  box-shadow: 0 6px 16px rgba(255, 138, 22, 0.28);
  color: #1b1200;
}

.posp-btn-primary:hover {
  color: #1b1200;
}

.posp-btn-ghost {
  background: #fff;
  border-color: #c5d2e3;
  color: var(--posp-ink);
}

.posp-btn-ghost:hover {
  border-color: var(--posp-blue);
  color: var(--posp-blue);
}

.posp-btn-light {
  background: #fff;
  color: var(--posp-blue);
}

.posp-btn-light:hover {
  color: var(--posp-blue);
}

.posp-hero-shot img {
  border: 1px solid var(--posp-line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(11, 33, 71, 0.18);
  display: block;
  height: auto;
  width: 100%;
}

/* ---------- five jobs ---------- */

.posp-jobs {
  counter-reset: job;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.posp-jobs li {
  border: 1px solid var(--posp-line);
  border-radius: 14px;
  border-top: 4px solid var(--posp-blue);
  counter-increment: job;
  padding: 20px 18px;
  position: relative;
}

.posp-jobs li::after {
  color: #c2cee0;
  content: counter(job);
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  right: 16px;
  top: 12px;
}

.posp-jobs .bi,
.posp-card .bi {
  align-items: center;
  background: var(--posp-blue-soft);
  border-radius: 10px;
  color: var(--posp-blue);
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.posp-jobs h3,
.posp-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 14px 0 6px;
}

.posp-jobs p,
.posp-card p {
  color: var(--posp-muted);
  font-size: 14.5px;
}

/* ---------- feature cards ---------- */

.posp-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.posp-card {
  background: #fff;
  border: 1px solid var(--posp-line);
  border-radius: 14px;
  padding: 20px 18px;
}

/* ---------- who and what ---------- */

.posp-two {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.posp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.posp-chips li {
  background: var(--posp-blue-soft);
  border-radius: 999px;
  color: var(--posp-blue);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
}

.posp-needs {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.posp-needs li {
  display: flex;
  gap: 14px;
}

.posp-needs .bi {
  color: var(--posp-green);
  flex: none;
  font-size: 24px;
  line-height: 1.2;
}

.posp-needs strong {
  display: block;
  font-weight: 600;
}

.posp-needs span {
  color: var(--posp-muted);
  font-size: 15px;
}

/* ---------- limits ---------- */

.posp-limits {
  background: #fff;
  border: 1px solid var(--posp-line);
  border-left: 4px solid var(--posp-orange);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 24px 0 0;
  padding: 22px 24px;
}

.posp-limits li {
  padding-left: 22px;
  position: relative;
}

.posp-limits li::before {
  background: var(--posp-orange);
  border-radius: 50%;
  content: '';
  height: 7px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 7px;
}

/* ---------- plans ---------- */

.posp-table-scroll {
  margin-top: 28px;
  overflow-x: auto;
}

.posp-plans {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

.posp-plans th,
.posp-plans td {
  border-bottom: 1px solid var(--posp-line);
  font-size: 15px;
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
}

.posp-plans thead th {
  border-bottom: 2px solid var(--posp-ink);
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 600;
  width: 20%;
}

.posp-plans thead th:first-child {
  width: 40%;
}

.posp-plans thead small {
  color: var(--posp-muted);
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.posp-plans tbody th {
  font-weight: 500;
  text-align: left;
}

.posp-plans td {
  color: var(--posp-muted);
  font-size: 14px;
}

.posp-yes {
  color: var(--posp-green);
  font-size: 20px;
}

.posp-no {
  color: #a9b6c8;
  font-size: 20px;
}

.posp-visually-hidden {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ---------- questions ---------- */

.posp-faq {
  margin-top: 24px;
}

.posp-faq details {
  background: #fff;
  border: 1px solid var(--posp-line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.posp-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 16px 28px 16px 0;
  position: relative;
}

.posp-faq summary::-webkit-details-marker {
  display: none;
}

.posp-faq summary::after {
  color: var(--posp-blue);
  content: '+';
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 14px;
}

.posp-faq details[open] summary::after {
  content: '\2212';
}

.posp-faq summary:focus-visible {
  outline: 3px solid #9cc0ff;
  outline-offset: 2px;
}

.posp-faq details p {
  color: var(--posp-muted);
  padding-bottom: 18px;
}

/* ---------- last word ---------- */

.posp-final {
  background: var(--posp-blue);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.posp-final h2 {
  color: #fff;
}

.posp-final p {
  color: #dbe6ff;
  margin: 10px auto 24px;
  max-width: 520px;
}

/* ---------- narrower screens ---------- */

@media (max-width: 1100px) {
  .posp-jobs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .posp-hero-grid,
  .posp-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .posp-cards,
  .posp-jobs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .posp-section {
    padding: 44px 0;
  }
}

@media (max-width: 520px) {
  .posp-wrap {
    padding: 0 16px;
  }

  .posp-cards,
  .posp-jobs {
    grid-template-columns: minmax(0, 1fr);
  }

  .posp-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .posp-btn {
    transition: none;
  }
}
