@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-Regular.woff2") format("woff2"),
       url("../fonts/InterTight-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #031380;
  --text: #AFADAF;
  --btn: #0118A6;
  --btn-text: #B3B8D9;
  --margin: max(12px, 0.8vw);
  --track: -0.05em;
  --lh-head: 0.94;
  --lh-body: 1.2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: var(--track);
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--margin);
  padding-bottom: calc(var(--margin) + 88px);
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 70%;
}

@media (max-width: 720px) {
  .wrap {
    max-width: 100%;
  }
}

.brand,
h1 {
  font-size: clamp(3.05rem, 11.5vw, 9.5rem);
  line-height: var(--lh-head);
  letter-spacing: var(--track);
  font-weight: 400;
}

.brand {
  margin: 0;
}

h1 {
  margin: 0 0 0.38em;
}

.lede {
  font-size: clamp(1.3rem, 3.2vw, 2.55rem);
  line-height: var(--lh-head);
  letter-spacing: var(--track);
  margin: 0 0 0.7em;
}

.note {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: var(--lh-body);
  margin: 0 0 1.15em;
}

.support {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: var(--lh-body);
  margin: 0 0 2.1em;
}

form {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

label {
  display: block;
  font-size: 1rem;
  line-height: var(--lh-body);
  margin: 0 0 0.35em;
}

input {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--text);
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: var(--track);
  line-height: 1.2;
  padding: 0.85em 0.9em;
  width: 100%;
  margin: 0 0 1em;
  box-shadow: none;
}

button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: var(--text);
  color: var(--bg);
  border: 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: var(--track);
  line-height: 1.2;
  padding: 0.95em 1.1em;
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-shadow: none;
  margin: 0.15em 0 0;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  outline: 1px solid var(--bg);
  outline-offset: 3px;
}

button[type="submit"][disabled] {
  cursor: default;
}

.form-msg {
  font-size: 0.95rem;
  line-height: var(--lh-body);
  margin-top: 0.8em;
}

.form-msg[hidden] {
  display: none;
}

footer {
  margin-top: 3.4em;
  font-size: 0.9rem;
  line-height: var(--lh-body);
}

footer a + a {
  margin-left: 1.2em;
}

.mark {
  position: absolute;
  right: var(--margin);
  bottom: var(--margin);
  width: 56px;
  height: 56px;
  background: var(--btn);
  color: var(--btn-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: var(--lh-head);
  letter-spacing: var(--track);
  z-index: 20;
}

.mark:hover,
.mark:focus-visible {
  text-decoration: none;
  outline: 1px solid var(--btn-text);
  outline-offset: 3px;
}

.wordmark {
  display: inline-block;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: var(--lh-head);
  letter-spacing: var(--track);
  text-decoration: none;
  margin: 0 0 1.7em;
}

.wordmark:hover,
.wordmark:focus-visible {
  text-decoration: underline;
}

.prose {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: var(--lh-body);
}

.prose h2 {
  font-size: inherit;
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--track);
  margin: 1.5em 0 0.45em;
}

.prose p {
  margin: 0 0 0.85em;
}

.subtle {
  margin-top: 1.6em;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: var(--lh-body);
}

::selection {
  background: var(--btn);
  color: var(--btn-text);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #AFADAF;
  caret-color: #AFADAF;
  box-shadow: 0 0 0 1000px #031380 inset;
  transition: background-color 5000s ease-in-out 0s;
}

@media (min-width: 900px) {
  .mark {
    position: fixed;
    width: 72px;
    height: 72px;
    font-size: 1.25rem;
  }
}
