﻿/* ==========================================================================
   EasyPrinter — print-craft landing page
   Palette: paper / ink / carbonless white-pink-yellow / stamp red
   ========================================================================== */

:root {
  --paper: #f7f4ee;
  --ink: #201b15;
  --ink-soft: #6b6257;
  --sheet-white: #fffdf9;
  --pink: #f3c3d0;
  --pink-deep: #d98ba1;
  --yellow: #f2dd9b;
  --yellow-deep: #c9a94e;
  --stamp: #bf3b26;
  --line: #d9d2c5;

  --font-display: "Suez One", serif;
  --font-body: "Assistant", sans-serif;
  --font-label: "Miriam Libre", monospace;

  --radius: 6px;
  --container: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 72px; color-scheme: light; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

body {
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image:
    repeating-linear-gradient(0deg, rgba(32, 27, 21, 0.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(32, 27, 21, 0.012) 0 1px, transparent 1px 4px);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

/* ---------- copy chips (the product's מקור/העתק/ספח chips as section eyebrows) ---------- */
.chip {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 14px 4px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 rgba(32, 27, 21, 0.18);
}
.chip-white { background: var(--sheet-white); }
.chip-pink { background: var(--pink); }
.chip-yellow { background: var(--yellow); }

/* ---------- perforation divider ---------- */
.perf {
  height: 2px;
  background-image: radial-gradient(circle, var(--ink-soft) 1.1px, transparent 1.2px);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  opacity: 0.45;
  max-width: var(--container);
  margin-inline: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--sheet-white);
  box-shadow: 3px 3px 0 var(--pink-deep);
}
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--pink-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.15);
}
.btn-ghost:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(32, 27, 21, 0.2); }
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 3px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--sheet-white);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus-visible { top: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

/* rubber-stamp logo mark */
.logo-stamp {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--stamp);
  border: 2.5px solid var(--stamp);
  border-radius: 4px;
  padding: 2px 12px 3px;
  text-decoration: none;
  transform: rotate(-2deg);
  -webkit-mask-image: radial-gradient(circle at 30% 60%, black 96%, transparent 100%);
          mask-image: radial-gradient(circle at 30% 60%, black 96%, transparent 100%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  overflow-x: auto;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  padding-block: 4px;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav a.is-current:not(.nav-cta) {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--stamp);
}
.site-nav .nav-cta {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 5px 16px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 rgba(32, 27, 21, 0.18);
}
.site-nav .nav-cta:hover { text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 110px) clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  line-height: 1.12;
  margin-block: 20px 0;
}

/* the printed word: "במסך אחד" on a sheet sliding out of a press slot */
.print-word {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  top: -18px; /* tuck the slot up against the first line */
}
.pw-slot {
  display: block;
  align-self: stretch;
  margin-inline: -16px;
  height: 15px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  /* CMYK control strip: the press's own colors */
  background: linear-gradient(to left,
    #00a0df 0 25%,
    #e6007a 25% 50%,
    #ffd400 50% 75%,
    #201b15 75% 100%);
  position: relative;
  z-index: 1;
}
.pw-clip {
  overflow: hidden;
  padding: 0 6px 14px;
  margin-top: -4px;
}
.pw-sheet {
  display: block;
  background: var(--sheet-white);
  border: 1px solid rgba(32, 27, 21, 0.2);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 4px 22px 8px;
  box-shadow: 0 10px 22px rgba(32, 27, 21, 0.18);
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero paper fan ---------- */
.hero-visual { display: flex; justify-content: center; }

/* press-sheet trim marks framing the fan */
.press-area {
  --mark: rgba(32, 27, 21, 0.42);
  position: relative;
  padding: 40px 46px;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark)),
    linear-gradient(var(--mark), var(--mark)), linear-gradient(var(--mark), var(--mark));
  background-size:
    18px 1.5px, 1.5px 18px,
    18px 1.5px, 1.5px 18px,
    18px 1.5px, 1.5px 18px,
    18px 1.5px, 1.5px 18px;
  background-position:
    left 0 top 26px,     left 26px top 0,
    right 0 top 26px,    right 26px top 0,
    left 0 bottom 26px,  left 26px bottom 0,
    right 0 bottom 26px, right 26px bottom 0;
}
.paper-fan {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 148 / 200;
}
.sheet {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  border: 1px solid rgba(32, 27, 21, 0.14);
  box-shadow: 0 14px 30px rgba(32, 27, 21, 0.16);
  transform-origin: bottom center;
}
.sheet-yellow { background: var(--yellow); transform: rotate(9deg) translateX(-6px); }
.sheet-pink { background: var(--pink); transform: rotate(4.5deg) translateX(-3px); }
.sheet-white { background: var(--sheet-white); }

