:root {
  --clr-bg: hsl(22, 38%, 96%);
  --clr-primary: hsl(252, 1%, 20%);
  --clr-field-100: hsl(22, 38%, 88%);
  --clr-field-200: hsl(22, 37%, 82%);
  --clr-field-300: hsl(22, 37%, 73%);
  --clr-field-400: hsl(129, 16%, 72%);
  --clr-field-500: hsl(78, 17%, 69%);
  --clr-field-600: hsl(129, 16%, 58%);
  --clr-field-700: hsl(196, 31%, 53%);
  --clr-field-800: hsl(349, 29%, 82%);
  --clr-accent-orange: hsl(33, 100%, 61%);
  --clr-accent-orange-light: hsl(33, 100%, 81%);
  --clr-accent-pink: hsl(342, 100%, 77%);
  --clr-accent-beige: hsl(24, 36%, 82%);
  --clr-white: hsl(0, 0%, 100%);
  --clr-black: hsl(0, 0%, 0%);
  --font-primary: "GT-Haptik", sans-serif;
  --root-font-size: 100%;
  --txt-xs: clamp(0.636rem, 0.573rem + 0.318vw, 0.9rem);
  --txt-s: clamp(0.636rem, 0.573rem + 0.318vw, 1.273rem);
  --txt-m: clamp(0.9rem, 0.81rem + 0.45vw, 1.8rem);
  --txt-l: clamp(1.273rem, 1.146rem + 0.636vw, 2.546rem);
  --txt-xl: clamp(1.8rem, 1.62rem + 0.9vw, 3.6rem);
  --txt-xxl: clamp(2.546rem, 2.291rem + 1.273vw, 5.092rem);
  --h6: clamp(0.636rem, 0.573rem + 0.318vw, 0.9rem);
  --h5: clamp(0.9rem, 0.81rem + 0.45vw, 1.8rem);
  --h4: clamp(1.273rem, 1.146rem + 0.636vw, 2.546rem);
  --h3: clamp(1.8rem, 1.62rem + 0.9vw, 3.6rem);
  --h2: clamp(2.546rem, 2.291rem + 1.273vw, 5.092rem);
  --h1: clamp(3.6rem, 3.24rem + 1.8vw, 7.2rem);
  --fs-big: clamp(5.656rem, 5.09rem + 2.828vw, 11.312rem);
  --fs-bigger: clamp(8rem, 7.2rem + 4vw, 16rem);
  --heading-line-height: 1;
  --txt-line-height: 1.4;
  --space-xs: clamp(0.707rem, 0.636rem + 0.354vw, 1rem);
  --space-s: clamp(0.707rem, 0.636rem + 0.354vw, 1.414rem);
  --space-m: clamp(1rem, 0.9rem + 0.5vw, 2rem);
  --space-l: clamp(1.414rem, 1.273rem + 0.707vw, 2.828rem);
  --space-xl: clamp(2rem, 1.8rem + 1vw, 4rem);
  --space-xxl: clamp(2.828rem, 2.545rem + 1.414vw, 5.656rem);
  --scrollbar-width: 15px;
  --section-space-xs: clamp(1rem, 0.9rem + 0.5vw, 2rem);
  --section-space-s: clamp(1.414rem, 1.273rem + 0.707vw, 2.828rem);
  --section-space-m: clamp(2rem, 1.8rem + 1vw, 4rem);
  --section-space-l: clamp(2.828rem, 2.545rem + 1.414vw, 5.656rem);
  --section-space-xl: clamp(4rem, 3.6rem + 2vw, 8rem);
  --section-space-xxl: clamp(5.656rem, 5.09rem + 2.828vw, 11.312rem);
  --section-padding-x: clamp(1.414rem, 1.273rem + 0.707vw, 2.828rem);
  --paragraph-spacing: 1em;
  --heading-spacing: 1.2em;
  --list-spacing: var(--paragraph-spacing);
  --list-indent-spacing: 2em;
  --list-item-spacing: 0.5em;
  --nested-list-indent-spacing: 1em;
  --flow-spacing: var(--paragraph-spacing);
  --figure-spacing: var(--paragraph-spacing);
  --figcaption-spacing: 0.5em;
  --blockquote-spacing: var(--paragraph-spacing);
  --letter-spacing: 0.5px;
  --aspect-ratio-4-3: 4 / 3;
  --aspect-ratio-8-3: 8 / 3;
  --border-radius: var(--txt-l);
  --header-height: 4.05rem;
  --logo-height: calc(var(--logo-height-desktop) - var(--space-s) * 2);
}
@media (min-width: 768px) {
  :root {
    --h6: clamp(0.707rem, 0.636rem + 0.354vw, 1rem);
    --h5: clamp(1rem, 0.9rem + 0.5vw, 2rem);
    --h4: clamp(1.414rem, 1.273rem + 0.707vw, 2.828rem);
    --h3: clamp(2rem, 1.8rem + 1vw, 4rem);
    --h2: clamp(2.828rem, 2.545rem + 1.414vw, 5.656rem);
    --h1: clamp(4rem, 3.6rem + 2vw, 8rem);
    --heading-line-height: 1.2;
    --txt-line-height: 1.4;
  }
}

.login p {
  --txt-m-length: 45ch;
  max-inline-size: var(--txt-m-length);
}
.login form {
  margin-block-start: var(--section-space-l);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-row: auto;
}
.login form .field {
  grid-column: span 6;
}
.login form .field:nth-child(2) {
  grid-row: 2;
}
.login form input[type=submit] {
  grid-column: 1;
  grid-row: 3;
  margin-inline-start: 0;
  background-color: var(--clr-primary);
}
.login form input[type=submit]:hover {
  background-color: var(--clr-black);
}
