/* ==========================================================================
   Orderkit — Homepage styles
   Plain CSS, no framework. Mobile-first with desktop breakpoints.
   ========================================================================== */

/* F37 Lineca — licensed font, self-hosted (not on Google Fonts).
   Two weights supplied: Regular (used for the main H1 only) and Book
   (used for every other heading plus body copy). They're registered as
   two distinct font-family names — F37 Lineca foundries typically ship
   Book as its own family rather than a numeric weight of Regular, so this
   avoids the browser trying to fake one from the other. */
@font-face {
  font-family: "F37 Lineca";
  src: url("../assets/fonts/F37Lineca-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "F37 Lineca Book";
  src: url("../assets/fonts/F37Lineca-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (sampled from supplied design screenshots) */
  --ok-dark: #072929;          /* deep teal/navy — header, hero, dark surfaces */
  --ok-dark-2: #0a3535;
  --ok-mint: #2dffcc;          /* bright mint — primary CTA */
  --ok-teal: #02c4a0;          /* secondary teal — embedded financing card */
  --ok-lime: #cde392;          /* pay-early card / payment-flows card */
  --ok-sage: #9baf8c;          /* pay-later card */
  --ok-cream: #f6faf3;         /* light section background */
  --ok-lavender: #d7b1da;      /* risk-scoring card */
  --ok-plum: #32003d;          /* accent on lavender card */
  --ok-peach: #f4c9a1;         /* automated-reviews card — bridges lime + lavender */
  --ok-rust: #8a3b1f;          /* accent on peach card */
  --ok-ink: #0d1f1c;           /* body heading colour on light bg */
  --ok-slate: #55625f;         /* body copy on light bg */
  --ok-mist: #b9c7c3;          /* body copy on dark bg */
  --ok-line: #e3e8df;          /* hairline dividers on light bg */
  --ok-white: #ffffff;

  --container: 1200px;
  --gutter: 24px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;

  --font-h1: "F37 Lineca", "Poppins", "Century Gothic", Futura, sans-serif;         /* Regular — main H1 only */
  --font-head: "F37 Lineca Book", "Poppins", "Century Gothic", Futura, sans-serif;  /* Book — all sub-headings */
  --font-body: "F37 Lineca Book", "Inter", "Helvetica Neue", Arial, sans-serif;     /* Book — body copy */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ok-ink);
  background: var(--ok-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: block;
  font-size: 0.9rem;
  color: var(--ok-slate);
  margin-bottom: 0.75rem;
}

.section {
  padding: 88px 0;
}

.section-light { background: var(--ok-white); }
.section-cream { background: var(--ok-cream); }
.section-dark  { background: var(--ok-dark); color: var(--ok-white); }

.heading-xl {
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.heading-lg {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
}
.heading-md {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}
em { font-style: italic; font-family: var(--font-head); }

.lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ok-mist);
}
.section-light .lede,
.section-cream .lede { color: var(--ok-slate); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ok-mint);
  color: var(--ok-dark);
}
.btn-primary:hover { filter: brightness(0.96); }
.btn-dark {
  background: var(--ok-dark);
  color: var(--ok-white);
  padding: 12px 22px;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ok-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.16); }
.btn-icon {
  width: 1em; height: 1em;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}
.link-arrow .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ok-dark);
  color: var(--ok-white);
  flex-shrink: 0;
}
.section-dark .link-arrow .arrow-circle {
  background: var(--ok-white);
  color: var(--ok-dark);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ok-dark);
  color: var(--ok-white);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}
.logo {
  display: inline-block;
  color: var(--ok-white);
  width: 128px;
}
.logo svg { width: 100%; height: auto; display: block; }

.main-nav {
  display: none;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a,
.main-nav .mega-trigger {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ok-white);
  opacity: 0.92;
}
.main-nav a:hover,
.main-nav .mega-trigger:hover,
.has-mega:hover .mega-trigger,
.has-mega.is-open .mega-trigger {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions > .btn-dark { display: none; }
.locale-switcher {
  display: flex;
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.locale-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  background: var(--ok-dark);
  overflow: hidden;
  z-index: 20;
  transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.locale-switcher.is-open .locale-shell { height: 124px; }
.locale-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--ok-white);
  font-size: 1.1rem;
}
.locale-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.locale-switcher.is-open .locale-option {
  opacity: 1;
  transition-delay: 0.1s;
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--ok-white);
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--ok-white);
  border-top: 1px solid var(--ok-line);
  box-shadow: 0 16px 32px -16px rgba(7, 41, 41, 0.25);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  z-index: 90;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav > a {
  display: block;
  padding: 16px var(--gutter);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--ok-line);
  color: var(--ok-ink);
}
.mobile-nav .header-actions {
  padding: 16px var(--gutter) 24px;
}
.mobile-cta {
  width: 100%;
  height: 40px;
  padding: 0 22px;
  font-size: 0.9rem;
  justify-content: center;
  white-space: nowrap;
}

/* ---------- Mobile "Product" accordion ---------- */
.mobile-solutions {
  border-bottom: 1px solid var(--ok-line);
}
.mobile-solutions-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px var(--gutter);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ok-ink);
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.mobile-solutions-caret {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mobile-solutions.is-open .mobile-solutions-caret { transform: rotate(-135deg); }
.mobile-solutions-panel {
  display: none;
  flex-direction: column;
  padding: 0 var(--gutter) 22px;
}
.mobile-solutions.is-open .mobile-solutions-panel { display: flex; }
.mobile-solutions-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ok-slate);
  margin-bottom: 10px;
}
.mobile-solutions-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
.mobile-solutions-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-radius: 10px;
  color: var(--ok-ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-solutions-links a:hover { background: var(--ok-cream); }
.mobile-solutions-preview { margin-bottom: 20px; }
.mobile-solutions-preview:last-child { margin-bottom: 4px; }
.mobile-solutions-preview h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ok-ink);
  margin-bottom: 6px;
}
.mobile-solutions-preview p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ok-slate);
  margin-bottom: 12px;
}

/* ---------- Mega menu (Product) ---------- */
.main-nav li.has-mega { position: relative; }
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.mega-trigger-caret {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.85;
  transition: transform 0.2s ease, margin-top 0.2s ease;
}
.has-mega:hover .mega-trigger-caret,
.has-mega.is-open .mega-trigger-caret {
  transform: rotate(225deg);
  margin-top: 3px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  transform: translateY(6px);
  padding-top: 26px;
  width: min(860px, calc(100vw - 64px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.has-mega:hover .mega-menu,
.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .mega-menu { transition: none; }
}

.mega-menu-inner {
  background: var(--ok-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px -20px rgba(7, 41, 41, 0.4);
  padding: 32px;
  display: grid;
  grid-template-columns: 248px 1fr 1fr;
  gap: 8px 32px;
}

.mega-col-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.mega-col-links {
  padding-right: 16px;
  border-right: 1px solid var(--ok-line);
}
.mega-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.mega-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px 9px 0;
  border-radius: 10px;
  color: var(--ok-ink);
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.15s ease;
}
.mega-links a:hover { background: var(--ok-cream); }
.mega-link-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}
.mega-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ok-cream);
  color: var(--ok-dark);
  flex-shrink: 0;
}
.mega-link-icon svg { display: block; width: 16px; height: 16px; }

.mega-col-preview {
  display: flex;
  flex-direction: column;
}
.mega-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ok-ink);
  margin-bottom: 8px;
}
.mega-col-arrow,
.mega-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok-dark);
  color: var(--ok-white);
  flex-shrink: 0;
}
.mega-link-arrow { margin-left: auto; }
.mega-col-arrow svg,
.mega-link-arrow svg {
  display: block;
  width: 8px;
  height: 8px;
}
.mega-col-text {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--ok-slate);
  margin-bottom: 16px;
}

/* Preview boxes — kept empty (colour only) until real imagery is dropped in;
   both columns share the same fixed height so they always line up. */
