:root {
  --bg: #050505;
  --surface: #0a0a0a;
  --surface-hover: #0f0f0f;
  --border: #1a1a1a;
  --text: #d1d5db;
  --text-dim: #6b7280;
  --accent: #ffffff;
  --radius: 0.25rem;
  --spacing: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 20px;
}

body {
  font-family: "Google Sans Code", monospace;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

header {
  margin-bottom: 3.5rem;
}

header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

header p {
  color: var(--text-dim);
  font-size: 0.75rem;
}

section {
  margin-bottom: 2.5rem;
}

.section-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
  gap: 0.5rem;
}

.card {
  background-color: var(--surface);
  padding: var(--spacing);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card:hover {
  background-color: var(--surface-hover);
}

.card h3 {
  font-size: 1rem;
  font-weight: 500;
}

.card p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.nav {
  padding: 1rem 1.5rem;
  border-bottom: 0.0625rem solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.nav-link:hover {
  color: var(--accent);
}

.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.app-sidebar {
  width: 18.5rem;
  border-right: 0.0625rem solid var(--border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-view {
  flex: 1;
  background: var(--bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

select,
textarea,
button,
input,
.btn {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  color: var(--text);
  padding: 0.625rem 0.75rem;
  font-family: "Google Sans Code", monospace;
  font-size: 0.75rem;
  outline: none;
  border-radius: var(--radius);
}

.btn {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.console {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  padding: 1rem;
  font-size: 0.75rem;
  color: #4ade80;
  flex: 1;
  overflow-y: auto;
  white-space: pre-wrap;
  border-radius: var(--radius);
}