/* OpenX24 — shared design system */

:root {
  --bg: #f6f9f7;
  --surface: #ffffff;
  --border: #e3ebe6;
  --text: #0a1612;
  --text-muted: rgba(10, 22, 18, 0.65);
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --dark: #0a1612;
  --radius-lg: 22px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(10, 22, 18, 0.09);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--accent-dark); }

.nav-cta {
  background: var(--dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.nav-mobile-hide { display: flex; }

@media (max-width: 720px) {
  .nav-mobile-hide { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

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

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

.btn-accent:hover { background: var(--accent-dark); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover { border-color: var(--dark); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--accent-dark); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 28px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-strip span { white-space: nowrap; }

/* Sections */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* Value grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Quiz */
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.quiz-step-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.quiz-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 560px) {
  .quiz-options { grid-template-columns: 1fr; }
}

.quiz-option {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.quiz-option .emoji { font-size: 22px; display: block; margin-bottom: 8px; }

.quiz-option:hover { border-color: var(--accent); }

.quiz-option.selected {
  border-color: var(--accent-dark);
  background: rgba(34, 197, 94, 0.08);
}

.quiz-result {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.quiz-result.show { display: block; }

.quiz-result strong { color: var(--accent-dark); }

.lead-form {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.lead-form p.hint {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

input, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { min-height: 90px; resize: vertical; margin-bottom: 12px; }

/* Pricing */
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.funnel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.funnel-card.recommended {
  border-color: var(--accent-dark);
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--dark);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.funnel-card .value-icon { margin-bottom: 14px; }

.funnel-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}

.funnel-card .plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 18px;
  min-height: 54px;
}

.plan-price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.plan-price small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-terms {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13.5px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  color: var(--text);
}

.plan-features li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 900;
}

/* Pricing blocks: step 1 (build) and step 2 (run) */
.pricing-block { margin-bottom: 56px; }
.pricing-block:last-child { margin-bottom: 0; }

.block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.block-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-head h3 {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
}

.block-head p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
}

.build-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.run-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
  .run-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .build-grid { grid-template-columns: 1fr; }
}

/* The £0 route on each build card */
.route-b {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.route-b-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.route-b-tag {
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}

.route-b-save {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-dark);
  padding: 3px 8px;
  border-radius: 999px;
}

.route-b p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
}

.route-b p strong { color: var(--text); }

/* Monthly / annual switch */
.billing-toggle {
  margin-left: auto;
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 2px;
}

.billing-toggle button {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.billing-toggle button.on {
  background: var(--dark);
  color: #fff;
}

.billing-toggle button span {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
}

.billing-toggle button.on span { background: var(--accent); }

.plan-price .per { font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.step {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  padding: 20px 4px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.faq-q .icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 0 4px;
}

.faq-item.open .faq-a { max-height: 260px; padding-bottom: 20px; }

/* CTA band */
.cta-band {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  margin: 0 0 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal-page { padding: 56px 0 80px; }

.legal-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.legal-body {
  max-width: 760px;
  font-size: 15px;
}

.legal-body h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 36px 0 12px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  color: var(--text-muted);
  margin: 0 0 12px;
}

.legal-body ul { padding-left: 20px; }

.legal-body a { color: var(--accent-dark); font-weight: 600; }

.legal-body strong { color: var(--text); }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Setup selector: store build vs CRM/AI product */
.setup-tabs {
  margin-left: auto;
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 2px;
  flex-wrap: wrap;
}

.setup-tabs button {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.setup-tabs button.on { background: var(--dark); color: #fff; }

.product-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }


/* Honeypot — hidden from people, visible to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.form-status {
  font-size: 13.5px;
  font-weight: 600;
  margin: 12px 0 0;
  min-height: 20px;
}
.form-status.good { color: var(--accent-dark); }
.form-status.bad { color: #b91c1c; }

/* Cookie consent */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.consent.show { opacity: 1; transform: none; }
.consent p { margin: 0; font-size: 13.5px; color: var(--text-muted); flex: 1; min-width: 240px; }
.consent p a { color: var(--accent-dark); font-weight: 700; }
.consent-actions { display: flex; gap: 8px; margin-left: auto; }

/* ============================================================
   Multi-page layout — added with the /results, /pricing and
   product pages. Header and footer markup is duplicated per page
   deliberately: no build step, and nav that renders without JS.
   Change one, find-and-replace the rest.
   ============================================================ */

/* Guarantee band — the single biggest "perceived likelihood" lever */
.guarantee {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.guarantee-badge {
  width: 68px; height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 30px;
}
.guarantee-body { flex: 1; min-width: 260px; }
.guarantee h3 { font-size: 21px; font-weight: 900; margin: 0 0 8px; letter-spacing: -0.02em; }
.guarantee p { margin: 0; color: rgba(255,255,255,0.72); font-size: 14.5px; line-height: 1.6; }
.guarantee p strong { color: #fff; }

/* Page hero for interior pages */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 auto 16px;
  max-width: 820px;
}
.page-hero h1 span { color: var(--accent-dark); }
.page-hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* Problem / agitation list */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid #dc2626;
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.pain-card h3 { font-size: 15.5px; font-weight: 800; margin: 0 0 8px; }
.pain-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 780px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-col {
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ba-col.after { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.05); }
.ba-col h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; color: var(--text-muted); }
.ba-col.after h3 { color: var(--accent-dark); }
.ba-col ul { list-style: none; padding: 0; margin: 0; }
.ba-col li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; align-items: flex-start; }
.ba-col li::before { content: "✕"; color: #dc2626; font-weight: 900; flex-shrink: 0; }
.ba-col.after li::before { content: "✓"; color: var(--accent-dark); }

/* Proof / case study cards */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.proof-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.proof-head h3 { font-size: 18px; font-weight: 900; margin: 0; letter-spacing: -0.01em; }
.proof-tag {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(34,197,94,0.12); color: var(--accent-dark);
  padding: 4px 10px; border-radius: 999px;
}
.proof-card > p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 18px; line-height: 1.6; }
.proof-stats { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.proof-stat strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.proof-stat span { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* Numbered process */
.process { display: grid; gap: 16px; max-width: 780px; margin: 0 auto; }
.process-step {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.process-num {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  display: grid; place-items: center;
}
.process-step h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 6px; }
.process-step p { font-size: 14px; color: var(--text-muted); margin: 0; }
.process-step .when {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-dark);
  white-space: nowrap;
  align-self: flex-start;
}

/* Comparison table */
.compare-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14.5px;
}
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--dark); color: #fff; font-size: 13px; font-weight: 800; }
table.compare thead th.us { background: var(--accent-dark); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.us { background: rgba(34,197,94,0.06); font-weight: 700; }
table.compare td:first-child { font-weight: 700; }

/* Inline CTA band */
.cta-inline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-inline h3 { font-size: 22px; font-weight: 900; margin: 0 0 10px; letter-spacing: -0.02em; }
.cta-inline p { color: var(--text-muted); margin: 0 auto 22px; max-width: 480px; font-size: 15px; }

/* Footer nav columns */
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
@media (max-width: 780px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text); margin: 0 0 12px;
}
.footer-col a { display: block; padding: 4px 0; font-size: 13.5px; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-col p { font-size: 13.5px; margin: 0 0 10px; }

/* ============================================================
   The assistant — our own product, running on our own site.
   ============================================================ */

.ox-chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  width: 58px; height: 58px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 24px;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
  display: grid; place-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.ox-chat-launcher:hover { transform: translateY(-2px); }
.ox-chat-launcher.hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }

.ox-chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 131;
  width: min(390px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 40px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(10, 22, 18, 0.22);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ox-chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.ox-chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  background: var(--dark); color: #fff;
}
.ox-chat-head strong { display: block; font-size: 15px; font-weight: 800; }
.ox-chat-head span { font-size: 12px; color: rgba(255,255,255,0.65); }
.ox-chat-close {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 16px; padding: 4px 6px;
}
.ox-chat-close:hover { color: #fff; }

.ox-chat-log {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg);
}
.ox-msg { display: flex; }
.ox-msg.user { justify-content: flex-end; }
.ox-bubble {
  max-width: 86%; padding: 11px 14px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word;
}
.ox-msg.bot .ox-bubble {
  background: var(--surface); border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.ox-msg.user .ox-bubble {
  background: var(--accent); color: #fff; border-bottom-right-radius: 4px;
}

.ox-bubble.typing { display: flex; gap: 4px; align-items: center; padding: 14px; }
.ox-bubble.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: ox-blink 1.2s infinite;
}
.ox-bubble.typing i:nth-child(2) { animation-delay: 0.2s; }
.ox-bubble.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ox-blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.ox-cta {
  display: inline-block; background: var(--dark); color: #fff;
  padding: 11px 16px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700;
}
.ox-cta:hover { background: var(--accent-dark); }

.ox-chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; background: var(--bg); }
.ox-suggest {
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}
.ox-suggest:hover { border-color: var(--accent); color: var(--accent-dark); }

.ox-chat-form { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--border); }
.ox-chat-form input {
  flex: 1; font-family: inherit; font-size: 14.5px;
  padding: 11px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: #fff; color: var(--text);
}
.ox-chat-form input:focus { outline: none; border-color: var(--accent); }
.ox-chat-send {
  border: none; background: var(--accent); color: #fff; cursor: pointer;
  width: 44px; border-radius: var(--radius-md); font-size: 18px; font-weight: 800;
}
.ox-chat-send:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 480px) {
  .ox-chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); }
}

