@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jbmono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jbmono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #FFFCF4;
  --paper-2: #FBF6E7;
  --ink: #101014;
  --y: #FFD400;
  --y-deep: #F2B000;
  --mut: #7C7666;
  --line: #ECE4D2;
  --font-display: 'Archivo', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22,.68,.16,1);
  --cursor-yellow: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='22'%20height='22'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M3%202%20L20%2011.2%20L12.2%2012.9%20L8.6%2021.4%20Z'%20fill='%23FFD400'%20stroke='%23121212'%20stroke-width='1.5'%20stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto;
}
html, body { cursor: var(--cursor-yellow); }
a, button, [role="button"], summary, label[for], .btn { cursor: var(--cursor-yellow); }
input, textarea, select { cursor: auto; }
input[type="button"], input[type="submit"], input[type="checkbox"], input[type="radio"] { cursor: var(--cursor-yellow); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #ffe000; color: #000; }

.wrap { width: min(1360px, calc(100% - 64px)); margin: 0 auto; }
[id] { scroll-margin-top: 124px; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  [id] { scroll-margin-top: 96px; }
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: #ffe000; color: #000; padding: 10px 16px; border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 16px; }

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

.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
  background: #ffe000; z-index: 1200; pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .6s var(--ease), translate .6s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal="left"] { translate: -20px 0; }
[data-reveal="right"] { translate: 20px 0; }
[data-reveal="scale"] { translate: 0 12px; scale: .98; transition: opacity .6s var(--ease), translate .6s var(--ease), scale .6s var(--ease); }
[data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }

.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; translate: none; scale: none; transition: none; }
  .progress { display: none; }
}

/* hidden must win over any display rule */
[hidden] { display: none !important; }

/* ---------- shared primitives (used by product, seller, admin) ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--y);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip:focus { left: 0; }

.head-gap { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 650;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: translate .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--y); border-color: var(--ink); }
.btn--ink:hover { translate: 0 -2px; box-shadow: 0 10px 22px rgba(16,16,20,.18); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(16,16,20,.28); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 38px; padding: 0 15px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .6; translate: none; box-shadow: none; cursor: default; }
