/* ARN Smart bar: one thin row above every product header (build-site.cjs, renderArnBar), the same on every site
   (user decision 2026-11-02). build-site.cjs puts this file in front of the product's site.css. The bar scrolls
   away with the page; the product header below it stays sticky. Values are fixed here, not taken from the product's
   variables, so the bar looks the same on all fourteen sites. */
.arn-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #18191c;
  color: #c9ccd2;
  font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.arn-bar__row {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1440px;
  min-height: 36px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.arn-bar a {
  color: #e7e9ec;
  text-decoration: none;
}

.arn-bar a:hover,
.arn-bar a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.arn-bar__home {
  display: flex;
  flex: none;
}

.arn-bar__home img {
  display: block;
  width: auto;
  height: 18px;
}

.arn-bar__contact {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.arn-bar__contact li {
  margin: 0;
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.arn-bar__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 999.98px) {
  .arn-bar__place,
  .arn-bar__extra {
    display: none;
  }
}

@media (max-width: 639.98px) {
  .arn-bar__row {
    gap: 10px;
  }

  .arn-bar__contact li {
    padding: 0 10px;
  }

  .arn-bar__mail {
    display: none;
  }
}

/* The narrowest phones keep the logo (arnsmart.com) and the phone number. */
@media (max-width: 359.98px) {
  .arn-bar__links {
    display: none;
  }
}

/* Vendix mini site — design "building blocks".
   Source: _tools/site/products/vendix/site.css. build-site.cjs copies it to site/vendix/assets/site.css; edit only this file.
   Colours follow the Vendix logo: sun yellow #ffb800 for fills and buttons, the orange of its "en" #e8912f as the second
   block colour, warm ink for text. The page reads like a builder canvas: the hero sits on a faint layout grid with
   widget blocks snapped to its edges, images sit in editor windows, numbers are yellow blocks.
   Text: DM Sans (SIL Open Font License, fonts/DMSans-OFL.txt), 400 and 700 only.
   Markup contract: site/README.md; the grouped menu, footer and Explore cards come from templates.cjs, the menu
   groups open with products/vendix/site.js. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --sun-500: #ffb800;
  --sun-400: #ffc633;
  --sun-200: #ffe199;
  --sun-100: #fff0c2;
  --sun-50: #fff8e3;
  --orange-500: #e8912f;
  /* Orange text on white needs this darker tone (5.9:1). */
  --orange-800: #9a520a;
  --ink-950: #17150f;
  --ink-900: #201d16;
  --ink-800: #2e2a21;
  --ink-700: #454036;
  --ink-600: #5e584c;
  --ink-500: #736c5f;
  --ink-300: #c9c1b0;
  --ink-200: #e3dccd;
  --ink-100: #f1ece1;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --text: #2a261e;
  --muted: #5e584c;
  --line: #e8e1d2;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(32, 29, 22, 0.06);
  --shadow: 0 1px 2px rgba(32, 29, 22, 0.05), 0 14px 32px rgba(32, 29, 22, 0.09);
  /* The builder canvas: a faint 40px layout grid. */
  --canvas-grid:
    linear-gradient(90deg, rgba(32, 29, 22, 0.05) 1px, transparent 1px) 50% 0 / 40px 40px,
    linear-gradient(180deg, rgba(32, 29, 22, 0.05) 1px, transparent 1px) 50% 0 / 40px 40px;
  --canvas-grid-light:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 50% 0 / 40px 40px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 50% 0 / 40px 40px;
  --header-h: 72px;
  --toc-h: 54px;
  --wrap: 1200px;
  --gutter: 24px;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--orange-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink-900);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
}

p {
  margin: 0 0 1em;
}

main section[id] {
  scroll-margin-top: var(--header-h);
}

.page-topic main section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--toc-h));
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: calc(820px + 2 * var(--gutter));
}

.tint {
  background: var(--paper);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

/* The content's New badge: a small ink block with sun-yellow letters. */
.badge-new {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px 1px;
  border-radius: 5px;
  background: var(--ink-900);
  color: var(--sun-500);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--sun-500);
  color: var(--ink-950);
}

.btn--primary:hover {
  background: var(--orange-500);
  color: var(--ink-950);
}

.btn--secondary {
  border-color: var(--ink-300);
  background: var(--surface);
  color: var(--ink-900);
}

.btn--secondary:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

/* Secondary buttons on the dark closing band. */
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost-light:hover {
  border-color: var(--sun-500);
  color: var(--sun-500);
}

