/*
  Pinball Genie — shared stylesheet for the legal / marketing pages
  (privacy, terms, about, contact).

  Same recipe as app/server/login.css: charcoal #16181d + amber #f5a623,
  color-scheme: dark. No inline styles anywhere in these pages — production
  CSP is `default-src 'self'; style-src 'self'` with no 'unsafe-inline', so
  every rule lives in this one file.
*/

:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #16181d;
  background-image: radial-gradient(circle at 50% -10%, rgba(245, 166, 35, 0.12), transparent 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #f2f0ea;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #f5a623;
}
a:hover,
a:focus {
  color: #ffd98a;
}

/* ---- header ---- */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13.5px;
  color: #f2f0ea;
}
.brand:hover,
.brand:focus {
  color: #f2f0ea;
}
.brand-ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #ffd98a, #f5a623 55%, #a5660c 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}
.back-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- main content ---- */
main {
  flex: 1;
  width: 100%;
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}
h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #f2f0ea;
}
.dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(242, 240, 234, 0.65);
  margin: 0 0 28px;
}
.meta {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(242, 240, 234, 0.5);
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.meta strong {
  color: rgba(242, 240, 234, 0.78);
  font-weight: 700;
}
h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 36px 0 12px;
  color: #ffd98a;
}
h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #ffd98a;
}
p,
li {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(242, 240, 234, 0.88);
}
p {
  margin: 0 0 14px;
}
ul,
ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
li {
  margin-bottom: 8px;
}
strong {
  color: #f2f0ea;
}
.callout {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}
.callout p:last-child {
  margin-bottom: 0;
}

/* ---- contact cards (contact.html) ---- */
.contact-grid {
  display: grid;
  gap: 14px;
  margin: 20px 0 8px;
}
.contact-card {
  background: #1e2129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}
.contact-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(242, 240, 234, 0.65);
}
.contact-card .contact-link {
  font-size: 16px;
  font-weight: 700;
  word-break: break-word;
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.footer-contact {
  font-size: 13px;
  color: rgba(242, 240, 234, 0.6);
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(242, 240, 234, 0.35);
}

@media (min-width: 560px) {
  h1 {
    font-size: 30px;
  }
}
