/* ==========================================================
   Zebra Printer Etiketok — black & white zebra theme
   ========================================================== */
:root {
  --black: #0a0a0a;
  --ink: #161616;
  --gray-1: #2b2b2b;
  --gray-2: #5c5c5c;
  --gray-3: #8d8d8d;
  --line: #dcdcdc;
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --logo-fill: #ffffff;
  --radius: 4px;
  --wrap: 1200px;
  --narrow: 780px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --stripes: url("../img/stripes.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: calc(var(--narrow) + 48px); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--black); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- zebra stripe bands ---------- */
.stripe-band {
  height: 14px;
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}
.stripe-band::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  -webkit-mask: var(--stripes) 0 3px / 120px 72px repeat;
          mask: var(--stripes) 0 3px / 120px 72px repeat;
}
.stripe-band { height: 18px; }
.stripe-band--footer { height: 26px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--black);
}
.site-header__in {
  display: flex; align-items: center; gap: 28px;
  min-height: 74px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--black); flex-shrink: 0;
}
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong {
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .12em;
}
.logo__text span {
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray-2); margin-top: 5px;
}

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--black); color: #fff; }

.langs ul { list-style: none; display: flex; margin: 0; padding: 3px; border: 2px solid var(--black); border-radius: 999px; }
.langs a {
  display: block; min-width: 42px; text-align: center;
  padding: 5px 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-decoration: none; border-radius: 999px; transition: background .2s, color .2s;
}
.langs a:hover { background: var(--paper-2); }
.langs a.is-active { background: var(--black); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: #fff;
  padding: 72px 0 84px;
  isolation: isolate;
}
.hero__stripes {
  position: absolute; z-index: -1;
  top: -30%; bottom: -30%; right: -12%; width: 62%;
  background: #fff;
  opacity: .13;
  transform: rotate(-14deg);
  -webkit-mask: var(--stripes) 0 0 / 420px 252px repeat;
          mask: var(--stripes) 0 0 / 420px 252px repeat;
  -webkit-mask-image: var(--stripes), linear-gradient(90deg, transparent, #000 45%);
          mask-image: var(--stripes), linear-gradient(90deg, transparent, #000 45%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  -webkit-mask-size: 420px 252px, 100% 100%;
          mask-size: 420px 252px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
          mask-repeat: repeat, no-repeat;
}
.hero__in { max-width: 980px; }
.kicker {
  display: inline-block; margin: 0 0 22px;
  padding: 6px 14px; border: 1.5px solid #fff; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -.01em;
  margin: 0 0 26px; text-wrap: balance;
}
.is-article .hero h1 { font-size: clamp(26px, 3.6vw, 44px); }
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 0; font-size: 15px; font-weight: 600; color: #cfcfcf;
}
.meta time { color: #fff; font-weight: 800; }
.meta__dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 26px; padding: 0; font-size: 14px; color: #bdbdbd; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #6f6f6f; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li[aria-current] { display: none; }
@media (min-width: 900px) {
  .crumbs li[aria-current] { display: inline-flex; max-width: 46ch; overflow: hidden; }
  .crumbs li[aria-current] { white-space: nowrap; text-overflow: ellipsis; display: inline-block; }
}

/* ---------- framed images ---------- */
.frame {
  position: relative;
  margin: 44px 0;
  padding: 10px;
  background: var(--paper);
  border: 2px solid var(--black);
}
.frame::before {
  /* zebra-striped offset shadow */
  content: ""; position: absolute; z-index: -1;
  inset: 12px -12px -12px 12px;
  background: repeating-linear-gradient(135deg, var(--black) 0 7px, var(--paper) 7px 14px);
  border: 2px solid var(--black);
}
.article .frame { isolation: auto; }
.article { position: relative; z-index: 0; }
.frame__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.frame__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.frame figcaption {
  padding: 12px 4px 2px;
  font-size: 14px; line-height: 1.5; color: var(--gray-2); font-weight: 600;
  text-align: center;
}
.is-article .article > .frame:first-child { margin-top: -48px; }
.is-home .prose > .frame:first-of-type { margin-top: 0; }

/* ---------- article typography ---------- */
.article { padding: 56px 24px 40px; }
.is-article .article { padding-top: 0; }
.is-article .article .prose { padding-top: 8px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(23px, 2.6vw, 31px); line-height: 1.25;
  margin: 2.2em 0 .8em; padding-top: 22px; position: relative;
}
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--black) 0 10px, transparent 10px 16px);
}
.prose h3 { font-size: 21px; line-height: 1.35; margin: 1.8em 0 .55em; font-weight: 800; }
.prose strong { font-weight: 800; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .lead { font-size: 21px; line-height: 1.6; font-weight: 500; color: var(--gray-1); }

.prose ul, .prose ol { margin: 0 0 1.5em; padding: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 38px; margin: 0 0 .8em; }
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 16px; height: 10px;
  background: repeating-linear-gradient(90deg, var(--black) 0 4px, transparent 4px 6px);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .15em;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--black); color: #fff;
  font-size: 13px; font-weight: 800; line-height: 26px; text-align: center;
}
.prose ul.checks li::before { content: "✓"; width: auto; height: auto; background: none; top: 0; left: 4px; font-weight: 800; }