/* "Live demo" and "Download free" leave the site: a small arrow says so. */
.btn--external::after {
  content: "↗";
  font-size: 0.95em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions--center {
  justify-content: center;
}

/* ---------- Header and grouped menu ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.site-header__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand__wordmark {
  width: auto;
  height: 46px;
}

.main-nav {
  flex: 1 1 auto;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a,
.main-nav__toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink-700);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav__toggle:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}

/* The current page, and the group that holds it, carry a sun underline under the text. */
.main-nav__list > li > a[aria-current="page"],
.main-nav__group.is-current > .main-nav__toggle {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: var(--sun-500);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

/* A group opens downwards; its chevron turns when it is open. */
.main-nav__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -3px 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.main-nav__toggle[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.main-nav__group {
  position: relative;
}

.main-nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  display: none;
  width: max-content;
  min-width: 240px;
  max-width: 340px;
  padding: 8px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sun-500);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.main-nav__toggle[aria-expanded="true"] + .main-nav__menu {
  display: block;
}

/* Without the script a group opens while it is hovered or holds the focus. */
html:not(.js) .main-nav__group:hover > .main-nav__menu,
html:not(.js) .main-nav__group:focus-within > .main-nav__menu {
  display: block;
}

.main-nav__menu a {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 400;
  white-space: normal;
}

/* The current page in a group: dark, bold text only (user 2026-11-01: no tinted background or side bar). */
.main-nav__menu a[aria-current="page"] {
  color: var(--ink-900);
  font-weight: 700;
}

.site-header__action {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 18px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-900);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-open .nav-toggle__bars {
  background: transparent;
}

.nav-open .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

/* Centered hero (site.json hero.layout "center") on the builder canvas: the layout grid fades out towards the
   bottom, and widget blocks (a stack like the one in the Vendix icon, a dashed drop zone) are snapped to its edges. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 184, 0, 0.16), transparent 70%),
    var(--sun-50);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--canvas-grid);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 300'%3E%3Crect x='10' y='10' width='160' height='58' rx='12' fill='%23ffb800'/%3E%3Crect x='11.5' y='85.5' width='157' height='55' rx='11' fill='none' stroke='%23ffb800' stroke-width='3'/%3E%3Crect x='11.5' y='158.5' width='157' height='55' rx='11' fill='none' stroke='%23e8912f' stroke-width='3' stroke-dasharray='9 8'/%3E%3Crect x='10' y='230' width='160' height='58' rx='12' fill='%23fff0c2'/%3E%3C/svg%3E")
      left max(24px, calc(50% - 700px)) top 64px / 180px 300px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect x='0' y='0' width='92' height='92' rx='14' fill='%23fff0c2'/%3E%3Crect x='109.5' y='1.5' width='89' height='89' rx='13' fill='none' stroke='%23ffb800' stroke-width='3'/%3E%3Crect x='0' y='108' width='92' height='92' rx='14' fill='%23ffb800'/%3E%3Crect x='109.5' y='109.5' width='89' height='89' rx='13' fill='none' stroke='%23e8912f' stroke-width='3' stroke-dasharray='9 8'/%3E%3C/svg%3E")
      right max(24px, calc(50% - 700px)) bottom 56px / 200px 200px no-repeat;
  opacity: 0.75;
  pointer-events: none;
}

.hero--home {
  padding: 96px 0 104px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-topic .hero h1 {
  max-width: 24ch;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.3rem);
}

/* Eyebrow: a widget label tag with a small yellow block in front. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--sun-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-800);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--sun-500);
  box-shadow: inset -6px 0 0 var(--orange-500);
}

.hero__summary {
  max-width: 46rem;
  margin: 24px auto 0;
  color: var(--ink-700);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
}

.hero__summary p:last-child {
  margin-bottom: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--ink-600);
  font-size: 15px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--orange-500);
}

.breadcrumb a {
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- On this page ---------- */

/* Sticky bar: current section, previous/next links and a panel that lists every section.
   Without JavaScript the bar shows the full list, wrapped onto as many lines as it needs. */

.toc {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.toc__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--toc-h);
}

.toc__toggle,
.toc__steps {
  display: none;
}

.toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.toc__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.toc__list a:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}

.toc__list a.is-active {
  background: var(--sun-50);
  color: var(--ink-900);
  box-shadow: inset 3px 0 0 var(--sun-500);
}

.toc__num {
  flex: 0 0 auto;
  min-width: 1.7em;
  color: var(--orange-800);
  font-size: 13px;
}

