:root {
  --bg: #0f1115;
  --bg-elev: #171a21;
  --border: #262a33;
  --text: #e8e9ec;
  --text-dim: #9aa0ac;
  --accent: #8b5cf6;
  --accent-soft: #8b5cf61a;
  --max-width: 960px;

  /* Product-identity hues — used only inside each card's art zone
     (icon fill + hover-border glow), never in global chrome. */
  --accent-cashmaniac: #f2b705;
  --accent-danceparty: #ec4899;
  --accent-hubbub-unread: #f43f5e;
  --accent-hubbub-zero: #6b7280;
  --accent-multiaudiomix: #22d3ee;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1.25rem 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 3rem;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 440px;
  height: 380px;
  z-index: -1;
  pointer-events: none;
}

.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.32;
}

.hero-glow .g1 { top: 10px;  left: 30px;  width: 220px; height: 220px; background: var(--accent-cashmaniac); }
.hero-glow .g2 { top: 60px;  left: 190px; width: 200px; height: 200px; background: var(--accent-danceparty); }
.hero-glow .g3 { top: 170px; left: 10px;  width: 180px; height: 180px; background: var(--accent-hubbub-unread); }
.hero-glow .g4 { top: 150px; left: 220px; width: 200px; height: 200px; background: var(--accent-multiaudiomix); }

@media (max-width: 640px) {
  .hero-glow {
    top: -70px;
    right: -160px;
    width: 300px;
    height: 300px;
  }
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 1rem;
}

.hero p.lede {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 640px;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #7c3aed;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.25;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

/* Device chrome is pure CSS/SVG; only the image inside a .frame-phone
   is a binary asset. Frames with no real capture available fall back
   to .frame-placeholder — see PR description for which is which. */
.frame-phone {
  position: relative;
  width: 132px;
  aspect-ratio: 9 / 16;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.frame-phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 9px;
  background: var(--border);
  border-radius: 0 0 7px 7px;
  z-index: 2;
}

.frame-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.frame-menubar {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}

.frame-menubar .menubar-strip {
  height: 20px;
  background: #1c1f27;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
}

.frame-menubar .menubar-strip span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.5;
}

.frame-menubar .menubar-body {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.frame-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 100%;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem;
}

.frame-placeholder svg {
  width: 30px;
  height: 30px;
  opacity: 0.55;
}

.placeholder-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.placeholder-note svg {
  width: 28px;
  height: 28px;
  opacity: 0.55;
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-dim);
  margin-bottom: 0;
}

article.legal h2 {
  margin-top: 2.5rem;
}

article.legal h2:first-of-type {
  margin-top: 1.5rem;
}

.updated-note {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.contact-block {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
