/* Общий стиль правовых страниц FULL ENERGY */

:root {
    --black: #111111;
    --ink: #1a1a1a;
    --lime: #a9cc33;
    --lime-dark: #8cae22;
    --orange: #f26522;
    --paper: #ffffff;
    --paper-2: #f4f5f0;
    --line: #e3e5da;
    --muted: #6b6f66;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: var(--paper-2);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding: 0 0 60px;
}
a { color: var(--lime-dark); }
a:hover { color: var(--orange); }

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 10;
}
.topbar .in {
    max-width: 900px; margin: 0 auto; padding: 0 20px;
    height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar img { height: 26px; width: auto; }
.topbar .links { display: flex; gap: 20px; font-size: 14px; }
.topbar .links a { text-decoration: none; color: var(--muted); }
.topbar .links a:hover { color: var(--orange); }

main { max-width: 900px; margin: 0 auto; padding: 34px 20px 0; }
.crumb { font-size: 14px; margin-bottom: 18px; }
.crumb a { text-decoration: none; }

h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 8px; }
.subtitle { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.card h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.card p { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 8px 0 10px 20px; }
.card li { margin-bottom: 6px; }
.card code {
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
    padding: 1px 6px; font-size: 13px;
}

.req { line-height: 1.9; }
.ph {
    display: inline-block;
    background: #fff3cd;
    border: 1px dashed #d9a600;
    border-radius: 6px;
    padding: 1px 7px;
    font-size: 13px;
    color: #7a5c00;
}

.footnote { color: var(--muted); font-size: 13px; margin-top: 20px; }
.footnote a { text-decoration: none; }

/* ---------- Статьи ---------- */
.article p { margin-bottom: 14px; color: #33372f; }
.article h3 {
    font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--ink);
}
.article h3:first-child { margin-top: 0; }
.article ul, .article ol { margin: 8px 0 16px 22px; }
.article li { margin-bottom: 7px; color: #33372f; }
.article strong { color: var(--ink); }
.article .lead { color: var(--muted); font-size: 17px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; font-weight: 700; font-size: 16px;
    padding: 14px 32px; border-radius: 999px; border: 0;
    cursor: pointer; text-decoration: none;
    transition: transform .15s, background .2s;
}
.btn-order {
    background: var(--orange); color: #fff;
    box-shadow: 0 10px 24px rgba(242,101,34,.32);
}
.btn-order:hover { color: #fff; transform: translateY(-2px); background: #e64f09; }
.article-cta { text-align: center; margin: 26px 0 6px; }

/* Список статей */
.article-list { display: grid; gap: 14px; }
.article-link {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: 20px 22px; text-decoration: none;
    transition: transform .16s, box-shadow .16s, border-color .16s;
}
.article-link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.09); border-color: #d6d9cb; }
.article-link h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.article-link p { color: var(--muted); font-size: 14px; margin: 0; }
.article-link .more { color: var(--lime-dark); font-size: 14px; font-weight: 600; margin-top: 8px; display: inline-block; }
