/* ============================================================
   HIGH-RISK VERTICAL PAGES — shared styles
   Matches the v5 (Stripe-inspired) design system
   ============================================================ */

:root {
  --navy:        #054060;
  --navy-deep:   #032838;
  --navy-darker: #021a25;
  --navy-bright: #0A6090;
  --orange:      #E6682D;
  --orange-deep: #C8541F;
  --orange-light:#F08851;

  --grad-1: #054060;
  --grad-2: #0A6090;
  --grad-3: #E6682D;
  --grad-4: #F4A65C;
  --grad-5: #2D8068;

  --ink:         #0A2540;
  --ink-soft:    #425466;
  --ink-muted:   #697386;
  --white:       #FFFFFF;
  --off-white:   #F6F9FC;
  --rule:        #E3E8EE;
  --rule-soft:   #ECEFF3;

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-italic: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: clamp(1.35rem, 2vw, 1.625rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

em.serif {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

p { color: var(--ink-soft); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; }
section { padding: 5rem 0; }
@media (max-width: 768px) { section { padding: 3.5rem 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  transition: all 150ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--orange); }
.btn-ghost::after { content: "→"; margin-left: 0.25rem; transition: transform 180ms; display: inline-block; }
.btn-ghost:hover::after { transform: translateX(3px); }
.btn-light { background: rgba(255,255,255,0.95); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-light-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}
.btn-light-ghost::after { content: "→"; margin-left: 0.25rem; transition: transform 180ms; display: inline-block; }
.btn-light-ghost:hover::after { transform: translateX(3px); }
.btn-light-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

/* Nav */
nav.main {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.nav-left { display: flex; align-items: center; gap: 2.5rem; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 150ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; gap: 0.5rem; align-items: center; }

/* Mobile menu toggle — hidden on desktop, visible on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--orange); }
.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Mobile drawer — slides down from top when open */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 100;
  padding: 1.25rem 1.5rem 2rem;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.12);
  border-bottom: 1px solid var(--rule-soft);
  transform: translateY(-100%);
  transition: transform 280ms ease-out;
  max-height: 100vh;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu-header img {
  height: 36px;
  width: auto;
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu-close {
  background: transparent;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.mobile-menu-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
}
.mobile-menu-ctas .btn {
  flex: 1;
  justify-content: center !important;
  text-align: center;
  text-decoration: none;
}
/* Force button text colors inside the drawer */
.mobile-menu-ctas a.btn-ghost {
  border: 1px solid var(--rule-soft);
  color: var(--ink);
}
.mobile-menu-ctas a.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.mobile-menu-ctas a.btn-primary:hover {
  background: var(--ink);
  color: var(--white);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  .nav-right .btn-ghost { display: none; } /* Sign-in moves into mobile menu */
  .nav-right .nav-help-pin { display: inline-flex; } /* Help stays pinned at the top */
  .nav-right .nav-help-pin { order: -1; } /* Help appears BEFORE hamburger on mobile */
  .nav-right .nav-help-pin {
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
  }
}

/* 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); }

/* Footer */
footer.site-footer {
  background: var(--white);
  border-top: 1px solid var(--rule-soft);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-soft);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 40px; margin-bottom: 1.25rem; }
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-col li { padding: 0.35rem 0; }
.footer-col a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  transition: color 150ms;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.footer-bottom .legal { max-width: 760px; line-height: 1.5; }
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.footer-legal-links a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 180ms;
}
.footer-legal-links a:hover { color: var(--white); }
.footer-legal-links span { color: var(--ink-muted); }
@media (max-width: 700px) {
  .footer-legal-links { gap: 0.875rem; }
}

/* 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; }
}
