/* Singularity: Collapse — website styles. Cosmic dark theme, asset-free. */

:root {
  --bg: #05060c;
  --bg-2: #0a0c16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e9ebf4;
  --muted: #9aa0b6;
  --accent: #bb55ff;   /* black hole / event horizon */
  --gold: #ffcc33;     /* the consumed worldline */
  --teal: #88ccff;     /* particle */
  --orange: #ff7a18;   /* accretion disk */
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(187, 85, 255, 0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 20%, rgba(136, 204, 255, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.1px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Header / nav ---- */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(5, 6, 12, 0.72);
  border-bottom: 1px solid var(--panel-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.brand .mark { width: 22px; height: 22px; }
.brand small { color: var(--muted); font-weight: 500; letter-spacing: 1px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 36px; }
.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  letter-spacing: 6px; margin: 0 0 6px; font-weight: 800;
}
.hero .sub { color: var(--accent); letter-spacing: 8px; font-size: clamp(12px, 2.4vw, 16px); font-weight: 600; margin-bottom: 26px; }
.hero p.lede { color: var(--muted); max-width: 620px; margin: 0 auto 30px; font-size: 18px; }

/* The black hole */
.singularity { position: relative; width: 240px; height: 240px; margin: 8px auto 40px; }
.singularity .disk {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--orange), var(--accent), var(--teal), var(--accent), var(--orange), var(--gold));
  filter: blur(1px) brightness(1.08);
  -webkit-mask: radial-gradient(circle, transparent 39%, #000 43%, #000 70%, transparent 75%);
  mask: radial-gradient(circle, transparent 39%, #000 43%, #000 70%, transparent 75%);
  animation: spin 20s linear infinite;
  opacity: 0.92;
}
.singularity .core {
  position: absolute; inset: 30%; border-radius: 50%; background: #02030a;
  box-shadow: 0 0 70px 12px rgba(187, 85, 255, 0.45), inset 0 0 26px rgba(0, 0, 0, 0.95);
}
.singularity .worldline { position: absolute; inset: 0; animation: spin 9s linear infinite reverse; }
.singularity .worldline::before {
  content: ""; position: absolute; top: 4%; left: 50%; width: 11px; height: 11px;
  border-radius: 50%; background: var(--gold); transform: translateX(-50%);
  box-shadow: 0 0 14px 4px rgba(255, 204, 51, 0.85);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Store badges ---- */
.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--panel-border); background: var(--panel);
  padding: 12px 18px; border-radius: 12px; color: var(--muted); font-size: 14px;
  cursor: default;
}
.badge b { color: var(--text); font-weight: 600; }
.badge .soon { font-size: 11px; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }

/* ---- Sections ---- */
section { padding: 48px 0; }
section h2 { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin: 0 0 26px; text-align: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  border: 1px solid var(--panel-border); background: var(--panel);
  border-radius: 14px; padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .ic { font-size: 22px; margin-bottom: 10px; display: block; }

.ladder { color: var(--muted); text-align: center; font-size: 15px; max-width: 640px; margin: 0 auto; }
.ladder .tier { color: var(--text); white-space: nowrap; }
.ladder .arrow { color: var(--accent); padding: 0 6px; }

/* ---- Content pages (privacy / support) ---- */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(26px, 5vw, 38px); letter-spacing: 1px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: 0.3px; color: var(--text); text-transform: none; text-align: left; }
.doc p, .doc li { color: #c9cde0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout {
  border: 1px solid var(--panel-border); background: var(--panel);
  border-left: 3px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 22px 0;
}
.faq { margin-top: 8px; }
.faq details {
  border: 1px solid var(--panel-border); background: var(--panel);
  border-radius: 12px; padding: 4px 18px; margin: 12px 0;
}
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--accent); font-weight: 700; }
.faq details[open] summary::before { content: "\2212  "; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.mail-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(187,85,255,0.22), rgba(187,85,255,0.10));
  border: 1px solid rgba(187, 85, 255, 0.45); color: var(--text);
  padding: 13px 22px; border-radius: 12px; font-weight: 600; margin: 6px 0 4px;
}
.mail-btn:hover { text-decoration: none; border-color: var(--accent); }

/* ---- Footer ---- */
footer.site { border-top: 1px solid var(--panel-border); padding: 30px 0 44px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }

@media (max-width: 560px) {
  .nav-links { gap: 16px; }
  .foot { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .singularity .disk, .singularity .worldline { animation: none; }
  html { scroll-behavior: auto; }
}