/* hero load sequence: the fan opens and the word's copies peel out with it */
@media (prefers-reduced-motion: no-preference) {
  html.js .sheet-pink { transition: transform 800ms cubic-bezier(0.2, 0.8, 0.3, 1) 250ms; }
  html.js .sheet-yellow { transition: transform 900ms cubic-bezier(0.2, 0.8, 0.3, 1) 330ms; }
  html.js:not(.loaded) .sheet-pink,
  html.js:not(.loaded) .sheet-yellow { transform: rotate(0deg) translateX(0); }

  html.js .pw-sheet {
    transition: transform 950ms cubic-bezier(0.3, 0.6, 0.3, 1) 600ms;
  }
  html.js:not(.loaded) .pw-sheet { transform: translateY(-103%); }
}

/* mock invoice on the top sheet — a faithful miniature of the product's
   tax_receipt.html (חשבונית מס/קבלה) output, ~0.54 scale of A5.
   Fixed px sizes: the sheet itself is a fixed-size prop. */
.mock-doc {
  position: absolute;
  inset: 2% 2.7% 2.5%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.45;
}
/* wide letterhead: name row (logo at the far end), details spread across */
.mock-hdr {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 3px 6px 4px;
  border-bottom: 1px solid var(--ink);
}
.mock-hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.mock-logo { width: 30px; height: 30px; flex-shrink: 0; }
.mock-bizrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  font-size: 7px;
}
.mock-bizrow span { white-space: nowrap; }
.mock-bizrow span:nth-child(even) { justify-self: end; }
.mock-bizname { font-weight: 700; font-size: 16px; line-height: 1.25; }
.mock-bizline { font-size: 7px; }
.mock-biznum { font-size: 7px; margin-top: 2px; }
.mock-titlerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 3px 6px;
}
.mock-doctitle { font-weight: 700; font-size: 10px; }
.mock-copytag { font-weight: 700; font-size: 8px; }
.mock-recip {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 3px 6px 4px;
  border-bottom: 1px solid var(--ink);
}
.mock-rlbl { font-weight: 700; font-size: 7.5px; white-space: nowrap; }
.mock-rfill { flex: 3; border-bottom: 1px solid var(--ink); height: 11px; }
.mock-rfill.sm { flex: 1; }
/* items table exactly like the generator: full width, collapsed borders,
   totals as footer rows — the סכום column keeps its bordered cells while
   the wide cell hides its rules and the label hugs the column */
