/* Shared styling for the legal pages.
   Self-hosted rather than inlined so the CSP can stay strict, and plain enough
   that the documents remain readable if it never loads at all.

   These pages deliberately make **no third-party request of any kind** — not
   even the webfonts the app itself loads. A privacy policy that phones Google
   in order to render is not a good look, and the system font stack below costs
   nothing. */

:root {
  --bg: #0b0a12;
  --panel: #14121e;
  --border: #272240;
  --text: #ece9f6;
  --muted: #9691ad;
  --accent: #a78bfa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 40px 22px 80px; }

header { border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 34px; }
.logo {
  font-size: 26px; font-weight: 700; letter-spacing: -0.5px;
  text-decoration: none; color: var(--text); display: inline-block;
}
.logo span { color: var(--accent); }
.updated { color: var(--muted); font-size: 13px; margin-top: 10px; }

h1 { font-size: 32px; line-height: 1.2; margin: 24px 0 8px; letter-spacing: -0.5px; }
h2 {
  font-size: 19px; margin: 38px 0 10px; letter-spacing: -0.2px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
h3 { font-size: 15px; margin: 22px 0 6px; color: var(--accent); }
p, li { color: #d7d3e6; }
a { color: var(--accent); }
strong { color: var(--text); }

ul, ol { padding-left: 22px; }
li { margin: 6px 0; }

.lede { font-size: 17.5px; color: var(--text); }

.callout {
  border-left: 3px solid var(--accent);
  background: rgba(167, 139, 250, 0.07);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 22px 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* The controller block. Currently trading name + country + e-mail, which is
   what the market actually runs on — sunomaster.com identifies itself as
   "Suno Master / The Netherlands / a gmail address" and nothing more.
   Strictly, GDPR Art. 13 wants the controller identified and e-handelslagen
   8 § wants a geographic address too; adding a line here is a two-minute edit
   if a Stripe review or a data-subject request ever asks for it.
   Find it with: grep -rn "data-operator" public/ */
[data-operator] {
  border-left: 3px solid var(--accent);
  background: rgba(167, 139, 250, 0.07);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  line-height: 1.75;
}

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }

footer {
  margin-top: 54px; padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13.5px;
}
footer a { margin-right: 16px; }

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .wrap { padding: 28px 18px 60px; }
}
