@font-face {
  font-family: "Instrument Sans";
  src: url("/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  color: #f5f5f5;
  background: #080808;
  font:
    16px/1.5 "Instrument Sans",
    system-ui,
    sans-serif;
}

body {
  margin: 0;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid #2b2b2b;
  color: #a1a1a1;
  font-size: 0.875rem;
}

.brand {
  color: #f5f5f5;
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.06em;
}

main {
  padding: clamp(4rem, 16vh, 12rem) 1.25rem 3rem;
}

section {
  max-width: 24rem;
  margin: auto;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1;
}

p {
  margin-block: 0.9rem;
  color: #a1a1a1;
}

form {
  display: grid;
  gap: 0.55rem;
  margin-block: 2rem;
}

label {
  font-size: 0.9rem;
}

input,
button {
  box-sizing: border-box;
  min-height: 2.85rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #505050;
  border-radius: 5px;
  font: inherit;
}

input {
  background: #171717;
}

button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
  background: #f5f5f5;
  color: #080808;
  font-weight: 650;
  cursor: pointer;
}

button:hover {
  background: #dedede;
}

:focus-visible {
  outline: 2px solid #f5f5f5;
  outline-offset: 3px;
}

.notice {
  margin: 0;
  color: #ffaea0;
  font-size: 0.88rem;
}

.notice:empty {
  display: none;
}

.sharing {
  padding-top: 1rem;
  border-top: 1px solid #2b2b2b;
  font-size: 0.87rem;
}
