/* Pandora's Box site — shared stylesheet */
:root {
  --bg: #0a0a14;
  --bg-elev: #14141f;
  --fg: #f0f0ff;
  --fg-soft: #c8c8e0;
  --muted: #8888aa;
  --rule: #2a2a40;
  --accent: #7B68EE;
  --accent-2: #00B4FF;
  --accent-warm: #FFD700;
  --pink: #FF1493;
  --orange: #FF8C00;
  --green: #7BFF7B;
  --grey: #9aa4b8;
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html, body { background: var(--bg); color: var(--fg); font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased }
a { color: var(--accent-2); text-decoration: none; transition: color .15s }
a:hover { color: var(--accent-warm) }
img { max-width: 100%; height: auto; display: block }

header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,20,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 2px; font-size: 14px; color: var(--fg) }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%) }
nav.links { display: flex; gap: 24px; font-size: 14px; }
nav.links a { color: var(--fg-soft) }
nav.links a:hover { color: var(--accent-warm) }
@media (max-width: 720px) { nav.links { gap: 14px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end } }

main { max-width: 1200px; margin: 0 auto; padding: 64px 24px 80px }
section + section { margin-top: 80px }

.hero { text-align: center; padding: 40px 0 60px }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-warm) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px }
.hero p.tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--fg-soft); max-width: 720px; margin: 0 auto 32px }
.hero .cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center }
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14px; letter-spacing: 0.2px; transition: all .15s; border: 1px solid transparent }
.btn-primary { background: var(--accent); color: white }
.btn-primary:hover { background: var(--accent-2); color: white }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule) }
.btn-ghost:hover { background: var(--bg-elev); color: var(--accent-warm) }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 36px }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px }
.card { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; text-decoration: none }
.card:hover { transform: translateY(-4px); border-color: var(--accent) }
.card .hero-img { aspect-ratio: 16/9; background: #07070f; overflow: hidden }
.card .hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92 }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px }
.card .group-tag { font-size: 10.5px; letter-spacing: 3px; color: var(--accent); font-weight: 700; text-transform: uppercase }
.card h3 { font-size: 1.2rem; font-weight: 600; color: var(--fg); margin: 2px 0 6px }
.card p { font-size: 14px; color: var(--fg-soft); line-height: 1.55; flex: 1 }
.card .status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 12px; font-weight: 500 }
.card .status .pill { width: 8px; height: 8px; border-radius: 50% }
.status-live .pill { background: var(--green) }
.status-build .pill { background: var(--accent-warm) }
.status-planned .pill { background: var(--accent-2) }
.status-research .pill { background: var(--accent) }

.prose { max-width: 760px; margin: 0 auto; color: var(--fg-soft) }
.prose h2 { color: var(--fg); font-size: 1.6rem; font-weight: 600; margin: 36px 0 14px }
.prose h3 { color: var(--fg); font-size: 1.2rem; font-weight: 600; margin: 24px 0 8px }
.prose p { margin-bottom: 14px }
.prose ul, .prose ol { margin: 0 0 16px 24px }
.prose li { margin-bottom: 6px }
.prose code { background: #1f1f2e; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace }
.prose pre { background: #07070f; border: 1px solid var(--rule); padding: 18px 20px; border-radius: 10px; overflow-x: auto; margin-bottom: 18px }
.prose pre code { background: none; padding: 0 }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--fg-soft); margin: 18px 0; font-style: italic }

.detail-hero { aspect-ratio: 16/7; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); margin-bottom: 32px }
.detail-hero img { width: 100%; height: 100%; object-fit: cover }
.detail-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; flex-wrap: wrap }

footer.site-footer { border-top: 1px solid var(--rule); padding: 36px 24px 44px; color: var(--muted); font-size: 12.5px }
footer.site-footer .inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center }
footer.site-footer a { color: var(--fg-soft) }
footer.site-footer a:hover { color: var(--accent-warm) }
footer .legal { font-size: 11.5px; max-width: 560px; line-height: 1.5 }
footer .meta-links { display: flex; gap: 18px; flex-wrap: wrap }

.brand-strip { background: var(--bg-elev); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 0 }
.brand-strip .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap }
.brand-strip .line { color: var(--muted); font-size: 13px; letter-spacing: 0.5px }
.brand-strip .strands { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; letter-spacing: 4px; color: var(--accent); font-weight: 600; text-transform: uppercase }

.kbd { font-family: 'JetBrains Mono', monospace; background: #1f1f2e; padding: 1px 8px; border-radius: 4px; font-size: 12.5px; color: var(--fg) }
