@font-face {
  font-family: Manrope; src: url("/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800; font-display: swap; unicode-range: U+0400-052F;
}
@font-face {
  font-family: Manrope; src: url("/manrope-latin.woff2") format("woff2");
  font-weight: 200 800; font-display: swap; unicode-range: U+0000-024F,U+2000-206F;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #edf0f4; color: #303843; font: 14px/1.5 Manrope, "Segoe UI", sans-serif; }
header { padding: 21px clamp(18px, 4vw, 58px); border-bottom: 1px solid #d5dce5; }
.brand { display: inline-flex; gap: 9px; align-items: center; text-decoration: none; color: #303843; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.06em; }
.brand small { padding-left: 3px; align-self: end; margin-bottom: 3px; font-weight: 600; font-size: 10px; letter-spacing: .03em; color: #64748b; }
.mark { width: 31px; height: 31px; background: #1683ff; border-radius: 8px; display: inline-flex; align-items: end; justify-content: center; gap: 3px; padding: 7px; }
.mark i { width: 3px; background: white; border-radius: 2px; height: 9px; }
.mark i:nth-child(2) { height: 16px; }
.mark i:nth-child(3) { height: 12px; }
main { flex: 1; display: grid; place-items: center; padding: 28px 16px clamp(32px, 9vh, 105px); }
section { width: min(100%, 418px); border: 1px solid #dbe1e9; border-radius: 12px; background: white; padding: clamp(24px, 5vw, 36px); }
h1 { margin: 0; font-size: 27px; letter-spacing: -.045em; line-height: 1.22; }
.lead { margin: 11px 0 25px; color: #566578; overflow-wrap: anywhere; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
input, button { font: inherit; }
input { width: 100%; border: 1px solid #adbaca; border-radius: 6px; background: white; color: #303843; padding: 11px 12px; }
input::placeholder { color: #758398; }
:focus-visible { outline: 3px solid #096cda; outline-offset: 3px; }
.primary { margin-top: 20px; width: 100%; min-height: 44px; border: 0; border-radius: 6px; background: #096cda; color: white; font-weight: 700; cursor: pointer; }
.primary:hover { background: #075fbf; }
.hint, aside p { font-size: 12px; color: #566578; margin: 8px 0; }
#error { color: #a22631; margin-bottom: 0; }
#code, #letter-code { font-variant-numeric: tabular-nums; letter-spacing: .20em; }
#actions { display: flex; gap: 16px; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; }
.link { border: 0; background: transparent; padding: 3px 0; color: #0964c4; font-weight: 650; font-size: 12px; text-align: left; cursor: pointer; }
.link:hover { text-decoration: underline; }
button:disabled { opacity: .63; cursor: default; }
aside { border-top: 1px solid #e2e7ee; margin-top: 22px; padding-top: 11px; }
#letter { margin-top: 9px; border: 1px solid #d9e3ee; background: #f7f9fc; padding: 14px; border-radius: 6px; }
#recipient { overflow-wrap: anywhere; }
#letter-code { font-size: 20px; font-weight: 700; user-select: all; }
