:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c1c1e;
  background: #ffffff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
}

main {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 52px 0 80px;
}

h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin: 34px 0 10px;
  padding-top: 26px;
  border-top: 1px solid #e5e5ea;
  font-size: 21px;
  line-height: 1.3;
}

p,
li,
label,
input,
select,
textarea,
button {
  font-size: 17px;
  line-height: 1.5;
}

p,
ul {
  margin: 0 0 16px;
}

li + li {
  margin-top: 8px;
}

.updated,
.note,
.optional {
  color: #636366;
}

a {
  color: #005fc7;
}

form {
  margin-top: 32px;
}

.field {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #c7c7cc;
  border-radius: 8px;
  color: #1c1c1e;
  background: #ffffff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 95, 199, 0.18);
  border-color: #005fc7;
}

fieldset {
  margin: 30px 0 22px;
  padding: 22px;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
}

legend {
  padding: 0 8px;
  font-size: 18px;
  font-weight: 700;
}

button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #1c1c1e;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
}

.status.visible {
  display: block;
}

.status.success {
  color: #124b2a;
  background: #eaf7ee;
}

.status.error {
  color: #7a1f1f;
  background: #fff0f0;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 480px) {
  main {
    width: min(100% - 30px, 720px);
    padding-top: 32px;
  }

  h1 {
    font-size: 30px;
  }
}