.mega-preview {
  border-radius: var(--radius-md);
  height: 176px;
  margin-top: auto;
}
.mega-preview-caller { background: var(--ok-teal); }
.mega-preview-tap { background: var(--ok-lime); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 0;
}
.hero-copy {
  max-width: 960px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.hero-heading-wrap {
  position: relative;
  margin-bottom: 28px;
}
.hero .heading-xl {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  text-shadow: 0 6px 32px rgba(4, 26, 26, 0.55);
}
.hero .lede {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.hero-art {
  position: absolute;
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}
.hero-art video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-strip {
  margin-top: 56px;
  padding-block: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.logo-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}
.logo-track li { flex-shrink: 0; }
.logo-track img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.65;
}
.logo-track img[src*="postmark"] { height: 48px; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3334%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ==========================================================================
   Feature cards (Pay Early / Pay Later / Embedded Financing)
   ========================================================================== */
.feature-cards {
  padding-top: 64px;
  padding-bottom: 96px;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.feature-card .card-art {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.35);
  font-size: 0.9rem;
  margin-bottom: 28px;
  overflow: hidden;
}
.feature-card .card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card.card-lime .card-art { background: var(--ok-lime); }
.feature-card.card-sage .card-art { background: var(--ok-sage); }
.feature-card.card-teal .card-art { background: var(--ok-teal); color: rgba(0,0,0,0.3); }

.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--ok-slate);
  line-height: 1.6;
}

/* Placeholder art tag used inside empty image cards */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}
.img-placeholder span {
  border: 1px dashed currentColor;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Infrastructure / flow diagram section
   ========================================================================== */
.infra-copy {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.infra-copy .lede { max-width: 620px; margin-inline: auto; margin-bottom: 28px; }

/* ---------- Instant Payouts flow ---------- */
.payout-flow {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* A percentage custom property lets the conic-gradient sweep below
   animate smoothly frame-by-frame instead of jumping between states. */
@property --ring-progress {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

/* Each card is a transparent positioning wrapper (.payout-card-wrap)
   around the real opaque white card (.payout-step). The gradient ring
   (.payout-ring) is a SIBLING of the card, not a child of it — an
   element's own background always paints below its own children no
   matter what z-index they use, so a ring drawn as a pseudo-element on
   the opaque card itself gets covered by nothing and instead covers
   the card. Making the ring and the card siblings inside a background-
   free wrapper, with the card explicitly stacked above, lets the ring
   sit truly behind the card and peek out only as a thin border. */
.payout-card-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.payout-step {
  background: var(--ok-white);
  border: 1px solid var(--ok-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Animated gradient outline that highlights each card in turn — a
   conic-gradient sweeps clockwise from 0% to a complete ring (drawing
   around the border, not just fading in), holds complete, then fades
   out. It sits exactly on the card's real rounded border regardless of
   pixel size — no stretching/misalignment on mobile vs desktop, and no
   CSS mask involved (masking a gradient this way proved unreliable
   across browsers). Every element's keyframes use hardcoded absolute
   percentages of one shared 8s timeline (no animation-delay anywhere
   in this flow), so every card and connector resets in unison. */
.payout-ring {
  content: "";
  position: absolute;
  inset: -2.5px;
  z-index: 0;
  border-radius: calc(var(--radius-md) + 2.5px);
  --ring-progress: 0%;
  background: conic-gradient(from -90deg,
    var(--ok-lavender) 0%,
    var(--ok-teal) var(--ring-progress),
    transparent var(--ring-progress),
    transparent 100%);
  opacity: 0;
  pointer-events: none;
}
.step-a .payout-ring { animation: payoutGlowA 8s linear infinite; }
.step-b .payout-ring { animation: payoutGlowB 8s linear infinite; }
.step-e .payout-ring { animation: payoutGlowE 8s linear infinite; }

@keyframes payoutGlowA {
  0%          { opacity: 0; --ring-progress: 0%; }
  1%          { opacity: 1; --ring-progress: 0%; }
  11%         { --ring-progress: 100%; }
  14%         { opacity: 1; --ring-progress: 100%; }
  16%, 100%   { opacity: 0; --ring-progress: 100%; }
}
@keyframes payoutGlowB {
  0%, 18%     { opacity: 0; --ring-progress: 0%; }
  19%         { opacity: 1; --ring-progress: 0%; }
  29%         { --ring-progress: 100%; }
  32%         { opacity: 1; --ring-progress: 100%; }
  34%, 100%   { opacity: 0; --ring-progress: 100%; }
}
@keyframes payoutGlowE {
  0%, 84%     { opacity: 0; --ring-progress: 0%; }
  85%         { opacity: 1; --ring-progress: 0%; }
  95%         { --ring-progress: 100%; }
  97%         { opacity: 1; --ring-progress: 100%; }
  99%, 100%   { opacity: 0; --ring-progress: 100%; }
}

.payout-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ok-dark);
  color: var(--ok-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.payout-title {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 4px;
}
.payout-sub {
  font-size: 0.85rem;
  color: var(--ok-slate);
}

/* Connectors fade grey -> teal left to right as the sequence reaches
   them, then every connector snaps back to grey together at the exact
   moment the loop restarts (no animation-delay = no staggered resets). */
.payout-connector {
  width: 2px;
  height: 44px;
  border-left: 2px dashed var(--ok-line);
  position: relative;
  flex-shrink: 0;
}
.line-0 { animation: payoutLine0 8s ease-in-out infinite; }
.line-1 { animation: payoutLine1 8s ease-in-out infinite; }

@keyframes payoutLine0 {
  0%, 12%, 100% { border-color: var(--ok-line); }
  16%           { border-color: var(--ok-teal); }
  96%           { border-color: var(--ok-teal); }
}
@keyframes payoutLine1 {
  0%, 30%, 100% { border-color: var(--ok-line); }
  34%           { border-color: var(--ok-teal); }
  96%           { border-color: var(--ok-teal); }
}
.payout-connector--hub { height: 116px; }

.payout-hub-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
}
.payout-hub-outline {
  position: absolute;
  inset: -11px;
  z-index: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(var(--ok-cream), var(--ok-cream)) padding-box,
    linear-gradient(135deg, var(--ok-lavender), var(--ok-teal)) border-box;
  transform: rotate(-9deg);
}
.payout-hub {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--ok-lavender), var(--ok-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(10, 30, 25, 0.35);
}
.payout-hub img { width: 22px; height: 22px; }

/* The old "Instant payment requested" card left an awkward empty gap
   in the layout whenever it was hidden. Replaced with a single longer
   connector: a small coin bearing "£" travels along the dashed line
   from the hub to the final card, which then plays its own outline
   sweep once the coin arrives — reads as the payout actually moving. */
.payout-connector--dotline {
  width: 2px;
  height: 108px;
  border-left: 2px dashed var(--ok-line);
  position: relative;
  flex-shrink: 0;
  animation: payoutLineDot 8s ease-in-out infinite;
}
@keyframes payoutLineDot {
  0%, 56%, 100% { border-color: var(--ok-line); }
  60%           { border-color: var(--ok-teal); }
  96%           { border-color: var(--ok-teal); }
}
.payout-dot {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok-teal);
  color: var(--ok-white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(10, 30, 25, 0.4);
  transform: translate(-50%, -50%);
  animation: payoutDotTravelY 8s ease-in-out infinite;
}
@keyframes payoutDotTravelY {
  0%, 55%  { opacity: 0; top: 0%; }
  59%      { opacity: 1; }
  83%      { opacity: 1; top: 100%; }
  87%, 100% { opacity: 0; top: 100%; }
}

/* Step 3 — "Standard bank processing" hands off to "Instant Payout".
   No white card here (unlike the other steps) — each state is a
   compact rounded-rectangle outline that wraps snugly around just its
   icon + label, echoing a highlighted row in a list. The whole pair
   slides vertically together, so the outline appears to carry the
   label up into the next one. */
.payout-step3-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payout-step3-track {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 152px;
  padding: 0 24px;
}
.payout-step3-rows {
  display: flex;
  flex-direction: column;
  animation: payoutStep3Slide 8s ease-in-out infinite;
}
.payout-step3-row {
  height: 152px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@keyframes payoutStep3Slide {
  0%, 46%  { transform: translateY(0); }
  56%, 99% { transform: translateY(-152px); }
  100%     { transform: translateY(0); }
}
.payout-icon--instant { background: var(--ok-teal); }

/* A compact horizontal pill — icon to the left of the label, no
   subtext — rather than a tall card. Both states sit inside a plain
   grey outline at rest, same idea as every other step. Only once the
   sequence hands off to "Instant Payout" does that grey outline
   convert into the lavender-teal gradient, sweeping clockwise around
   the border rather than fading in, and stays that colour. "Standard
   Settlement" never gets the gradient treatment — it stays a simple
   grey outline throughout. Built with the same transparent-centre,
   two-background-layer technique used elsewhere (an inner fill that
   matches the section background, painted on top of the border
   colour) so the rounded corners always render correctly. */
.payout-ring-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 14px 20px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(var(--ok-cream), var(--ok-cream)) padding-box,
    linear-gradient(var(--ok-line), var(--ok-line)) border-box;
}
.payout-ring-pill .payout-icon {
  width: 32px;
  height: 32px;
  margin: 0;
  flex-shrink: 0;
}
.payout-ring-pill .payout-title {
  margin-bottom: 0;
  min-width: 0;
}
.row-instant .payout-ring-pill {
  --ring-progress: 0%;
  background:
    linear-gradient(var(--ok-cream), var(--ok-cream)) padding-box,
    conic-gradient(from -90deg,
      var(--ok-lavender) 0%,
      var(--ok-teal) var(--ring-progress),
      var(--ok-line) var(--ring-progress),
      var(--ok-line) 100%) border-box;
  animation: payoutPillInstant 8s linear infinite;
}
@keyframes payoutPillInstant {
  0%, 56%   { --ring-progress: 0%; }
  63%       { --ring-progress: 100%; }
  100%      { --ring-progress: 100%; }
}

/* ==========================================================================
   Tabs / solutions section
   ========================================================================== */
.tabs-copy {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.tabs-copy .lede { max-width: 600px; margin-inline: auto; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ok-white);
  border: 1px solid var(--ok-line);
  border-radius: var(--radius-full);
  padding: 6px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 48px;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--ok-ink);
}
.tab-btn.is-active {
  background: var(--ok-dark);
  color: var(--ok-white);
}

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.solution-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: var(--ok-cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  align-items: center;
}
.solution-card .card-art {
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--ok-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.3);
  overflow: hidden;
}
.solution-card .card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art.card-art-zones {
  aspect-ratio: unset;
  height: 380px;
}
@media (min-width: 1024px) {
  .card-art.card-art-zones { height: 420px; }
}
.solution-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 8px 0 14px;
}
.solution-card p {
  color: var(--ok-slate);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ---- Delivery Zones demo (distance charge map + postcode list) ---- */
.zones-card {
  position: relative;
  width: 100%;
  height: 100%;
}
.zones-mode-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: var(--ok-dark);
  color: var(--ok-white);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.zones-stage {
  position: absolute;
  inset: 0;
  display: grid;
}
.zones-screen {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.zones-screen-postcodes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 22px 22px;
  background: var(--ok-white);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.zones-card.show-postcodes .zones-screen-distance {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.zones-card.show-postcodes .zones-screen-postcodes {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.zones-map {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ok-cream);
}
.zones-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 55%;
  transform: scale(1.15);
}
.zones-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.zones-ring {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
.zones-ring-inner {
  stroke: var(--ok-teal);
  stroke-dasharray: 408.4;
  stroke-dashoffset: 408.4;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.zones-ring-outer {
  stroke: var(--ok-plum);
  stroke-dasharray: 785.4;
  stroke-dashoffset: 785.4;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.zones-ring.is-drawn.zones-ring-inner { stroke-dashoffset: 0; }
.zones-ring.is-drawn.zones-ring-outer { stroke-dashoffset: 0; }
.zones-fill {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.zones-fill-inner { fill: var(--ok-teal); opacity: 0; }
.zones-fill-outer { fill: var(--ok-plum); opacity: 0; }
.zones-fill.is-visible.zones-fill-inner { opacity: 0.14; }
.zones-fill.is-visible.zones-fill-outer { opacity: 0.08; }

.zones-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--ok-ink);
  border: 2px solid var(--ok-white);
  box-shadow: 0 2px 6px rgba(13, 31, 28, 0.35);
  transform: translate(-50%, -50%);
  z-index: 3;
}
.zones-pin::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--ok-ink);
  opacity: 0;
  animation: zonesPinPulse 2.4s ease-out infinite;
}
@keyframes zonesPinPulse {
  0%   { transform: scale(0.5); opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.zones-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  background: var(--ok-white);
  border-radius: 10px;
  padding: 7px 11px;
  box-shadow: 0 10px 24px -12px rgba(13, 31, 28, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 4;
}
.zones-chip.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.zones-chip-inner { left: 64%; top: 30%; }
.zones-chip-outer { left: 80%; top: 70%; }
.zones-chip-radius {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.zones-chip-charge {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ok-ink);
}
.zones-chip-min {
  font-size: 0.66rem;
  color: var(--ok-slate);
}

.zones-postcode-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.zones-postcode-head-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ok-ink);
}
.zones-postcode-head-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ok-slate);
  background: var(--ok-cream);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.zones-postcode-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zones-postcode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ok-white);
  border-radius: 12px;
  padding: 10px 12px 10px 10px;
  box-shadow: 0 6px 16px -10px rgba(13, 31, 28, 0.45), 0 0 0 1px rgba(13, 31, 28, 0.07);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.zones-postcode-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.zones-postcode-row.is-new.is-visible {
  animation: zonesRowLand 1.4s ease;
}
@keyframes zonesRowLand {
  0%   { background: rgba(2, 196, 160, 0.28); box-shadow: 0 0 0 1.5px var(--ok-teal); }
  100% { background: var(--ok-white); box-shadow: 0 6px 16px -10px rgba(13, 31, 28, 0.45), 0 0 0 1px rgba(13, 31, 28, 0.07); }
}
.zones-postcode-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.zones-postcode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(2, 196, 160, 0.14);
  color: var(--ok-teal);
  flex-shrink: 0;
}
.zones-postcode-code-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zones-postcode-code {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ok-ink);
  letter-spacing: 0.03em;
}
.zones-postcode-tag {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.zones-postcode-tag-catchall { color: var(--ok-teal); }
.zones-postcode-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.zones-postcode-charge {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ok-teal);
}
.zones-postcode-more {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ok-slate);
  opacity: 0.4;
}

