/* Purple Panther: one style for every page. Dark, from the panther picture. */
:root {
  --ground: #0d0716;
  --panel: #170d26;
  --line: #2c1d45;
  --text: #ece6f5;
  --muted: #a99bbf;
  --purple: #a614d2;
  --glow: #7b2ff2;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 500px at 50% -120px, rgba(123, 47, 242, .28), transparent 70%),
    var(--ground);
  min-height: 100vh;
}
a { color: #c99bff; }
a:hover { color: var(--text); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand .avatar { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 14px rgba(166, 20, 210, .55); }
.brand .wordmark { height: 22px; width: auto; }
nav.links { display: flex; gap: 6px; }
nav.links a {
  color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 500;
}
nav.links a:hover, nav.links a.on { color: var(--text); background: var(--panel); }

/* Home */
.hero { text-align: center; padding: 56px 0 24px; }
.hero .panther {
  width: min(320px, 70vw); height: auto; border-radius: 50%;
  box-shadow: 0 0 60px rgba(123, 47, 242, .55), 0 0 0 1px var(--line);
}
.hero h1 { font-size: 34px; margin: 28px 0 10px; letter-spacing: .01em; line-height: 0; }
.hero h1 .hero-wordmark { width: min(420px, 82vw); height: auto; }
.hero p { color: var(--muted); margin: 0 auto; max-width: 560px; font-size: 18px; }

h2.section { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 48px 0 16px; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 56px; }
.card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--purple); box-shadow: 0 0 24px rgba(166, 20, 210, .35); transform: translateY(-2px); }
/* Every app logo is drawn on the same 600 x 240 canvas, so they line up. */
.card .logo { display: flex; justify-content: center; }
.card .logo img { width: 100%; max-width: 320px; height: auto; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.badge.live { color: #d9b8ff; border-color: var(--purple); }

/* Text pages */
main.page { padding: 40px 0 64px; max-width: 720px; }
main.page h1 { font-size: 30px; margin: 0 0 6px; }
main.page .lead { color: var(--muted); margin-top: 0; font-size: 18px; }
main.page h2 { font-size: 20px; margin: 32px 0 8px; }
main.page ul, main.page ol { padding-left: 22px; }
main.page li { margin: 4px 0; }
.page-logo { margin: 8px 0 20px; }
.page-logo img { width: 100%; max-width: 360px; height: auto; }

/* Contact form */
form.contact { display: grid; gap: 16px; margin-top: 24px; }
form.contact label { display: grid; gap: 6px; font-weight: 500; }
form.contact input, form.contact select, form.contact textarea {
  font: inherit; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--purple); border-color: transparent; }
form.contact .button { justify-self: start; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.button {
  display: inline-block; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600;
  background: var(--purple); color: #fff;
}
.button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.small { color: var(--muted); font-size: 14px; }

footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; }
footer.bottom a { color: var(--muted); }

@media (max-width: 560px) {
  .brand .wordmark { height: 18px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
