/* =========================================================
   Payment Gurus — legacy component styles (pg-legacy.css)
   Page components carried over from highrisk-style.css
   (cards, grids, tables, device showcases), re-skinned to the
   pg.css design system by the overrides at the bottom.
   Loaded AFTER pg.css on converted pages only.
   ========================================================= */
/* Hero — gradient version for vertical pages */
.hr-hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: var(--ink);
  overflow: hidden;
}
.hr-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 30%, var(--grad-2) 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 85% 25%, var(--grad-3) 0%, transparent 55%),
    radial-gradient(ellipse 65% 65% at 70% 80%, var(--grad-4) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 50% 50%, var(--grad-1) 0%, var(--navy-darker) 80%);
  filter: saturate(1.05);
  animation: hr-shift 20s ease-in-out infinite;
}
@keyframes hr-shift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(-3%, 2%); }
  66%      { transform: translate(2%, -3%); }
}
.hr-hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hr-hero .container { position: relative; z-index: 2; color: var(--white); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}
.breadcrumb a { transition: color 150ms; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

.hr-hero h1 { color: var(--white); max-width: 900px; margin-bottom: 1.5rem; }
.hr-hero h1 em.serif { color: var(--white); }
.hr-hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}
.hr-hero-ctas { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--rule-soft);
  padding: 2rem 0;
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  text-align: center;
  align-items: start;
}
.trust-item {
  min-width: 0;
}
@media (max-width: 900px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-strip-grid { grid-template-columns: 1fr; }
}
.trust-item .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.025em;
  margin-bottom: 0.125rem;
  font-variant-numeric: tabular-nums;
}
.trust-item .label {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Content sections */
.content { padding: 5rem 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; gap: 2rem; } }

.content-head { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .content-head { position: static; top: auto; }
}
.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.content h2 { margin-bottom: 1rem; }
.content h2 em.serif { color: var(--orange); }
.content h3 { margin-bottom: 0.75rem; margin-top: 2.5rem; color: var(--ink); }
.content h3:first-of-type { margin-top: 0; }
.content p { font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.25rem; color: var(--ink-soft); }
.content strong { color: var(--ink); font-weight: 600; }
.content ul.bulleted {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.content ul.bulleted li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.content ul.bulleted li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 600;
}

/* Section with off-white bg */
.alt-bg { background: var(--off-white); }

/* Feature grid (3-col) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem;
}
.alt-bg .feature-card { background: var(--white); }
.feature-card .icon-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--ink);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 180ms;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--orange); }
.faq-item p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
}

/* CTA section */
.cta-section {
  background: var(--ink);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 20% 50%, var(--orange) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 60%, var(--navy) 0%, transparent 60%),
    var(--ink);
  opacity: 0.7;
}
.cta-section .container { position: relative; z-index: 1; max-width: 800px; }
.cta-section h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-section h2 em.serif { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 2rem; max-width: 600px; }
.cta-row { display: flex; gap: 0.625rem; flex-wrap: wrap; }

/* Related industries (cross-links for internal linking + SEO) */
.related {
  background: var(--off-white);
  padding: 5rem 0;
  border-top: 1px solid var(--rule-soft);
}
.related > .container > h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.related-head { margin-bottom: 2.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 180ms;
  display: block;
  text-decoration: none;
  color: inherit;
}
.related-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.06);
}
.related-card .related-label {
  display: inline-block;
  font-family: var(--serif, 'Source Serif 4', serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.related-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  line-height: 1.3;
}
.related-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.related-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap 180ms;
}
.related-card .arrow::after {
  content: "→";
  transition: transform 180ms;
}
.related-card:hover .arrow { gap: 0.6rem; }
.related-card:hover .arrow::after { transform: translateX(3px); }


