/* Аліас+ product site — the one shared stylesheet.
   Pure static: no JS, no external requests, system fonts only.
   Mobile-first. Dark military palette (олива/хакі) by default,
   full light-scheme support via prefers-color-scheme. */

:root {
  color-scheme: dark light;
  --bg: #15180f;
  --bg-raised: #1e2216;
  --text: #e9e7d8;
  --muted: #a6ab92;
  --accent: #b9c07c;
  --accent-strong: #d6dc95;
  --border: #343a28;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f3e8;
    --bg-raised: #eae8d8;
    --text: #232619;
    --muted: #5d6250;
    --accent: #5c6532;
    --accent-strong: #454d24;
    --border: #cfcdb8;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  border-top: 4px solid var(--accent);
}

.wrap {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Header ------------------------------------------------------------ */

.site-header {
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-header a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--accent-strong);
}

/* --- Main content ------------------------------------------------------ */

main {
  flex: 1;
  padding-block: 2rem 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

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

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

li {
  margin-bottom: 0.4rem;
}

li::marker {
  color: var(--accent);
}

a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

strong {
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.effective-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.muted {
  color: var(--muted);
}

/* --- Landing blocks ----------------------------------------------------- */

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

.features li {
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.5rem;
  background: var(--bg-raised);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.25rem 0.25rem 0;
}

.stores {
  margin-block: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stores span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--muted);
  background: var(--bg-raised);
  font-size: 0.95rem;
}

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

/* --- Wider screens ------------------------------------------------------ */

@media (min-width: 40rem) {
  body {
    font-size: 1.0625rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}