.zones-postcode-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
  padding: 12px 14px;
  background: var(--ok-cream);
  border: 1.5px dashed var(--ok-teal);
  border-radius: 12px;
}
.zones-postcode-form-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.zones-postcode-fields {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.zones-postcode-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.zones-postcode-input-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.zones-postcode-input-box {
  display: flex;
  align-items: center;
  min-height: 1.3em;
  background: var(--ok-white);
  border: 1.5px solid var(--ok-line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok-ink);
  letter-spacing: 0.02em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.zones-postcode-field.is-focused .zones-postcode-input-box {
  border-color: var(--ok-teal);
  box-shadow: 0 0 0 3px rgba(2, 196, 160, 0.15);
}
.zones-postcode-caret {
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--ok-teal);
  opacity: 0;
}
.zones-postcode-field.is-focused .zones-postcode-caret {
  animation: reviewCaretBlink 1s steps(1) infinite;
}
.zones-postcode-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  background: var(--ok-dark);
  color: var(--ok-white);
  border: none;
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.zones-postcode-add.is-pressed {
  transform: scale(0.93);
  background: var(--ok-teal);
}

@media (prefers-reduced-motion: reduce) {
  .zones-screen,
  .zones-ring,
  .zones-fill,
  .zones-chip,
  .zones-postcode-row,
  .zones-postcode-field,
  .zones-postcode-input-box,
  .zones-postcode-add {
    transition: none;
  }
  .zones-postcode-row.is-new.is-visible { animation: none; }
  .zones-pin::after,
  .zones-postcode-caret {
    animation: none;
    opacity: 0;
  }
}

/* ---- Customer Data demo (device mockup: customer list -> customer detail) ---- */
.card-art.card-art-customers {
  aspect-ratio: unset;
  height: 380px;
  position: relative;
  background: linear-gradient(150deg, var(--ok-lavender) 0%, var(--ok-teal) 55%, var(--ok-dark-2) 100%);
  overflow: hidden;
}
.card-art.card-art-customers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .card-art.card-art-customers { height: 420px; }
}

