/* ===========================================================================
   Digital Moran POS — product site
   digitalmoranpos.africa

   The palette, type scale and radii below are the Digital Moran design tokens,
   read straight off digitalmoranagency.africa so the two sites are visibly one
   family. They are also the same anchors the POS app itself derives its
   brand-* / ink-* ramps from in src/index.css — background 30 50% 98%,
   foreground 17 72% 10%, accent 22 87% 60%, accent-strong 22 87% 40%.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Agency tokens, verbatim */
  --background: 30 50% 98%;
  --foreground: 17 72% 10%;
  --card: 0 0% 100%;
  --primary: 17 72% 20%;
  --primary-foreground: 30 50% 98%;
  --secondary: 22 87% 95%;
  --secondary-foreground: 22 87% 32%;
  --muted: 17 20% 94%;
  --muted-foreground: 17 20% 38%;
  --accent: 22 87% 60%;
  --accent-foreground: 17 72% 20%;
  --accent-strong: 22 87% 40%;
  --border: 17 20% 82%;
  --radius: 1rem;

  /* Resolved for convenience */
  --bg: hsl(var(--background));
  --fg: hsl(var(--foreground));
  --ink: hsl(var(--primary));
  --dim: hsl(var(--muted-foreground));
  --line: hsl(var(--border));
  --soft: hsl(var(--muted));
  --tint: hsl(var(--secondary));
  --tint-fg: hsl(var(--secondary-foreground));
  --orange: hsl(var(--accent));
  --orange-strong: hsl(var(--accent-strong));
  --white: hsl(var(--card));

  /* The POS app's own surface colours, used inside the screenshot mockups so
     they read as the real product and not as a generic marketing illustration. */
  --pos-sidebar: hsl(17 72% 10%);
  --pos-sidebar-line: hsl(17 40% 20%);
  --pos-sidebar-text: hsl(24 33% 96%);
  --pos-canvas: hsl(30 50% 98%);
  --pos-brand-600: hsl(22 87% 41%);
  --pos-brand-500: hsl(22 87% 48%);
  --pos-brand-50: hsl(22 87% 96%);
  --pos-brand-100: hsl(22 87% 92%);
  --pos-brand-700: hsl(22 87% 34%);
  --pos-ink-100: hsl(24 33% 96%);
  --pos-ink-200: hsl(18 24% 88%);
  --pos-ink-400: hsl(17 16% 66%);
  --pos-ink-500: hsl(17 17% 50%);
  --pos-ink-700: hsl(17 24% 31%);
  --pos-green: hsl(150 60% 30%);
  --pos-green-bg: hsl(150 55% 94%);
  --pos-red: hsl(0 72% 42%);
  --pos-red-bg: hsl(0 72% 96%);

  --shadow-sm: 0 1px 2px hsl(17 72% 10% / 0.06);
  --shadow-md: 0 4px 16px hsl(17 72% 10% / 0.07);
  --shadow-lg: 0 18px 50px -12px hsl(17 72% 10% / 0.18);
  --shadow-shot: 0 30px 70px -20px hsl(17 72% 10% / 0.28);
}

/* --------------------------------------------------------------- base ---- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header is 80px; keep anchored sections clear of it. */
  scroll-padding-top: 6rem;
}

@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;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Overpass", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--orange-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Grid and flex children default to min-width:auto, which means one wide thing
   inside them (a screenshot table with nowrap columns, a long code span) stops
   the track from shrinking and pushes the whole page sideways on a phone.
   Every track in this layout is allowed to shrink; anything genuinely too wide
   scrolls inside its own box instead. */
.feature > *,
.card-grid > *,
.steps > *,
.stat-strip > *,
.footer-grid > *,
.legal-layout > *,
.pos-kpis > *,
.pos-checkout > *,
.pos-products > * { min-width: 0; }

.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ------------------------------------------------------------- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand img { height: 2.25rem; width: auto; }
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-word b {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-word span {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-strong);
}

.main-nav { display: none; align-items: center; gap: 0.25rem; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary) / 0.8);
  transition: background-color 0.2s, color 0.2s;
}
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--tint); color: var(--tint-fg); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.2s;
}
.nav-toggle:hover { background: var(--soft); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; }