.js .toc__toggle {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: var(--toc-h);
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-900);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.js .toc__toggle::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.js .toc--open .toc__toggle::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.toc__label {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--sun-100);
  color: var(--ink-800);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.js .toc__steps {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.toc__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  color: var(--ink-800);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.toc__step:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.toc__step[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.js .toc__list {
  position: absolute;
  top: 100%;
  right: var(--gutter);
  left: var(--gutter);
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 16px;
  max-height: min(70vh, 520px);
  padding: 16px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.js .toc--open .toc__list {
  display: grid;
}

.js .toc__list a {
  padding: 10px 12px;
}

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

.feature {
  padding: 88px 0;
}

/* Text 7 parts, image 5 parts: the text leads and the image stays close to the text's height. */
.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}

.feature--reverse .feature__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.feature--reverse .feature__media {
  order: -1;
}

.feature--text .feature__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.feature--text .feature__head {
  position: sticky;
  top: calc(var(--header-h) + var(--toc-h) + 32px);
}

.feature__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

/* The section number is a yellow block with the orange edge of the logo's "en". */
.feature__number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sun-500);
  box-shadow: inset 0 -4px 0 var(--orange-500);
  color: var(--ink-950);
  font-size: 15px;
  font-weight: 700;
}

.feature__label {
  color: var(--ink-800);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.feature__title {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
}

.feature--text .feature__title {
  margin-bottom: 0;
}

/* The section's first image leads; further images of the same section sit below it as a row of equal windows. */
.feature__media {
  position: sticky;
  top: calc(var(--header-h) + var(--toc-h) + 32px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature__media > .figure:first-child {
  grid-column: 1 / -1;
}

.feature__media > .figure + .figure .figure__link {
  aspect-ratio: 4 / 3;
}

.feature__media > .figure + .figure .figure__link img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.page-overview .feature__media {
  top: calc(var(--header-h) + 32px);
}

/* ---------- Figures ---------- */

.figure {
  margin: 0;
}

/* Every image sits in an editor window: a thin title bar with three dots (sun, orange, ink) above it. */
.figure__link {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.figure__link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 28px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 50%, var(--sun-500) 4.5px, transparent 5px),
    radial-gradient(circle at 34px 50%, var(--orange-500) 4.5px, transparent 5px),
    radial-gradient(circle at 50px 50%, var(--ink-200) 4.5px, transparent 5px),
    var(--paper);
}

.figure__link img {
  width: 100%;
  transition: transform 0.3s ease;
}

.figure__link:hover img {
  transform: scale(1.015);
}

/* An image in a text section (Overview) comes after the text. A long screenshot shows its top part and fades out;
   the viewer opens the whole image. */
.prose + .figure {
  margin-top: 32px;
}

.prose + .figure .figure__link {
  max-height: 560px;
}

.prose + .figure .figure__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
}

/* ---------- Prose ---------- */

.prose {
  color: var(--text);
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink-900);
  font-weight: 700;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}

.prose li {
  position: relative;
  margin-bottom: 0.55em;
  padding-left: 30px;
}

/* List marks are small blocks: a yellow square with the orange edge. */
.prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 4px;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--sun-500);
  box-shadow: inset -3px 0 0 var(--orange-500);
}

.prose ol {
  counter-reset: item;
}

.prose ol > li {
  counter-increment: item;
  padding-left: 40px;
}

.prose ol > li::before {
  content: counter(item);
  position: absolute;
  top: 0.1em;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink-800);
  color: var(--sun-500);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Widget names on the Elementor Widgets page link to their live demo pages on arnsmart.com (templates.cjs). */
