:root {
  --green: #073f31;
  --gold: #bd8d2b;
  --ink: #17241f;
  --line: #d9e3de;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f2f6f3;
  color: var(--ink);
  font:
    16px/1.55 Inter,
    Arial,
    sans-serif;
}
main {
  width: min(900px, calc(100% - 28px));
  margin: 24px auto 64px;
}
.release-header {
  background: linear-gradient(135deg, #032b21, #07523d);
  color: #fff;
  border-radius: 18px 18px 0 0;
  padding: 30px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.release-header img {
  width: 180px;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 7px;
}
.release-header span {
  color: #e8ba55;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
}
.release-header h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  margin: 5px 0 10px;
}
.release-header p {
  margin: 0;
  color: #deebe5;
}
form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  padding: clamp(20px, 5vw, 48px);
  border-radius: 0 0 18px 18px;
}
section {
  margin-bottom: 40px;
}
h2 {
  color: var(--green);
  font-size: 26px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}
h3 {
  font-size: 17px;
  margin: 22px 0 10px;
}
label {
  display: block;
  font-weight: 750;
  margin: 14px 0;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aebfb6;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  margin-top: 6px;
}
textarea{min-height:120px;resize:vertical}
[hidden]{display:none!important}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checks label,
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  margin: 0;
  font-weight: 600;
}
.checks .select-all {
  grid-column: 1/-1;
  background: #fff7df;
  border: 2px solid var(--gold);
  color: #46350f;
}
.checks .select-all strong {
  color: #6e500b;
  font-size: 17px;
}
.checks input,
.check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  flex: 0 0 auto;
}
.terms {
  background: #f6f9f7;
  border-radius: 10px;
  padding: 15px 19px;
  color: #344940;
}
.terms p {
  margin: 8px 0;
}
.hp {
  position: absolute;
  left: -9999px;
}
canvas {
  display: block;
  width: 100%;
  height: 210px;
  border: 2px solid #9db1a7;
  border-radius: 10px;
  background: #fff;
  touch-action: none;
}
.signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.signature-actions button {
  background: #fff;
  border: 1px solid #8da499;
  border-radius: 6px;
  padding: 9px 15px;
}
.privacy {
  font-size: 14px;
  color: #51665d;
  margin: 20px 0;
}
.submit {
  width: 100%;
  min-height: 54px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 850;
}
.submit:disabled {
  opacity: 0.55;
}
#formStatus {
  margin-top: 14px;
  font-weight: 700;
}
.success {
  color: #076b43;
}
.error {
  color: #a51d27;
}
@media (max-width: 650px) {
  .release-header {
    display: block;
  }
  .release-header img {
    width: 150px;
    margin-bottom: 18px;
  }
  .grid,
  .checks {
    grid-template-columns: 1fr;
  }
  form {
    padding: 24px 18px;
  }
  canvas {
    height: 180px;
  }
}
