/* Страницы документов (privacy.html, terms.html) и отзыва (review.html) —
   в тёмной гамме согласованного дизайна 27.09.2026: тёмный картон, золотой
   кант, Cormorant Garamond в заголовках, EB Garamond в тексте. Главная —
   web/style.css; этот файл нарочно отдельный, чтобы вёрстка лендинга не
   задевала разметку документов (и наоборот). */
:root{
  --ink:#16110F;--ink-2:#211A17;--ink-3:#2E2420;
  --paper:#EFE6DB;--cream:#F3EBE2;--cream-dim:#B8ABA0;--text-dim:#CDBFB3;
  --clay:#FF5A28;--clay-deep:#D8420F;--sand:#C9A583;
  --hair:rgba(201,165,131,.16);--hair-2:rgba(201,165,131,.34);
  --edge:rgba(201,165,131,.34);
  --serif:"Cormorant Garamond","Cormorant",Georgia,serif;
  --sans:"EB Garamond",Garamond,Georgia,serif;
  --ease:cubic-bezier(.22,.61,.12,1);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--ink)}
body{margin:0;min-height:100vh;background:var(--ink);color:var(--cream);font-family:var(--sans);font-size:17px;line-height:1.7;letter-spacing:.012em;
  -webkit-font-smoothing:antialiased;
  background-image:radial-gradient(900px 420px at 50% -120px,rgba(255,90,40,.16),transparent 70%)}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.12;letter-spacing:-.005em}
a{color:inherit}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer}
::selection{background:var(--clay);color:var(--ink)}
:focus-visible{outline:1px solid var(--sand);outline-offset:4px;border-radius:4px}
[hidden]{display:none!important}
.wrap{width:min(1160px,100% - 2 * clamp(16px,4vw,48px));margin-inline:auto}

/* шапка */
header{position:sticky;top:0;z-index:40;background:rgba(22,17,15,.84);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--hair)}
.bar{display:flex;align-items:center;gap:1.2rem;min-height:64px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.logo{border-radius:50%;flex:none;box-shadow:0 0 18px rgba(255,90,40,.45)}
.brand .name{font-family:var(--serif);font-size:1.22rem;font-weight:600;letter-spacing:.05em;color:#FF7A48}
.bar nav{margin-left:auto;display:flex;align-items:center;gap:1rem}
.lang{display:flex;padding:2px;border-radius:999px;border:1px solid var(--hair-2)}
.lang button{background:none;border:0;min-height:28px;min-width:40px;padding:0 .65rem;border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.1em;color:var(--cream-dim)}
.lang button[aria-pressed="true"]{background:linear-gradient(120deg,#FFB592,#F3EBE2,#EFD5C0);color:var(--ink);box-shadow:0 0 14px rgba(255,150,110,.4)}

/* кнопки — тёмные с двойным золотым кантом, как на главной */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:46px;padding:0 1.7rem;border-radius:4px;
  border:1px solid rgba(201,165,131,.55);cursor:pointer;text-decoration:none;font-family:var(--sans);font-weight:500;font-size:16px;letter-spacing:.06em;color:var(--cream);
  background:linear-gradient(180deg,#2a211d,#18120f);box-shadow:inset 0 0 0 3px #1c1512,inset 0 0 0 4px rgba(201,165,131,.2),0 14px 30px -18px rgba(0,0,0,.9);
  transition:border-color .6s var(--ease),box-shadow .6s var(--ease)}
.btn:hover{border-color:#e2b88f;box-shadow:inset 0 0 0 3px #1c1512,inset 0 0 0 4px rgba(226,184,143,.35),0 0 34px -6px rgba(255,90,40,.5)}
.btn[disabled]{opacity:.45;cursor:not-allowed}

/* документ */
section.light,section.dark{padding:clamp(40px,6vw,80px) 0 clamp(56px,7vw,96px)}
.doc{max-width:74ch;margin-inline:auto}
.doc h2{font-size:clamp(2rem,3.6vw,2.8rem);font-weight:300;margin:0 0 1.2rem}
.doc h3{font-size:1.4rem;font-weight:500;margin:2.4rem 0 .7rem;color:#F1E6D8}
.doc p,.doc li{color:var(--text-dim);line-height:1.7}
.doc ul,.doc ol{padding-left:1.3rem;margin:0 0 1.2rem}
.doc li{margin-bottom:.5rem}
.doc li::marker{color:var(--clay)}
.doc a{color:var(--sand)}
.doc .updated{font-size:15px;color:var(--cream-dim);margin-bottom:2.4rem;padding-bottom:1.4rem;border-bottom:1px solid var(--hair)}
.placeholder{background:rgba(255,90,40,.14);color:#FF9D78;padding:.1em .4em;border-radius:4px;font-weight:500}
.backlink{display:inline-block;margin-bottom:2rem;font-size:15px;color:var(--cream-dim);text-decoration:none;letter-spacing:.04em}
.backlink:hover{color:var(--cream)}

/* подвал */
footer{position:relative;overflow:hidden;border-top:1px solid var(--hair);padding:2.4rem 0 2rem;
  background:radial-gradient(700px 240px at 50% 0,rgba(255,90,40,.14),transparent 70%)}
.foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem}
.foot .links{display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;font-size:15px;color:var(--cream-dim)}
.foot .links a{text-decoration:none}
.foot .links a:hover{color:var(--cream)}
.foot small{color:#6f625a;font-size:13px}
@media (max-width:600px){.foot{flex-direction:column;align-items:flex-start}}
