:root {
  --trusty-blue: #3856ff;
  --trusty-blue-dark: #0026f9;
  --trusty-ink: #000a43;
  --trusty-muted: #5a6285;
  --trusty-line: #b4bfff;
  --trusty-tint: #f2f4ff;
  --trusty-success-bg: #e9f7ef;
  --trusty-success-fg: #1e7e43;
  --trusty-danger-bg: #fdecea;
  --trusty-danger-fg: #c0392b;
  --trusty-font-display: "Clash Display", sans-serif;
  --trusty-font-ui: Poppins, sans-serif;
  --trusty-shadow-raised: 0 4px 20px rgba(0, 16, 53, 0.15);
  --trusty-shadow-soft: 0 4px 20px rgba(0, 16, 53, 0.1);
  --trusty-radius-pill: 999px;
  --trusty-radius-card: 20px;
  --trusty-radius-input: 6px;
  --trusty-field-border: #a6b0c3;
  --trusty-text-subtle: #8891b5;
  --trusty-focus-ring: 0 0 0 3px rgba(0, 38, 249, 0.35);
}

.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--trusty-radius-pill);
  font-family: var(--trusty-font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.tf-btn:focus-visible {
  outline: none;
  box-shadow: var(--trusty-focus-ring);
}
.tf-btn:disabled, .tf-btn[aria-disabled=true] {
  cursor: not-allowed;
  opacity: 0.6;
}
.tf-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.tf-btn--primary {
  background: var(--trusty-blue-dark);
}
.tf-btn--primary, .tf-btn--primary:link, .tf-btn--primary:visited, .tf-btn--primary:hover, .tf-btn--primary:focus, .tf-btn--primary:focus-visible, .tf-btn--primary:active {
  color: #fff;
  text-decoration: none;
}
.tf-btn--primary:hover:not(:disabled):not([aria-disabled=true]) {
  background: var(--trusty-blue);
}

.tf-btn--secondary {
  background: var(--trusty-tint);
  border: 1px solid var(--trusty-line);
  font-weight: 500;
}
.tf-btn--secondary, .tf-btn--secondary:link, .tf-btn--secondary:visited, .tf-btn--secondary:hover, .tf-btn--secondary:focus, .tf-btn--secondary:focus-visible, .tf-btn--secondary:active {
  color: var(--trusty-ink);
  text-decoration: none;
}
.tf-btn--secondary:hover:not(:disabled):not([aria-disabled=true]) {
  background: #fff;
}

.tf-btn--text {
  height: 36px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-family: var(--trusty-font-ui);
  font-size: 12px;
  font-weight: 500;
}
.tf-btn--text, .tf-btn--text:link, .tf-btn--text:visited, .tf-btn--text:hover, .tf-btn--text:focus, .tf-btn--text:focus-visible, .tf-btn--text:active {
  color: var(--trusty-blue-dark);
}

.tf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tf-field__label {
  font-family: var(--trusty-font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--trusty-ink);
}

.tf-field__help {
  font-size: 11px;
  line-height: 1.5;
  color: var(--trusty-text-subtle);
}

.tf-field__help--error {
  color: var(--trusty-danger-fg);
}

.tf-input {
  height: 48px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid var(--trusty-field-border);
  border-radius: var(--trusty-radius-input);
  color: var(--trusty-ink);
  font-family: var(--trusty-font-ui);
  font-size: 14px;
  background: #fff;
}
.tf-input:focus-visible {
  outline: none;
  border-color: var(--trusty-blue);
  box-shadow: var(--trusty-focus-ring);
}
.tf-input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: var(--trusty-tint);
}
.tf-input[aria-invalid=true] {
  border-color: var(--trusty-danger-fg);
}

.tf-card {
  border: 1px solid var(--trusty-line);
  border-radius: var(--trusty-radius-card);
  background: #fff;
  box-shadow: var(--trusty-shadow-raised);
  padding: 24px;
}

.tf-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--trusty-font-ui);
  font-size: 13px;
}

.tf-alert--success {
  background: var(--trusty-success-bg);
  color: var(--trusty-success-fg);
}

.tf-alert--danger {
  background: var(--trusty-danger-bg);
  color: var(--trusty-danger-fg);
}