.mock-tbl {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.mock-tbl th, .mock-tbl td {
  border: 1px solid var(--ink);
  padding: 0 3px;
}
.mock-tbl th {
  font-size: 6.5px;
  font-weight: 700;
  text-align: center;
  background: #f0efea;
  height: 15px;
}
.mock-tbl .c-qty { width: 8.6%; }
.mock-tbl .c-unit { width: 15.7%; }
.mock-tbl .c-amt { width: 25%; }
.mock-tr td { height: 15px; }
.mock-tf td { height: 13px; }
.mock-tbl .tf-lbl {
  border-bottom-style: hidden;
  border-inline-start-style: hidden; /* the table's right edge ends with the body */
  text-align: left;
  font-size: 6.5px;
  font-weight: 600;
  vertical-align: bottom;
  padding-bottom: 2px;
}
.mock-tf + .mock-tf .tf-lbl { border-top-style: hidden; }
.mock-tbl .tf-lbl em {
  display: inline-block;
  width: 20px;
  height: 7px;
  border-bottom: 1px solid var(--ink);
  margin-inline: 2px;
}
.mock-pay {
  padding: 3px 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-payrow {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  font-size: 7px;
  font-weight: 700;
}
.mock-payrow span { white-space: nowrap; }
.mock-payrow .sub { font-weight: 400; font-size: 6.5px; }
.mock-payrow i { flex: 1; border-bottom: 1px solid var(--ink); height: 9px; }
.mock-payrow i.w32 { flex: 0 0 32px; }
.mock-payrow i.w28 { flex: 0 0 28px; }

/* ---------- shared section bits ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-block: 14px 36px;
}

/* ---------- how it works ---------- */
.how { padding-block: clamp(48px, 7vw, 90px); }
.flow + .flow { margin-top: clamp(40px, 6vw, 64px); }
.flow-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flow-title .chip { font-size: 0.875rem; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
/* dotted feed-path between steps: the sheet travels station to station */
@media (min-width: 821px) {
  .step + .step::before {
    content: "";
    position: absolute;
    top: 100px;
    inset-inline-end: calc(100% + 3px);
    width: clamp(14px, 2.4vw, 30px);
    border-top: 2px dotted rgba(107, 98, 87, 0.55);
  }
}
.step-num {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.5rem;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(32, 27, 21, 0.2);
}
.step h4 { font-size: 1.25rem; margin-block: 16px 6px; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* mini mockup cards */
.step-mock { min-height: 190px; display: flex; }
.mini-card {
  flex: 1;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 27, 21, 0.12);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-titlebar {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 6px;
}
.mini-bar { height: 9px; border-radius: 5px; background: var(--line); display: inline-block; }
.mini-bar.w40 { width: 40%; }
.mini-bar.w50 { width: 50%; }
.mini-bar.w70 { width: 70%; }
.mini-bar.w80 { width: 80%; }
.mini-filerow { display: flex; align-items: center; gap: 8px; }
.mini-fileicon {
  width: 22px; height: 28px;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: 2px 6px 2px 2px;
  flex-shrink: 0;
}
.mini-fields { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chip {
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 1px 9px 2px;
  background: var(--paper);
}
.mini-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 4px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
}
.mini-btn.dark { background: var(--ink); color: var(--sheet-white); }
.mini-btn.ghost { background: transparent; }
.mini-statusflow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mini-chip.lit { background: var(--yellow); border-color: var(--ink); font-weight: 700; }
.mini-jobhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline-end: 26px; }
.mini-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 10px 2px;
  border-radius: 999px;
  background: var(--pink);
  border: 1px solid var(--ink);
}
.mini-actions { margin-top: auto; display: flex; gap: 8px; }
.mini-actions .mini-btn { margin-top: 0; }

/* tiled business cards on a sheet (flow A, step 2) */
.bc-sheet {
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--sheet-white);
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.bc-card {
  height: 25px;
  border: 1px dashed var(--ink-soft); /* the cut lines */
  border-radius: 2px;
  background:
    radial-gradient(circle at 82% 46%, var(--pink) 3.5px, transparent 4.2px) no-repeat,
    linear-gradient(var(--line), var(--line)) 28% 36% / 42% 3.5px no-repeat,
    linear-gradient(var(--line), var(--line)) 24% 66% / 30% 3.5px no-repeat,
    var(--sheet-white);
}

/* tray diagram */
.tray {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tray-white { background: var(--sheet-white); }
.tray-pink { background: var(--pink); }
.tray-yellow { background: var(--yellow); }
.tray-out {
  margin-top: auto;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--stamp);
}

/* book flow: imposition rows (step 2) */
.book-row { display: flex; align-items: center; gap: 7px; }
.bs-tag {
  width: 52px;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.book-sheet {
  flex: 1;
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  background: var(--sheet-white);
}
.book-sheet.back { background: var(--paper); }
.book-sheet span {
  flex: 1;
  text-align: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 4px 0 5px;
  white-space: nowrap;
}
.book-sheet span:first-child { border-inline-end: 1.5px dashed var(--ink-soft); }

/* book flow, step 3: the two outputs side by side, joined by "או" */
.book-done {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bd-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.bd-or {
  flex-shrink: 0;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.72rem;
  width: 27px; height: 27px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--ink-soft);
  border-radius: 50%;
  color: var(--ink-soft);
}
.bd-cap { font-size: 0.7rem; font-weight: 600; white-space: nowrap; }
/* folded, stapled spread */
.bd-spread {
  position: relative;
  width: 100%;
  max-width: 116px;
  height: 82px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.12);
  /* faint text lines + the center fold */
  background-image:
    repeating-linear-gradient(0deg, transparent 0 10px, var(--line) 10px 12px);
  background-size: 64% 56%;
  background-position: 50% 55%;
  background-repeat: no-repeat;
  background-color: var(--sheet-white);
}
.bd-spread::before {
  content: "";
  position: absolute;
  top: 3px; bottom: 3px;
  left: 50%;
  border-inline-start: 1.5px dashed var(--ink-soft);
}
.bd-staple {
  position: absolute;
  left: calc(50% - 2px);
  width: 4px;
  height: 11px;
  background: var(--ink);
  border-radius: 2px;
}
.bd-staple:first-child { top: 14px; }
.bd-staple:last-child { bottom: 14px; }
/* loose duplex stack, spiral holes on the binding (right) edge */
.bd-loose {
  position: relative;
  width: 64px;
  height: 82px;
}
.bd-loose i {
  position: absolute;
  inset: 0;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
}
.bd-loose i:nth-child(1) { transform: translate(-8px, 8px); background: var(--paper); }
.bd-loose i:nth-child(2) { transform: translate(-4px, 4px); }
.bd-loose i:nth-child(3) {
  /* text lines + a column of spiral holes along the right edge */
  background-image:
    radial-gradient(circle, var(--ink-soft) 1.3px, transparent 1.6px),
    repeating-linear-gradient(0deg, transparent 0 9px, var(--line) 9px 11px);
  background-size: 5px 8px, 62% 60%;
  background-position: top 4px right 3px, 55% 55%;
  background-repeat: repeat-y, no-repeat;
}

/* finished pad (flow B, step 3) */
.pad-stack { position: relative; flex: 1; min-height: 170px; }
.pad-layer {
  position: absolute;
  inset: 12px 10px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}
.pad-yellow { background: var(--yellow); transform: translate(-10px, 12px); }
.pad-pink { background: var(--pink); transform: translate(-5px, 6px); }
.pad-top {
  background: var(--sheet-white);
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.pad-num {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--stamp);
}
.pad-chips {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pad-chips .chip { font-size: 0.62rem; padding: 1px 8px 2px; box-shadow: 1px 1px 0 rgba(32, 27, 21, 0.18); }

/* ---------- upload portal showcase ---------- */
.uploadx {
  padding-block: clamp(48px, 7vw, 90px);
  background: linear-gradient(rgba(242, 221, 155, 0.12), rgba(242, 221, 155, 0.12));
}
.uploadx-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.uploadx-copy > p { color: var(--ink-soft); max-width: 34em; }

.upload-mock {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 148px;
}
.uf-card {
  width: min(340px, 100%);
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 rgba(32, 27, 21, 0.12);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uf-title {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 8px;
}
.uf-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px dashed var(--ink-soft);
  border-radius: var(--radius);
  padding: 14px 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--paper);
}
.uf-fileicon {
  width: 24px; height: 30px;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: 2px 7px 2px 2px;
  flex-shrink: 0;
}
.uf-field { position: relative; }
.uf-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.uf-input {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.85rem;
  background: var(--sheet-white);
}
.uf-caret {
  display: inline-block;
  width: 1.5px; height: 0.95em;
  background: var(--ink);
  vertical-align: text-bottom;
  margin-inline-start: 1px;
}
.uf-suggest {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  margin-top: 3px;
  z-index: 2;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.15);
}
.uf-field { margin-bottom: 34px; }
.uf-specs { display: flex; flex-wrap: wrap; gap: 7px; }
.uf-spec {
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 2px 11px 3px;
  background: var(--paper);
  color: var(--ink-soft);
}
.uf-spec.on {
  background: var(--pink);
  border-color: var(--ink);
  color: var(--ink);
}
.uf-submit {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--sheet-white);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--pink-deep);
}

