/* Shared styles for the secondary pages (privacy, terms, guidelines, support,
   delete-account). index.html carries its own inline styles from the design export. */
@import url("assets/fonts.css");

:root {
  --bg: #0E0E12;
  --panel: #15151C;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #F2F1F7;
  --muted: #A6A3B8;
  --dim: #6F6C7E;
  --accent: #8B7BFF;
  --accent-2: #A79BFF;
  --gold: #C8A02A;
  --error: #F2A0A0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; max-width: 1080px; width: 100%; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; box-shadow: 0 0 20px rgba(109,94,246,.35); }
.brand span { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.brand b { color: var(--gold); font-weight: 700; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h1 { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 42px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 10px; }
.updated { color: var(--dim); font-size: 14px; margin-bottom: 28px; }
h2 { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif; font-weight: 700; font-size: 22px; margin: 38px 0 10px; }
h3 { font-family: 'Bricolage Grotesque', 'Instrument Sans', sans-serif; font-weight: 700; font-size: 17px; margin: 26px 0 8px; }
h4 { font-family: 'Instrument Sans', sans-serif; font-weight: 600; font-size: 16px; margin: 20px 0 6px; color: var(--ink); }
a strong { color: inherit; }
p, li { color: var(--muted); font-size: 16px; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }
.placeholder {
  background: rgba(200, 160, 42, .10); border: 1px dashed rgba(200, 160, 42, .55);
  color: #E9C55C; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 28px;
}
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 18px 0; }

form.tt-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.tt-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
.tt-form input, .tt-form textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: #1B1B24; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; width: 100%;
}
.tt-form input::placeholder, .tt-form textarea::placeholder { color: var(--dim); }
.tt-form input:focus, .tt-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tt-form button {
  font-family: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: var(--accent); border: 0; border-radius: 12px; padding: 14px 20px; cursor: pointer;
}
.tt-form button:hover { background: var(--accent-2); }
.tt-form button:disabled { opacity: .6; cursor: default; }
.tt-status { font-size: 14px; }
.tt-status.ok { color: #9BE3C1; }
.tt-status.err { color: var(--error); }

.site-footer {
  border-top: 1px solid var(--line); padding: 22px 24px; text-align: center;
  font-size: 13px; color: var(--dim);
}
.site-footer nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
