/* Listening Party static pages: /about, /privacy, /terms, /dmca.
   The palette is the logo's, the same one html[data-surface="lp"] gives the app. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #171717; --bg-card: #1e0e23; --bg-elev: #28142e; --border: #3b2443;
  --text: #FFF8ED; --text-muted: #c4b2a4; --accent: #C94F27; --link: #FF7A3A; --accent-ink: #1a0903;
  --ok: #5de38f; --warn: #f6bf4f; --danger: #ff7070;
  --display: 'Inter', 'Inter', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
body.light {
  --bg: #FFF8ED; --bg-card: #fffaf1; --bg-elev: #f5e6cc; --border: #e4cfae;
  --text: #2b1230; --text-muted: #6b5763; --link: #b8420b;
  --ok: #15803d; --warn: #a15c07; --danger: #b42318;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7; min-height: 100vh; -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s;
}
a { color: var(--link); }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.topbar-in { max-width:none; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; margin-right: auto; line-height: 0; flex-shrink: 0; }
.brand img { height: clamp(32px, 4.8vw, 48px); width: auto; display: block; }
.tb-link { font-size: .85rem; color: var(--text-muted); text-decoration: none; padding: .35rem .7rem; border-radius: 999px; }
.tb-link:hover, .tb-link[aria-current="page"] { color: var(--text); background: var(--bg-elev); }
.tb-cta {
  font-size: .85rem; font-weight: 700; color: var(--accent-ink); background: var(--accent);
  text-decoration: none; padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
}
.tb-cta:hover { filter: brightness(1.08); }
.theme-toggle {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer; font-size: .95rem; flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); }

.page { max-width:none; margin: 0 auto; padding: 2.75rem 1.5rem 4.5rem; }
.eyebrow { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.05; margin: .45rem 0 .9rem; }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width:none; margin-bottom: 1.2rem; }
.updated { font-family: var(--mono); font-size: .78rem; color: var(--text-muted); }
section { padding-top: 2.2rem; }
h2 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; padding-bottom: .45rem; border-bottom: 1px solid var(--border); margin-bottom: .9rem; }
h3 { font-size: 1rem; font-weight: 700; margin: 1.4rem 0 .4rem; }
p { margin-bottom: .85rem; max-width:none; }
ul { margin: 0 0 1rem 1.2rem; max-width:none; }
li { margin-bottom: .4rem; }
strong, b { font-weight: 700; }

.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.btn {
  display: inline-block; padding: .65rem 1.25rem; border-radius: 999px; font: inherit; font-weight: 700;
  font-size: .95rem; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent); filter: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.note {
  border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--bg-card);
  border-radius: 0 14px 14px 0; padding: 1rem 1.15rem; margin: 1.2rem 0; max-width:none;
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.checks { list-style: none; margin-left: 0; }
.checks li { padding-left: 1.5rem; position: relative; }
.checks li::before { position: absolute; left: 0; font-weight: 700; }
.checks.yes li::before { content: '\2713'; color: var(--ok); }
.checks.no li::before { content: '\2717'; color: var(--danger); }

/* The copyright notice form. */
.panel { border: 1px solid var(--border); background: var(--bg-card); border-radius: 16px; padding: 1.25rem; margin: 1.2rem 0; }
.panel.warning { border-color: color-mix(in srgb, var(--warn) 45%, var(--border)); }
.panel h2 { border: 0; padding: 0; margin-bottom: .4rem; font-size: 1.2rem; }
label { display: block; font-weight: 700; font-size: .9rem; margin: .95rem 0 .3rem; }
input, select, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: .7rem .8rem; font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: .35rem; accent-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.full { grid-column: 1 / -1; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.hidden { display: none !important; }
.message { padding: .8rem 1rem; border-radius: 10px; margin: 1rem 0; background: var(--bg-elev); border: 1px solid var(--border); }
.message.success { border-color: var(--ok); }
.message.danger { border-color: var(--danger); }
code { font-family: var(--mono); font-size: .88em; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 6px; padding: .05em .35em; }

.foot { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.5rem; font-size: .86rem; color: var(--text-muted); }
.foot p { max-width: none; }
.foot a { color: var(--text-muted); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot .sep { opacity: .45; margin: 0 .4rem; }

@media (max-width: 560px) {
  .topbar-in { gap: .45rem; padding: .6rem 1rem; }
  .brand img { height: 30px; }
  .tb-link { display: none; }
  .page { padding: 2rem 1rem 3.5rem; }
  .grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
}
