/* The Privacy, Terms and Credits pages (plain pages, outside the app). */
:root {
  --bg: #1a1420;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 236, 214, 0.12);
  --text: #fbf1e4;
  --muted: rgba(251, 241, 228, 0.7);
  --glow: #ffc877;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(ellipse at 50% -10%, #3a2630, var(--bg) 60%) no-repeat;
  min-height: 100vh;
}
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 58%, #ffe2a8 0 22%, rgba(255, 200, 119, 0.35) 38%, transparent 60%),
    linear-gradient(160deg, #4a3340, #2b1f28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 14px rgba(255, 190, 110, 0.3);
}
.back {
  color: var(--glow);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 6px;
}
h2 {
  font-size: 21px;
  margin: 36px 0 8px;
}
h3 {
  font-size: 17px;
  margin: 22px 0 4px;
}
p,
ul,
ol {
  margin: 0 0 12px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--glow);
}
.updated {
  color: var(--muted);
  margin-bottom: 22px;
}
.summary {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.summary ul {
  margin: 0;
  padding-left: 20px;
}
.draft {
  padding: 10px 14px;
  margin-bottom: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 119, 0.4);
  background: rgba(255, 200, 119, 0.1);
  font-size: 14.5px;
}
/* details the owner still has to fill in */
mark {
  background: rgba(255, 200, 119, 0.25);
  color: var(--text);
  padding: 0 4px;
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
}
footer a {
  text-decoration: none;
}
.about-page { max-width: 1100px; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin: 48px 0; }
.about-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.about-eyebrow { color: var(--glow); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.about-open { display: inline-block; padding: 12px 24px; margin: 8px 0 12px; border-radius: 999px; background: #ffc877; color: #2b1705; font-weight: 700; text-decoration: none; }
.about-small { font-size: 14px; }
.about-picture { margin: 0; }
.about-picture img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 20px; }
.about-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 36px; }
.about-features h2, .about-page .summary h2 { margin-top: 0; }
@media (max-width: 760px) {
  .about-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 32px 0; }
  .about-features { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  h1 {
    font-size: 28px;
  }
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }
  thead {
    display: none;
  }
  td {
    border-bottom: 0;
    padding: 2px 0;
  }
  tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  td:first-child {
    font-weight: 600;
  }
}
