/* Общий стиль юридических страниц AI Therapist — в одной палитре с лендингом */
:root{
  --bg:#F7F4EE; --bg2:#EFEBE1; --surface:#FFFFFF; --surface2:#F7F5F0;
  --text:#2C332E; --read:#3c463e; --muted:#56625A; --faint:#838d83;
  --teal:#557A51; --teal-deep:#41633E; --lav:#C99A6E;
  --line:rgba(44,51,46,.10); --line-strong:rgba(44,51,46,.17);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--bg); color:var(--read); line-height:1.7; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--teal-deep); text-decoration:none}
a:hover{text-decoration:underline}
::selection{background:rgba(94,126,90,.22)}
:focus-visible{outline:2px solid var(--teal); outline-offset:3px; border-radius:6px}
svg{display:block}

/* header */
.lhead{position:sticky; top:0; z-index:20; padding:15px 0;
  background:rgba(255,255,255,.82); backdrop-filter:blur(14px); border-bottom:1px solid var(--line)}
.lhead .row{max-width:780px; margin:0 auto; padding:0 22px; display:flex; align-items:center; justify-content:space-between}
.logo{display:flex; align-items:center; gap:11px; font-weight:800; font-size:17px; letter-spacing:-.3px; color:var(--text)}
.mark{width:30px;height:30px;border-radius:9px; background:linear-gradient(150deg,var(--teal),var(--teal-deep));
  display:flex;align-items:center;justify-content:center; color:#062019}
.logo .appmark{width:30px;height:30px;border-radius:9px; object-fit:cover; box-shadow:0 4px 12px rgba(60,70,55,.18)}
.back{display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:14px; font-weight:600}
.back:hover{color:var(--text); text-decoration:none}

/* content */
.legal{max-width:780px; margin:0 auto; padding:46px 22px 72px}
.legal h1{font-family:"Spectral",Georgia,serif; font-weight:600; font-size:clamp(26px,4vw,36px);
  color:var(--text); letter-spacing:-.4px; line-height:1.15; margin-bottom:8px}
.legal .date{font-size:14px; color:var(--faint); margin-bottom:30px}
.legal h2{font-size:18px; font-weight:700; color:var(--teal-deep); margin:34px 0 12px; letter-spacing:-.2px}
.legal p{margin-bottom:12px}
.legal ul{padding-left:22px; margin-bottom:14px}
.legal li{margin-bottom:7px}
.legal strong{color:var(--text); font-weight:700}
.legal .intro{background:var(--surface); border:1px solid var(--line-strong); border-radius:16px; padding:20px 22px; margin-bottom:26px}
.legal .intro p:last-child{margin-bottom:0}
.legal .req{background:var(--bg2); border:1px solid var(--line); border-radius:14px; padding:18px 22px}

/* footer */
footer{border-top:1px solid var(--line); padding:40px 0; color:var(--muted); font-size:14px}
footer .row{max-width:780px; margin:0 auto; padding:0 22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px}
.flinks{display:flex; gap:22px; flex-wrap:wrap; align-items:center}
footer a{color:var(--muted)} footer a:hover{color:var(--text)}

@media (max-width:560px){
  .legal{padding:34px 16px 56px}
  .lhead .row, footer .row{padding:0 16px}
  footer .row{flex-direction:column; gap:14px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
