.leq {
  --leq-ink: #1d1d1d;
  --leq-heading: #434446;
  --leq-muted: #6b6c6e;
  --leq-line: #d8d8d8;
  --leq-line-strong: #8e8f90;
  --leq-bg: #fff;
  --leq-fill: #f6f6f5;
  box-sizing: border-box;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 0 24px;
  color: var(--leq-ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.leq *,
.leq *::before,
.leq *::after {
  box-sizing: inherit;
}

.leq-progress {
  height: 2px;
  background: var(--leq-fill);
  margin: 0 0 28px;
}

.leq-progress span {
  display: block;
  height: 100%;
  background: var(--leq-ink);
  width: 0;
  transition: width 0.25s ease;
}

.leq-kicker {
  font-family: Marcellus, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leq-line-strong);
  margin: 0 0 12px;
}

.leq-prompt {
  font-family: Marcellus, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--leq-heading);
  margin: 0 0 12px;
}

.leq-body,
.leq-hint {
  color: var(--leq-muted);
  font-size: 15px;
  font-weight: 300;
  margin: 0 0 24px;
}

.leq-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.leq-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--leq-bg);
  color: var(--leq-ink);
  border: 1px solid var(--leq-line);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.leq-option:hover,
.leq-option:focus-visible {
  border-color: var(--leq-ink);
  outline: none;
}

.leq-option.is-selected {
  background: var(--leq-ink);
  border-color: var(--leq-ink);
  color: #fff;
}

.leq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}

.leq-field label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leq-muted);
}

.leq-field input,
.leq-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--leq-line-strong);
  background: transparent;
  padding: 10px 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--leq-ink);
  border-radius: 0;
}

.leq-field input:focus,
.leq-field textarea:focus {
  outline: none;
  border-bottom-color: var(--leq-ink);
}

.leq-field textarea {
  min-height: 96px;
  resize: vertical;
}

.leq-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  font-size: 14px;
  color: var(--leq-muted);
}

.leq-consent input {
  margin-top: 3px;
}

.leq-consent a {
  color: var(--leq-ink);
  text-decoration: underline;
}

.leq-error {
  color: #8a2b2b;
  font-size: 14px;
  margin: 0 0 16px;
}

.leq-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.leq-btn {
  appearance: none;
  border: 0;
  background: var(--leq-ink);
  color: #fff;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  cursor: pointer;
}

.leq-btn:hover,
.leq-btn:focus-visible {
  background: #000;
  outline: none;
}

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

.leq-btn-ghost {
  background: transparent;
  color: var(--leq-heading);
  padding: 8px 0;
  border-bottom: 2px solid var(--leq-line-strong);
  border-radius: 0;
}

.leq-btn-ghost:hover,
.leq-btn-ghost:focus-visible {
  background: transparent;
  color: var(--leq-ink);
  border-bottom-color: var(--leq-ink);
}

.leq-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.leq-result .leq-prompt {
  margin-bottom: 16px;
}

.leq-pause .leq-prompt {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 8px;
}

.leq-pause-bar {
  height: 2px;
  background: var(--leq-fill);
  margin: 28px 0 0;
  max-width: 220px;
}

.leq-pause-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--leq-ink);
  animation: leq-pause-fill linear forwards;
}

@keyframes leq-pause-fill {
  to {
    width: 100%;
  }
}

.leq[hidden] {
  display: none !important;
}
