/*
 * prklo.com — marketing site styles.
 * Tokens mirror design/brand/README.md and packages/ui/src/styles.css (Prklo Purple, Ink, Cloud,
 * Slate, Mint; Plus Jakarta Sans + JetBrains Mono; radii 14/24; elevation e1–e3; ease-standard).
 * Shop mockups take their colours from the demo shop they show, exactly like the product's ThemeScope.
 */

:root {
  --purple: #5b21b6;
  --purple-hover: #4c1d95;
  --lavender: #9d7bff;
  --ink: #0e1626;
  --cloud: #f5f6fa;
  --slate: #5b6478;
  --mint: #22c58b;

  --bg: var(--cloud);
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --fg: var(--ink);
  --muted: var(--slate);
  --line: #d9dde7;
  --line-strong: #c5cbd9;
  --accent: var(--purple);
  --accent-hover: var(--purple-hover);
  --accent-ink: #ffffff;
  --accent-tint: #f1ebfd;
  --accent-soft: #e2d8fb;
  --on-ink: #f1f3f8;
  --on-ink-muted: #9aa3b5;

  --font: 'Plus Jakarta Sans', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-classic: 'Fraunces', Georgia, serif;
  --font-geometric: 'Space Grotesk', var(--font);

  --r-control: 14px;
  --r-card: 24px;
  --r-plate: 28px;

  --e1: 0 1px 2px rgb(14 22 38 / 0.06), 0 1px 1px rgb(14 22 38 / 0.04);
  --e2: 0 6px 16px rgb(14 22 38 / 0.08), 0 1px 2px rgb(14 22 38 / 0.06);
  --e3: 0 20px 40px rgb(14 22 38 / 0.14), 0 2px 6px rgb(14 22 38 / 0.06);
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --phone-ring: rgb(255 255 255 / 0.06);
  --series-2: var(--accent-soft);
  --ok-ink: #157a4e;
  --flag-bg: #fff3e0;
  --flag-ink: #a35f00;
  --err-bg: #fdecea;
  --err-ink: #c0362c;
  --outcome-line: rgb(255 255 255 / 0.18);
  /* 1 in left-to-right pages, -1 in right-to-left: multiplies horizontal nudges and rotations */
  --dir: 1;

  --gutter: 16px;
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b111d;
    --surface: #141c2b;
    --surface-2: #1b2435;
    --fg: #f1f3f8;
    --muted: #9aa3b5;
    --line: #26304a;
    --line-strong: #344061;
    --accent: var(--lavender);
    --accent-hover: #b298ff;
    --accent-ink: var(--ink);
    --accent-tint: #1e1a38;
    --accent-soft: #2a2350;
    --phone-ring: rgb(255 255 255 / 0.16);
    --series-2: color-mix(in srgb, var(--lavender) 38%, transparent);
    --ok-ink: var(--mint);
    --flag-bg: #3a2a10;
    --flag-ink: #f0c98a;
    --err-bg: #3a1a18;
    --err-ink: #f5a097;
    --outcome-line: rgb(0 0 0 / 0.12);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b111d;
  --surface: #141c2b;
  --surface-2: #1b2435;
  --fg: #f1f3f8;
  --muted: #9aa3b5;
  --line: #26304a;
  --line-strong: #344061;
  --accent: var(--lavender);
  --accent-hover: #b298ff;
  --accent-ink: var(--ink);
  --accent-tint: #1e1a38;
  --accent-soft: #2a2350;
  --phone-ring: rgb(255 255 255 / 0.16);
  --series-2: color-mix(in srgb, var(--lavender) 38%, transparent);
  --ok-ink: var(--mint);
  --flag-bg: #3a2a10;
  --flag-ink: #f0c98a;
  --err-bg: #3a1a18;
  --err-ink: #f5a097;
  --outcome-line: rgb(0 0 0 / 0.12);
  color-scheme: dark;
}
[dir='rtl'] {
  --dir: -1;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 500 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -48px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

section {
  padding-block: clamp(72px, 10vw, 128px);
}
.head {
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
h1,
h2,
h3 {
  letter-spacing: -0.03em;
  text-wrap: balance;
  line-height: 1.02;
  font-weight: 800;
}
h2 {
  font-size: clamp(34px, 5vw, 56px);
}
h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.muted {
  color: var(--muted);
}
.hi {
  color: var(--accent);
}
.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding-inline: 22px;
  border-radius: var(--r-control);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease),
    transform 150ms var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn-outline:hover {
  background: var(--surface-2);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  height: 40px;
  padding-inline: 14px;
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-on-ink {
  background: var(--on-ink);
  color: var(--ink);
}
.btn-on-ink:hover {
  background: #ffffff;
}
.btn-sm {
  height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  direction: ltr;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: 26px;
}
.wordmark .o {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  transform: translateY(0.09em);
  color: var(--accent);
}
.nav-links {
  display: none;
  gap: 4px;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 150ms var(--ease),
    background-color 150ms var(--ease);
}
.nav-links a:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 420px) {
  .nav-cta {
    gap: 8px;
  }
}
.nav-cta .btn-outline {
  display: none;
}
.lang-link {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  transition:
    color 150ms var(--ease),
    background-color 150ms var(--ease);
}
.lang-link:lang(ar) {
  font-family: 'IBM Plex Sans Arabic', var(--font);
  font-weight: 600;
}
.lang-link:hover {
  color: var(--fg);
  background: var(--surface-2);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-control);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  transition: background-color 150ms var(--ease);
}
.theme-toggle:hover {
  background: var(--surface-2);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: none;
}
.theme-toggle[data-mode='light'] .t-light,
.theme-toggle[data-mode='dark'] .t-dark {
  display: block;
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-cta .btn-outline {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------------ hero */
.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  overflow: clip;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
  }
}
.hero-copy {
  display: grid;
  gap: 26px;
}
.hero h1 {
  font-size: clamp(48px, 8.6vw, 104px);
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.hero h1 span {
  display: block;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* The product story: the four moments beside a phone showing the shop's pass; a second shop's pass peeks behind. */
.story {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
  isolation: isolate;
}
.story::before {
  content: '';
  position: absolute;
  inset: 4% 0;
  border-radius: 48px;
  background: radial-gradient(
    60% 60% at calc(50% + 10% * var(--dir)) 45%,
    var(--accent-tint) 0%,
    transparent 70%
  );
  z-index: -1;
}
@media (min-width: 1100px) {
  .story {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    justify-items: stretch;
  }
}
.events {
  display: grid;
  gap: 10px;
  width: 100%;
  order: 1;
}
@media (max-width: 1099px) {
  .events {
    grid-template-columns: 1fr 1fr;
    max-width: 520px;
  }
}
@media (min-width: 1100px) {
  .events {
    order: 0;
    position: relative;
  }
  .events::before {
    content: '';
    position: absolute;
    inset-inline-start: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--line);
    z-index: -1;
  }
}
.ev {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--e1);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.55;
  transition:
    opacity 400ms var(--ease),
    border-color 400ms var(--ease),
    box-shadow 400ms var(--ease),
    transform 400ms var(--ease);
}
.ev.on {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: var(--e2);
  transform: translateX(calc(2px * var(--dir)));
}
.ev .ic {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  flex: none;
}
.ev .ic svg {
  width: 16px;
  height: 16px;
}
.ev small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  margin-top: 2px;
}
.ev-ready .ic {
  background: color-mix(in srgb, var(--mint) 18%, transparent);
  color: var(--ok-ink);
}
.ev-ready.on {
  border-color: var(--mint);
}
.phone {
  width: min(300px, 82vw);
  aspect-ratio: 320 / 660;
  border-radius: 46px;
  background: var(--ink);
  padding: 10px;
  box-shadow:
    var(--e3),
    inset 0 0 0 1px var(--phone-ring);
  position: relative;
  z-index: 2;
  justify-self: center;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 3;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px 0;
  font-size: 12px;
  font-weight: 700;
}
.phone-body {
  padding: 18px 14px 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.wallet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding-inline: 4px;
}
.wallet-bar span:last-child {
  color: var(--accent);
}

