/* Beacon UI v2 — base styles
   Owned by: claude-tasks/006-ui-v2-redesign
   Resets, typography, reusable components. Page-specific styles
   belong in static/css/v2/pages/<page>.css. */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { color-scheme: light; }

body {
  font-family: var(--font-sans);
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
button { font-family: inherit; }

.mono { font-family: var(--font-mono); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn.primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn.primary:hover { background: var(--yellow-dark); }
.btn.secondary {
  background: var(--bg-card);
  color: var(--dark);
  border-color: var(--border);
}
.btn.secondary:hover { border-color: #D1D5DB; background: var(--bg-elevated); }
.btn.ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn.ghost:hover { color: var(--dark); background: var(--bg-elevated); }
.btn.lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn.sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }

/* ── Inputs (kept here so future pages don't redefine) ──── */
.input, .select, .textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-muted);
}
.textarea { resize: vertical; min-height: 72px; line-height: 1.5; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  flex-shrink: 0;
  padding: 32px 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
}
.footer-logo svg, .footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer-inner { padding: 0 20px; }
}