/* Hub-specific */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem;
  transition: all 180ms;
  display: block;
  min-height: 200px;
}
.hub-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.hub-card .vertical-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.625rem;
  letter-spacing: -0.005em;
}
.hub-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hub-card h3 em.serif { color: var(--orange); }
.hub-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.hub-card .arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  gap: 0.25rem;
}
.hub-card .arrow::after { content: "→"; transition: transform 180ms; }
.hub-card:hover .arrow::after { transform: translateX(4px); color: var(--orange); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hr-hero-gradient { animation: none; }
}

/* ============================================================
   PRODUCT SHOWCASE — letterbox image section (e.g., Clover lineup)
   Use for product photography on black background
   ============================================================ */
/* ============================================================
   CLOVER DEVICE GRID — 6-card lineup showcase (3 cols × 2 rows)
   ============================================================ */
.clover-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.clover-device-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 180ms;
}
.clover-device-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.clover-device-photo {
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  border-bottom: 1px solid var(--rule-soft);
}
.clover-device-photo img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.clover-device-info {
  padding: 1.5rem;
  flex: 1 1 auto;
}
.clover-device-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.clover-device-info p {
  font-size: 0.925rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .clover-device-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .clover-device-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VERTICAL PAGE IMAGE — full-width atmospheric photo
   Sits between trust strip and intro on high-risk pages
   ============================================================ */
.vertical-image {
  position: relative;
  height: 380px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 20% 30%, var(--grad-2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, var(--grad-3) 0%, transparent 60%),
    var(--ink);
}
.vertical-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) saturate(1.05);
  transition: transform 800ms ease;
}
.vertical-image:hover img { transform: scale(1.02); }
.vertical-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(10,37,64,0.15) 100%);
  pointer-events: none;
}
/* Placeholder shown when no img is present */
.vertical-image-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 0;
  pointer-events: none;
}
.vertical-image-label::before {
  content: "";
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z' fill='rgba(255,255,255,0.5)'/%3E%3C/svg%3E");
  opacity: 0.7;
}
.vertical-image img + .vertical-image-label { display: none; }
@media (max-width: 768px) { .vertical-image { height: 240px; } }

/* Inline image alongside intro content (alternate layout) */
.content-grid-with-image {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .content-grid-with-image { grid-template-columns: 1fr; gap: 2rem; } }

.content-image-wrap {
  position: sticky;
  top: 100px;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
@media (max-width: 900px) {
  .content-image-wrap { position: static; top: auto; aspect-ratio: auto; }
}
.content-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   BENTO ACCENTS — small photo crops inside cells
   Inspired by Stripe's small visual moments inside bento cards
   ============================================================ */
.bento-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 150px;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.18);
  opacity: 0.95;
  transform: rotate(2deg);
  transition: transform 250ms ease;
}
.bento-card:hover .bento-accent { transform: rotate(0deg) scale(1.03); }
.bento-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smaller variant for tighter cells */
.bento-accent.small {
  width: 120px;
  height: 120px;
  bottom: 1.25rem;
  right: 1.25rem;
}

/* Dark-card variant — different shadow */
.bento-card.dark .bento-accent {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   POS HUB — Filter chips
   ============================================================ */
.pos-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-soft);
}
.pos-chip {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  color: var(--ink-soft);
  background: var(--white);
  transition: all 150ms ease;
  cursor: pointer;
}
.pos-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.pos-chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* POS hub cards — same style as .hub-card but with filter tags + featured option */
.pos-hub-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem;
  transition: all 180ms;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.pos-hub-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.pos-hub-card .pos-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.875rem;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pos-hub-card .pos-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.pos-hub-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pos-hub-card .pos-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}
.pos-hub-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: auto;
}
.pos-hub-card .pos-tags {
  display: flex;
  gap: 0.375rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}
.pos-hub-card .pos-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--off-white);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid var(--rule-soft);
}
.pos-hub-card .pos-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.pos-hub-card .pos-cta::after {
  content: "→";
  transition: transform 180ms;
}
.pos-hub-card:hover .pos-cta::after {
  transform: translateX(4px);
  color: var(--orange);
}
.pos-hub-card.hidden { display: none; }

