:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-soft: #f8f8f6;
  --surface-dark: #111113;

  --text: #171719;
  --text-soft: #6d6d72;
  --text-faint: #95959a;

  --border: #e7e7e4;
  --border-strong: #d8d8d4;

  --accent: #18181b;
  --accent-soft: #f0f0ee;

  --green: #198754;
  --green-bg: #e9f6ef;

  --orange: #b66400;
  --orange-bg: #fff3df;

  --red: #be3535;
  --red-bg: #fdecec;

  --blue: #3156b5;
  --blue-bg: #edf2ff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow:
    0 1px 2px rgba(0,0,0,.025),
    0 10px 30px rgba(0,0,0,.035);

  --sidebar: 244px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background:
    var(--bg);

  -webkit-font-smoothing:
    antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button,
label.upload-button {
  -webkit-tap-highlight-color:
    transparent;
}

.hidden {
  display: none !important;
}

.full {
  width: 100%;
}

.eyebrow {
  display: inline-block;

  font-size: 11px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .11em;

  color: var(--text-faint);
}

.brand-mark {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: #121214;
  color: white;

  font-weight: 800;
  font-size: 17px;

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.08);
}

.brand-mark.large {
  width: 46px;
  height: 46px;

  border-radius: 13px;

  font-size: 20px;
}

.brand-mark.tiny {
  width: 28px;
  height: 28px;

  border-radius: 8px;

  font-size: 13px;
}

.button {
  min-height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 17px;

  border: 1px solid transparent;
  border-radius: 11px;

  font-weight: 650;
  font-size: 14px;

  cursor: pointer;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    opacity .15s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: .55;
  cursor: wait;
}

.button-primary {
  background: var(--accent);
  color: white;

  box-shadow:
    0 5px 15px
    rgba(0,0,0,.08);
}

.button-primary:hover:not(:disabled) {
  background: #28282b;
}

.button-secondary {
  background: white;
  color: var(--text);

  border-color:
    var(--border);
}

.button-secondary:hover:not(:disabled) {
  border-color:
    var(--border-strong);

  background:
    #fbfbfa;
}

.button-light {
  background: white;
  color: #161618;
}

.button-danger {
  background: var(--red);
  color: white;
}

.button-large {
  min-height: 49px;
}

.icon-button {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 9px;

  cursor: pointer;

  color: var(--text-soft);
}

.icon-button:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.text-button {
  padding: 0;

  border: 0;
  background: transparent;

  color: var(--text-soft);

  font-weight: 650;
  font-size: 13px;

  cursor: pointer;
}

.text-button:hover {
  color: var(--text);
}

.form-group {
  display: grid;
  gap: 8px;

  margin-bottom: 17px;
}

.form-group label {
  font-size: 13px;
  font-weight: 650;

  color: #37373b;
}

.form-group input,
.form-group textarea {
  width: 100%;

  border: 1px solid
    var(--border-strong);

  background: white;

  border-radius: 11px;

  padding: 12px 13px;

  color: var(--text);

  outline: none;

  transition:
    border .15s,
    box-shadow .15s;
}

.form-group input {
  min-height: 46px;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #9d9da3;

  box-shadow:
    0 0 0 3px
    rgba(30,30,30,.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.input-suffix {
  position: relative;
}

.input-suffix span {
  position: absolute;
  right: 13px;
  top: 50%;

  transform:
    translateY(-50%);

  font-size: 13px;
  color: var(--text-faint);

  pointer-events: none;
}

.input-suffix input {
  padding-right: 80px;
}