.prose a[href^="https://arnsmart.com/vendix/vendix-widgets/"] {
  color: var(--ink-900);
  font-weight: 700;
  text-decoration-color: var(--sun-500);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.prose a[href^="https://arnsmart.com/vendix/vendix-widgets/"]::after {
  content: "↗";
  margin-left: 2px;
  color: var(--orange-800);
  font-size: 0.8em;
}

.prose a[href^="https://arnsmart.com/vendix/vendix-widgets/"]:hover {
  text-decoration-color: var(--orange-500);
}

.prose--center {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.prose--light,
.prose--light strong {
  color: rgba(255, 255, 255, 0.88);
}

.prose--light a {
  color: var(--sun-500);
}

.table-wrap {
  margin: 0 0 1.4em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.table-wrap th:first-child {
  box-shadow: inset 4px 0 0 var(--sun-500);
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.table-wrap td:first-child {
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- Generic blocks ---------- */

.block {
  padding: 88px 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 40px;
}

/* Two blocks, yellow and orange, above every section heading. */
.section-head::before {
  content: "";
  display: block;
  width: 44px;
  height: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sun-500) 0 26px, transparent 26px 30px, var(--orange-500) 30px);
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head--center::before {
  margin-right: auto;
  margin-left: auto;
}

.section-head__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Explore cards, grouped under Build, Grow, WooCommerce and More (templates.cjs). A short last row is centred. */

.card-group + .card-group {
  margin-top: 56px;
}

.card-group__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-group__title::after {
  content: "";
  flex: 1 1 auto;
  border-top: 2px dashed var(--ink-200);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--sun-400);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 4px solid var(--sun-500);
  background: var(--paper);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.card__body p {
  color: var(--muted);
  font-size: 15.5px;
}

.card__title {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

/* "Explore →" sits at the bottom right of the card. */
.card__link {
  align-self: flex-end;
  margin-top: auto;
  color: var(--orange-800);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* The page name in a card link ("Explore Elementor Widgets") is read out but not shown: the card title shows it. */
.card__link-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Steps: one ordered list, joined by a dashed line like blocks waiting to snap together. */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 10%;
  left: 10%;
  border-top: 2px dashed var(--sun-200);
}

.steps__item {
  position: relative;
  counter-increment: step;
  text-align: center;
}

.steps__item::before {
  content: counter(step, decimal-leading-zero);
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--sun-500);
  box-shadow: inset 0 -5px 0 var(--orange-500);
  color: var(--ink-950);
  font-size: 17px;
  font-weight: 700;
}

.steps__item p {
  margin: 0;
  color: var(--ink-800);
}

/* Audience tiles: each tile carries a small block in its corner. */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 26px;
  width: 36px;
  height: 8px;
  border-radius: 0 0 4px 4px;
  background: var(--sun-500);
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.tile .tile__title {
  margin-bottom: 10px;
  color: var(--ink-900);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.pricing__lead {
  margin: 14px 0 20px;
  color: var(--ink-700);
}

.pricing__card {
  position: relative;
  overflow: hidden;
  padding: 44px 36px 36px;
  border-radius: var(--radius-lg);
  background: var(--canvas-grid-light), var(--ink-900);
  box-shadow: var(--shadow);
  color: rgba(255, 255, 255, 0.86);
}

.pricing__card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--sun-500) 0 70%, var(--orange-500) 70%);
}

.pricing__card .prose {
  color: rgba(255, 255, 255, 0.86);
}

.pricing__card .prose p:first-child {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem);
  line-height: 1.25;
}

.pricing__card .prose strong {
  color: #fff;
}

.pricing__checkout {
  margin-top: 28px;
}

.pricing__buy {
  width: 100%;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.pricing__buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pricing__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pricing__links .btn {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
}

.pricing__links .btn:hover {
  border-color: var(--sun-500);
  color: var(--sun-500);
}

/* Questions */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq__item {
  position: relative;
  padding: 28px 28px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq__item::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -1px;
  width: 6px;
  height: 28px;
  border-radius: 0 4px 4px 0;
  background: var(--sun-500);
}

.faq__item h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.faq__item .prose {
  color: var(--muted);
}

/* Practical workflow: a dark canvas with the layout grid. */

.workflow {
  padding: 24px 0;
}

.workflow__panel {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: var(--radius-lg);
  background: var(--canvas-grid-light), var(--ink-900);
  color: #fff;
}

.workflow__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--sun-500) 0 70%, var(--orange-500) 70%);
}

.workflow__panel h2 {
  max-width: 40rem;
  margin-bottom: 18px;
  color: #fff;
}

.workflow__panel h3 {
  margin-bottom: 14px;
  color: #fff;
}

.workflow__panel .prose {
  max-width: 48rem;
  font-size: 1.1rem;
}

.workflow__panel .prose ol > li::before {
  background: var(--sun-500);
  color: var(--ink-950);
}

.wrap.workflow__panel {
  max-width: var(--wrap);
  padding-right: 56px;
  padding-left: 56px;
}

/* Closing band: the dark canvas again, with a sun-yellow edge on top. */

.closing {
  position: relative;
  padding: 88px 0;
  border-top: 8px solid var(--sun-500);
  background:
    var(--canvas-grid-light),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 184, 0, 0.14), transparent 70%),
    var(--ink-900);
  color: #fff;
  text-align: center;
}

.closing h2 {
  margin-bottom: 18px;
  color: #fff;
}

.page-review {
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--ink-500);
  font-size: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--ink-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 8fr);
  gap: 32px 48px;
  align-items: start;
}

.site-footer__brand img {
  width: 180px;
  height: auto;
}