/* Featured POS card variant */
.pos-hub-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 3rem;
  gap: 3rem;
  align-items: center;
  min-height: 320px;
}
.pos-hub-card.featured h3 { color: var(--white); font-size: 2rem; }
.pos-hub-card.featured .pos-tagline { color: var(--orange-light); }
.pos-hub-card.featured p { color: rgba(255,255,255,0.8); max-width: 480px; font-size: 1.05rem; }
.pos-hub-card.featured .pos-badge { color: var(--orange-light); }
.pos-hub-card.featured .pos-badge::before { background: var(--orange-light); }
.pos-hub-card.featured .pos-tags span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.15);
}
.pos-hub-card.featured .pos-cta {
  color: var(--white);
  border-top-color: rgba(255,255,255,0.2);
  padding-top: 0;
  border-top: none;
  margin-top: 1.5rem;
}
.pos-hub-card-feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pos-hub-card-feature-visual {
  flex: 0 0 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pos-hub-card-feature-visual svg { width: 100%; max-width: 200px; }
.pos-hub-card-feature-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}
/* Featured card product photo — framed as a clean white card floating on the navy gradient */
.pos-hub-card.featured .pos-hub-card-feature-visual img {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .pos-hub-card.featured {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  .pos-hub-card-feature-visual { flex: 0 0 auto; }
  .pos-hub-card-feature-visual svg { max-width: 150px; }
  .pos-hub-card-feature-visual img { max-width: 100%; }
  .pos-hub-card.featured .pos-hub-card-feature-visual img { padding: 1rem; }
}

/* POS hub grid (different from hub-grid which is for high-risk) */
.pos-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .pos-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pos-hub-grid { grid-template-columns: 1fr; } }

/* 2-column variant for sub-sections that only have 2 cards (All Industries, Retail) */
.pos-hub-grid.pos-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) { .pos-hub-grid.pos-grid-2col { grid-template-columns: 1fr; } }

/* Banner-style card: text on left, photo on right within a single card */
.pos-hub-card.pos-banner-card {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  min-height: 320px;
  overflow: hidden;
}
.pos-banner-content {
  flex: 1 1 auto;
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pos-banner-content h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.pos-banner-content .pos-tagline { font-size: 1.05rem; margin-bottom: 0.875rem; }
.pos-banner-content p { font-size: 0.975rem; line-height: 1.55; margin-bottom: auto; }
.pos-banner-content .pos-cta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
}
.pos-banner-photo {
  flex: 0 0 220px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-left: 1px solid var(--rule-soft);
}
.pos-banner-photo img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  /* On mobile, stack content above photo */
  .pos-hub-card.pos-banner-card { flex-direction: column; min-height: auto; }
  .pos-banner-content { padding: 1.75rem 1.75rem 1.5rem; flex: none; }
  .pos-banner-photo {
    flex: none;
    border-left: none;
    border-top: 1px solid var(--rule-soft);
    padding: 1.5rem;
    min-height: 180px;
  }
  .pos-banner-photo img { max-height: 160px; }
}

