:root {
  --bg: #0b0c10;
  --panel: #11131a;
  --muted: #aeb2c0;
  --text: #f4f5f8;
  --accent: #8cccb7;
  --border: #191b23;
  --danger: #ff8a8a;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Space Grotesk', 'JetBrains Mono', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(140, 204, 183, 0.06), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(140, 204, 183, 0.04), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  padding: 32px 18px 80px;
}
.frame {
  width: 100%;
  max-width: 960px;
  background: linear-gradient(140deg, rgba(17,19,26,0.94), rgba(11,12,16,0.96));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.02);
  padding: 38px;
  backdrop-filter: blur(5px);
}
header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.35px;
}
.tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(140, 204, 183, 0.6);
}
h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin: 0;
  letter-spacing: -1px;
}
p.lead {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p, .card ul {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.card ul { padding-left: 18px; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.card-head h3 { margin: 0; }
form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.2px;
}
input, textarea, button {
  font-family: 'JetBrains Mono', 'Space Grotesk', system-ui, sans-serif;
  background: #0f1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 14px;
  font-size: 15px;
  transition: border 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(140, 204, 183, 0.3);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
button {
  cursor: pointer;
  background: #12151d;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.35px;
  border: 1px solid var(--accent);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
button:hover { transform: translateY(-1px); }
button:active { transform: translateY(0); }
.note {
  color: var(--muted);
  font-size: 13px;
  margin-top: -4px;
}
.status {
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent);
  min-height: 20px;
}
.status.error { color: var(--danger); }
.pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  margin-left: 8px;
}
@media (max-width: 640px) {
  body { padding: 20px 14px 60px; }
  .frame { padding: 26px; }
  h1 { font-size: 32px; }
}