@media (min-width: 1024px) {
  .main-nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  height: 2.75rem;
  padding-inline: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .icon { width: 1rem; height: 1rem; }

/* White, bold, on the DARKER orange. The bright --accent carries white text at
   only 2.63:1, which fails WCAG AA; --accent-strong reaches 4.87:1 and is the
   same shade the agency site already uses for accent text and fills. */
.btn-primary {
  background: var(--orange-strong);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: hsl(22 87% 34%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: var(--soft); border-color: hsl(var(--border) / 0.6); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }

.btn-lg { height: 3.25rem; padding-inline: 2rem; font-size: 1rem; }

.btn-on-dark {
  background: var(--bg);
  color: var(--ink);
}
.btn-on-dark:hover { background: hsl(var(--background) / 0.88); }

.btn-outline-on-dark {
  background: transparent;
  border-color: hsl(var(--background) / 0.35);
  color: var(--bg);
}
.btn-outline-on-dark:hover { background: hsl(var(--background) / 0.12); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--orange-strong);
}
.textlink .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.textlink:hover .icon { transform: translateX(3px); }

/* ----------------------------------------------------------- sections ---- */

.section { padding-block: 5rem; }
.section-tight { padding-block: 3.5rem; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-strong);
  margin-bottom: 1rem;
}

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section-head .lead {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  color: var(--dim);
  line-height: 1.65;
}
.section-head.centered { margin-inline: auto; text-align: center; }

@media (min-width: 768px) {
  .section { padding-block: 7rem; }
}

/* --------------------------------------------------------------- hero ---- */

.hero {
  position: relative;
  padding-block: 4rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 120%;
  background:
    radial-gradient(45% 55% at 50% 8%, hsl(var(--accent) / 0.16), transparent 70%),
    radial-gradient(40% 40% at 82% 40%, hsl(var(--accent) / 0.09), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tint);
  color: var(--tint-fg);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}
.hero-badge .icon { width: 0.95rem; height: 0.95rem; }

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--orange-strong); display: block; }

.hero-lead {
  max-width: 40rem;
  margin: 1.75rem auto 0;
  font-size: 1.0625rem;
  color: var(--dim);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
}
.hero-note code {
  font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace;
  font-size: 0.85em;
  background: var(--soft);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.hero-shot { margin-top: 3.5rem; }

/* -------------------------------------------------------------- stats ---- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: 1.75rem 1.5rem;
}
.stat b {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--orange-strong);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dim);
}
@media (min-width: 900px) {
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
}

/* -------------------------------------------------------- menu / cards ---- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: hsl(var(--accent) / 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--tint);
  color: var(--orange-strong);
  margin-bottom: 0.35rem;
}
.card-icon .icon { width: 1.35rem; height: 1.35rem; }
.card h3 { font-size: 1.0625rem; letter-spacing: -0.015em; }
.card p { font-size: 0.9375rem; color: var(--dim); line-height: 1.6; }
.card .menu-path {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pos-ink-400);
}

/* ---------------------------------------------------- feature deep dive ---- */

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-copy h3 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin-bottom: 1rem;
}
.feature-copy .lead {
  font-size: 1rem;
  color: var(--dim);
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.feature-list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: hsl(var(--primary) / 0.85);
}
.feature-list .icon {
  width: 1.05rem; height: 1.05rem;
  margin-top: 0.28rem;
  color: var(--orange-strong);
  stroke-width: 3;
}
.feature-list b { font-weight: 800; color: var(--ink); }

@media (min-width: 1024px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    padding-block: 5rem;
  }
  /* Reversing puts the shot in the FIRST column, so the track widths have to
     flip with it — otherwise the screenshot lands in the narrow 5fr column and
     renders about 180px smaller than the ones in the un-reversed rows. */
  .feature.reversed { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.reversed .feature-copy { order: 2; }
  .feature.reversed .feature-shot { order: 1; }
}

/* =========================================================================
   Product screenshots.

   These are not images — every screen below is real markup styled with the
   POS's own surface colours, type scale and component shapes. That keeps them
   sharp at any zoom, readable to a screen reader, and honest: nothing here is
   drawn that the app does not actually render.
   ========================================================================= */