/* ============================ Insights ============================ */

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.post-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-date { font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.post-card h2 { font-size: 19px; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 10px; }
.post-card p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 16px; flex: 1; }
.post-card-more { font-size: 14px; font-weight: 800; color: var(--accent-dark); }

.post { padding: 40px 0 60px; }
.post-wrap { max-width: 720px; }
.post-meta { font-size: 13.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
.post-meta a { color: var(--accent-dark); }
.post h1 {
  font-size: clamp(30px, 4.6vw, 44px); font-weight: 900;
  letter-spacing: -0.03em; margin: 0 0 18px; line-height: 1.15;
}
.post-lead { font-size: 19px; color: var(--text-muted); margin: 0 0 28px; line-height: 1.6; }
.post-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 36px; }
.post h2 {
  font-size: 24px; font-weight: 900; letter-spacing: -0.02em;
  margin: 40px 0 14px; scroll-margin-top: 90px;
}
.post p { font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.post ul, .post ol { font-size: 17px; line-height: 1.7; padding-left: 22px; }
.post li { margin-bottom: 8px; }

.post-cta {
  background: var(--dark); color: #fff;
  border-radius: var(--radius-lg); padding: 32px; margin: 44px 0; text-align: center;
}
.post-cta h3 { font-size: 22px; font-weight: 900; margin: 0 0 10px; letter-spacing: -0.02em; }
.post-cta p { color: rgba(255,255,255,0.72); font-size: 15.5px; margin: 0 auto 22px; max-width: 460px; }

/* ---------------------------------------------------------------- live stores
 * Real client storefronts. Every fact shown in a card was read off the live site
 * (platform, currency, language) — never a figure we can't point at.
 */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .store-grid { grid-template-columns: 1fr; } }