/* Section headers for the two-tier POS hub */
.pos-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.pos-section-header h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}
.pos-section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Industry subgroup headers within the offered section */
.pos-subgroup-header {
  max-width: 1100px;
  margin: 0 auto 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.pos-subgroup-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pos-subgroup-desc {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 720px;
  margin: 0;
}
@media (min-width: 768px) {
  .pos-subgroup-title { font-size: 2rem; }
}

/* "You bring the POS" wordmark strip — quiet grayscale row */
.pos-wordmark-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.pos-wordmark {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.5rem 0.5rem;
  transition: color 180ms;
  white-space: nowrap;
  position: relative;
  text-align: center;
  filter: grayscale(1);
}
/* Vertical bullet separator between wordmarks within each row of 4 */
.pos-wordmark:not(:nth-child(4n+1))::before {
  content: "•";
  position: absolute;
  left: -0.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 0.85rem;
  opacity: 0.55;
  pointer-events: none;
}
.pos-wordmark:hover {
  color: var(--orange);
  filter: grayscale(0);
}
@media (max-width: 800px) {
  .pos-wordmark-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.75rem 1rem;
  }
  .pos-wordmark { font-size: 1rem; }
  /* Reset 4-col separator rule */
  .pos-wordmark:not(:nth-child(4n+1))::before { content: none; }
  /* New 2-col separator rule */
  .pos-wordmark:nth-child(2n)::before {
    content: "•";
    position: absolute;
    left: -0.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-muted);
    font-size: 0.85rem;
    opacity: 0.55;
    pointer-events: none;
  }
}
@media (max-width: 450px) {
  .pos-wordmark-strip {
    grid-template-columns: 1fr;
  }
  .pos-wordmark:nth-child(2n)::before { content: none; }
}

.pos-wordmark-footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.pos-wordmark-footnote a {
  color: var(--ink);
  font-weight: 500;
  margin-left: 0.5rem;
  border-bottom: 1px solid var(--rule);
  transition: color 150ms, border-color 150ms;
}
.pos-wordmark-footnote a:hover { color: var(--orange); border-color: var(--orange); }

/* ============================================================
   CONTACT PAGE — Form + info layout
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info h2 em.serif { color: var(--orange); }
.contact-info p { font-size: 1.05rem; line-height: 1.6; }

.contact-info-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
}
.contact-info-item:last-child { border-bottom: 1px solid var(--rule); }
.contact-info-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.375rem;
}
.contact-info-item .value {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 150ms;
}
.contact-info-item a.value:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  font-family: var(--font);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(230, 104, 45, 0.12);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   FOUNDER GRID — About page
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem;
  transition: all 180ms;
}
.founder-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.founder-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.founder-role {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.founder-card p {
  color: var(--ink-soft);
  font-size: 0.975rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 700px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SKYTAB DEVICE GRID — Dark-themed hardware showcase (2x2)
   Mirrors clover-device-grid but with dark photo containers
   for SkyTab's dark navy hardware on dark backgrounds.
   ============================================================ */
.skytab-device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.skytab-device-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 180ms;
}
.skytab-device-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.skytab-device-photo {
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  border-bottom: 1px solid var(--rule-soft);
}
.skytab-device-photo img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.skytab-device-info {
  padding: 1.75rem;
  flex: 1 1 auto;
}
.skytab-device-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.skytab-device-info p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 700px) {
  .skytab-device-grid { grid-template-columns: 1fr; }
  .skytab-device-photo { height: 240px; }
}

/* ============================================================
   SPOTON HERO PHOTO — Featured Station 15 photo above hardware grid
   ============================================================ */
