:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #7c3aed;
  --primary-2: #2563eb;
  --gold: #d4a72c;
  --ok: #059669;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -20%, rgba(124, 58, 237, 0.12), transparent 35%),
              radial-gradient(circle at 95% 10%, rgba(37, 99, 235, 0.12), transparent 30%),
              var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), 92vw); margin: 0 auto; }
.section { padding: 72px 0; }
.section-sm { padding: 52px 0; }
.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  color: #1e40af;
  background: #eff6ff;
  font-size: 0.85rem;
  font-weight: 600;
}
h1, h2, h3 { line-height: 1.16; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { color: var(--muted); margin: 0; }

.hero-copy h1 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: #0f172a;
}
.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, #e0b541, var(--gold));
  box-shadow: 0 12px 24px rgba(212, 167, 44, 0.34);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.86);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand span {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border-radius: 8px;
  padding: 4px 8px;
  margin-right: 8px;
}
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { color: #334155; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #111827; }
.mobile-toggle { display: none; }

.hero {
  padding: 76px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.hero-copy p { font-size: 1.06rem; margin-bottom: 16px; }
.hero-bullets {
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.hero-bullets li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
  margin-right: 10px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-grid {
  min-height: 74px;
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: repeat(5, 1fr);
}
.trust-grid span {
  color: #334155;
  font-weight: 600;
  text-align: center;
  font-size: .93rem;
}

.grid-2 { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  padding: 22px;
}
.card p { margin-top: 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.split.alt .copy { order: 2; }
.split.alt .media { order: 1; }
.media-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame img,
.hero-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.desktop-media {
  display: grid;
  gap: 14px;
}

.desktop-login-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-shot { height: 360px; }
.website-shot { height: 420px; }
.web-shot { height: 380px; }
.pos-shot { height: 360px; }
.pos-login-shot { height: 250px; }

@media (max-width: 980px) {
  .hero-shot { height: 300px; }
  .website-shot { height: 360px; }
  .web-shot { height: 320px; }
  .pos-shot { height: 320px; }
  .pos-login-shot { height: 220px; }
}

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}
.step strong { display: inline-block; margin-bottom: 8px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 16px 16px; }

.contact-wrap {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
}
input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; display: inline-block; }
.form-grid { display: grid; gap: 12px; }

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-grid {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 14px;
  color: #334155;
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.alert {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-weight: 600;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

.reveal { animation: rise .55s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero-grid, .split, .split.alt, .contact-wrap { grid-template-columns: 1fr; }
  .split.alt .copy, .split.alt .media { order: initial; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); min-height: auto; padding: 14px 0; }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-width: 0;
  }
  .brand {
    max-width: calc(100% - 86px);
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.2;
  }
  .mobile-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 66px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* SEO multi-page additions */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: #94a3b8;
}
.breadcrumbs a { color: #334155; font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary); }

.page-hero {
  padding: 48px 0 28px;
}
.page-hero p.lead {
  font-size: 1.08rem;
  max-width: 720px;
}
.prose {
  max-width: 760px;
}
.prose p + p,
.prose ul + p,
.prose h2 + p,
.prose h3 + p { margin-top: 14px; }
.prose ul {
  color: var(--muted);
  margin: 12px 0;
  padding-left: 1.2rem;
}
.prose li { margin: 6px 0; }
.prose a { color: #1d4ed8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}
.content-card + .content-card { margin-top: 16px; }

.link-card {
  display: block;
  height: 100%;
  transition: border-color .18s ease, transform .18s ease;
}
.link-card:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
}
.link-card h3 { color: var(--text); }

.cta-band {
  background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(37, 99, 235, .08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.cta-band p { max-width: 560px; }

.footer-rich {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  padding: 42px 0 18px;
}
.footer-brand p { margin-top: 12px; font-size: .95rem; }
.footer-company { margin-top: 14px !important; font-size: .9rem !important; }
.footer-heading {
  font-size: .95rem;
  margin: 0 0 12px;
  color: var(--text);
}
.footer-rich ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-rich a {
  color: #334155;
  font-weight: 600;
  font-size: .92rem;
}
.footer-rich a:hover { color: #111827; }
.footer-bottom {
  padding: 14px 0 28px;
  border-top: 1px solid var(--line);
  color: #64748b;
}

.blog-meta {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 18px;
}
.related-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.related-links a { font-weight: 700; color: #1d4ed8; }

.feature-icon-title { margin-bottom: 6px; }

:focus-visible {
  outline: 3px solid #a78bfa;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .footer-rich { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer-rich { grid-template-columns: 1fr; }
  .page-hero { padding-top: 32px; }
}