.shot {
  position: relative;
  border-radius: calc(var(--radius) * 1.1);
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / 0.16);
  background: var(--pos-canvas);
  box-shadow: var(--shadow-shot);
  font-size: 11px;
  line-height: 1.45;
  color: var(--fg);
  /* Screens are drawn at a fixed internal width and scaled by the browser's
     own layout; keeping the text small rather than transform-scaled means it
     stays crisp and selectable. */
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: hsl(17 72% 10%);
  border-bottom: 1px solid hsl(17 40% 20%);
}
.shot-dots { display: flex; gap: 0.3rem; }
.shot-dots i {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: hsl(17 24% 31%);
}
.shot-dots i:first-child { background: hsl(0 60% 55%); }
.shot-dots i:nth-child(2) { background: hsl(40 80% 55%); }
.shot-dots i:nth-child(3) { background: hsl(140 45% 50%); }
.shot-url {
  flex: 1;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--pos-ink-400);
  letter-spacing: 0.02em;
}

.shot-body { display: flex; min-height: 0; }

/* --- POS sidebar --- */
.pos-side {
  width: 152px;
  flex-shrink: 0;
  background: var(--pos-sidebar);
  border-right: 1px solid var(--pos-sidebar-line);
  padding-bottom: 0.5rem;
  display: none;
}
.pos-side-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding-inline: 0.7rem;
  border-bottom: 1px solid hsl(17 40% 20% / 0.8);
}
.pos-side-brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--pos-brand-600);
  color: #fff;
}
.pos-side-brand .mark .icon { width: 12px; height: 12px; }
.pos-side-brand b {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-nav { padding: 0.5rem 0.45rem; display: grid; gap: 2px; }
.pos-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--pos-sidebar-text);
  white-space: nowrap;
  overflow: hidden;
}
.pos-nav a .icon { width: 12px; height: 12px; }
.pos-nav a.active {
  background: var(--pos-brand-600);
  color: #fff;
  box-shadow: 0 2px 6px hsl(22 87% 14% / 0.4);
}
.pos-nav a .badge {
  margin-left: auto;
  background: var(--pos-brand-600);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 0 5px;
}
.pos-nav a.active .badge { background: #fff; color: var(--pos-brand-700); }

@media (min-width: 640px) { .pos-side { display: block; } }

/* --- POS main column --- */
.pos-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.pos-topbar {
  height: 40px;
  background: #fff;
  border-bottom: 1px solid var(--pos-ink-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-inline: 0.75rem;
}
.pos-topbar h4 {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.pos-chips {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  /* The status row is the first thing to run out of room on a phone. Let it
     clip from the right rather than push the whole top bar wider than the
     screenshot frame. */
  overflow: hidden;
}
/* Below the tablet breakpoint the clock is the least useful chip in a
   screenshot, so it goes before the branch selector or the assistant button. */
@media (max-width: 639px) {
  .pos-chip.mono { display: none; }
}
.pos-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--pos-ink-200);
  background: var(--pos-canvas);
  border-radius: 6px;
  padding: 0.16rem 0.4rem;
  font-size: 9px;
  font-weight: 800;
  color: var(--pos-ink-700);
  white-space: nowrap;
}
.pos-chip .icon { width: 10px; height: 10px; color: var(--pos-brand-500); }
.pos-chip.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pos-chip.ready {
  background: var(--pos-brand-50);
  border-color: var(--pos-brand-100);
  color: var(--pos-brand-700);
  letter-spacing: 0.08em;
}
/* The assistant is reachable from every screen, so it sits in the top bar as a
   filled control rather than another outlined status chip. */
.pos-chip.ai {
  background: var(--pos-brand-600);
  border-color: var(--pos-brand-600);
  color: #fff;
}
.pos-chip.ai .icon { color: #fff; }
.pos-chip.hide-sm { display: none; }
@media (min-width: 780px) { .pos-chip.hide-sm { display: inline-flex; } }

.pos-canvas { padding: 0.75rem; display: grid; gap: 0.6rem; background: var(--pos-canvas); }

/* --- generic POS surfaces --- */
.pos-card {
  background: #fff;
  border: 1px solid var(--pos-ink-200);
  border-radius: 12px;
  padding: 0.7rem;
  /* Report tables keep their columns on one line, the way they do in the app.
     On a narrow screen they scroll inside the card rather than widening it. */
  overflow-x: auto;
}
.pos-card > h5 {
  font-size: 10px;
  font-weight: 900;
  color: var(--fg);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pos-card > h5 .icon { width: 11px; height: 11px; color: var(--pos-brand-600); }
.pos-card > h5 .sub {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  color: var(--pos-ink-400);
}

.pos-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 780px) { .pos-kpis { grid-template-columns: repeat(4, 1fr); } }
.pos-kpi {
  background: #fff;
  border: 1px solid var(--pos-ink-200);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}
.pos-kpi .k-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pos-ink-500);
}
.pos-kpi .k-label .icon { width: 11px; height: 11px; color: var(--pos-brand-600); }
.pos-kpi .k-value {
  margin-top: 0.3rem;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.pos-kpi .k-foot { font-size: 9px; font-weight: 700; color: var(--pos-ink-400); }
.pos-kpi .k-foot.up { color: var(--pos-green); }
.pos-kpi .k-foot.down { color: var(--pos-red); }

/* tables */
.pos-table { width: 100%; border-collapse: collapse; font-size: 9.5px; }
.pos-table th {
  text-align: left;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pos-ink-500);
  padding: 0.3rem 0.35rem;
  border-bottom: 1px solid var(--pos-ink-200);
  white-space: nowrap;
}
.pos-table td {
  padding: 0.36rem 0.35rem;
  border-bottom: 1px solid hsl(18 24% 88% / 0.6);
  font-weight: 600;
  color: var(--pos-ink-700);
  white-space: nowrap;
}
.pos-table tr:last-child td { border-bottom: 0; }
.pos-table .num { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pos-table .strong { font-weight: 800; color: var(--fg); }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.pill.ok { background: var(--pos-green-bg); color: var(--pos-green); }
.pill.warn { background: hsl(38 92% 94%); color: hsl(30 90% 32%); }
.pill.bad { background: var(--pos-red-bg); color: var(--pos-red); }
.pill.info { background: var(--pos-brand-50); color: var(--pos-brand-700); }
.pill.mute { background: var(--soft); color: var(--pos-ink-500); }

/* bar chart used in the dashboard shot */
.pos-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 68px;
  padding-top: 0.35rem;
}
.pos-bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 3px; }
.pos-bars .bar i {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--pos-brand-500), var(--pos-brand-600));
}
.pos-bars .bar span {
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--pos-ink-400);
}
.pos-bars .bar.peak i { background: linear-gradient(180deg, hsl(22 87% 62%), var(--pos-brand-500)); }

