@import url("https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap");

:root {
  --black: #0a0a0a;
  --panel: #111;
  --line: #2c2c2c;
  --white: #fff;
  --muted: #c9c9c9;
  --dim: #818181;
  --blue: #0d52f4;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Satoshi, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.home-page {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.home-shell {
  display: grid;
  justify-items: center;
  width: min(100%, 640px);
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 520px);
  text-align: center;
}

.logo-horizontal {
  display: block;
  width: min(100%, 465px);
  height: auto;
}

.brand-tagline {
  margin-top: clamp(14px, calc(5.161vw - 2.065px), 24px);
  color: var(--white);
  font-size: clamp(20px, calc(7.097vw - 2.839px), 33px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: clamp(22px, calc(7.742vw - 3.097px), 36px);
  text-align: center;
}

.brand-tagline p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.home-button {
  margin-top: clamp(34px, 6vw, 58px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  padding: 0 24px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: transparent;
  color: var(--white);
}

.site-header,
main:not(.home-shell) {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.wordmark {
  display: inline-flex;
  gap: 0.45em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.wordmark span:last-child {
  color: var(--muted);
  font-weight: 300;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
}

h1,
h2,
p {
  margin-top: 0;
}

.contact-layout {
  display: flex;
  justify-content: center;
  padding: clamp(48px, 9vw, 112px) 0;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(100%, 620px);
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.86);
  padding: clamp(22px, 5vw, 42px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

label span {
  color: var(--dim);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  padding: 14px 15px;
  font: inherit;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(13, 82, 244, 0.28);
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  main:not(.home-shell) {
    width: min(100% - 28px, var(--max));
  }
}