.customers-card {
  position: relative;
  width: 100%;
  height: 100%;
}

.customers-facet {
  position: absolute;
  pointer-events: none;
}
.customers-facet-1 {
  top: -50px;
  left: -70px;
  width: 240px;
  height: 280px;
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, 100% 22%, 38% 100%);
}
.customers-facet-2 {
  bottom: -70px;
  right: -50px;
  width: 280px;
  height: 320px;
  background: rgba(7, 41, 41, 0.4);
  clip-path: polygon(100% 100%, 0 55%, 68% 0);
}
.customers-facet-3 {
  top: 28%;
  right: -40px;
  width: 180px;
  height: 240px;
  background: rgba(255, 255, 255, 0.09);
  clip-path: polygon(0 0, 100% 42%, 18% 100%);
}
.customers-facet-4 {
  bottom: 6%;
  left: -50px;
  width: 200px;
  height: 220px;
  background: rgba(7, 41, 41, 0.28);
  clip-path: polygon(0 100%, 100% 62%, 55% 0);
}
.customers-facet-5 {
  top: 4%;
  right: 8%;
  width: 130px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(50% 0, 100% 100%, 0 90%);
}

.customers-tablet {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 78%;
  max-width: 300px;
  height: calc(100% + 70px);
  background: var(--ok-dark);
  border-radius: 26px;
  padding: 13px 9px 32px;
  box-shadow: 0 30px 60px -20px rgba(7, 41, 41, 0.55);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.customers-tablet.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.customers-tablet-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}
.customers-screen {
  width: 100%;
  height: 100%;
  background: var(--ok-white);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.customers-stage {
  position: absolute;
  inset: 0;
  display: grid;
}
.customers-view {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.customers-view-list { transform: translateX(0); opacity: 1; }
.customers-view-detail { transform: translateX(100%); opacity: 0; pointer-events: none; }
.customers-card.show-detail .customers-view-list {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.customers-card.show-detail .customers-view-detail {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.customers-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 14px 13px;
}
.customers-scroll {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.customers-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ok-ink);
  margin-bottom: 6px;
}
.customers-count {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ok-slate);
  background: var(--ok-cream);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.customers-list {
  display: flex;
  flex-direction: column;
}
.customers-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--ok-line);
  border-radius: 8px;
  transition: background 0.3s ease;
}
.customers-list .customers-row:last-child { border-bottom: none; }
.customers-row.is-pressed { background: rgba(2, 196, 160, 0.12); }
.customers-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 700;
  flex-shrink: 0;
}
.customers-avatar-teal { background: rgba(2, 196, 160, 0.16); color: var(--ok-teal); }
.customers-avatar-plum { background: rgba(50, 0, 61, 0.12); color: var(--ok-plum); }
.customers-avatar-rust { background: rgba(138, 59, 31, 0.14); color: var(--ok-rust); }
.customers-avatar-lg {
  width: 46px;
  height: 46px;
  font-size: 0.92rem;
}
.customers-row-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.customers-row-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ok-ink);
}
.customers-row-meta {
  font-size: 0.66rem;
  color: var(--ok-slate);
}
.customers-row-chevron {
  margin-left: auto;
  color: var(--ok-slate);
  opacity: 0.45;
  font-size: 1rem;
}

.customers-back {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--ok-slate);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0 0 10px;
}
.customers-detail-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ok-line);
}
.customers-detail-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ok-ink);
  margin-top: 4px;
}
.customers-detail-contact {
  font-size: 0.68rem;
  color: var(--ok-slate);
}
.customers-stats {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ok-line);
}
.customers-stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.customers-card.show-detail .customers-stat.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.customers-stat-value {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ok-ink);
}
.customers-stat-label {
  font-size: 0.6rem;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.customers-orders-head {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ok-slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.customers-orders {
  display: flex;
  flex-direction: column;
}
.customers-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--ok-line);
}
.customers-orders .customers-order-row:last-child { border-bottom: none; }
.customers-order-date {
  font-size: 0.7rem;
  color: var(--ok-slate);
  width: 40px;
  flex-shrink: 0;
}
.customers-order-type {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.customers-order-type-delivery { background: rgba(2, 196, 160, 0.14); color: var(--ok-teal); }
.customers-order-type-pickup { background: rgba(50, 0, 61, 0.1); color: var(--ok-plum); }
.customers-order-amount {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ok-ink);
}

@media (prefers-reduced-motion: reduce) {
  .customers-tablet,
  .customers-view,
  .customers-scroll,
  .customers-row,
  .customers-stat {
    transition: none;
  }
}

/* ---- SMS & Email demo (phone lock-screen mockup: bg video, live clock, toast) ---- */
.card-art.card-art-sms {
  aspect-ratio: unset;
  height: 400px;
  position: relative;
  background: #9bb18a;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .card-art.card-art-sms { height: 440px; }
  .sms-toast { top: 244px; }
}

.sms-card {
  position: relative;
  width: 100%;
  height: 100%;
}

.sms-phone {
  position: absolute;
  top: 16%;
  left: 50%;
  width: clamp(196px, 62%, 218px);
  height: calc(100% + 40px);
  transform: translateX(-50%);
  background: var(--ok-dark);
  border-radius: 32px;
  padding: 9px;
  box-shadow: 0 32px 56px -14px rgba(0, 0, 0, 0.6), 0 12px 26px -10px rgba(0, 0, 0, 0.4), 0 0 0 1.5px rgba(7, 41, 41, 0.2);
}
.sms-phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 42px;
  height: 13px;
  border-radius: var(--radius-full);
  background: rgba(3, 15, 15, 0.65);
  transform: translateX(-50%);
  z-index: 3;
}
.sms-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ok-dark);
}
.sms-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sms-screen-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(2, 10, 10, 0.6) 0%,
    rgba(2, 10, 10, 0) 26%,
    rgba(2, 10, 10, 0) 62%,
    rgba(2, 10, 10, 0.68) 100%);
  pointer-events: none;
}
.sms-lock {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ok-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.sms-lock-date {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-bottom: 2px;
}
.sms-lock-time {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.sms-toast {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 198px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: var(--ok-white);
  border-radius: 14px;
  padding: 9px 10px;
  box-shadow: 0 16px 32px -14px rgba(7, 41, 41, 0.6), 0 0 0 1px rgba(7, 41, 41, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sms-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sms-toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ok-lavender), var(--ok-teal));
  box-shadow: 0 6px 14px -8px rgba(7, 41, 41, 0.5);
}
.sms-toast-body { flex: 1; min-width: 0; }
.sms-toast-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}
.sms-toast-sender {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ok-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sms-toast-now {
  flex-shrink: 0;
  font-size: 0.58rem;
  color: var(--ok-slate);
  white-space: nowrap;
}
.sms-toast-msg {
  font-size: 0.66rem;
  line-height: 1.38;
  color: var(--ok-slate);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

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

/* ---- Custom Branding demo (phone mockup: generic template -> branded restaurant) ---- */
.card-art.card-art-brand {
  aspect-ratio: unset;
  height: 400px;
  position: relative;
  background: linear-gradient(160deg, #f5f2eb 0%, var(--ok-cream) 100%);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .card-art.card-art-brand { height: 440px; }
}

.brand-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.brand-phone {
  position: relative;
  flex-shrink: 0;
  width: clamp(196px, 62%, 218px);
  height: 440px;
  margin-top: 180px;
  background: var(--ok-dark);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 24px 46px -18px rgba(20, 20, 10, 0.35), 0 10px 20px -10px rgba(20, 20, 10, 0.22);
}
@media (min-width: 1024px) {
  .brand-phone { height: 480px; margin-top: 200px; }
}
.brand-phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 34px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  z-index: 3;
}
.brand-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ok-white);
}
.brand-app {
  --brand-accent: #838a94;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.brand-app-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 8px 7px;
  background: var(--brand-accent);
  transition: background 0.6s ease;
}
.brand-app-logo {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.brand-app.is-branded .brand-app-logo { opacity: 1; transform: scale(1); }
.brand-app-headtext { display: flex; flex-direction: column; min-width: 0; }
.brand-app-name {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ok-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-app.is-branded .brand-app-name { font-family: var(--font-head); font-weight: 500; }
.brand-app-status {
  font-size: 0.44rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}
.brand-app-hero {
  position: relative;
  height: 58px;
  flex-shrink: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-accent) 65%, white) 0%, var(--brand-accent) 100%);
  display: flex;
  align-items: flex-end;
  padding: 6px;
  transition: background 0.6s ease;
}
.brand-app-hero-badge {
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ok-white);
  background: rgba(0, 0, 0, 0.22);
  padding: 3px 6px;
  border-radius: var(--radius-full);
}
.brand-app-categories {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--ok-line);
}
.brand-app-category {
  font-size: 0.46rem;
  font-weight: 600;
  color: var(--ok-slate);
  background: var(--ok-cream);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease;
}
.brand-app-category.is-active {
  background: var(--brand-accent);
  color: var(--ok-white);
}
.brand-app-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.brand-app-scroll {
  position: relative;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.brand-app-section-head {
  display: block;
  font-size: 0.44rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ok-slate);
  padding: 12px 8px 5px;
}
.brand-app-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px;
}
.brand-app-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ok-line);
}
.brand-app-item-thumb {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--ok-cream);
}
.brand-app-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-app-item-info { display: flex; flex-direction: column; min-width: 0; }
.brand-app-item-name {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--ok-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-app.is-branded .brand-app-item-name { font-family: var(--font-head); font-weight: 500; }
.brand-app-item-price {
  font-size: 0.46rem;
  color: var(--ok-slate);
}
.brand-app-checkout {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--brand-accent);
  color: var(--ok-white);
  transition: background 0.6s ease;
}
.brand-app-checkout-total {
  font-size: 0.56rem;
  font-weight: 700;
}
.brand-app-checkout-action {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.52rem;
  font-weight: 700;
}
.brand-app.is-branded .brand-app-checkout-action { font-family: var(--font-head); font-weight: 500; }

