/*
 * Заглушка lpm.buzz (#1325). Цвета и гарнитуры — DESIGN.md. Файлы шрифтов —
 * из design_system/fonts, Caddy отдаёт по /fonts/ (infra/stub/Caddyfile);
 * со сторонних серверов ничего не грузится.
 */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geologica Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geologica-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Geologica Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geologica-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: "Manrope Variable", Manrope, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Geologica Variable", Geologica, ui-sans-serif, system-ui, sans-serif;
  --ink: oklch(0.22 0.008 58);
  --paper: oklch(0.98 0.004 80);
  --card: oklch(0.995 0.002 85);
  --muted: oklch(0.52 0.011 68);
  --border: oklch(0.916 0.006 76);
  --accent-text: oklch(0.455 0.112 52);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

h1,
h2,
.brand {
  font-family: var(--font-display);
  font-weight: 600;
}

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

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

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

.lead {
  font-size: 1.125rem;
}

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

.prices {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.prices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.prices .name {
  font-weight: 600;
}

.prices .price {
  font-weight: 600;
  white-space: nowrap;
}

.prices .note {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

dl.req {
  display: grid;
  grid-template-columns: minmax(6rem, max-content) 1fr;
  gap: 0.25rem 1rem;
  margin: 0;
}

dl.req dt {
  color: var(--muted);
}

dl.req dd {
  margin: 0;
  overflow-wrap: break-word;
}

@media (max-width: 30rem) {
  dl.req {
    grid-template-columns: 1fr;
    gap: 0;
  }

  dl.req dd + dt {
    margin-top: 0.5rem;
  }
}

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

footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

footer p {
  margin: 0.25rem 0;
}