/* The shop's card: same anatomy as packages/ui StampCard / PointsCard (eyebrow, badge, greeting, grid). */
.pass {
  --p: #1f4d3a;
  --p-ink: #ffffff;
  --s: #d9a441;
  --s-ink: #1a1a18;
  --r: 24px;
  --display: var(--font);
  --display-weight: 800;
  --display-tracking: -0.03em;
  background: var(--p);
  color: var(--p-ink);
  border-radius: calc(var(--r) + 4px);
  padding: 20px;
  display: grid;
  gap: 18px;
  box-shadow: var(--e2);
  transition:
    background-color 500ms var(--ease),
    color 500ms var(--ease),
    border-radius 500ms var(--ease);
}
.pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pass-shop {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pass-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--s);
  color: var(--s-ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 13px;
  letter-spacing: -0.02em;
  flex: none;
  transition:
    background-color 500ms var(--ease),
    color 500ms var(--ease);
}
.pass-name {
  display: grid;
  line-height: 1.2;
  min-width: 0;
}
.pass-name b {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pass-name span {
  font-size: 12px;
  opacity: 0.75;
}
.pass-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pass[data-ink='dark'] .pass-badge {
  background: rgb(0 0 0 / 0.1);
}
.pass-greeting {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 26px;
  line-height: 1.05;
}
.pass-sub {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
}
.stamps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  justify-items: center;
}
.stamps i {
  width: 100%;
  max-width: 44px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1.5px dashed color-mix(in srgb, var(--p-ink) 45%, transparent);
  color: color-mix(in srgb, var(--p-ink) 60%, transparent);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  position: relative;
  transition: border-color 300ms var(--ease);
}
.stamps i::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 999px;
  background: var(--s);
  transform: scale(0);
  transition: transform 320ms var(--ease);
}
.stamps i svg {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--s-ink);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 200ms var(--ease) 120ms,
    transform 300ms var(--ease) 120ms;
  z-index: 1;
}
.stamps i.f::after {
  transform: scale(1);
}
.stamps i.f svg {
  opacity: 1;
  transform: scale(1);
}
.stamps i.f {
  border-color: transparent;
}
.pass-points {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pass-points b {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 52px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pass-points span {
  font-weight: 600;
  opacity: 0.8;
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.2);
  overflow: hidden;
}
.pass[data-ink='dark'] .bar {
  background: rgb(0 0 0 / 0.12);
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: var(--s);
  transition: width 700ms var(--ease);
}
.pass-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  font-size: 12px;
  opacity: 0.85;
}
.pass-foot .powered {
  margin-inline-start: auto;
}
.pass-reward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  opacity: 1;
}
.pass-reward .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 30%, transparent);
}
.powered {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
.powered .wordmark {
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.045em;
}
.powered .wordmark .o {
  color: currentColor;
}
.pass-qr {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  width: 100%;
}
.pass-qr svg {
  width: 112px;
  height: 112px;
}
.member-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 6px;
}

