@font-face {
  font-family: 'Public Sans';
  src: url('/assets/PublicSans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --black: #151110;
  --ink: #282828;
  --paper: #f8f8f6;
  --paper-2: #ecece7;
  --line: #b9b9b5;
  --muted: #666662;
  --lime: #9df45e;
  --lime-soft: #dafdc7;
  --danger: #c0392b;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Public Sans', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  border: 1.5px solid var(--black); background: var(--black); color: #fff;
  padding: .7em 1.2em; border-radius: 999px; font-weight: 600; line-height: 1;
  text-decoration: none; transition: transform .08s, background .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--black); }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.sm { padding: .5em .9em; font-size: .85rem; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field input, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8em .9em; background: #fff; font-size: 1rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--lime-soft); }
.letter {
  display: inline-grid; place-items: center; flex: none;
  width: 2em; height: 2em; border-radius: 50%;
  background: var(--lime); color: var(--black); font-weight: 800;
}
