:root {
  --ink: #16181d;
  --paper: #fafaf8;
  --accent: #2f5fff;
  --line: #e3e3df;
  --muted: #6b6f76;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 32px;
  background: #fff;
}

h1 {
  font-size: 22px;
  margin: 0 0 8px;
}

p.lead {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.5;
  font-size: 15px;
}

button {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: default;
}

button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

#status {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 6px;
}

input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

textarea { resize: vertical; min-height: 70px; }

.result {
  margin-top: 16px;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f3f6ff;
  color: #1e3fb0;
  display: none;
}