/* the second shop's pass peeking behind the phone (desktop only) */
.pass-behind {
  position: absolute;
  z-index: 1;
  width: 240px;
  inset-inline-end: -56px;
  top: 46%;
  transform: rotate(calc(9deg * var(--dir))) scale(0.9);
  display: none;
}
@media (min-width: 1100px) {
  .pass-behind {
    display: grid;
  }
}

/* ------------------------------------------------------------------ "nothing to install" */
.noapp {
  background: var(--ink);
  color: var(--on-ink);
}
.noapp .eyebrow {
  color: var(--lavender);
}
.noapp .lead {
  color: var(--on-ink-muted);
}
.noapp h2 .hi {
  color: var(--lavender);
}
.compare {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 860px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
.col {
  border-radius: var(--r-plate);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 20px;
  align-content: start;
}
.col-old {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
}
.col-new {
  background: var(--lavender);
  color: var(--ink);
}
.col h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.col h3 small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.steps-old {
  display: grid;
  gap: 2px;
}
.steps-old li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 17px;
  font-weight: 600;
  color: var(--on-ink);
}
.steps-old li:nth-child(n + 4) {
  opacity: 0.75;
}
.steps-old li:nth-child(n + 6) {
  opacity: 0.5;
}
.steps-old li:last-child {
  opacity: 0.4;
  text-decoration: line-through;
  text-decoration-color: rgb(255 255 255 / 0.5);
}
.steps-old .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--on-ink-muted);
}
.steps-new {
  display: grid;
  gap: 8px;
}
.steps-new li {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  display: flex;
  align-items: center;
  gap: 16px;
}
.steps-new li .n {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  width: 32px;
  flex: none;
}
.col-new p {
  font-weight: 600;
  opacity: 0.8;
  max-width: 36ch;
}
.col-new .btn {
  justify-self: start;
}