/* checkout terminal shot */
.pos-checkout { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 700px) { .pos-checkout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

.pos-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--pos-ink-200);
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--pos-ink-500);
  margin-bottom: 0.5rem;
}
.pos-search .icon { width: 11px; height: 11px; color: var(--pos-brand-600); }
.pos-search .caret {
  width: 1px; height: 11px;
  background: var(--pos-brand-600);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.pos-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
@media (min-width: 520px) { .pos-products { grid-template-columns: repeat(3, 1fr); } }
.pos-product {
  border: 1px solid var(--pos-ink-200);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
}
.pos-product .p-name {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.25;
  min-height: 2.1em;
}
.pos-product .p-price {
  margin-top: 0.25rem;
  font-size: 11px;
  font-weight: 900;
  color: var(--pos-brand-700);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pos-product .p-stock { font-size: 8.5px; font-weight: 700; color: var(--pos-ink-400); }

.pos-cart-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid hsl(18 24% 88% / 0.7);
  font-size: 9.5px;
}
.pos-cart-line .q {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--pos-brand-50);
  color: var(--pos-brand-700);
  font-weight: 900;
  font-size: 8.5px;
  flex-shrink: 0;
}
.pos-cart-line .n { flex: 1; font-weight: 700; color: var(--pos-ink-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos-cart-line .a { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; color: var(--fg); }

.pos-totals { margin-top: 0.5rem; display: grid; gap: 0.18rem; font-size: 9.5px; }
.pos-totals div { display: flex; justify-content: space-between; color: var(--pos-ink-500); font-weight: 700; }
.pos-totals div span:last-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--pos-ink-700); }
.pos-total-due {
  margin-top: 0.4rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--pos-ink-200);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.pos-total-due b { font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pos-ink-500); }