/* custom-size tiling: the tiled sheet emerges from a printer */
.uf-machine {
  position: absolute;
  bottom: 0;
  inset-inline-end: clamp(0px, 3vw, 20px);
  width: 186px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.uf-print-sheet {
  position: relative;
  z-index: 0;
  width: 124px;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  padding: 8px 8px 14px;
  margin-bottom: -14px;
}
.uf-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.uf-tile-grid span {
  height: 26px;
  border: 1px solid var(--ink-soft);
  border-radius: 3px;
  background:
    linear-gradient(var(--line), var(--line)) 50% 30% / 70% 4px no-repeat,
    linear-gradient(var(--line), var(--line)) 50% 55% / 50% 4px no-repeat,
    var(--paper);
}
.uf-printer-body {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 46px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px 8px 6px 6px;
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.12);
}
.uf-slot {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 136px;
  height: 5px;
  background: var(--ink);
  border-radius: 3px;
}
/* motion dashes flanking the sheet as it exits the slot */
.uf-printer-body::before,
.uf-printer-body::after {
  content: "";
  position: absolute;
  top: -22px;
  width: 2px;
  height: 14px;
  background: var(--ink-soft);
  border-radius: 2px;
}
.uf-printer-body::before { inset-inline-start: 13px; }
.uf-printer-body::after { inset-inline-end: 13px; }
.uf-light {
  position: absolute;
  bottom: 9px;
  inset-inline-start: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-deep);
  border: 1px solid var(--ink);
}
.uf-tile-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  color: var(--stamp);
}
/* the sheet slides out of the slot when the section reveals */
html.js .upload-mock .uf-print-sheet {
  transform: translateY(72px);
  transition: transform 1600ms cubic-bezier(0.3, 0.6, 0.3, 1) 350ms;
}
html.js .upload-mock.is-visible .uf-print-sheet { transform: none; }
/* busy light while the section is in view */
@media (prefers-reduced-motion: no-preference) {
  html.js .upload-mock.is-visible .uf-light { animation: uf-blink 1.4s steps(1) 4; }
}
@keyframes uf-blink {
  0%, 100% { background: var(--yellow-deep); }
  50% { background: var(--paper); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .upload-mock .uf-print-sheet { transform: none; transition: none; }
}

/* ---------- feature grid ---------- */
.features { padding-block: clamp(48px, 7vw, 90px); }
.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--sheet-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.07);
  position: relative;
}
/* NCR sheet-edge: each card carries the triplet on its top edge */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(to left, var(--sheet-white) 33%, var(--pink) 33% 66%, var(--yellow) 66%);
  border-bottom: 1px solid var(--line);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: 6px;
  transform: rotate(-3deg);
  margin-bottom: 12px;
}
.feature-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(3deg); /* keep the glyph level inside the tilted stamp frame */
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-card p { color: var(--ink-soft); font-size: 0.9375rem; }
/* the newest capability gets the full row */
.feature-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
}
.feature-wide .feature-icon { margin-bottom: 0; flex-shrink: 0; }

