/*
LEVELFORECAST DESIGN SYSTEM v1
Controlled Arial typography baseline for the LevelForecast.ai test candidate.
*/

:root {
  --lf-bg: #020617;
  --lf-surface: rgba(15, 23, 42, .62);
  --lf-surface-solid: #0f172a;
  --lf-border: rgba(255,255,255,.06);
  --lf-border-strong: #1e293b;
  --lf-text: #f8fafc;
  --lf-muted: #94a3b8;
  --lf-dim: #64748b;
  --lf-indigo: #6366f1;
  --lf-teal: #14b8a6;
  --lf-blue: #3b82f6;
  --lf-amber: #f59e0b;
  --lf-red: #ef4444;
  --lf-radius-xl: 1rem;
  --lf-radius-2xl: 1.5rem;
  --lf-radius-3xl: 1.75rem;
}

* { box-sizing: border-box; }
html, body, button, input, textarea, select, table {
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  font-weight: 400;
  background: var(--lf-bg);
  color: var(--lf-text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: Arial, Helvetica, sans-serif; }
.lf-glass {
  background: var(--lf-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lf-border);
}
.lf-grid {
  background-image:
    linear-gradient(#1e293b 1px, transparent 1px),
    linear-gradient(90deg, #1e293b 1px, transparent 1px);
  background-size: 40px 40px;
}
.lf-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: .42;
  pointer-events: none;
}
.lf-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1e293b; }
.lf-container { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.lf-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  line-height: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.lf-badge-indigo { background: rgba(99,102,241,.10); color: #818cf8; border: 1px solid rgba(99,102,241,.20); }
.lf-badge-teal { background: rgba(20,184,166,.10); color: #2dd4bf; border: 1px solid rgba(20,184,166,.20); }
.lf-badge-amber { background: rgba(245,158,11,.10); color: #fbbf24; border: 1px solid rgba(245,158,11,.20); }
.lf-badge-slate { background: #1e293b; color: #cbd5e1; border: 1px solid #334155; }
.lf-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 1rem 2rem; font-weight: 700; transition: .2s ease; }
.lf-btn-indigo { background: #4f46e5; color: white; box-shadow: 0 20px 50px rgba(79,70,229,.22); }
.lf-btn-teal { background: #0d9488; color: white; box-shadow: 0 20px 50px rgba(13,148,136,.22); }
.lf-btn-amber { background: #f59e0b; color: #020617; box-shadow: 0 20px 50px rgba(245,158,11,.22); }
.lf-btn-outline { border: 2px solid #334155; color: white; }
.lf-card { position: relative; overflow: hidden; border-radius: var(--lf-radius-3xl); padding: 2rem; transition: .25s ease; }
.lf-card:hover { transform: translateY(-4px); }
.lf-card:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 35%); pointer-events: none; }
.lf-node { background: #020617; border: 1px solid #1e293b; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 80px rgba(15,23,42,.65); }
.lf-section { padding-top: 6rem; padding-bottom: 6rem; }
.lf-section-line { border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; background: rgba(15,23,42,.30); }
.lf-title-xl { font-size: 3rem; line-height: 3.5rem; letter-spacing: -.02em; font-weight: 700; }
.lf-title-lg { font-size: 2.125rem; line-height: 2.625rem; letter-spacing: -.012em; font-weight: 700; }
.lf-subtitle { font-size: 1.0625rem; color: var(--lf-muted); line-height: 1.6875rem; font-weight: 400; }
.lf-thin-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,.55), transparent); }
.lf-code-screen { background: linear-gradient(180deg, rgba(11,16,33,.98), rgba(2,6,23,.99)); border: 1px solid #1e293b; border-radius: var(--lf-radius-3xl); padding: 1.5rem; overflow: hidden; }
@media (max-width: 768px) {
  .lf-section { padding-top: 4rem; padding-bottom: 4rem; }
  .lf-card { padding: 1.5rem; }
  .lf-title-xl { font-size: 2.125rem; line-height: 2.5rem; }
  .lf-title-lg { font-size: 1.75rem; line-height: 2.125rem; }
}