.store-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.store-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(34, 197, 94, 0.4); }

.store-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; background: #f1f5f3; border-bottom: 1px solid var(--border);
}
.store-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5d0; flex: none; }
.store-url {
  flex: 1; margin-left: 8px; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 12px; font-size: 11.5px; font-weight: 700; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* The shot is a button, not a link: clicking enlarges it so the design can
 * actually be read. Visiting the store is a separate, explicit action. */
.store-shot {
  display: block; width: 100%; padding: 0; border: 0; margin: 0;
  position: relative; cursor: zoom-in; background: #eef2f0; line-height: 0;
  aspect-ratio: 896 / 616; overflow: hidden;
}
.store-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.store-card:hover .store-shot img { transform: scale(1.035); }
.store-shot::after {
  content: "⤢ Enlarge"; position: absolute; right: 10px; bottom: 10px;
  background: rgba(10, 22, 18, 0.82); color: #fff;
  font-size: 11.5px; font-weight: 800; line-height: 1;
  padding: 7px 11px; border-radius: 999px;
  opacity: 0; transition: opacity 0.2s ease;
}
.store-card:hover .store-shot::after, .store-shot:focus-visible::after { opacity: 1; }
/* No hover on touch, so the affordance would never appear — show it always. */
@media (hover: none) { .store-shot::after { opacity: 1; } }

.store-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.store-body h3 { font-size: 17px; font-weight: 900; margin: 0 0 5px; letter-spacing: -0.01em; }
.store-body h3 a { color: inherit; text-decoration: none; }
.store-body h3 a:hover { color: var(--accent-dark); }
.store-body > p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.55; }

