@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&family=Archivo+Black&display=swap');

:root {
  --bg: #f5f5f3;
  --primary: #2848d8;
  --primary-dark: #1c35a8;
  --text: #15161a;
  --muted: #5b5e68;
  --line: #e3e2dd;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(245, 245, 243, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand img { height: 34px; width: 34px; display: block; }

.brand .wordmark {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.nav-actions { display: flex; align-items: center; gap: 24px; }

.nav-actions a.link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.nav-actions a.link:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 2px rgba(40, 72, 216, 0.25);
}

.btn.primary:hover { background: var(--primary-dark); }

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

.btn.secondary:hover { border-color: #c9c8c1; }

.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 120px 48px 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(40, 72, 216, 0.08);
  border: 1px solid rgba(40, 72, 216, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero .cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .cta .btn { padding: 13px 26px; font-size: 15px; }

.panel {
  max-width: 980px;
  margin: 56px auto 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 24px 60px -24px rgba(21, 22, 26, 0.18);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.panel-body {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.panel-nav {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-nav .item {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.panel-nav .item.active {
  background: rgba(40, 72, 216, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.panel-main {
  padding: 28px 28px 32px;
  text-align: left;
}

.panel-main .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.panel-main .row .name { font-weight: 600; }
.panel-main .row .meta { color: var(--muted); }

.status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.status.ok { background: rgba(34, 139, 87, 0.12); color: #1d7a4c; }
.status.warn { background: rgba(216, 142, 40, 0.14); color: #a3650f; }

.features {
  max-width: 1040px;
  margin: 100px auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}

.feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(40, 72, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature h3 { font-size: 1.05rem; margin: 0 0 8px; }
.feature p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.closing {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px 120px;
  text-align: center;
}

.closing h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.closing p { color: var(--muted); margin-bottom: 32px; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

footer .legal-links a { margin-left: 20px; text-decoration: none; color: var(--muted); }
footer .legal-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-actions .link { display: none; }
  .hero { padding: 72px 20px 48px; }
  .panel-body { grid-template-columns: 1fr; }
  .panel-nav { display: none; }
  .features { grid-template-columns: 1fr; padding: 0 20px; }
  footer { flex-direction: column; gap: 12px; padding: 28px 20px; text-align: center; }
  footer .legal-links a { margin: 0 10px; }
}

main.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.legal h1 { font-size: 2rem; letter-spacing: -0.01em; }
.legal h2 { font-size: 1.15rem; margin-top: 36px; }
.legal p { color: var(--muted); }