.spoton-hero-photo {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2.5rem 2rem 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.spoton-hero-photo img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.spoton-hero-caption {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.spoton-hero-caption strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 700px) {
  .spoton-hero-photo { padding: 1.5rem 1rem 1.25rem; }
  .spoton-hero-photo img { max-height: 280px; }
}

/* ============================================================
   ATM TIER CARDS — 3-tier service model
   ============================================================ */
.atm-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.atm-tier-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 180ms;
}
.atm-tier-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.atm-tier-featured {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #FFFAF6 0%, var(--white) 30%);
}
.atm-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
}
.atm-tier-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.atm-tier-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.atm-tier-revenue {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.atm-tier-featured .atm-tier-revenue {
  background: rgba(230, 104, 45, 0.08);
}
.atm-tier-revenue-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.atm-tier-featured .atm-tier-revenue-num {
  color: var(--orange);
}
.atm-tier-revenue-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.atm-tier-summary {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.atm-tier-breakdown {
  border-top: 1px solid var(--rule-soft);
  margin-bottom: 1.25rem;
}
.atm-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.875rem;
  gap: 0.75rem;
}
.atm-tier-row:last-child { border-bottom: none; }
.atm-tier-label {
  color: var(--ink-muted);
  flex: 1 1 auto;
  min-width: 0;
}
.atm-tier-value {
  color: var(--ink);
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}
.atm-tier-row-highlight {
  background: var(--off-white);
  margin: 0 -1.75rem;
  padding: 0.625rem 1.75rem;
}
.atm-tier-featured .atm-tier-row-highlight {
  background: rgba(230, 104, 45, 0.06);
}
.atm-tier-best-for {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1000px) {
  .atm-tier-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ATM MATH TABLE — Illustrative revenue calculator
   ============================================================ */
.atm-math-table {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}
.atm-math-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.925rem;
  gap: 0.5rem;
}
.atm-math-row:last-child { border-bottom: none; }
.atm-math-header {
  background: var(--off-white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.atm-math-row > div:not(:first-child) {
  color: var(--ink);
  font-weight: 500;
}
.atm-math-header > div:not(:first-child) {
  color: var(--ink-muted);
  font-weight: 600;
}

@media (max-width: 700px) {
  .atm-math-row {
    grid-template-columns: 1fr 1fr;
    font-size: 0.825rem;
    padding: 0.75rem 1rem;
  }
  .atm-math-header { display: none; }
  .atm-math-row > div:not(:first-child)::before {
    content: "@ ";
    color: var(--ink-muted);
  }
}

/* ============================================================
   GATEWAY CARDS — Recurring billing page
   ============================================================ */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.gateway-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 180ms;
}
.gateway-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.gateway-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.gateway-card h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.gateway-desc {
  font-size: 0.975rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.gateway-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  border-top: 1px solid var(--rule-soft);
}
.gateway-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gateway-features li:last-child { border-bottom: none; }
.gateway-features li strong { color: var(--ink); font-weight: 600; }
.gateway-bestfor {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule-soft);
}

@media (max-width: 900px) {
  .gateway-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RECURRING FLOW — Numbered process steps
   ============================================================ */
.recurring-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.recurring-step {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: all 180ms;
}
.recurring-step:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.recurring-step-num {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--orange);
  background: rgba(230, 104, 45, 0.08);
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.recurring-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.recurring-step p {
  font-size: 0.925rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.recurring-step p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .recurring-flow { grid-template-columns: 1fr; }
}

/* ============================================================
   GIFT TRACK CARDS — Two delivery options on gift-loyalty page
   ============================================================ */
.gift-track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.gift-track-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 180ms;
}
.gift-track-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
}
.gift-track-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.gift-track-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.gift-track-summary {
  font-size: 0.975rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.gift-track-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  border-top: 1px solid var(--rule-soft);
}
.gift-track-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gift-track-features li:last-child { border-bottom: none; }
.gift-track-features li strong { color: var(--ink); font-weight: 600; }
.gift-track-bestfor {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule-soft);
}

