/* Krusher web — shared styles for legal + landing pages.
   Color palette mirrors src/config/theme.ts (deep purple + neon green). */

:root {
  --bg:            #1A1028;
  --bg-card:       #241838;
  --bg-elevated:   #2E2048;
  --accent:        #39FF14;
  --accent-muted:  #2BC40E;
  --accent-bg:     rgba(57,255,20,0.10);
  --text:          #FFFFFF;
  --text-secondary:#D0C4E8;
  --text-muted:    #9B8DB8;
  --text-inverse:  #1A1028;
  --border:        #443560;
  --separator:     #2E2048;
  --warning:       #FFB020;
  --info:          #7C5CFF;
  --error:         #FF4D6A;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header / nav ────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--accent); }
.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.site-nav a.active { color: var(--accent); }

/* ── Main / content ──────────────────────────────────────────────────── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}
.dates { font-size: 12px; color: var(--text-muted); margin: 0 0 2px; }
.intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 14px 0;
  line-height: 1.6;
}

.banner {
  background: rgba(124,92,255,0.10);
  border: 1px solid rgba(124,92,255,0.35);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.banner-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}
.banner-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

section {
  margin: 26px 0;
}
h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
section p, section li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 8px;
}
section h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 6px;
}
ul {
  padding-left: 22px;
  margin: 6px 0 10px;
}
ul li { margin-bottom: 4px; }

.contact-block {
  background: var(--bg-card);
  border-radius: 10px;
  border: 0.5px solid var(--border);
  padding: 14px 16px;
  margin: 14px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  white-space: pre-line;
}

.cross-links {
  background: var(--bg-card);
  border-radius: 12px;
  border: 0.5px solid var(--border);
  margin: 18px 0;
  overflow: hidden;
}
.cross-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--separator);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.cross-links a:last-child { border-bottom: 0; }
.cross-links a:hover { text-decoration: none; background: var(--bg-elevated); }
.cross-links .arrow { color: var(--text-muted); }

/* ── Landing-only sections ───────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 48px 0 24px;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 12px;
}
.hero .tagline {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 480px;
}
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 30px 0;
}
.card {
  background: var(--bg-card);
  border-radius: 12px;
  border: 0.5px solid var(--border);
  padding: 18px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.card-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 10px;
}
.card a {
  font-size: 13px;
  font-weight: 600;
}

.disclaimer-block {
  margin-top: 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 880px;
  margin: 0 auto;
}
.site-footer a { color: var(--text-secondary); margin: 0 8px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  h1 { font-size: 26px; }
  main { padding: 24px 16px 60px; }
  .site-header .inner { padding: 12px 16px; }
}
