:root {
  --pig-bg: #0f172a;
  --pig-text: #e5e7eb;
  --pig-muted: #94a3b8;
  --pig-panel: #111827;
  --pig-panel-2: #1f2937;
  --pig-line: rgba(255,255,255,0.10);
  --pig-accent: #60a5fa;
  --pig-accent-strong: #2563eb;
  --pig-button-text: #f8fafc;
}

* { box-sizing: border-box; }

html, body {
  background: var(--pig-bg);
  color: var(--pig-text);
}

body.pig-page {
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.10), transparent 35%),
    var(--pig-bg);
  color: var(--pig-text);
  min-height: 100vh;
}

.pig-header {
  margin-bottom: 18px;
  padding: 18px 0 8px;
}

.pig-header.compact {
  padding-top: 10px;
}

.pig-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pig-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pig-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pig-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--pig-accent) 0%, var(--pig-accent-strong) 100%);
  color: white;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.pig-header-links {
  justify-self: end;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.pig-hero {
  text-align: center;
  padding: 12px 0 10px;
}

.pig-kicker {
  color: var(--pig-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pig-title {
  margin: 0;
  color: var(--pig-text);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.pig-copy {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--pig-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.pig-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--pig-accent) 0%, var(--pig-accent-strong) 100%);
  color: var(--pig-button-text);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pig-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.pig-button.secondary {
  background: rgba(255,255,255,0.05);
  color: var(--pig-text);
  border-color: var(--pig-line);
}

.pig-button.secondary:hover {
  background: rgba(255,255,255,0.09);
}

@media (max-width: 720px) {
  .pig-topbar { grid-template-columns: 1fr; }
  .pig-brand { justify-self: center; }
  .pig-header-links { justify-self: center; justify-content: center; }
  .pig-hero { padding-top: 4px; }
}