@media (max-width: 900px) {
  .gift-track-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DEJAVOO LINEUP GRID — Terminals page
   Three-column layout (P Line / QD Line / Z Line)
   ============================================================ */
.dejavoo-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.dejavoo-line {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 180ms;
}
.dejavoo-line:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.06);
}
.dejavoo-line-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 1.25rem;
}
.dejavoo-line-kicker {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.dejavoo-line h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.dejavoo-line-header p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.dejavoo-models {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.dejavoo-model {
  padding: 0.625rem 0;
  border-bottom: 1px dashed var(--rule-soft);
}
.dejavoo-model:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dejavoo-model-name {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dejavoo-model-name strong {
  font-weight: 700;
  color: var(--orange);
  font-size: 1.05rem;
}
.dejavoo-model-name span {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.dejavoo-model p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1000px) {
  .dejavoo-lineup-grid { grid-template-columns: 1fr; }
}

/* === SQUARE HIDDEN — pending partnership approval. To unhide: delete this block === */
.square-hidden { display: none !important; }

/* =========================================================
   RE-SKIN OVERRIDES — map legacy components onto pg.css
   ========================================================= */

/* layout */
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 28px}
.container-narrow{max-width:860px}
section{padding:88px 0}
section.content{padding:88px 0;border-top:1px solid var(--rule)}
.alt-bg,.related,.trust-strip{background:transparent}
.zone>section:first-child{border-top:none}
@media(max-width:768px){section,section.content{padding:60px 0}}
ul{list-style:none}
img,svg{display:block;max-width:100%;height:auto}

/* type */
em.serif{font-family:inherit;font-style:normal;font-weight:inherit;letter-spacing:inherit;color:var(--orange-deep)}
.lead{font-size:19px;line-height:1.55;color:var(--slate)}
p{color:var(--slate)}
h1,h2,h3,h4{font-family:'Inter Tight',system-ui,sans-serif;color:var(--ink)}
h2{font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:750;letter-spacing:-0.028em;line-height:1.08}
h3{font-size:clamp(1.25rem,1.8vw,1.5rem);font-weight:700;letter-spacing:-0.02em}
h4{font-size:1.1rem;font-weight:700}
.kicker{display:inline-block;font-size:13.5px;font-weight:600;color:var(--orange-deep);margin-bottom:14px}
.content h2{margin-bottom:16px;max-width:24ch}
.content h2 em.serif{color:var(--orange-deep)}
.content p{font-size:17px;line-height:1.62;color:var(--slate)}
.content strong{color:var(--ink)}
.content ul.bulleted li{font-size:16.5px;color:var(--slate)}
.content-head{top:96px}

/* buttons: legacy names onto the pg.css .btn */
.btn{border-radius:10px;font-weight:600;font-size:15px;padding:12px 22px;gap:8px;line-height:1.2}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:var(--navy)}
/* legacy "light" buttons were made for dark backgrounds; only the (now white) hero flips them */
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:#fff}
.btn-light-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);box-shadow:none}
.btn-light-ghost:hover{border-color:#fff;background:transparent;box-shadow:none}
.hr-hero .btn-light{background:var(--ink);color:#fff}
.hr-hero .btn-light:hover{background:var(--navy)}
.hr-hero .btn-light-ghost{color:var(--ink);border-color:var(--edge)}
.hr-hero .btn-light-ghost:hover{border-color:var(--ink)}
.btn-ghost{box-shadow:none}
.btn-ghost::after,.btn-light-ghost::after{content:"\2192";display:inline-block;transition:transform .2s var(--ease)}
.btn-ghost:hover::after,.btn-light-ghost:hover::after{transform:translateX(3px)}
.hr-hero-ctas,.cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}

/* hero: white, like the Tabit hero */
.hr-hero{position:relative;padding:80px 0 72px;background:transparent;overflow:hidden}
.hr-hero-gradient,.hr-hero-grain{display:none}
.hr-hero::before{content:"";position:absolute;inset:-20% -10% auto -10%;height:130%;
  background:radial-gradient(46% 60% at 18% 22%, rgba(4,65,96,.08), transparent 65%),radial-gradient(38% 52% at 86% 30%, rgba(230,104,45,.085), transparent 62%);
  pointer-events:none;animation:drift 26s ease-in-out infinite alternate}
.hr-hero .container{position:relative;z-index:2;color:var(--ink)}
.hr-hero h1{color:var(--ink);font-size:clamp(2.5rem,4.8vw,3.8rem);font-weight:800;letter-spacing:-0.028em;line-height:1.08;max-width:18ch;margin-bottom:24px}
.hr-hero h1 em.serif{color:var(--orange-deep)}
.hr-hero p.lead{color:var(--slate);font-size:19px;max-width:54ch;margin-bottom:36px}
.breadcrumb{color:var(--faint);font-size:13.5px;margin-bottom:22px}
.breadcrumb a{color:var(--slate)}
.breadcrumb a:hover{color:var(--ink)}
.hr-hero .btn-orange{background:var(--orange)}

/* trust strip: numbers row */
.trust-strip{padding:0 0 64px !important;border-bottom:none}
.trust-strip-grid{gap:20px;text-align:left}
.trust-item{padding:26px 24px 22px;background:var(--wash);border:1px solid var(--rule);border-radius:16px}
.trust-item .num{font-family:'Inter Tight',sans-serif;font-size:clamp(1.9rem,3vw,2.5rem);font-weight:800;color:var(--ink);letter-spacing:-0.03em;line-height:1;margin-bottom:8px}
.trust-item .num em.serif{color:var(--orange-deep)}
.trust-item .label{font-size:14.5px;color:var(--slate)}

/* cards */
.feature-card,.hub-card,.pos-hub-card,.related-card,.founder-card,.gateway-card,.gift-track-card,.atm-tier-card,.recurring-step,.dejavoo-line,.clover-device-card,.skytab-device-card{border-color:var(--edge);border-radius:16px;background:#fff}
.feature-card:hover,.hub-card:hover,.pos-hub-card:hover,.related-card:hover,.founder-card:hover,.gateway-card:hover,.gift-track-card:hover,.atm-tier-card:hover,.recurring-step:hover,.dejavoo-line:hover,.clover-device-card:hover,.skytab-device-card:hover{border-color:#F3C9AE;box-shadow:0 14px 34px rgba(7,41,59,.08)}
.feature-card .icon-num,.related-card .related-label,.gateway-label,.gift-track-label,.hub-card .vertical-name,.pos-hub-card .pos-badge,.dejavoo-line-kicker{font-family:'Inter',sans-serif;font-style:normal;font-size:12.5px;font-weight:600;color:var(--orange-deep);background:var(--orange-soft);border-radius:6px;padding:3px 9px;display:inline-block}
.feature-card h3,.hub-card h3,.pos-hub-card h3,.gateway-card h3,.gift-track-card h3,.atm-tier-card h3,.recurring-step h3,.founder-card h3{font-size:19px}
.related-card h4{font-size:17px}
.related-card p,.feature-card p,.hub-card p,.pos-hub-card p{font-size:14.5px;line-height:1.55}
.related>.container>h3{font-size:clamp(1.5rem,2.4vw,1.9rem);margin-bottom:28px}
.atm-tier-num,.recurring-step-num{font-family:'IBM Plex Mono',monospace;font-style:normal}

/* FAQ */
.faq-item{border-top:1px solid var(--rule);padding:20px 0}
.faq-item:last-child{border-bottom:1px solid var(--rule)}
.faq-item summary{font-family:'Inter Tight',sans-serif;font-weight:700;font-size:18px;letter-spacing:-0.015em}
.faq-item summary:hover{color:var(--ink)}
.faq-item p{font-size:15.5px;color:var(--slate)}

/* CTA section lives in the dark zone */
.cta-section{background:transparent;color:#fff;padding:130px 0 90px;overflow:visible}
.cta-section-bg{display:none}
.cta-section .container{max-width:var(--max)}
.cta-section h2{color:#fff;font-size:clamp(2.1rem,4.2vw,3.2rem);font-weight:800;max-width:19ch;margin-bottom:20px}
.cta-section h2 em.serif{color:#fff}
.cta-section p{color:#AFC6D3;font-size:18px;max-width:48ch;margin-bottom:40px}
.cta-section .btn-light-ghost{color:#fff;border-color:rgba(255,255,255,.35)}
.cta-section .btn-light-ghost:hover{border-color:#fff}
.cta-section .btn-light{background:#fff;color:var(--ink)}
.cta-section .btn-primary{background:var(--orange)}
.cta-section .btn-primary:hover{background:var(--orange-deep)}
.cta-section .btn-orange{background:var(--orange)}

/* reveal: legacy .reveal behaves like .lift (pg.js adds .in) */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.in,.reveal.in-view{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}}

/* dark/photo blocks keep their own backgrounds */
.product-showcase,.vertical-image,.pos-banner-photo{border-radius:18px;overflow:hidden}

/* second pass */
section a{text-decoration:none}
.content p a,.content li a,.faq-item p a{border-bottom:2px solid var(--rule);color:var(--ink);font-weight:600}
.content p a:hover,.content li a:hover,.faq-item p a:hover{border-color:var(--orange)}
.pos-hub-card .pos-badge,.hub-card .vertical-name,.feature-card .icon-num,.related-card .related-label,.gateway-label,.gift-track-label,.dejavoo-line-kicker{display:inline-flex;align-self:flex-start;width:auto;align-items:center;gap:6px}
.pos-hub-card .pos-badge::before{display:none}
.pos-hub-card .pos-tagline,.pos-banner-content .pos-tagline,.gateway-desc,.gift-track-summary,.related-card .related-label{font-family:'Inter',sans-serif;font-style:normal}
.pos-hub-card .pos-tagline,.pos-banner-content .pos-tagline{font-weight:600;color:var(--orange-deep)}
.pos-hub-card.featured{background:var(--ink);border-color:var(--ink)}
.pos-hub-card.featured:hover{border-color:var(--ink)}
.pos-hub-card.featured .pos-badge{background:var(--orange);color:#fff}
.pos-hub-card.featured .pos-tagline{color:#F4A65C}
.pos-hub-card .pos-tags span{font-family:'Inter',sans-serif}
.pos-chip{border-radius:999px;border:1px solid var(--edge);font-family:'Inter',sans-serif;font-weight:500}
.pos-chip.active{background:var(--ink);border-color:var(--ink);color:#fff}
.founder-role,.atm-tier-label,.gateway-bestfor,.gift-track-bestfor,.atm-tier-best-for{font-family:'Inter',sans-serif;font-style:normal}
em.serif,.serif{font-family:inherit !important;font-style:normal !important}

/* orange zone on converted pages */
.zone[data-theme="orange"]>section{padding:120px 0;border-top:none}
.zone[data-theme="orange"] :is(h2,h3,h4,strong,.kicker){color:#fff}
.zone[data-theme="orange"] h2 em.serif,.zone[data-theme="orange"] em.serif{color:var(--ink)}
.zone[data-theme="orange"] :is(p,li){color:rgba(255,255,255,.94)}
.zone[data-theme="orange"] .content ul.bulleted li::before{color:#fff}
.zone[data-theme="orange"] :is(p,li) a{color:#fff;border-bottom-color:rgba(255,255,255,.5)}
.zone[data-theme="orange"] .btn{background:#fff;color:var(--orange-deep)}
.zone[data-theme="orange"] .btn-light-ghost,.zone[data-theme="orange"] .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.zone[data-theme="orange"]+.zone>section:first-child{border-top:none}

/* POS hub: "you bring the POS" block in the orange zone */
.zone[data-theme="orange"] .pos-section-header{margin-top:0}
.zone[data-theme="orange"] .pos-wordmark-footnote,.zone[data-theme="orange"] .pos-wordmark-footnote a{color:#fff}
.zone[data-theme="orange"] .pos-wordmark-footnote a{border-bottom:2px solid rgba(255,255,255,.5)}
.zone[data-theme="orange"] .pos-wordmark-strip{border-color:transparent;box-shadow:0 14px 34px rgba(7,41,59,.12)}
.kicker{color:#B4460F}
.zone[data-theme="orange"] .kicker,.cta-section .kicker{color:#fff}
.breadcrumb{color:var(--faint)}
.zone[data-theme="orange"] :is(p,li,span,small)[style*="color"]{color:rgba(255,255,255,.9) !important}
.feature-card .icon-num{color:#B4460F}
.zone[data-theme="orange"]>section{background:transparent !important}