/* ------------------------------------------------------------------ journey */
.journey {
  position: relative;
}
.journey-track {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 32px;
}
.journey-line {
  position: absolute;
  inset-inline-start: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.journey-line i {
  display: block;
  width: 100%;
  height: var(--progress, 0%);
  background: var(--accent);
  transition: height 300ms linear;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.step-n {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition:
    border-color 300ms var(--ease),
    color 300ms var(--ease),
    background-color 300ms var(--ease);
  position: relative;
  z-index: 1;
}
.step.lit .step-n {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.step-body {
  display: grid;
  gap: 18px;
}
.step-text {
  display: grid;
  gap: 8px;
  max-width: 48ch;
}
.step-text h3 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.035em;
  font-weight: 800;
}
.step-text h3 .hi {
  margin-inline-start: 10px;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}
.step-text p {
  color: var(--muted);
  font-size: 17px;
}
.vignette {
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 12px;
  max-width: 420px;
  min-width: 0;
  overflow: hidden;
}
.step-body,
.step-text,
.v-row > span:last-child {
  min-width: 0;
}
@media (min-width: 900px) {
  .journey-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 72px;
  }
  .journey-line {
    inset-inline: 24px;
    top: 23px;
    bottom: auto;
    height: 2px;
    width: auto;
  }
  .journey-line i {
    height: 100%;
    width: var(--progress, 0%);
    transition: width 300ms linear;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-text h3 {
    font-size: 24px;
  }
  .step-text p {
    font-size: 15px;
  }
  .vignette {
    max-width: none;
    min-height: 190px;
  }
}
.v-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.v-row .ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  flex: none;
}
.v-row .ic svg {
  width: 18px;
  height: 18px;
}
.v-row small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
.qr-tile {
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}
.v-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  background: var(--ink);
  color: #fff;
}
.v-btn.alt {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.v-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mini-stamps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  max-width: 220px;
}
.mini-stamps i {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1.5px dashed var(--line-strong);
  display: block;
  box-sizing: border-box;
}
.mini-stamps i.f {
  border-color: transparent;
  background: var(--accent);
}
.mini-stamps i.m {
  border-color: transparent;
  background: var(--mint);
}
.ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  color: var(--ok-ink);
  font-weight: 700;
  font-size: 13px;
  justify-self: start;
}

/* ------------------------------------------------------------------ wallets */
.wallets .wrap {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .wallets .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.wallet-cards {
  display: grid;
  gap: 12px;
}
.wallet-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.wallet-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.wallet-card .ic svg {
  width: 26px;
  height: 26px;
}
.wallet-card.g .ic {
  background: var(--surface-2);
  color: var(--fg);
  border: 1px solid var(--line);
}
.wallet-card.w .ic {
  background: var(--accent-tint);
  color: var(--accent);
  border: 0;
}
.wallet-card b {
  display: block;
  font-size: 17px;
}
.wallet-card span {
  color: var(--muted);
  font-size: 14px;
}
.wallet-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-2);
}
.trust-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 60ch;
}