/* ---------- booklet showcase ---------- */
.booklets {
  padding-block: clamp(48px, 7vw, 90px);
  background: linear-gradient(rgba(243, 195, 208, 0.12), rgba(243, 195, 208, 0.12));
}
.booklets-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.booklets-copy > p { color: var(--ink-soft); max-width: 34em; }
.booklets-reorder {
  margin-top: 22px;
  padding: 12px 16px;
  background: var(--sheet-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.07);
}
.booklets-reorder strong { color: var(--ink); }
.booklet-options {
  list-style: none;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.booklet-options li {
  position: relative;
  padding-inline-start: 26px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.booklet-options li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  font-size: 0.65rem;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

/* booklet page mockup — a faithful miniature of the product's invoice.html
   (חשבונית מס) output, ~0.59 scale of A5 */
.booklet-mock { display: flex; justify-content: center; }
.bm-page {
  width: min(330px, 100%);
  background: var(--sheet-white);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--yellow);
  padding: 10px 10px 14px;
  position: relative;
}
.bm-doc {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
/* wide letterhead: name row (logo at the far end), details spread across */
.bm-hdr {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 7px 5px;
  border-bottom: 1px solid var(--ink);
}
.bm-hdr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.bm-bizname { font-weight: 700; font-size: 19px; line-height: 1.25; }
.bm-bizrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  font-size: 7.5px;
}
.bm-bizrow span { white-space: nowrap; }
.bm-bizrow span:nth-child(even) { justify-self: end; }
.bm-logo {
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.bm-titlerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 7px;
}
.bm-doctitle { font-weight: 700; font-size: 11px; }
.bm-copytag { font-weight: 700; font-size: 8.5px; }
.bm-recip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 7px 5px;
  border-bottom: 1px solid var(--ink);
}
.bm-rrow { display: flex; align-items: flex-end; gap: 5px; }
.bm-rlbl { font-weight: 700; font-size: 8px; white-space: nowrap; }
.bm-rfill { flex: 1; border-bottom: 1px solid var(--ink); height: 12px; }
.bm-rfill.w62 { flex: 0 0 62px; }
.bm-rfill.w40 { flex: 0 0 40px; }
.bm-tbl {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.bm-tbl th, .bm-tbl td {
  border: 1px solid var(--ink);
  padding: 0 3px;
}
.bm-tbl th {
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  background: #f0efea;
  height: 17px;
}
.bm-tbl .c-qty { width: 8.6%; }
.bm-tbl .c-unit { width: 15.7%; }
.bm-tbl .c-amt { width: 19.3%; }
.bm-tr td { height: 17px; }
.bm-tf td { height: 17px; }
.bm-tbl .tf-lbl {
  border-bottom-style: hidden;
  border-inline-start-style: hidden; /* the table's right edge ends with the body */
  text-align: left;
  font-size: 7px;
  font-weight: 700;
  vertical-align: bottom;
  padding-bottom: 2px;
}
.bm-tf + .bm-tf .tf-lbl { border-top-style: hidden; }
.bm-tbl .tf-lbl em {
  display: inline-block;
  width: 28px;
  height: 8px;
  border-bottom: 1px solid var(--ink);
  margin-inline: 2px;
}
.bm-sigrow {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 5px 7px 6px;
  font-size: 8px;
  font-weight: 700;
}
.bm-sigrow span { white-space: nowrap; }
.bm-sigrow i { flex: 0 1 50%; border-bottom: 1px solid var(--ink); height: 10px; }
.bm-chips {
  position: absolute;
  bottom: -16px;
  inset-inline-start: 18px;
  display: flex;
  gap: 8px;
}

/* ---------- design studio ---------- */
.design { padding-block: clamp(48px, 7vw, 90px); }
.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.path { position: relative; }
/* "או" separator between alternative paths (they are options, not steps) */
.path:not(:last-child)::after {
  content: "או";
  position: absolute;
  top: 76px;
  inset-inline-end: calc(-1 * clamp(10px, 1.5vw, 18px) - 14px);
  z-index: 2;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--ink-soft);
  border-radius: 50%;
  color: var(--ink-soft);
}
.path h3 { font-size: 1.25rem; margin-block: 16px 6px; }
.path p { color: var(--ink-soft); font-size: 1rem; }
.path-mock { min-height: 180px; display: flex; }

