/* Sleek site styles for nova-fonts preview */
:root {
  --bg: #0b0d10;
  --panel: #111418;
  --elev: #161b22;
  --text: #e6edf3;
  --muted: #9aa6b2;
  --accent: #4f8cff;
  --accent-2: #22c55e;
  --border: #242a32;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  padding: 24px;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(79,140,255,0.12), transparent 60%),
              radial-gradient(900px 500px at 110% 10%, rgba(34,197,94,0.08), transparent 50%),
              var(--bg);
  color: var(--text);
  font-family: 'Garet', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.01em;
  font-family: 'Garet', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--elev));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 16px;
  align-items: end;
}

label { 
  font-size: 12px; 
  color: var(--muted); 
  display: block; 
  margin-bottom: 6px; 
  font-weight: 500;
  letter-spacing: 0.01em;
}

select, input[type="text"], input[type="range"] {
  width: 100%;
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: 'Garet', system-ui, -apple-system, sans-serif;
  font-size: 14px;
}
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.25);
}

.preview {
  margin: 0;
  padding: 22px 24px;
  font-size: clamp(18px, 3.2vw, 28px);
  line-height: 1.45;
  border-top: 1px solid var(--border);
}

.embed {
  padding: 16px 16px 20px;
  border-top: 1px solid var(--border);
}

textarea {
  width: 100%;
  min-height: 110px;
  background: #0d1117;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  resize: vertical;
}

.credits {
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  white-space: pre-line;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #b8c5d3;
  background: rgba(79,140,255,0.12);
  border: 1px solid rgba(79,140,255,0.35);
  padding: 6px 10px;
  border-radius: 999px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.small { font-size: 12px; color: var(--muted); }

hr.sep { border: none; border-top: 1px solid var(--border); margin: 12px 0; }

.footer-note { margin-top: 22px; color: var(--muted); font-size: 12px; }