/* ------------------------------------------------------------------ make it yours (configurator) */
.yours {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.config {
  margin-top: 48px;
  display: grid;
  gap: 32px;
}
@media (min-width: 980px) {
  .config {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
}
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 40px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color 150ms var(--ease),
    color 150ms var(--ease),
    border-color 150ms var(--ease);
}
.chip:hover {
  border-color: var(--fg);
}
.chip[aria-pressed='true'] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.form {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg);
}
.form-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface);
  font-size: 15px;
}
.form-row + .form-row {
  border-top: 1px solid var(--line);
}
.form-row .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row .v {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  min-width: 0;
  flex-wrap: wrap;
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  padding-inline: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  position: relative;
}
.swatch i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: block;
  border: 1px solid rgb(0 0 0 / 0.08);
}
.swatch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.swatch:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.logo-chip {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.output {
  display: grid;
  gap: 16px;
  justify-items: center;
}
.output .phone {
}
.output-cap {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 40ch;
}
@keyframes pop {
  0% {
    transform: scale(0.985);
    opacity: 0.6;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.pass.pop {
  animation: pop 420ms var(--ease);
}

/* ------------------------------------------------------------------ business */
.business .head {
  max-width: 820px;
}
.biz-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 980px) {
  .biz-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
  }
}
.panel {
  border-radius: var(--r-plate);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.panel-head .muted {
  font-weight: 600;
}
.panel-body {
  padding: 20px;
  display: grid;
  gap: 20px;
  align-content: start;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 600px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tile {
  padding: 14px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.tile .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile .v {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tile .d {
  font-size: 12px;
  color: var(--muted);
}
.chart {
  display: grid;
  gap: 10px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 700;
}
.chart-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-inline-end: 6px;
  vertical-align: -1px;
}
.bars {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  align-items: end;
  height: 120px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.bars .b {
  display: grid;
  align-items: end;
  height: 100%;
}
.bars .b i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
  height: var(--h, 40%);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 700ms var(--ease);
}
.bars .b i.s2 {
  background: var(--series-2);
  margin-bottom: 2px;
  border-radius: 4px;
  height: var(--h2, 20%);
}
.on .bars .b i {
  transform: scaleY(1);
}
.bars .b:nth-child(n) i {
  transition-delay: calc(var(--i, 0) * 30ms);
}
.axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.table {
  display: grid;
  font-size: 13px;
}
.table .tr {
  display: grid;
  /* Same fixed columns on every row (the status column no longer sizes itself per row), so the
     cells line up as a real table: text starts at the column edge, the status sits at the end. */
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) minmax(0, 0.8fr) 6.75rem;
  column-gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  text-align: start;
}
.table .tr > * {
  min-width: 0;
}
/* Member: name over code, so long names never push the next column. */
.table .tr > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.table .tr > :last-child {
  justify-self: end;
}
@media (max-width: 560px) {
  .table .tr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 6.25rem;
    column-gap: 12px;
  }
  /* Branch is shown in the chart legend; the phone layout keeps member, action, status. */
  .table .tr > :nth-child(3) {
    display: none;
  }
}
.table .tr.th {
  border-top: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table .tr .name {
  font-weight: 700;
}
.table .code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}
.pill.mint {
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  color: var(--ok-ink);
}
.pill.flag {
  background: var(--flag-bg);
  color: var(--flag-ink);
}
.pill.undo {
  background: var(--accent-tint);
  color: var(--accent);
}
.counter {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.counter .panel-head {
  border-color: rgb(255 255 255 / 0.1);
}
.counter .panel-body {
  gap: 14px;
}
.cam {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(70% 70% at 50% 50%, rgb(255 255 255 / 0.08), transparent 70%), #0a0f1a;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cam .frame {
  width: 46%;
  aspect-ratio: 1;
  border: 2px solid var(--lavender);
  border-radius: 14px;
  position: relative;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
}
.cam .qr {
  width: 36%;
  position: absolute;
  opacity: 0.85;
}
.cam .laser {
  position: absolute;
  left: 27%;
  right: 27%;
  height: 2px;
  background: var(--lavender);
  box-shadow: 0 0 12px var(--lavender);
  top: 30%;
  animation: laser 2.2s ease-in-out infinite alternate;
}
@keyframes laser {
  from {
    top: 28%;
  }
  to {
    top: 72%;
  }
}
.member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
}
.member b {
  display: block;
  font-size: 15px;
}
.member span {
  font-size: 12px;
  color: var(--on-ink-muted);
}
.member .code {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--lavender);
}
.cbtns {
  display: grid;
  gap: 8px;
}
.cbtn {
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  background: var(--lavender);
  color: var(--ink);
}
.cbtn.alt {
  background: rgb(255 255 255 / 0.08);
  color: var(--on-ink);
}
.counter-note {
  font-size: 12px;
  color: var(--on-ink-muted);
}
.features {
  margin-top: 28px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feature {
  background: var(--surface);
  padding: 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.feature b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
}
.feature .ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.feature .ic svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ outcome */
.outcome {
  background: var(--accent);
  color: var(--accent-ink);
}
.outcome .eyebrow {
  color: inherit;
  opacity: 0.8;
}
.outcome h2 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.outcome .lead {
  color: inherit;
  opacity: 0.86;
}
.outcomes {
  margin-top: 48px;
  display: grid;
  gap: 1px;
  background: var(--outcome-line);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (min-width: 760px) {
  .outcomes {
    grid-template-columns: repeat(3, 1fr);
  }
}
.outcomes li {
  background: var(--accent);
  padding: 26px 24px;
  display: grid;
  gap: 10px;
}
.outcomes b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.outcomes p {
  opacity: 0.86;
  font-size: 15px;
}

/* ------------------------------------------------------------------ infrastructure */
.infra .wrap {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .infra .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.flow {
  display: grid;
  gap: 0;
  justify-items: center;
}
.flow .node {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}
.flow .node b {
  display: block;
  font-size: 16px;
}
.flow .node span {
  font-size: 13px;
  color: var(--muted);
}
.flow .node .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--fg);
}
.flow .node .ic svg {
  width: 22px;
  height: 22px;
}
.flow .node.prklo {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.flow .node.prklo span {
  color: var(--on-ink-muted);
}
.flow .node.prklo .ic {
  background: rgb(255 255 255 / 0.08);
  color: var(--lavender);
}
.flow .node.shop {
  --p: #1f4d3a;
  --s: #d9a441;
  background: var(--p);
  color: #fff;
  border-color: var(--p);
}
.flow .node.shop span {
  color: rgb(255 255 255 / 0.75);
}
.flow .node.shop .ic {
  background: var(--s);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
.flow .link {
  height: 28px;
  width: 2px;
  background: var(--line-strong);
  position: relative;
}
.flow .link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  transform: translateX(-50%) rotate(45deg);
}

/* ------------------------------------------------------------------ FAQ */
.faq .wrap {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .faq .wrap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
  }
  .faq .head {
    position: sticky;
    top: 96px;
  }
}
.qa {
  border-top: 1px solid var(--line);
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .plus {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  transition:
    transform 200ms var(--ease),
    background-color 200ms var(--ease);
}
.qa summary .plus svg {
  width: 14px;
  height: 14px;
}
.qa details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.qa details p {
  padding-bottom: 22px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 15px;
}
.qa details p + p {
  margin-top: -10px;
}

/* ------------------------------------------------------------------ final CTA + footer */
.final {
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
}
.final .wrap {
  display: grid;
  justify-items: center;
  gap: 28px;
}
.final h2 {
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.045em;
  max-width: 16ch;
}
.final .lead {
  text-align: center;
}
.final .hero-actions {
  justify-content: center;
}
.final .mark-big {
  width: clamp(64px, 8vw, 96px);
  height: auto;
  color: var(--accent);
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
footer .brand {
  display: grid;
  gap: 8px;
}
footer .brand .wordmark {
  color: var(--fg);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer nav a {
  font-weight: 600;
}
footer nav a:hover {
  color: var(--fg);
}
footer .legal {
  grid-column: 1 / -1;
  font-size: 12px;
  max-width: 80ch;
}

/* ------------------------------------------------------------------ reveal + motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease),
    transform 700ms var(--ease);
}
.reveal.on {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .ev {
    opacity: 1;
    transform: none;
  }
  .bars .b i {
    transform: none;
  }
}

/* ------------------------------------------------------------------ contact page */
.contact {
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 128px);
}
.contact .wrap {
  display: grid;
  gap: 40px;
}
@media (min-width: 960px) {
  .contact .wrap {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
  }
}
.contact h1 {
  font-size: clamp(36px, 5vw, 56px);
}
.contact-facts {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.contact-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-facts svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}
.contact-facts a:hover {
  color: var(--fg);
}
.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-plate);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--e1);
}
@media (min-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
  .field-wide {
    grid-column: 1 / -1;
  }
}
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field .opt {
  font-weight: 500;
  color: var(--muted);
  margin-inline-start: 4px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  padding: 13px 14px;
  transition:
    border-color 150ms var(--ease),
    box-shadow 150ms var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field [aria-invalid='true'] {
  border-color: var(--err-ink);
}
.field-error {
  font-size: 13px;
  font-weight: 600;
  color: var(--err-ink);
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
}
.form-status.ok {
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  color: var(--ok-ink);
}
.form-status.err {
  background: var(--err-bg);
  color: var(--err-ink);
}

/* ------------------------------------------------------------------ right-to-left details */
/* Grids, flex rows and logical properties mirror on their own; these are the leftovers. */
[dir='rtl'] .flip-rtl {
  transform: scaleX(-1);
}
/* Codes, phone numbers and +1 badges keep their left-to-right order inside Arabic text. */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ Arabic */
/* IBM Plex Sans Arabic for Arabic text (Latin words inside it use its matching Latin);
   the prklo wordmark and the mono codes keep their own faces. Arabic gets no negative tracking
   and needs taller lines than the Latin display sizes. */
:root:lang(ar) {
  --font-latin: 'Plus Jakarta Sans', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --font: 'IBM Plex Sans Arabic', var(--font-latin);
  --font-classic: 'Fraunces', 'IBM Plex Sans Arabic', Georgia, serif;
  --font-geometric: 'Space Grotesk', 'IBM Plex Sans Arabic', var(--font-latin);
}
:lang(ar) body {
  font-family: 'IBM Plex Sans Arabic', var(--font-latin);
  line-height: 1.7;
}
:lang(ar)
  :is(
    h1,
    h2,
    h3,
    .eyebrow,
    .lead,
    .btn,
    .chip,
    .ev,
    .pass-name b,
    .pass-badge,
    .tile .k,
    .tile .v,
    .form-row .k,
    .wallet-card .tag,
    .col h3 small,
    .steps-new li,
    .outcomes b,
    .feature b,
    .qa summary,
    .tr.th,
    .powered
  ) {
  letter-spacing: 0;
}
:lang(ar) .pass {
  --display-tracking: 0;
}
:lang(ar) :is(h1, h2) {
  line-height: 1.25;
  font-weight: 700;
}
:lang(ar) h3 {
  line-height: 1.35;
}
:lang(ar) .hero h1 {
  font-size: clamp(42px, 7.4vw, 88px);
  line-height: 1.2;
}
:lang(ar) .steps-new li {
  line-height: 1.2;
}
:lang(ar) .outcomes b {
  line-height: 1.35;
}
:lang(ar) .pass-greeting {
  font-size: 23px;
  line-height: 1.3;
}
:lang(ar) .lead {
  line-height: 1.75;
}
:lang(ar) .eyebrow {
  font-size: 14px;
}
:lang(ar) .form-row .k,
:lang(ar) .tile .k,
:lang(ar) .tr.th {
  font-size: 13px;
}
:lang(ar) .wordmark {
  font-family: var(--font-latin);
  letter-spacing: -0.045em;
}
:lang(ar) .powered {
  font-size: 12px;
}
/* Email and phone fields read left to right, aligned with the Arabic labels. */
:lang(ar) .field input[dir='ltr'] {
  text-align: right;
}
/* Shop names are Latin: lay them out left to right so a long one is cut at its end, not its start. */
[dir='rtl'] .pass-name b {
  unicode-bidi: plaintext;
  text-align: right;
}

/* Instagram link (footer) */
footer .ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
footer .ig svg {
  width: 18px;
  height: 18px;
  flex: none;
}
footer .ig:hover {
  color: var(--fg);
}
