/* BuildSelf – Legal Website
   Farbschema und Look übernommen aus der App (src/constants.js -> C) */
:root {
  --bg: #0b0b13;
  --card: #13131e;
  --border: #1e1e2e;
  --accent: #4f7fff;
  --purple: #7b5ea7;
  --green: #00c9a7;
  --text: #eeeef5;
  --muted: #666680;
  --sub: #8888aa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 19, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.site-header .inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 18px;
  flex-shrink: 0;
}
.site-header h1 { font-size: 17px; font-weight: 800; }
.site-header .sub { font-size: 11px; color: var(--muted); font-weight: 500; }

/* Layout */
main { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }

.lead {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--sub);
  font-size: 13px;
}
.lead .emoji { font-size: 24px; }

/* Cards / Sections */
.section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.section-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.section-head h2 { font-size: 15px; font-weight: 700; }
.section-body { padding: 14px 16px; font-size: 14px; color: var(--sub); }
.section-body p { margin-bottom: 10px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul { list-style: none; margin: 8px 0; }
.section-body li {
  color: var(--text);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.section-body li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.section-body strong { color: var(--text); font-weight: 700; }

/* Index page nav cards */
.nav-cards { display: grid; gap: 14px; }
.nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.nav-card:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.nav-card .ico { font-size: 28px; }
.nav-card .t { font-size: 16px; font-weight: 700; color: var(--text); }
.nav-card .d { font-size: 12px; color: var(--muted); }
.nav-card .arrow { margin-left: auto; color: var(--muted); font-size: 20px; }

/* Footer */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 20px 0;
}
footer .links { margin-bottom: 8px; }
footer .links a { margin: 0 8px; color: var(--sub); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 18px;
}