/* The same groups as the menu, one column each. */
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.site-footer__title {
  margin: 0 0 12px;
  color: var(--sun-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__publisher {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__publisher img {
  width: 120px;
  height: auto;
  opacity: 0.85;
}

.site-footer__publisher p {
  margin: 0;
}

/* ---------- Image viewer ---------- */

.lightbox {
  width: min(1400px, 96vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(23, 21, 15, 0.84);
}

.lightbox img {
  width: 100%;
}

.lightbox__close {
  position: sticky;
  top: 12px;
  z-index: 1;
  float: right;
  margin: 12px 12px -56px 0;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--sun-500);
  color: var(--ink-950);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Responsive ---------- */

/* Overview, What's New, Vendix Theme, four groups, the brand and the action need about 1160px. Below that the menu
   becomes a panel under the header, and each group opens in place like an accordion. */
@media (max-width: 1179px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__action {
    margin-left: auto;
  }

  .js .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    padding: 12px var(--gutter) 20px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .js .nav-open .main-nav {
    display: block;
  }

  .js .main-nav__list {
    flex-direction: column;
    max-width: var(--wrap);
    margin: 0 auto;
  }

  .js .main-nav a,
  .js .main-nav__toggle {
    width: 100%;
    padding: 12px 14px;
    font-size: 17px;
  }

  .js .main-nav__toggle {
    justify-content: space-between;
  }

  .js .main-nav__menu {
    position: static;
    width: auto;
    max-width: none;
    margin: 2px 0 8px 14px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid var(--sun-200);
    border-radius: 0;
    box-shadow: none;
  }

  .js .main-nav__menu a {
    font-size: 16px;
  }

  .site-header__row {
    flex-wrap: wrap;
  }

  html:not(.js) .main-nav {
    order: 4;
    flex-basis: 100%;
    padding-bottom: 10px;
  }

  html:not(.js) .main-nav__list {
    flex-wrap: wrap;
  }
}

/* Two card columns (one column from 760px down); hero blocks would touch the text. */
@media (max-width: 1180px) {
  .card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::after {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .feature__grid,
  .feature--reverse .feature__grid,
  .feature--text .feature__grid,
  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature__grid {
    gap: 36px;
  }

  /* One column: the image keeps a reading width instead of the full page. */
  .feature__media {
    width: 100%;
    max-width: 620px;
  }

  .js .toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature--reverse .feature__media {
    order: 0;
  }

  .feature__media,
  .feature--text .feature__head {
    position: static;
  }

  .feature,
  .block,
  .closing {
    padding: 64px 0;
  }

  .wrap.workflow__panel {
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* The Overview's five hero buttons need about 900px of content width for one row. Below that they sit three and
     two, centred, so no button is left alone on a line; on phones they stack (760px block). */
  .hero--home .actions {
    max-width: 40rem;
  }

  .hero--home .actions .btn {
    flex: 0 0 calc((100% - 2 * 12px) / 3);
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
    --toc-h: 52px;
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .site-header__row {
    gap: 12px;
  }

  .site-header__action {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .hero,
  .hero--home {
    padding: 48px 0 56px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-align: left;
  }

  .actions .btn,
  .hero--home .actions .btn {
    flex: 1 1 100%;
  }

  .toc__inner {
    gap: 10px;
  }

  .toc__label,
  .toc__step-text {
    display: none;
  }

  .js .toc__toggle {
    font-size: 15px;
  }

  .toc__step {
    width: 38px;
    padding: 0;
    justify-content: center;
    font-size: 18px;
  }

  .js .toc__list {
    right: 0;
    left: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 8px var(--gutter) 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .card {
    flex-basis: 100%;
  }

  .tiles,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .steps::before {
    top: 28px;
    right: auto;
    bottom: 28px;
    left: 27px;
    border-top: 0;
    border-left: 2px dashed var(--sun-200);
  }

  .steps__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: center;
    text-align: left;
  }

  .steps__item::before {
    grid-row: span 2;
    align-self: start;
    margin: 0;
  }

  .feature {
    padding: 56px 0;
  }

  .feature__number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .feature__label {
    font-size: 13.5px;
  }

  .wrap.workflow__panel {
    padding: 40px 22px 40px 28px;
    border-radius: 0;
  }

  .workflow {
    padding: 0;
  }

  .pricing__card {
    padding: 36px 22px 28px;
  }

  .pricing__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__publisher {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card,
  .figure__link img,
  .main-nav__toggle::after,
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .js .toc__toggle::after {
    transition: none;
  }

  .card:hover,
  .figure__link:hover img {
    transform: none;
  }
}
