:root{
  color-scheme:dark;
  --bg:#0d0e0c;
  --panel:#151713;
  --panel-2:#10110f;
  --text:#f2f0e8;
  --muted:#9b9c92;
  --line:#2e3129;
  --accent:#a6a96a;
  --accent-soft:rgba(166,169,106,.12);
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
}
a{color:inherit}
.legal-topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px clamp(20px,5vw,64px);
  border-bottom:1px solid var(--line);
  background:rgba(13,14,12,.94);
  backdrop-filter:blur(14px);
}
.legal-brand{
  text-decoration:none;
  font-size:15px;
  font-weight:850;
  letter-spacing:.02em;
}
.legal-brand span{color:var(--accent)}
.legal-topbar-start{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.legal-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#11120f;
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
  font-weight:750;
  white-space:nowrap;
}
.legal-back:hover{
  border-color:#45493d;
  color:var(--text);
}
.legal-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.legal-nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  font-weight:650;
}
.legal-nav a:hover,.legal-nav a[aria-current="page"]{color:var(--text)}
.legal-shell{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:64px 0 88px;
}
.legal-hero{
  max-width:820px;
  margin:0 auto 44px;
  text-align:center;
}
.legal-kicker{
  margin:0 0 12px;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.18em;
}
.legal-hero h1{
  margin:0;
  font-size:clamp(40px,7vw,76px);
  line-height:1.02;
  letter-spacing:-.055em;
}
.legal-summary{
  max-width:700px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:16px;
}
.legal-updated{
  margin:14px 0 0;
  color:#777a70;
  font-size:12px;
}
.legal-grid{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:42px;
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:92px;
  display:grid;
  gap:8px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--panel-2);
}
.legal-toc strong{
  margin-bottom:4px;
  color:#c6c8bb;
  font-size:10px;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.legal-toc a{
  padding:5px 0;
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
}
.legal-toc a:hover{color:var(--text)}
.legal-content{
  min-width:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
  overflow:hidden;
}
.legal-section{
  padding:30px 34px;
  border-top:1px solid var(--line);
}
.legal-section:first-child{border-top:0}
.legal-section h2{
  margin:0 0 12px;
  font-size:21px;
  letter-spacing:-.02em;
}
.legal-section h3{
  margin:20px 0 6px;
  font-size:15px;
}
.legal-section p,.legal-section li{
  color:#c3c4bc;
  font-size:14px;
}
.legal-section p{margin:10px 0}
.legal-section ul{
  margin:10px 0 0;
  padding-left:20px;
}
.legal-section li+li{margin-top:7px}
.callout{
  margin:16px 0 0;
  padding:15px 17px;
  border:1px solid rgba(166,169,106,.35);
  border-radius:12px;
  background:var(--accent-soft);
  color:#dddfcd;
}
.legal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#121410;
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.button.primary{
  border-color:var(--accent);
  background:var(--accent);
  color:#0c0d0b;
}
.legal-footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:24px 0 38px;
  border-top:1px solid var(--line);
  color:#7f8177;
  font-size:12px;
}
.legal-footer nav{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.legal-footer a{text-decoration:none}
.support-form{
  display:grid;
  gap:16px;
}
.support-form label{
  display:grid;
  gap:7px;
  color:#dadbd3;
  font-size:13px;
  font-weight:750;
}
.support-form input,.support-form select,.support-form textarea{
  width:100%;
  border:1px solid #3a3d33;
  border-radius:10px;
  background:#0f100e;
  color:var(--text);
  padding:12px 13px;
  font:inherit;
  outline:none;
}
.support-form textarea{min-height:150px;resize:vertical}
.support-form input:focus,.support-form select:focus,.support-form textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(166,169,106,.1);
}
.support-note{
  color:var(--muted);
  font-size:12px;
}
@media(max-width:820px){
  .legal-topbar{
    position:static;
    display:grid;
    justify-items:center;
    text-align:center;
    padding:18px 20px;
  }
  .legal-topbar-start{
    width:100%;
    justify-content:space-between;
  }
  .legal-nav{justify-content:center;gap:12px 16px}
  .legal-shell{
    width:min(100% - 24px,760px);
    padding:38px 0 64px;
  }
  .legal-hero{margin-bottom:28px}
  .legal-hero h1{font-size:clamp(38px,12vw,58px)}
  .legal-grid{display:block}
  .legal-toc{display:none}
  .legal-section{padding:24px 20px}
  .legal-footer{
    width:min(100% - 24px,760px);
    justify-content:center;
    text-align:center;
  }
  .legal-footer nav{justify-content:center}
}