/* path 1: template gallery tiles */
.dg-tiles {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}
.dg-tile {
  position: relative;
  background: var(--sheet-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(32, 27, 21, 0.08);
  padding: 12px 8px 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dg-tile.active { border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--yellow-deep); }
.dg-tile-lines { display: flex; flex-direction: column; gap: 5px; }
.dg-tile-lines span { height: 6px; border-radius: 3px; background: var(--line); }
.dg-tile-lines span:nth-child(2) { width: 75%; }
.dg-tile-lines span:nth-child(3) { width: 55%; }
.dg-tile-name {
  position: absolute;
  bottom: 8px;
  inset-inline: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dg-tile-badge {
  position: absolute;
  top: -8px;
  inset-inline-start: -6px;
  font-family: var(--font-label);
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 1px 7px 2px;
}

/* path 2: number placement on imported artwork */
.dg-place {
  position: relative;
  flex: 1;
  max-width: 210px;
  margin-inline: auto;
}
.dg-art {
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(32, 27, 21, 0.12);
  height: 100%;
  min-height: 170px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  opacity: 0.85;
}
.dg-art-line { height: 7px; border-radius: 4px; background: var(--line); }
.dg-art-line.w70 { width: 70%; }
.dg-art-line.w50 { width: 50%; }
.dg-art-line.w40 { width: 40%; margin-top: auto; }
.dg-art-box { flex: 1; border: 1px solid var(--line); border-radius: 3px; }
.dg-numchip, .dg-copychip {
  position: absolute;
  font-family: var(--font-label);
  font-weight: 700;
  background: var(--paper);
  border: 1.5px dashed var(--stamp);
  border-radius: 4px;
  color: var(--stamp);
  padding: 2px 9px 3px;
  box-shadow: 2px 2px 0 rgba(32, 27, 21, 0.15);
}
.dg-numchip { top: 14px; inset-inline-end: -18px; font-size: 0.78rem; transform: rotate(-2deg); }
.dg-copychip { bottom: 26px; inset-inline-start: -14px; font-size: 0.72rem; transform: rotate(2deg); }

/* path 3: canvas editor */
.dg-canvas {
  flex: 1;
  display: flex;
  gap: 8px;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(32, 27, 21, 0.12);
  padding: 10px;
}
.dg-palette {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline-end: 8px;
  border-inline-end: 1px solid var(--line);
}
.dg-palette span {
  font-size: 0.62rem;
  font-weight: 700;
  border: 1px solid var(--ink-soft);
  border-radius: 4px;
  padding: 3px 8px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: grab;
}
.dg-page {
  flex: 1;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(32,27,21,0.04) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(32,27,21,0.04) 11px 12px);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dg-block { border-radius: 3px; }
.dg-letterhead { height: 20px; background: var(--pink); border: 1px solid var(--ink); }
.dg-table {
  flex: 1;
  border: 1.5px dashed var(--stamp);
  background: var(--sheet-white);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding-inline: 6px;
}
.dg-table i { display: block; height: 1px; background: var(--line); }
.dg-table.selected::before, .dg-table.selected::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  background: var(--sheet-white);
  border: 1.5px solid var(--stamp);
  border-radius: 50%;
}
.dg-table.selected::before { top: -4px; inset-inline-start: -4px; }
.dg-table.selected::after { bottom: -4px; inset-inline-end: -4px; }
.dg-sig { height: 12px; width: 55%; background: var(--yellow); border: 1px solid var(--ink); margin-inline-start: auto; }

/* ---------- trust strip ---------- */
.trust {
  padding-block: clamp(36px, 5vw, 56px);
  text-align: center;
}
.trust-line {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}
.trust-vendors {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.trust-vendors span { direction: ltr; unicode-bidi: embed; }

/* ---------- contact: a work ticket, like the product prints ---------- */
.contact { padding-block: clamp(56px, 8vw, 100px); }
.ticket {
  max-width: 620px;
  margin-inline: auto;
  background: var(--sheet-white);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 7px 7px 0 var(--pink), 14px 14px 0 var(--yellow);
  text-align: center;
}
.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
}
.ticket-num { color: var(--stamp); }
.ticket-body { padding: clamp(26px, 5vw, 40px) clamp(20px, 5vw, 44px) clamp(26px, 5vw, 36px); }
.ticket-body .section-title { margin-bottom: 12px; }
.contact-sub { color: var(--ink-soft); font-size: 1.125rem; margin-bottom: 28px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; }
.ticket-stub {
  position: relative;
  border-top: 2px dashed var(--line);
  padding: 13px 20px 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
/* punch holes where the stub tears off */
.ticket-stub::before, .ticket-stub::after {
  content: "";
  position: absolute;
  top: -9.5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.ticket-stub::before { inset-inline-start: -9.5px; }
.ticket-stub::after { inset-inline-end: -9.5px; }
.stub-item { direction: ltr; unicode-bidi: embed; text-decoration: none; }
.stub-item:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- accessibility statement page ---------- */
.page-prose { padding-block: clamp(40px, 6vw, 72px); }
.page-prose .container { max-width: 760px; }
.page-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-block: 32px 10px;
}
.page-prose p { margin-bottom: 12px; }
.page-prose ul { margin: 0 0 12px; padding-inline-start: 22px; }
.page-prose li { margin-bottom: 7px; }
.page-prose a { text-underline-offset: 3px; }
.a11y-updated { margin-top: 30px; color: var(--ink-soft); font-size: 0.9375rem; }
.footer-a11y { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 90px);
  padding-block: 28px;
  background: rgba(32, 27, 21, 0.03);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo { font-family: var(--font-label); font-weight: 700; color: var(--stamp); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { text-decoration: none; font-size: 0.9375rem; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { color: var(--ink-soft); font-size: 0.875rem; }
/* the page ends on the carbonless edge: white, pink, yellow */
.site-footer::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 26px;
  margin-bottom: -28px; /* cancel the footer's bottom padding so the edge sits flush */
  border-top: 1px solid var(--line);
  background: linear-gradient(to left,
    var(--sheet-white) 33.4%,
    var(--pink) 33.4% 66.7%,
    var(--yellow) 66.7%);
}

/* ---------- scroll reveal (visible by default; JS opts in) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
/* gentle stagger inside grids that reveal as a row */
html.js .steps .reveal:nth-child(2),
html.js .paths .reveal:nth-child(2),
html.js .feature-grid .reveal:nth-child(4n + 2) { transition-delay: 110ms; }
html.js .steps .reveal:nth-child(3),
html.js .paths .reveal:nth-child(3),
html.js .feature-grid .reveal:nth-child(4n + 3) { transition-delay: 220ms; }
html.js .feature-grid .reveal:nth-child(4n + 4) { transition-delay: 330ms; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .paper-fan { width: min(250px, 68vw); }
  /* the denser invoice: fewer table rows on small screens */
  .mock-tr:nth-child(n + 7) { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 480px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booklets-inner { grid-template-columns: 1fr; }
  .booklet-mock { margin-top: 24px; padding-inline-end: 12px; }
  .uploadx-inner { grid-template-columns: 1fr; }
  .upload-mock { order: 2; margin-top: 8px; }
  .paths { grid-template-columns: 1fr; max-width: 480px; gap: 40px; }
  .path:not(:last-child)::after {
    top: auto;
    bottom: -36px;
    inset-inline-end: calc(50% - 16px);
  }
  .dg-place { margin-block: 0 8px; }
  .dg-numchip { inset-inline-end: -8px; }
  .dg-copychip { inset-inline-start: -6px; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .booklet-options { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-nav { width: 100%; }
}
