:root {
  --ink: #171411;
  --muted: #625a50;
  --paper: #fffaf2;
  --soft: #f1e7d8;
  --line: #d8c7b1;
  --accent: #e95f2a;
  --blue: #164e63;
  --green: #2f6f4e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.demo {
  min-height: 100vh;
  padding: 18px;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.brand {
  font-family: Signika, Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(35, 25, 13, 0.08);
}

.field,
.result-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fffdf8;
}

.label {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.textarea {
  min-height: 86px;
}

.button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
  padding: 12px;
  font-weight: 900;
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
  margin: 18px 0 12px;
}

.bar {
  height: 100%;
  width: 72%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite alternate;
}

.score {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: Signika, Inter, sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.result-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.result-head h1 {
  margin: 0;
  font-family: Signika, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.05;
}

.result-head p,
.panel p {
  margin: 0;
  color: var(--muted);
}

.result-row strong {
  display: block;
  margin-bottom: 4px;
}

@keyframes pulse {
  from {
    width: 42%;
  }
  to {
    width: 91%;
  }
}
