/* oqliga.uz — the public legal pages. One file, no fonts from elsewhere.
   Served with a year-long cache: change it by copying it to a new name
   (site.v2.css) and pointing the pages at that name. */

:root {
  --navy: #000a43;
  --lime: #9eff1f;
  --text: #101c2b;
  --muted: #5b6676;
  --link: #15803d;
  --line: #e3e7ec;
  --soft: #f5f7f9;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.top {
  background: var(--navy);
  color: #fff;
}

.top-inner,
main,
.foot-inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.5rem;
  border: 2px solid var(--lime);
  border-radius: 50%;
  vertical-align: 0.05em;
}

.langs {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.langs a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  color: #fff;
  text-decoration: none;
}

.langs a[aria-current="page"] {
  background: var(--lime);
  color: var(--navy);
  font-weight: 700;
}

main {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.0625rem;
}

p,
ul,
ol {
  margin: 0 0 0.875rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.375rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.note {
  margin: 1rem 0 1.5rem;
  padding: 0.875rem 1rem;
  border-left: 4px solid var(--lime);
  background: var(--soft);
  border-radius: 0 0.5rem 0.5rem 0;
}

.toc {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  background: var(--soft);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
}

.toc li {
  margin-bottom: 0.125rem;
}

.links {
  padding: 0;
  list-style: none;
}

.links li {
  margin-bottom: 0.75rem;
}

.links a {
  font-weight: 600;
}

kbd {
  padding: 0.0625rem 0.375rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--soft);
  font-family: inherit;
  font-size: 0.9375em;
}

.foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.foot-inner {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

.foot p {
  margin-bottom: 0.375rem;
}

@media (min-width: 48rem) {
  h1 {
    font-size: 2rem;
  }
}