.pos-total-due span { font-size: 17px; font-weight: 900; letter-spacing: -0.03em; color: var(--pos-brand-700); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.pos-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; margin-top: 0.55rem; }
.pos-pay button {
  border: 1px solid var(--pos-ink-200);
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.2rem;
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 800;
  color: var(--pos-ink-700);
  cursor: default;
}
.pos-pay button.on {
  background: var(--pos-brand-600);
  border-color: var(--pos-brand-600);
  color: #fff;
}

.pos-cta {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: var(--pos-brand-600);
  color: #fff;
  padding: 0.5rem;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  cursor: default;
  box-shadow: 0 3px 10px hsl(22 87% 30% / 0.35);
}

/* receipt shot */
.receipt {
  background: #fff;
  border: 1px solid var(--pos-ink-200);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  line-height: 1.55;
  color: var(--pos-ink-700);
}
.receipt .r-head { text-align: center; }
.receipt .r-head b { display: block; font-size: 11px; font-weight: 900; color: var(--fg); letter-spacing: 0.02em; }
.receipt hr { border: 0; border-top: 1px dashed var(--pos-ink-200); margin: 0.5rem 0; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 0.5rem; }
.receipt .r-row.total { font-weight: 900; color: var(--fg); font-size: 10.5px; }

/* assistant shot */
.ai-msg {
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font-size: 9.5px;
  line-height: 1.55;
  max-width: 88%;
}
.ai-msg.user {
  margin-left: auto;
  background: var(--pos-brand-600);
  color: #fff;
  font-weight: 700;
}
.ai-msg.bot {
  background: #fff;
  border: 1px solid var(--pos-ink-200);
  color: var(--pos-ink-700);
  font-weight: 600;
}
.ai-msg.bot b { color: var(--fg); font-weight: 900; }

/* The figure block the assistant cites its evidence in. Deliberately looks
   like a record rather than a chart — the point is that every number here is
   something the owner can go and open. */
.ai-stats {
  margin: 0.55rem 0;
  border: 1px solid var(--pos-ink-200);
  border-radius: 8px;
  overflow: hidden;
}
.ai-stats > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  background: var(--pos-canvas);
}
.ai-stats > div + div { border-top: 1px solid var(--pos-ink-200); }
.ai-stats .k {
  font-size: 9px;
  font-weight: 800;
  color: var(--pos-ink-500);
  flex: 1;
  min-width: 0;
}
.ai-stats .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 900;
  color: var(--fg);
  white-space: nowrap;
}
.ai-stats .v.bad { color: var(--pos-red); }
.ai-stats .v.warn { color: hsl(30 90% 32%); }
.ai-stats .s {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--pos-ink-400);
  white-space: nowrap;
  display: none;
}
@media (min-width: 560px) { .ai-stats .s { display: inline; } }

/* notification tray shot */
.notif {
  display: flex;
  gap: 0.45rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--pos-ink-200);
  background: #fff;
  font-size: 9.5px;
}
.notif .dot { width: 6px; height: 6px; border-radius: 999px; margin-top: 0.32rem; flex-shrink: 0; }
.notif.red .dot { background: var(--pos-red); }
.notif.orange .dot { background: var(--pos-brand-500); }
.notif b { display: block; font-weight: 900; color: var(--fg); }
.notif span { color: var(--pos-ink-500); font-weight: 600; }

/* caption under a screenshot */
.shot-caption {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dim);
  text-align: center;
}
.shot-caption b { color: var(--ink); font-weight: 800; }

/* ------------------------------------------------------------- process ---- */

.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  border-top: 3px solid var(--line);
  padding-top: 1.25rem;
  transition: border-color 0.2s;
}
.step:hover { border-top-color: var(--orange); }
.step .n {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--orange-strong);
}
.step h3 { margin-top: 0.6rem; font-size: 1.125rem; }
.step p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--dim); line-height: 1.6; }

/* ----------------------------------------------------------- CTA band ---- */