.prose .callout {
  margin: 2em 0; padding: 22px 26px;
  border: 2px solid var(--black); border-left-width: 10px;
  background: var(--paper-2);
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout-text {
  margin: 1.8em 0; padding: 4px 0 4px 26px;
  border-left: 10px solid var(--black);
  font-size: 20px; line-height: 1.55;
}

.prose blockquote {
  position: relative; margin: 2.4em 0; padding: 34px 34px 30px 34px;
  background: var(--black); color: #fff;
  font-size: 20px; line-height: 1.6; font-weight: 500; font-style: italic;
  overflow: hidden; isolation: isolate;
}
.prose blockquote::before {
  content: ""; position: absolute; z-index: -1; right: -40px; top: -40px; bottom: -40px; width: 45%;
  background: #fff; opacity: .1; transform: rotate(-10deg);
  -webkit-mask: var(--stripes) 0 0 / 300px 180px repeat;
          mask: var(--stripes) 0 0 / 300px 180px repeat;
}
.prose blockquote p { margin: 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 1.6em 0 2em; border: 2px solid var(--black); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--black); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.prose tbody tr:nth-child(even) { background: var(--paper-2); }
.prose tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin: 1em 0 0; }
.faq details { border: 2px solid var(--black); margin: 0 0 14px; background: var(--paper); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 60px 18px 22px; font-weight: 800; font-size: 18px; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff;
  font-size: 20px; line-height: 29px; text-align: center; font-weight: 600;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 2px dashed var(--black); }
.faq .faq__a { padding: 16px 22px 6px; }
.faq h3 { margin: 0; font-size: inherit; font-weight: inherit; display: inline; }

/* ---------- cards ---------- */
.cards-section {
  position: relative; padding: 80px 0 96px; margin-top: 40px;
  background: var(--paper-2);
  border-top: 3px solid var(--black);
}
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 40px; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; margin: 0; }
.section-head p { margin: 0; max-width: 46ch; color: var(--gray-2); font-weight: 600; font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.is-article .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 2px solid var(--black); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--black); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card .frame--card { margin: 0; border: 0; border-bottom: 2px solid var(--black); padding: 0; }
.card .frame--card::before { display: none; }
.card .frame__media img { transition: transform .6s; }
.card:hover .frame__media img { transform: scale(1.04); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--gray-2); }
.card__num { font-family: var(--display); font-weight: 800; color: #fff; background: var(--black); padding: 2px 9px; font-size: 13px; }
.card h3 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; font-weight: 800; }
.card p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--gray-1); }
.card__more { margin-top: auto; font-weight: 800; font-size: 15px; letter-spacing: .02em; border-bottom: 2px solid var(--black); align-self: flex-start; padding-bottom: 2px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #e8e8e8; }
.site-footer a { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px;
  padding-top: 64px; padding-bottom: 48px;
}
.logo--footer { color: #fff; margin-bottom: 18px; --logo-fill: var(--black); }
.logo--footer .logo__text span { color: #a9a9a9; }
.footer-h {
  font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 16px; color: #fff;
}
.footer-col p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #cfcfcf; }
.contact-line { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.contact-label {
  display: inline-block; min-width: 54px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8e8e8e;
}
.contact-line a { font-weight: 700; word-break: break-all; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.footer-links a { text-decoration: none; color: #d8d8d8; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid #2f2f2f;
}
.footer-bottom p { margin: 0; font-size: 14px; color: #9b9b9b; }
.footer-note { display: block; margin-top: 4px; }
.site-footer .langs ul { border-color: #fff; }
.site-footer .langs a { color: #fff; }
.site-footer .langs a:hover { background: #2a2a2a; }
.site-footer .langs a.is-active { background: #fff; color: var(--black); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .is-article .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .site-header__in { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 8px; }
  .site-header .langs { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0 -6px; overflow-x: auto; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 6px 12px; font-size: 14px; white-space: nowrap; }
  .site-header { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .article { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 48px 0 64px; }
  .hero__stripes { width: 100%; right: -40%; opacity: .1; }
  .cards, .is-article .cards { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .frame { padding: 6px; margin: 34px 8px 34px 0; }
  .frame::before { inset: 8px -8px -8px 8px; }
  .prose blockquote { padding: 26px 22px; font-size: 18px; }
  .logo__text strong { font-size: 19px; }
  .logo__text span { font-size: 9.5px; letter-spacing: .18em; }
  .logo__mark { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
