/*
 * The public legal, support and accessibility pages.
 *
 * They inherit the site's fonts and colour tokens from styles.css and then state their own
 * foreground on every element that carries text. These are the pages someone reads when they are
 * already annoyed or already worried, so legibility beats atmosphere everywhere here: longer
 * measure, larger body text, and links that look like links.
 */
@import url('./styles.css');

body{background:var(--bg);color:var(--ink)}
/* No sticky glass bar and no scroll-driven anything on a reading page. */
.legal-header{
  width:min(1000px,calc(100% - 34px));margin-inline:auto;
  height:92px;display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.legal-shell{
  width:min(860px,calc(100% - 34px));margin:26px auto 96px;
  padding:clamp(26px,5.5vw,64px);
  border:1px solid var(--line);border-radius:30px;background:var(--surface);
  box-shadow:0 26px 70px rgba(0,0,0,.35);
}
.legal-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:26px;font-size:14px;font-weight:800;color:var(--sage)}
.legal-back:hover{color:var(--ink)}
.legal-back::before{content:"\2190";font-size:16px}
[dir=rtl] .legal-back::before{content:"\2192"}
.legal-shell h1{font-size:clamp(34px,6vw,58px);line-height:1.04;margin-bottom:10px;color:var(--ink)}
.updated{margin-bottom:40px;font-size:14px;color:var(--subtle)}

.legal-content h2{font-size:clamp(22px,2.6vw,28px);margin:44px 0 12px;letter-spacing:-.025em;color:var(--ink)}
.legal-content h3{font-size:19px;margin:30px 0 6px;letter-spacing:-.015em;color:var(--ink)}
.legal-content p,.legal-content li{margin:0 0 14px;font-size:17px;line-height:1.78;color:var(--muted)}
.legal-content li{margin-bottom:8px}
.legal-content strong{color:var(--ink)}
.legal-content ul{padding-inline-start:22px;list-style:disc;margin-bottom:18px}
.legal-content a{color:var(--clay);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.legal-content a:hover{color:var(--ink)}
/* The opening paragraph, set apart because it is the part most people actually read. */
.legal-note{
  margin-bottom:8px;padding:20px 24px;border-radius:18px;
  background:#232b1c;border-inline-start:4px solid var(--sage);
  color:#eef1e4!important;font-size:17px!important;
}

.legal-footer{
  width:min(860px,calc(100% - 34px));margin:0 auto;padding:0 0 56px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 26px;
  font-size:14.5px;color:var(--subtle);
}
.legal-footer nav{display:flex;flex-wrap:wrap;gap:0 22px}
.legal-footer nav a{display:inline-block;padding-block:8px;color:var(--muted)}
.legal-footer nav a:hover{color:var(--clay)}
.legal-mail{display:inline-block;padding-block:8px;direction:ltr;font-weight:800;color:var(--ink)}
.legal-mail:hover{color:var(--clay)}

@media(max-width:600px){
  .legal-header{height:78px}
  .legal-shell{margin-top:14px;border-radius:24px}
  .legal-content p,.legal-content li,.legal-note{font-size:16.5px!important}
}
