/* Ambi Music site · legal/legal.css
   Shared look of the terms, privacy and accessibility pages. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #0e1526;
  --muted: #4a5468;
  --line: #d3d9e4;
  --accent: #c2373b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b1120;
    --surface: #131c30;
    --ink: #e8ecf4;
    --muted: #9aa5bc;
    --line: #2a3654;
    --accent: #f06a6d;
  }
}
:root[data-theme='dark'] {
  --bg: #0b1120;
  --surface: #131c30;
  --ink: #e8ecf4;
  --muted: #9aa5bc;
  --line: #2a3654;
  --accent: #f06a6d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 'Heebo', system-ui, sans-serif;
}
:lang(ar) body,
body:lang(ar) {
  font-family: 'Noto Sans Arabic', 'Heebo', sans-serif;
}
:lang(ar) h1,
:lang(ar) h2 {
  font-family: 'Noto Kufi Arabic', 'Noto Sans Arabic', sans-serif;
}
header {
  background: #0e1526;
  color: #fff;
}
.bar {
  max-width: 860px;
  margin: auto;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.home {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.home b {
  color: #f06a6d;
}
.home span {
  font-weight: 300;
}
.lang {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
}
.lang button {
  background: none;
  border: 0;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font: inherit;
  cursor: pointer;
  min-height: 40px;
}
.lang button[aria-pressed='true'] {
  background: #fff;
  color: #0e1526;
}
main {
  max-width: 860px;
  margin: auto;
  padding: 28px 16px 64px;
}
article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 44px);
}
h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
}
h2 {
  margin: 28px 0 6px;
  font-size: 1.15rem;
}
p {
  margin: 0 0 10px;
}
.lead {
  color: var(--muted);
}
.upd {
  color: var(--muted);
  font-size: 0.9rem;
}
nav.foot {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
nav.foot a {
  color: var(--accent);
}