.brand-panel {
  flex-shrink: 0;
  margin-top: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: var(--ok-white);
  border-radius: 14px;
  padding: 9px 7px;
  box-shadow: 0 14px 28px -14px rgba(7, 41, 41, 0.35), 0 0 0 1px rgba(7, 41, 41, 0.06);
}
@media (min-width: 1024px) {
  .brand-panel { margin-top: 250px; }
}
.brand-swatches, .brand-fonts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-panel-divider {
  width: 18px;
  height: 1px;
  background: var(--ok-line);
}
.brand-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--ok-white), 0 0 0 3px transparent;
  transition: box-shadow 0.3s ease;
}
.brand-swatch-default { background: #838a94; }
.brand-swatch-a { background: var(--ok-rust); }
.brand-swatch-b { background: var(--ok-plum); }
.brand-swatch.is-active { box-shadow: 0 0 0 2px var(--ok-white), 0 0 0 3px currentColor; }
.brand-swatch-default.is-active { color: #838a94; }
.brand-swatch-a.is-active { color: var(--ok-rust); }
.brand-swatch-b.is-active { color: var(--ok-plum); }
.brand-font {
  width: 24px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--ok-line);
  background: var(--ok-white);
  color: var(--ok-ink);
  font-size: 0.56rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.brand-font-brand { font-family: var(--font-head); }
.brand-font.is-active {
  border-color: var(--brand-accent, var(--ok-rust));
  background: color-mix(in srgb, var(--ok-rust) 8%, white);
}

@media (prefers-reduced-motion: reduce) {
  .brand-app-header,
  .brand-app-logo,
  .brand-app-hero,
  .brand-app-category,
  .brand-app-scroll,
  .brand-app-checkout,
  .brand-swatch,
  .brand-font {
    transition: none;
  }
}

/* ==========================================================================
   Customer stories
   ========================================================================== */
.story-eyebrow { color: var(--ok-slate); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}
.story-copy h3 { margin-bottom: 24px; }
.story-copy #industryText { margin-bottom: 0; }
.story-copy #industryText p { margin-bottom: 16px; }
.story-copy #industryText p:last-child { margin-bottom: 0; }
.story-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: var(--ok-dark);
  overflow: hidden;
  position: relative;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-media img[hidden] { display: none; }

.client-logos {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.client-logos li {
  background: var(--ok-cream);
  border: 1px solid var(--ok-line);
  border-radius: var(--radius-md);
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-align: center;
}
.client-logos li.is-active {
  border-color: transparent;
  background: linear-gradient(#f6faf3,#f6faf3) padding-box,
              linear-gradient(120deg, #d9a7e8, #6be6c9) border-box;
  border: 2px solid transparent;
}
.client-logos .wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ok-ink);
  line-height: 1.2;
}
@media (max-width: 639px) {
  .client-logos li { min-height: 80px; padding: 8px 10px; }
  .client-logos .wordmark { font-size: 1rem; }
}

/* ==========================================================================
   "Instant financing" step cards
   ========================================================================== */
.steps-intro { max-width: 760px; margin: 0 auto 64px; }
.steps-intro .lede { margin-bottom: 12px; }

.step-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.step-block:nth-child(even) .step-art { order: -1; }
.step-block.step-reverse .step-art { order: 1; }
.step-art {
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-art.art-lime { background: var(--ok-lime); overflow: hidden; }
.step-art.art-lavender { background: var(--ok-lavender); height: 400px; }
.step-art.art-peach { background: var(--ok-peach); height: 400px; }
.step-art.checkout-viewport {
  height: 400px;
  align-items: flex-start;
}
.step-copy .eyebrow { color: var(--ok-slate); }
.step-copy h3 { font-size: 1.7rem; margin-bottom: 14px; }
.step-copy p { color: var(--ok-slate); line-height: 1.65; margin-bottom: 18px; }

.step-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ok-dark);
  color: var(--ok-white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}
.step-preview-btn svg { width: 1em; height: 1em; }

.gauge-card {
  background: var(--ok-white);
  border-radius: var(--radius-md);
  padding: 32px;
  width: 100%;
  max-width: 260px;
  text-align: center;
}
.gauge-card .gauge-value {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  margin-top: 12px;
}

/* ---------- Rewards / loyalty points card (automated-reviews step) ---------- */
.rewards-card {
  background: var(--ok-white);
  border-radius: var(--radius-md);
  padding: 26px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 24px 48px -24px rgba(50, 0, 61, 0.28);
}
.rewards-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ok-ink);
  margin-bottom: 18px;
}
.rewards-points {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ok-slate);
}
.rewards-progress-track {
  position: relative;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--ok-line);
  overflow: hidden;
  margin-bottom: 10px;
}
.rewards-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--ok-plum);
  border-radius: var(--radius-full);
}
.rewards-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ok-slate);
}
.rewards-tiers {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rewards-tier {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.rewards-tier.is-unlocked { opacity: 1; }
.rewards-tier-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--ok-line);
  color: var(--ok-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.5s ease, color 0.5s ease;
}
.rewards-tier.is-unlocked .rewards-tier-icon {
  background: var(--ok-plum);
  color: var(--ok-white);
}
.rewards-tier-icon .icon-check { display: none; }
.rewards-tier.is-unlocked .rewards-tier-icon .icon-check { display: block; }
.rewards-tier.is-unlocked .rewards-tier-icon .icon-lock { display: none; }
.rewards-tier-label {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok-ink);
}
.rewards-tier-points {
  font-size: 0.72rem;
  color: var(--ok-slate);
}
.rewards-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.confetti-piece {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  animation: confettiPop 900ms ease-out forwards;
}
@keyframes confettiPop {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
.rewards-footnote {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--ok-slate);
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--ok-line);
}
@media (prefers-reduced-motion: reduce) {
  .confetti-piece { animation: none; opacity: 0; }
}

