:root {
  --teal: #0d899e;
  --teal-dark: #08758a;
  --teal-soft: #e7f4f6;
  --mint: #c8edf1;
  --ink: #123c46;
  --muted: #5d6c70;
  --line: #d4dadd;
  --page: #e7e7e7;
}

body {
  background: var(--page);
}

h1,
h2,
.kicker {
  color: var(--teal-dark);
}

#application-details[hidden] {
  display: none;
}

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

.form-error {
  margin: 18px 0;
  padding: 14px 17px;
  border: 1px solid #bb3a3a;
  border-radius: 10px;
  background: #fff0f0;
  color: #7f2020;
  font-weight: 700;
}

.result.error {
  border-color: #d66a6a;
  background: #fff0f0;
  color: #8b2525;
}

.result.success {
  border-color: #63c994;
  background: #effbf4;
  color: #176b3c;
}

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

.saved-panel {
  max-width: 780px;
  margin: 80px auto;
}

.start-again {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 20px;
  border-radius: 9px;
  background: var(--teal);
  color: white;
  text-decoration: none;
}

.holder-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.holder-field {
  align-content: start;
  grid-template-rows: minmax(25px, auto) 54px auto;
}

.holder-field > input {
  height: 54px;
}

.holder-field > small {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.edit-application {
  display: inline-block;
  margin-bottom: 16px;
}

.service-address-toggle {
  margin-top: 26px;
  margin-bottom: 14px;
  font-size: 14px;
}

.term-card small {
  line-height: 1.65;
}

.declarations label > span {
  min-width: 0;
}

@media (max-width: 720px) {
  .holder-options {
    grid-template-columns: 1fr;
  }
}
