:root {
  font-family: Arial, sans-serif;
  color: #202830;
  background: #f4f2ef;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #191b1c;
  color: white;
  padding: 18px 5%;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
header a {
  color: #ff7900;
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
}
header span {
  color: white;
}
header button {
  margin-left: auto;
}
main {
  max-width: 960px;
  margin: auto;
  padding: 24px 16px 70px;
}
h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
}
h2 {
  font-size: 26px;
}
.eyebrow {
  color: #bd4d00;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
}
section,
article {
  margin-bottom: 20px;
}
article:not(:empty),
#login,
.card {
  background: white;
  border: 1px solid #ddd7d0;
  border-radius: 16px;
  padding: 24px;
  margin: 18px 0;
}
label {
  display: block;
  font-weight: bold;
  margin: 14px 0;
}
input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #8d959e;
  border-radius: 8px;
  font: inherit;
  margin-top: 6px;
  background: #fff;
  color: #202830;
}
textarea {
  min-height: 90px;
}
input[type='checkbox'] {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 12px;
}
button,
.button {
  display: inline-block;
  padding: 14px 20px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ff7900;
  color: #111;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin: 6px 8px 6px 0;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #e8e9ea;
}
nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
a {
  color: #8e3b00;
}
#message {
  white-space: pre-wrap;
  padding: 12px;
  border-left: 4px solid #ff7900;
  background: #fff4e9;
}
#message:empty {
  display: none;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.signature {
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 260;
  display: block;
  touch-action: none;
  border: 2px solid #536171;
  border-radius: 8px;
  background: #fff;
}
.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.photos img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}
.review {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f6f7;
  padding: 18px;
  border-radius: 10px;
}
.hint {
  font-size: 14px;
  color: #4d5965;
}
.job {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #d5d5d5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #1667a7;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
  header {
    gap: 10px;
    padding: 14px;
  }
  header strong {
    font-size: 14px;
  }
  article:not(:empty),
  #login {
    padding: 16px;
  }
  button {
    width: 100%;
  }
  nav a {
    padding: 12px;
  }
}