.cta-band {
  background: var(--ink);
  color: hsl(var(--primary-foreground));
  border-radius: calc(var(--radius) * 1.5);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 120%;
  background: radial-gradient(closest-side, hsl(var(--accent) / 0.28), transparent);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  color: hsl(var(--primary-foreground));
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.cta-band p {
  max-width: 36rem;
  margin: 1.125rem auto 0;
  color: hsl(var(--primary-foreground) / 0.78);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .cta-band { padding: 4.5rem 3rem; } }

/* -------------------------------------------------------------- footer ---- */

/* Earth brown, matching the agency footer exactly: --primary ground,
   --primary-foreground text, body copy at 75%, column headings in the orange
   accent at 12px / 0.18em. */
.site-footer {
  background: var(--ink);
  color: hsl(var(--primary-foreground));
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }

/* The brand lockup goes light-on-brown down here. */
.site-footer .brand-word b { color: hsl(var(--primary-foreground)); }
.site-footer .brand-word span { color: var(--orange); }

.footer-about p {
  margin-top: 1.125rem;
  font-size: 0.9rem;
  color: hsl(var(--primary-foreground) / 0.75);
  line-height: 1.7;
  max-width: 30rem;
}
.footer-contact {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground) / 0.75);
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: hsl(var(--primary-foreground));
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--orange); }
.footer-contact .icon { width: 0.95rem; height: 0.95rem; color: var(--orange); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground) / 0.8);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground) / 0.7);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: hsl(var(--primary-foreground) / 0.85); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------------------------------------------------------- legal pages ---- */

.legal-hero {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal-hero .lead {
  margin-top: 1.125rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  color: var(--dim);
  line-height: 1.7;
}
.legal-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.legal-meta span {
  background: var(--tint);
  color: var(--tint-fg);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 3.5rem 5rem;
}
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 16rem minmax(0, 1fr); gap: 4rem; }
}

.legal-toc { align-self: start; }
@media (min-width: 1024px) {
  .legal-toc { position: sticky; top: 6.5rem; }
}
.legal-toc h2 {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-strong);
  margin-bottom: 1rem;
}
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dim);
  border-left: 2px solid transparent;
}
.legal-toc a:hover { background: var(--soft); color: var(--ink); }

.prose { max-width: 44rem; }
.prose > section + section { margin-top: 2.75rem; }
.prose h2 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.prose h2 .n {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--orange-strong);
  font-variant-numeric: tabular-nums;
}
.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
}
.prose p { margin-top: 1rem; color: hsl(var(--primary) / 0.86); line-height: 1.75; }
.prose ul { margin-top: 1rem; padding-left: 1.1rem; display: grid; gap: 0.6rem; }
.prose li { color: hsl(var(--primary) / 0.86); line-height: 1.7; }
.prose li::marker { color: var(--orange-strong); }
.prose strong { font-weight: 800; color: var(--ink); }
.prose a { color: var(--orange-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--soft);
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
}

.callout {
  margin-top: 1.5rem;
  background: var(--tint);
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.callout p { margin-top: 0; color: var(--tint-fg); font-weight: 600; }
.callout p + p { margin-top: 0.75rem; }

.prose .datatable { width: 100%; margin-top: 1.25rem; border-collapse: collapse; font-size: 0.9rem; }
.prose .datatable th,
.prose .datatable td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  vertical-align: top;
}
.prose .datatable th {
  background: var(--soft);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.prose .datatable td { color: hsl(var(--primary) / 0.86); line-height: 1.6; }
.table-scroll { overflow-x: auto; }

/* ============================================================== FAQ ======= */

.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: hsl(var(--accent) / 0.45); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.6rem; height: 0.6rem;
  border-right: 2px solid var(--orange-strong);
  border-bottom: 2px solid var(--orange-strong);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-top: -0.3rem;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0.2rem; }
