/* Shared styles for the smaller pages (privacy.html, 404.html). Same colors and type as index.html. */
:root {
  --purple: #981dcd;
  --purple-700: #6e159a;
  --purple-900: #2a0a3a;
  --lavender: #d9b3f5;
  --ink: #0e0e10;
  --charcoal: #1e1e1e;
  --silver: #bbbbbb;
  --mist: #eeeeee;
  --line: rgba(255, 255, 255, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh; margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7; background: var(--ink); color: var(--mist);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lavender); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }
main { flex: 1; }
.container { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: rgba(14, 14, 16, .92); }
.top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 6px 20px -6px rgba(152, 29, 205, .6); }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; font-size: .72rem; letter-spacing: .04em; color: var(--silver); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.3em; border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: transform .2s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 30px -10px rgba(152, 29, 205, .7); }
.btn-primary:hover { background: #a930e0; }
.btn-outline { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Page banner */
.banner {
  padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px);
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(152, 29, 205, .45), transparent 70%),
    linear-gradient(115deg, var(--purple) 0%, var(--purple-700) 40%, var(--purple-900) 75%, var(--ink) 100%);
}
.eyebrow { margin: 0 0 .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
h1 { margin: 0; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.updated { margin: .9rem 0 0; color: rgba(255, 255, 255, .85); }

/* Long-form text */
.prose { padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { margin: 2.2em 0 .5em; font-size: 1.3rem; letter-spacing: -.01em; color: #fff; }
.prose p, .prose li { color: #d4d4d4; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: #fff; }
.callout { margin: 1.4em 0; padding: 18px 20px; border: 1px solid rgba(152, 29, 205, .45); border-radius: 16px; background: rgba(152, 29, 205, .12); }
.callout p { margin: .35em 0; }

/* Page not found */
.notfound {
  display: grid; place-items: center; padding-block: clamp(56px, 10vw, 120px); text-align: center;
  background: radial-gradient(50% 60% at 50% 30%, rgba(152, 29, 205, .35), transparent 70%);
}
.notfound img {
  width: 150px; height: auto; margin: 0 auto 8px;
  /* keeps the logo's black background; the mask only softens the edges */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 82%, transparent 100%);
}
.notfound .code {
  margin: 0; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 10%, var(--lavender) 60%, var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { margin-top: .3em; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.notfound p { max-width: 46ch; margin: 1em auto 0; color: #cfcfcf; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.foot { padding-block: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: #8f8f8f; }
.foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 1180px; }
.foot a { color: #cfcfcf; }

@media (max-width: 479px) {
  .brand small { display: none; }
  .top .btn { padding: .7em 1em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