/* ---------- Review card (automated-reviews step) ---------- */
.review-card {
  background: var(--ok-white);
  border-radius: var(--radius-md);
  padding: 26px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 24px 48px -24px rgba(138, 59, 31, 0.3);
  display: grid;
}
.review-screen {
  grid-area: 1 / 1;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.review-screen-email {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.review-screen-form {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.review-card.show-form .review-screen-email {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.review-card.show-form .review-screen-form {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.email-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ok-line);
}
.email-avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--ok-rust);
  color: var(--ok-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.email-from {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.email-from-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ok-ink);
  line-height: 1.3;
}
.email-from-address {
  font-size: 0.68rem;
  color: var(--ok-slate);
}
.email-time {
  font-size: 0.7rem;
  color: var(--ok-slate);
  flex-shrink: 0;
  align-self: flex-start;
}
.email-subject {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ok-ink);
  margin: 0 0 8px;
}
.email-preview {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ok-slate);
  margin: 0 0 22px;
}
.review-email-btn {
  width: 100%;
  background: var(--ok-dark);
  color: var(--ok-white);
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}
.review-email-btn.is-pressed { transform: scale(0.95); }
@media (prefers-reduced-motion: reduce) {
  .review-screen { transition: none; }
  .review-email-btn { transition: none; }
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ok-ink);
  margin-bottom: 18px;
}
.review-order-id {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ok-slate);
}
.review-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.review-star {
  color: var(--ok-line);
  transition: color 0.25s ease;
}
.review-star.is-filled {
  color: var(--ok-rust);
  fill: var(--ok-rust);
  animation: reviewStarPop 0.35s ease;
}
@keyframes reviewStarPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.review-box {
  background: var(--ok-cream);
  border-radius: var(--radius-md);
  padding: 14px;
  min-height: 84px;
  margin-bottom: 20px;
}
.review-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ok-ink);
}
.review-caret {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: var(--ok-ink);
  vertical-align: middle;
  margin-left: 1px;
  animation: reviewCaretBlink 1s steps(1) infinite;
}
@keyframes reviewCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.review-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ok-dark);
  color: var(--ok-white);
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.4s ease, color 0.4s ease;
}
.review-submit.is-success {
  background: var(--ok-rust);
}
@media (prefers-reduced-motion: reduce) {
  .review-star.is-filled { animation: none; }
  .review-caret { animation: none; opacity: 1; }
}

/* ---------- Checkout / upsell card (payment-flows step) ---------- */
.checkout-card {
  background: var(--ok-white);
  border-radius: var(--radius-md);
  padding: 22px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 24px 48px -24px rgba(7, 41, 41, 0.28);
  transform: translateY(65%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
.checkout-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .checkout-card { transform: none; opacity: 1; transition: none; }
}
.checkout-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ok-ink);
  margin-bottom: 16px;
}
.checkout-card-count {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ok-slate);
}
.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--ok-line);
}
.checkout-items li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-item-thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--ok-cream);
  color: var(--ok-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.checkout-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.checkout-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.checkout-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok-ink);
  line-height: 1.3;
}
.checkout-item-addon {
  font-size: 0.7rem;
  color: var(--ok-slate);
  padding-left: 10px;
}
.checkout-item-qty {
  font-size: 0.72rem;
  color: var(--ok-slate);
}
.checkout-item-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ok-ink);
  white-space: nowrap;
}
.checkout-upsell-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok-slate);
  margin-bottom: 10px;
}
.checkout-upsell-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.checkout-upsell-track::-webkit-scrollbar { display: none; }
.checkout-upsell-item {
  position: relative;
  flex: 0 0 auto;
  width: 116px;
  background: var(--ok-cream);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checkout-upsell-swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--ok-white);
  color: var(--ok-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.checkout-upsell-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.checkout-upsell-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ok-ink);
  line-height: 1.25;
}
.checkout-upsell-price {
  font-size: 0.68rem;
  color: var(--ok-slate);
}
.checkout-upsell-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--ok-dark);
  color: var(--ok-white);
  font-size: 0.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-card-btn {
  width: 100%;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ok-dark);
  color: var(--ok-white);
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.faq-side h2 { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--ok-line); }
.faq-item {
  border-bottom: 1px solid var(--ok-line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  text-align: left;
  padding: 26px 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ok-ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ok-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ok-ink);
  border-radius: 2px;
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; transition: transform 0.2s ease; }
.faq-item.is-open .faq-toggle::after { transform: scaleY(0); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  color: var(--ok-slate);
  line-height: 1.7;
  padding-bottom: 26px;
  max-width: 640px;
}
.faq-item.is-open .faq-answer { max-height: 320px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-band {
  background: var(--ok-white);
  padding: 32px 0 88px;
}
.cta-card {
  position: relative;
  background: var(--ok-dark);
  color: var(--ok-white);
  border-radius: 28px;
  padding: 88px 24px 72px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-heading-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: calc(20px + 2rem);
}
.cta-video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.cta-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}
.cta-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  text-shadow: 0 4px 28px rgba(7, 41, 41, 0.75);
  transform: translateY(2rem);
}
.cta-lede {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 16px rgba(7, 41, 41, 0.85);
}
.cta-card .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ok-white);
  padding: 72px 0 40px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand .logo { display: inline-block; width: 150px; color: var(--ok-ink); margin-bottom: 20px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ok-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--ok-slate);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.95rem; color: var(--ok-ink); }