.store-specs { list-style: none; margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--border); }
.store-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 4px 0; }
.store-specs dt, .store-specs .k { color: var(--text-muted); font-weight: 600; }
.store-specs .v { font-weight: 800; text-align: right; }

.store-visit {
  margin-top: auto; display: block; text-align: center; text-decoration: none;
  background: var(--dark); color: #fff; font-weight: 800; font-size: 13.5px;
  padding: 12px 16px; border-radius: var(--radius-md); transition: background 0.2s ease;
}
.store-visit:hover { background: var(--accent-dark); }

.store-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; color: var(--accent-dark);
}
.store-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: store-pulse 2.4s infinite;
}
@keyframes store-pulse {
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .store-live::before { animation: none; }
  .store-card, .store-shot img { transition: none; }
}

.store-note {
  margin: 26px auto 0; max-width: 760px; text-align: center;
  font-size: 14.5px; color: var(--text-muted); line-height: 1.65;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 24px;
}
.store-note strong { color: var(--text); }

/* Lightbox — native <dialog> so Escape and focus trapping come for free. */
.shot-modal {
  border: 0; padding: 0; background: transparent;
  max-width: min(1180px, 94vw); max-height: 92vh; width: 100%;
}
.shot-modal::backdrop { background: rgba(10, 22, 18, 0.82); backdrop-filter: blur(3px); }
.shot-modal img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); background: #fff; }
.shot-modal-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 12px; color: #fff;
}
.shot-modal-bar strong { font-size: 15px; font-weight: 800; }
.shot-modal-bar a { color: #fff; font-weight: 700; font-size: 13.5px; }
.shot-modal-close {
  background: rgba(255, 255, 255, 0.14); border: 0; color: #fff;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  font-size: 18px; line-height: 1; flex: none;
}
.shot-modal-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ── Pre-checkout confirmation ─────────────────────────────────────────────
   Shown one click before Stripe. The buyer chose OpenX24; the charge is taken
   by Servolia LLC, the company that trades as OpenX24, and Stripe's own page
   carries that account name. Saying so here — before they see it — is what
   keeps a legitimate payment from being reported as an unrecognised one. */
.pay-confirm {
  border: none;
  padding: 0;
  max-width: 460px;
  width: calc(100% - 32px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.pay-confirm::backdrop { background: rgba(10, 22, 18, 0.82); backdrop-filter: blur(3px); }
.pay-confirm-inner { padding: 26px 24px 22px; }
.pay-confirm h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.pay-confirm .pay-plan {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px;
  border-radius: 999px; background: rgba(34, 197, 94, 0.12);
  color: var(--accent-dark); font-size: 13px; font-weight: 700;
}
.pay-confirm p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.pay-confirm .pay-name {
  margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; line-height: 1.55; color: var(--text);
}
.pay-confirm .pay-name strong { font-weight: 800; }
.pay-confirm-actions { display: flex; gap: 10px; margin-top: 18px; }
.pay-confirm-actions button { flex: 1; font: inherit; cursor: pointer; border-radius: var(--radius-md); padding: 12px 16px; font-weight: 700; }
.pay-confirm-go { border: none; background: var(--accent-dark); color: #fff; }
.pay-confirm-go:hover { background: var(--accent); }
.pay-confirm-cancel { border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); }
.pay-confirm-cancel:hover { color: var(--text); }
@media (max-width: 420px) { .pay-confirm-actions { flex-direction: column-reverse; } }