.faq .faq-answer { padding: 0 1.4rem 1.35rem; }
.faq .faq-answer p { color: var(--dim); line-height: 1.7; font-size: 0.95rem; }
.faq .faq-answer p + p { margin-top: 0.85rem; }
.faq .faq-answer a { color: var(--orange-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ========================================================== contact ======= */

.contact-hero {
  position: relative;
  padding-block: 3.5rem 3rem;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto 45%;
  height: 150%;
  background: radial-gradient(45% 45% at 60% 30%, hsl(var(--accent) / 0.16), transparent 70%);
  pointer-events: none;
}
.contact-hero > * { position: relative; z-index: 1; }
.contact-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 18ch; }
.contact-hero .lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1.0625rem;
  color: var(--dim);
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; }
}
.contact-layout > * { min-width: 0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.75rem;
}
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.form-card h2 { font-size: 1.375rem; }
.form-card > p {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: var(--dim);
  line-height: 1.6;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 1.75rem;
}
@media (min-width: 560px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--orange-strong); }
.field .hint { font-size: 0.78rem; font-weight: 600; color: var(--dim); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237F675A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.05rem;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: hsl(var(--destructive)); }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   inputs, and screen readers get an explicit instruction plus aria-hidden. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.form-actions .note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dim);
}
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.form-status {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.ok {
  background: hsl(150 55% 95%);
  border: 1px solid hsl(150 50% 78%);
  color: hsl(150 60% 24%);
}
.form-status.err {
  background: hsl(0 72% 97%);
  border: 1px solid hsl(0 60% 85%);
  color: hsl(0 72% 38%);
}
.form-status b { font-weight: 900; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Earth-brown "reach us directly" card, the same treatment as the footer. */
.reach-card {
  background: var(--ink);
  color: hsl(var(--primary-foreground));
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.75rem;
}
.reach-card h2 {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.reach-item { display: flex; gap: 0.9rem; }
.reach-item + .reach-item {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.15);
}
.reach-item .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.7rem;
  background: hsl(var(--primary-foreground) / 0.12);
  color: var(--orange);
  flex-shrink: 0;
}
.reach-item .ico .icon { width: 1.1rem; height: 1.1rem; }
.reach-item .body { min-width: 0; }
.reach-item .k {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground) / 0.6);
  margin-bottom: 0.2rem;
}
.reach-item .v {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: hsl(var(--primary-foreground));
  word-break: break-word;
}
a.v:hover { color: var(--orange); }
.reach-item .s {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground) / 0.7);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.reach-aside {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.5rem 1.75rem;
}
.reach-aside h3 { font-size: 1.0625rem; }
.reach-aside p { margin-top: 0.65rem; font-size: 0.9rem; color: var(--dim); line-height: 1.65; }
.reach-aside .btn { margin-top: 1.15rem; width: 100%; }

/* -------------------------------------------------------------- reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Fail-safe: if scripting is off the reveal script never runs, so nothing
   below the fold would ever appear. Show everything instead. */
.no-js .reveal { opacity: 1; transform: none; }

/* ========================================================== pricing ====== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-grid > * { min-width: 0; }
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tier:hover {
  border-color: hsl(var(--accent) / 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tier.featured {
  border-color: var(--orange-strong);
  box-shadow: var(--shadow-md);
}
.tier-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--orange-strong);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tier h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.tier .tier-for {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
  line-height: 1.5;
}
/* In the four-across layout the blurbs run to different lengths, which pushes
   the price rows out of line with each other. Reserve the tallest. */
@media (min-width: 1100px) {
  .tier .tier-for { min-height: 4.5em; }
}

.tier-price {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.tier-price .amount {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.tier-price .cur {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dim);
}
.tier-price .fig {
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.tier-price .once {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dim);
}
.tier-price .incl {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-strong);
  line-height: 1.45;
  display: flex;
  gap: 0.4rem;
}
.tier-price .incl .icon {
  width: 1rem; height: 1rem;
  margin-top: 0.15rem;
  stroke-width: 3;
  flex-shrink: 0;
}
.tier-price .after {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dim);
  line-height: 1.5;
}
.tier-price .after b { color: var(--ink); font-weight: 800; }

.tier-caps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.tier-caps li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: hsl(var(--primary) / 0.85);
}
.tier-caps .n {
  font-weight: 900;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tier .tier-cta { margin-top: auto; padding-top: 1.5rem; }
.tier .tier-cta .btn { width: 100%; }

/* what every plan includes */
.includes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2rem;
}
@media (min-width: 640px)  { .includes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .includes { grid-template-columns: repeat(3, 1fr); } }
.includes li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: hsl(var(--primary) / 0.85);
}
.includes .icon {
  width: 1.05rem; height: 1.05rem;
  margin-top: 0.28rem;
  color: var(--orange-strong);
  stroke-width: 3;
  flex-shrink: 0;
}
.includes b { color: var(--ink); font-weight: 800; }

.price-note {
  margin-top: 2rem;
  background: var(--tint);
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tint-fg);
  font-weight: 600;
  max-width: 52rem;
}
.price-note b { font-weight: 900; }