.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--ok-line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ok-slate);
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal a { color: var(--ok-slate); }
.footer-legal a:hover { color: var(--ok-ink); text-decoration: underline; }
.footer-legal span[aria-hidden] { color: var(--ok-slate); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .locale-switcher { display: flex; }
  .nav-toggle { display: none; }
  .header-actions > .btn-dark { display: inline-flex; }

  .hero-copy { max-width: 1180px; }
  .hero-art {
    width: 760px;
    height: 760px;
    left: auto;
    right: -140px;
    transform: translateY(-50%);
  }

  .logo-track { animation-duration: 6s; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .payout-flow { flex-direction: row; align-items: center; justify-content: center; }
  .payout-card-wrap { max-width: 230px; }
  .payout-step3-wrap { max-width: 230px; min-height: 190px; }
  .payout-step3-track { height: 190px; }
  .payout-step3-row { height: 190px; }
  @keyframes payoutStep3Slide {
    0%, 46%  { transform: translateY(0); }
    56%, 99% { transform: translateY(-190px); }
    100%     { transform: translateY(0); }
  }
  .payout-connector {
    width: 56px;
    height: 2px;
    border-left: none;
    border-top: 2px dashed var(--ok-line);
  }
  .payout-connector--hub { width: 132px; }
  .payout-connector--dotline {
    width: 140px;
    height: 2px;
    border-left: none;
    border-top: 2px dashed var(--ok-line);
  }
  .payout-dot {
    left: 0%;
    top: 50%;
  }
  @keyframes payoutDotTravelY {
    0%, 55%   { opacity: 0; left: 0%; }
    59%       { opacity: 1; }
    83%       { opacity: 1; left: 100%; }
    87%, 100% { opacity: 0; left: 100%; }
  }

  .solution-card { grid-template-columns: 1fr 1fr; padding: 48px; }
  .solution-card.reverse { direction: rtl; }
  .solution-card.reverse > * { direction: ltr; }

  .story-grid { grid-template-columns: 1.1fr 0.9fr; }
  .client-logos { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }

  .step-block { grid-template-columns: 1fr 1fr; }
  .step-copy p { max-width: 75%; }

  .faq-layout { grid-template-columns: 0.8fr 1.6fr; }

  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { grid-template-columns: 1fr 1fr 1fr 1.3fr 1fr; flex: 1; margin-left: 80px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .footer-cols { margin-left: 40px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
body.contact-page { background: var(--ok-cream); }

/* Light header variant — background matches the page instead of the dark navbar */
.site-header-light {
  background: var(--ok-cream);
  color: var(--ok-ink);
}
.site-header-light .logo { color: var(--ok-ink); }
.site-header-light .main-nav a,
.site-header-light .main-nav .mega-trigger { color: var(--ok-ink); }
.site-header-light .nav-toggle { color: var(--ok-ink); }
.site-header-light .locale-shell {
  background: var(--ok-cream);
  border-color: var(--ok-line);
}
.site-header-light .locale-btn,
.site-header-light .locale-option { color: var(--ok-ink); }
/* Mobile menu is white on both header variants now, so no light-header
   overrides are needed here — see the base .mobile-nav rules above. */

.contact-hero {
  padding-top: 56px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  body.contact-page main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 83px);
  }
  .contact-hero {
    flex: 0 0 auto;
    min-height: 0;
    margin-bottom: auto;
    padding-top: 148px;
    padding-bottom: 24px;
  }
  .contact-hero .contact-title { margin-bottom: 28px; }
  .contact-hero .contact-connect { margin-top: 28px; }
  .contact-legal {
    flex: 0 0 auto;
    padding-top: 16px;
    padding-bottom: 56px;
  }
}
.contact-title {
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.contact-grid[hidden] { display: none; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: linear-gradient(#dfe9d7, #dfe9d7) padding-box, linear-gradient(#dfe9d7, #dfe9d7) border-box;
  color: inherit;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -20px rgba(7, 41, 41, 0.35);
  background: linear-gradient(#dfe9d7, #dfe9d7) padding-box, linear-gradient(135deg, var(--ok-lavender), var(--ok-teal)) border-box;
}
.contact-card .eyebrow {
  color: var(--ok-slate);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.contact-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ok-ink);
}
.contact-card .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ok-dark);
  color: var(--ok-white);
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .contact-card {
    min-height: 0;
    padding: 20px;
  }
  .contact-card .eyebrow { margin-bottom: 10px; }
  .contact-card h3 { margin-bottom: 16px; }
  .contact-card .arrow-circle {
    margin-top: 0;
    width: 32px;
    height: 32px;
  }
}

.contact-form-wrap { max-width: 640px; scroll-margin-top: 104px; }
.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ok-ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-back:hover { opacity: 0.7; }
.contact-topic-chip {
  display: inline-block;
  background: var(--ok-dark);
  color: var(--ok-white);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.contact-form-head h2 { margin-bottom: 28px; }

.contact-form[hidden] { display: none; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 640px) {
  .contact-form-row { flex-direction: row; }
}
.contact-field[hidden] { display: none; }
.contact-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ok-ink);
}
.contact-field input,
.contact-field textarea,
.contact-field select {
  font: inherit;
  font-weight: 400;
  font-family: var(--font-body);
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--ok-white), var(--ok-white)) padding-box,
    linear-gradient(var(--ok-line), var(--ok-line)) border-box;
  color: var(--ok-ink);
  outline: none;
  resize: vertical;
  transition: background 0.3s ease;
}
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(var(--ok-white), var(--ok-white)),
    linear-gradient(var(--ok-line), var(--ok-line)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355625f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 0 0, 0 0, right 14px center;
  background-size: auto, auto, 16px 16px;
  background-origin: padding-box, border-box, padding-box;
  background-clip: padding-box, border-box, border-box;
  cursor: pointer;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--ok-slate); opacity: 0.55; }
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  background:
    linear-gradient(var(--ok-white), var(--ok-white)) padding-box,
    linear-gradient(135deg, var(--ok-lavender), var(--ok-teal)) border-box;
}
.contact-field select:focus {
  background-image:
    linear-gradient(var(--ok-white), var(--ok-white)),
    linear-gradient(135deg, var(--ok-lavender), var(--ok-teal)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355625f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 0 0, 0 0, right 14px center;
  background-size: auto, auto, 16px 16px;
  background-origin: padding-box, border-box, padding-box;
  background-clip: padding-box, border-box, border-box;
}
.contact-submit { align-self: flex-start; margin-top: 4px; }

.contact-field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ok-slate);
}
.contact-field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ok-teal);
}
.contact-field-checkbox a {
  color: var(--ok-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form-note {
  margin-top: 18px;
  font-weight: 600;
  color: var(--ok-teal);
}
.contact-form-note.is-error { color: var(--ok-rust); }

/* Spam honeypot — invisible to people, a trap field for bots that fill
   in every input. Positioned off-screen rather than display:none, which
   some bots skip over. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-connect {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 56px;
  color: var(--ok-slate);
  font-size: 0.92rem;
}
.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ok-dark);
  color: var(--ok-white);
}
.contact-socials svg { width: 15px; height: 15px; }

.contact-legal { padding-top: 24px; }
.legal-copy { max-width: none; }
.legal-copy p {
  color: var(--ok-slate);
  line-height: 1.7;
  margin-top: 16px;
}
.legal-copy a { color: var(--ok-teal); font-weight: 600; }

/* ==========================================================================
   Book a Demo page
   ========================================================================== */
body.demo-page { background: var(--ok-white); overflow-x: hidden; }

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .demo-shell {
    grid-template-columns: minmax(380px, 1fr) minmax(380px, 1fr);
    position: relative;
    overflow: hidden;
  }
}

.demo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 40px 24px 56px;
  order: 1;
  min-width: 0;
}
.demo-copy * { text-align: left; }
@media (min-width: 640px) {
  .demo-copy { padding: 56px 48px 64px; }
}
.demo-copy { position: relative; z-index: 2; }
@media (min-width: 1024px) {
  .demo-copy { align-items: center; padding: 64px 4vw; order: 1; }
}

/* Single wrapper around the logo/title/bullets/logos so they all share one
   left edge — .demo-copy centers THIS as one block, rather than centering
   each child independently by its own width (which misaligned every line). */
.demo-copy-inner { width: 100%; max-width: 480px; min-width: 0; }

.demo-logo { width: 128px; margin-bottom: 48px; color: var(--ok-ink); }
@media (min-width: 1024px) { .demo-logo { margin-bottom: 72px; } }

.demo-title {
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 480px;
  margin-bottom: 36px;
}
.demo-title em { font-style: italic; }

.demo-bullets { display: flex; flex-direction: column; gap: 20px; max-width: 440px; }
.demo-bullets li { display: flex; align-items: flex-start; gap: 14px; }
.demo-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--ok-teal);
}
.demo-bullet-icon svg { width: 100%; height: 100%; }
.demo-bullets li span:last-child { font-size: 1rem; line-height: 1.5; color: var(--ok-ink); }

/* Looping integrations-logo marquee — same scrolling mechanism as the
   homepage's .logo-marquee/.logo-track (duplicate the logo set 3x, animate
   translateX 0 -> -33.3334% so the loop resets seamlessly), but tuned for
   this page's light background: natural logo colours, no invert filter. */
.demo-logos-marquee {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ok-line);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.demo-logos-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: logoScroll 24s linear infinite;
}
.demo-logos-track li { flex-shrink: 0; }
.demo-logos-track img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
}
.demo-logos-track img[src*="postmark"] { height: 42px; }
@media (prefers-reduced-motion: reduce) {
  .demo-logos-track { animation: none; }
}

.demo-form-panel {
  position: relative;
  overflow: hidden;
  order: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  background: #15d8af;
  min-width: 0;
}
@media (min-width: 640px) {
  .demo-form-panel { padding: 56px 32px; }
}
@media (min-width: 1024px) {
  .demo-form-panel {
    order: 2;
    align-items: center;
    padding: 56px 5vw;
    position: static;
    overflow: visible;
  }
}

.demo-svg-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.demo-svg-wrap {
  position: absolute;
  top: -10%;
  right: -20%;
  bottom: -50%;
  width: 120%;
  transform: translate3d(0, 0, 0);
}
@media (min-width: 1024px) {
  .demo-svg-wrap {
    top: -25%;
    left: 28%;
    right: unset;
    bottom: -25%;
    width: 92%;
  }
}
.demo-svg-inner { position: absolute; inset: 0; }
.demo-svg-shape { width: 100%; height: 100%; overflow: visible; }

.demo-form-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  min-width: 0;
  background: var(--ok-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 40px 80px -32px rgba(7, 41, 41, 0.4), 0 12px 24px -12px rgba(7, 41, 41, 0.25);
}
@media (min-width: 640px) {
  .demo-form-card { padding: 40px; }
}

.demo-form .contact-form-note { margin-top: 18px; }

.demo-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 22px;
  background: var(--ok-white);
  border-radius: var(--radius-md, 14px);
  border: 1px solid rgba(2, 196, 160, 0.25);
}
.demo-success[hidden] { display: none; }
.demo-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 196, 160, 0.14);
  color: var(--ok-teal);
}
.demo-success-icon svg { width: 20px; height: 20px; }
.demo-success-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.05em;
  color: var(--ok-ink);
}
.demo-success-body {
  margin: 0;
  color: var(--ok-ink);
  line-height: 1.5;
}
.demo-success-slot {
  color: var(--ok-teal);
  font-weight: 600;
}

.demo-picker-field { gap: 10px; }

