:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090c0b;
  color: #f7f8f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #090c0b;
}

main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.form-shell {
  width: min(100%, 430px);
}

.brand {
  display: flex;
  align-items: end;
  height: 30px;
  gap: 4px;
  margin-bottom: 38px;
}

.brand span {
  display: block;
  width: 7px;
  transform: skew(-14deg);
}

.brand span:nth-child(1) {
  height: 20px;
  background: #77b8ad;
}

.brand span:nth-child(2) {
  height: 29px;
  background: #e8ecea;
}

.brand span:nth-child(3) {
  height: 15px;
  background: #dc7c70;
}

header {
  margin-bottom: 32px;
}

header p {
  margin: 0 0 9px;
  color: #77b8ad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 10vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

form {
  display: grid;
  gap: 11px;
}

label:not(.agreement) {
  margin-top: 10px;
  color: #aeb6b2;
  font-size: 13px;
  font-weight: 650;
}

input[type="text"] {
  width: 100%;
  height: 52px;
  border: 1px solid #303734;
  border-radius: 6px;
  outline: none;
  background: #121715;
  color: #ffffff;
  font: inherit;
  padding: 0 15px;
}

input[type="text"]::placeholder {
  color: #69716d;
}

input[type="text"]:focus {
  border-color: #77b8ad;
  box-shadow: 0 0 0 3px rgb(119 184 173 / 14%);
}

.agreement {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  margin: 17px 0 11px;
  color: #bac1bd;
  font-size: 13px;
  line-height: 1.55;
}

.agreement input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #77b8ad;
}

a {
  color: #ffffff;
  text-decoration-color: #77b8ad;
  text-underline-offset: 3px;
}

button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 6px;
  background: #f3f5f4;
  color: #0a0d0c;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

button:hover {
  background: #ffffff;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #77b8ad;
  outline-offset: 3px;
}

.honeypot {
  display: none;
}

@media (max-width: 480px) {
  main {
    align-items: start;
    padding-top: 28px;
  }

  .brand {
    margin-bottom: 58px;
  }
}
