/* legal.css — страницы /policy, /consent, /cookies
   Собрано из index.html: те же шрифты, переменные и подвал. */

/* ── Nunito + Unbounded · variable woff2, как на главной ── */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-cyrillic-var.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-cyrillic-ext-var.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-var.woff2") format('woff2');
  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: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext-var.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-vietnamese-var.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyrillic-var.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyrillic-ext-var.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin-var.woff2") format('woff2');
  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: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin-ext-var.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-vietnamese-var.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/f01.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/f02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/f03.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/f04.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/f05.woff2") format('woff2');
  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 {
  /* warm canvas */
  --cream:        #FBF7F0;
  --cream-2:      #F4EBDD;
  --card:         #FFFFFF;
  --border:       #ECDFCE;
  --border-soft:  #F2E9DC;

  /* ink */
  --ink:          #2A1B12;
  --ink-soft:     #7A5538;
  --ink-faint:    #B0906F;

  /* primary — orange */
  --orange:       #E8692A;
  --orange-deep:  #C4521A;
  --orange-soft:  #F59462;
  --orange-tint:  #FCEADE;
  --orange-wash:  #FFF4EC;

  /* secondary — light green */
  --teal:         #84C552;
  --teal-deep:    #5A8C2A;
  --teal-soft:    #A9D97D;
  --teal-tint:    #EDF7E0;

  /* violet accent */
  --violet:       #9058D9;
  --violet-deep:  #6B3AAD;
  --violet-soft:  #B589E8;
  --violet-tint:  #F0E8FB;

  /* tertiary pop */
  --gold:         #F2B431;
  --gold-tint:    #FCEFCD;

  --shadow-xs:    0 1px 3px rgba(42,27,18,0.05);
  --shadow-sm:    0 2px 10px rgba(42,27,18,0.06);
  --shadow-md:    0 10px 30px -8px rgba(42,27,18,0.14);
  --shadow-lg:    0 24px 60px -18px rgba(42,27,18,0.26);
  --shadow-orange: 0 14px 34px -10px rgba(232,105,42,0.45);

  --r-sm:   12px;
  --r-md:   18px;
  --r-lg:   26px;
  --r-xl:   34px;
  --r-pill: 9999px;

  --max-w:  1200px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Unbounded', 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* шапка */
.legal-top { background: var(--card); border-bottom: 1px solid var(--border); padding: 18px 0; }
.legal-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.legal-brand img { width: 44px; height: 44px; object-fit: contain; }
.legal-brand span { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.legal-back { font-size: 14px; font-weight: 700; color: var(--ink-soft); }

/* документ */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 56px 40px 88px; }
.legal-wrap h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.legal-wrap h2 { font-family: var(--font-display); font-size: 22px; line-height: 1.25; margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--border); }
.legal-wrap h1 + p { color: var(--ink-soft); }
.legal-wrap h3 { font-size: 17px; font-weight: 800; margin: 30px 0 10px; color: var(--ink-soft); }
.legal-wrap p, .legal-wrap li { font-size: 16px; line-height: 1.7; font-weight: 500; }
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap strong { font-weight: 800; }
.legal-wrap hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-wrap code { background: var(--orange-wash); border: 1px solid var(--border-soft); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.legal-wrap blockquote { margin: 22px 0; padding: 18px 22px; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--orange); border-radius: var(--r-sm); }
.legal-wrap blockquote p { margin: 0 0 10px; }
.legal-wrap blockquote p:last-child { margin-bottom: 0; }
.legal-table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--card); }
.legal-wrap table { border-collapse: collapse; width: 100%; min-width: 620px; }
.legal-wrap th, .legal-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; font-size: 14.5px; line-height: 1.55; border-bottom: 1px solid var(--border-soft); }
.legal-wrap th { font-weight: 800; background: var(--cream-2); font-size: 13px; letter-spacing: 0.02em; }
.legal-wrap tr:last-child td { border-bottom: 0; }
.legal-note { margin-top: 40px; padding: 16px 20px; background: var(--cream-2); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-soft); }

/* подвал — те же правила, что на главной */
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 44px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 300px; font-weight: 500; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: background 0.2s, color 0.2s, transform 0.2s; }
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-col { padding-top: 16px; }
.footer-col h3 { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 600; flex-wrap: wrap; gap: 10px; }
.footer-logo-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; }
.footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-inner { grid-template-columns: 1fr; }
.footer-col { padding-top: 0; }

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .legal-wrap { padding: 36px 20px 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col { padding-top: 0; }
}

/* fix: правила подвала, потерянные при выносе стилей из index.html */
.footer{background:#20140D;padding:64px 0 32px;color:#fff}
.logo-mark{width:44px;height:44px;border-radius:13px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
@media (min-width:901px){.footer-inner{grid-template-columns:2fr 1fr 1fr;gap:56px}.footer-col{padding-top:16px}}
