* { box-sizing: border-box; }
*::-webkit-scrollbar {
    width: 5px;
    background-color: var(--bg);
    transition: all 1;
    height: 1px;
}

*::-webkit-scrollbar-thumb {
  background-color: #3b82f6;
  border-radius: 4px;
}

*::-webkit-scrollbar-track {
  background-color: var(--bg);
    display: none;
}

*::-webkit-scrollbar-button:single-button {
  display: none;
  height: 0;
  width: 0;
}

*::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="hy"] body {
  font-family: "Noto Sans Armenian", "Segoe UI", Arial, sans-serif;
}
html[lang="hy"] h1, html[lang="hy"] h2, html[lang="hy"] h3, html[lang="hy"] h4 {
  letter-spacing: -0.012em;
}

button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
[hidden] { display: none !important; }

::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 32%, transparent);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--text);
  color: var(--bg);
  transition: transform var(--ease);
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

body.feedback-open { overflow:hidden; }
