:root {
  --black: #303030;
  --black-dark: #4a4a4a;
  --gray: #f2f2f3;
  --gray-line: #e3e3e3;
  --white: #fff;
  --red: #ff2426;
  --red-extra: #f43d40;
  --orange: #fdc19c;
  --blue: #376dff;
  --shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--black);
  background: var(--gray);
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

a { color: var(--red); }

.header {
  position: relative;
  z-index: 2;
  padding: 10px 0;
  color: var(--black);
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.header-content,
.page-shell,
.footer {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
}

.header-content {
  width: min(100% - 40px, 760px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 5px;
  color: var(--black);
  text-decoration: none;
  background: var(--gray);
  border: 1px solid var(--gray-line);
  border-radius: 50%;
}

.logo img { display: block; width: 28px; height: 28px; object-fit: contain; }
.header-title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }

.page-shell { padding: 42px 0 30px; }

.hero-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--black);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--orange);
  border-radius: 999px;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(28px, 5vw, 49px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.lead {
  max-width: 610px;
  margin: 22px 0 34px;
  color: var(--black-dark);
  font-size: 15px;
  line-height: 1.7;
}

.queue-form { display: grid; gap: 20px; }

.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 700; }
.field small { color: var(--black-dark); font-size: 11px; font-weight: 400; }

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--black);
  font: inherit;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(48, 48, 48, .42);
  border-radius: 10px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

textarea { resize: vertical; }
input:focus,
textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(55, 109, 255, .15); }
input::file-selector-button { margin-right: 12px; padding: 8px 10px; font: inherit; border: 0; border-radius: 7px; background: var(--gray); cursor: pointer; }

.submit-button {
  justify-self: start;
  padding: 14px 21px;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  background: var(--red);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 7px 0 #c81d20;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.submit-button:hover { background: var(--red-extra); }
.submit-button:active { transform: translateY(4px); box-shadow: 0 3px 0 #c81d20; }
.submit-button:disabled { cursor: wait; opacity: .7; }

.form-status { min-height: 22px; margin: 0; font-size: 13px; line-height: 1.55; }
.form-status.success { color: #2b7d27; }
.form-status.error { color: var(--red); }

.side-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: min(100%, 760px);
  margin: 0 0 24px;
  padding: 18px 20px;
  color: var(--black-dark);
  font-size: 12px;
  line-height: 1.55;
  background: rgba(253, 193, 156, .32);
  border: 1px solid rgba(253, 193, 156, .85);
  border-radius: 14px;
}

.side-note p { margin: 4px 0 0; }
.side-note-mark { color: var(--white); background: var(--black); border-radius: 50%; width: 22px; height: 22px; flex: 0 0 22px; text-align: center; line-height: 22px; }
.footer { padding: 0 0 36px; color: rgba(48, 48, 48, .55); font-size: 11px; text-align: center; }

@media (max-width: 600px) {
  .header-content, .page-shell, .footer { width: min(100% - 24px, 920px); }
  .page-shell { padding-top: 28px; }
  .hero-card { padding: 24px 18px 26px; border-radius: 16px; }
}