.demo-date-row,
.demo-time-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  user-select: none;
  -webkit-user-select: none;
}
.demo-date-row::-webkit-scrollbar,
.demo-time-row::-webkit-scrollbar { display: none; height: 0; width: 0; }
.demo-date-row.is-dragging,
.demo-time-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.demo-day-tile {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 52px;
  padding: 9px 4px;
  border-radius: 12px;
  border: 1px solid var(--ok-line);
  background: var(--ok-white);
  color: var(--ok-ink);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.demo-day-tile .demo-day-name { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0.65; }
.demo-day-tile .demo-day-num { font-size: 1rem; font-weight: 700; }
.demo-day-tile:hover { border-color: var(--ok-teal); }
.demo-day-tile.is-selected {
  background: var(--ok-dark);
  border-color: var(--ok-dark);
  color: var(--ok-white);
}
.demo-day-tile.is-selected .demo-day-name { opacity: 0.75; }

.demo-time-slot {
  flex-shrink: 0;
  width: 96px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--ok-line);
  background: var(--ok-white);
  color: var(--ok-ink);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.demo-time-slot:hover { border-color: var(--ok-teal); }
.demo-time-slot.is-selected {
  background: var(--ok-dark);
  border-color: var(--ok-dark);
  color: var(--ok-white);
}
.demo-time-slot.is-booked {
  background: var(--ok-line);
  border-color: var(--ok-line);
  color: var(--ok-slate);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.7;
}
.demo-time-empty { font-size: 0.9rem; color: var(--ok-slate); padding: 6px 2px; }

/* ==========================================================================
   Maintenance page (temp landing page)
   ========================================================================== */
body.maintenance-page { background: #032529; }

.maint-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: 64px 48px;
  color: var(--ok-white);
}

.maint-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Heading wrap holds the decorative video behind the title, sized and
   positioned the same way as the homepage hero's .hero-art — contained,
   full opacity, not a full-bleed background. */
.maint-heading-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.maint-media {
  position: absolute;
  top: 50%;
  left: 74%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}
/* Mobile: show a plain static poster image instead of attempting the
   video (avoids the autoplay/background-matte headaches entirely on
   small screens). Desktop/tablet (>=640px, where .maint-media also
   switches to full opacity below) plays the real video. */
.maint-media video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}
.maint-media-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 640px) {
  .maint-media video { display: block; }
  .maint-media-poster { display: none; }
}
.maint-badge,
.maint-title {
  position: relative;
  z-index: 1;
}

.maint-logo {
  width: 176px;
  color: var(--ok-white);
  margin-bottom: 44px;
}

.maint-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(45, 255, 204, 0.12);
  border: 1px solid rgba(45, 255, 204, 0.4);
  color: var(--ok-mint);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.maint-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok-mint);
  flex-shrink: 0;
  animation: maintPulse 1.8s ease-in-out infinite;
}
@keyframes maintPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .maint-badge-dot { animation: none; }
}

.maint-title {
  margin-bottom: 24px;
  text-shadow: 0 6px 32px rgba(4, 26, 26, 0.55);
}

.maint-lede {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.maint-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.maint-usps {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  overflow: hidden;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.maint-usp-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding-inline: 24px;
  animation: maintUspScroll 32s linear infinite;
}
@keyframes maintUspScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .maint-usp-track { animation: none; }
}
.maint-usps:hover .maint-usp-track { animation-play-state: paused; }
.maint-usp-track li {
  flex: 0 0 auto;
  width: 260px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}
.maint-usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(45, 255, 204, 0.14);
  color: var(--ok-mint);
  flex-shrink: 0;
}
.maint-usp-icon svg { width: 20px; height: 20px; }
.maint-usp-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ok-mist);
}
.maint-usp-copy strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ok-white);
}

.maint-footnote {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: var(--ok-mist);
  text-align: center;
}
.maint-footnote a { color: var(--ok-white); text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 640px) {
  .maint-logo { width: 190px; }
  .maint-media { width: 580px; height: 580px; left: 76%; opacity: 1; }
  .maint-usp-track li { width: 280px; }
}

@media (min-width: 1024px) {
  .maint-shell { padding-block: 96px 64px; }
  .maint-inner { max-width: 860px; }
  .maint-logo { width: 210px; margin-bottom: 48px; }
  .maint-media { width: 900px; height: 900px; left: 82%; opacity: 1; }
  .maint-usp-track { gap: 20px; animation-duration: 36s; }
  .maint-usp-track li { width: 360px; }
}

/* ==========================================================================
   Simple page hero (Solutions, Features, and similar content pages)
   ========================================================================== */
.page-hero {
  padding-top: 56px;
  padding-bottom: 40px;
}
.page-title {
  font-family: var(--font-h1);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 780px;
}
.page-lede { max-width: 620px; }

/* Stack of .solution-card rows on a dedicated page (rather than one-at-a-time
   in a tab panel) */
.solutions-list .solution-card,
.features-list .solution-card {
  margin-bottom: 32px;
}
.solutions-list .solution-card:last-child,
.features-list .solution-card:last-child {
  margin-bottom: 0;
}

/* Icon-based .card-art variants, for solutions without a photo yet */
.card-art-icons,
.card-art-icon-solo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.card-art-icons { background: var(--ok-teal); }
.card-art-icon-solo { background: var(--ok-lavender); }
.icon-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ok-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 38px; height: 38px; }
.card-art-icon-solo .icon-badge { width: 124px; height: 124px; }
.card-art-icon-solo .icon-badge svg { width: 50px; height: 50px; }

/* Note: the review-card / zones-card / sms-card mockups reused on the
   Features page render as static snapshots simply because script.js's
   interactive/animated logic for them is gated to body.home-page (see
   script.js) — the "which screen shows" toggle classes (show-form,
   show-postcodes) are applied statically in the Features page markup
   itself, and the sms-card's video is omitted there entirely. */

/* ==========================================================================
   Legal content (Privacy Policy, Terms, Cookies and similar prose pages)
   ========================================================================== */
.legal-content {
  max-width: 720px;
  color: var(--ok-slate);
  font-size: 1.02rem;
  line-height: 1.7;
}
.legal-content > *:first-child { margin-top: 0; }
.legal-content h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--ok-ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--ok-line);
}
.legal-content > h2:first-of-type { padding-top: 0; border-top: none; margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ok-ink);
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.legal-content ol { counter-reset: legal-ol; }
.legal-content ul li,
.legal-content ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.legal-content li:last-child { margin-bottom: 0; }
.legal-content ul li::before {
  content: "\203A";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--ok-teal);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.6;
}
.legal-content ol li { counter-increment: legal-ol; }
.legal-content ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok-teal);
  font-weight: 700;
}
.legal-content a {
  color: var(--ok-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--ok-ink); }
.legal-content strong { color: var(--ok-ink); font-weight: 600; }
.legal-content .legal-updated {
  display: block;
  color: var(--ok-slate);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Breadcrumb (replaces the plain .eyebrow on legal pages) */
.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ok-slate);
  margin-bottom: 0.9rem;
}
.legal-breadcrumb-sep { color: var(--ok-line); }
.legal-breadcrumb .is-current { color: var(--ok-ink); font-weight: 500; }

/* Two-column layout: sticky section nav + prose content */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
}
/* Tablet / mobile: single column, quick-link sidebar hidden */
@media (max-width: 899px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-sidebar { display: none; }
}
.legal-sidebar ul { list-style: none; margin: 0; padding: 0; }
.legal-sidebar li { border-bottom: 1px solid var(--ok-line); }
.legal-sidebar li:last-child { border-bottom: none; }
.legal-sidebar a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  color: var(--ok-slate);
  text-decoration: none;
  font-size: 0.93rem;
  line-height: 1.3;
}
.legal-sidebar a:hover { color: var(--ok-ink); }
.legal-sidebar-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ok-line);
  border-radius: 7px;
  font-size: 0.82rem;
  color: var(--ok-slate);
}
.legal-sidebar a.is-active {
  color: var(--ok-ink);
  font-weight: 600;
}
.legal-sidebar a.is-active .legal-sidebar-num {
  background: var(--ok-cream);
  border-color: var(--ok-cream);
  color: var(--ok-ink);
}
