/* The parents' interest form, shared by the homepage closing section and the parents page (moved here from the parents page, 2026-10-17). */
.grid .full {
  grid-column: 1 / -1;
}
.f label {
  display: block;
  font: 600 17px/1.3 var(--sans);
  color: var(--ink);
  margin-bottom: 10px;
}
.f label .req {
  color: #d4382f;
  margin-left: 2px;
}
.f input,
.f select,
.f textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 60px;
  padding: 14px 18px;
  border: 1.5px solid #cbd2d6;
  border-radius: 6px;
  background: #f4f6f8;
  font: 400 18px/1.4 var(--sans);
  color: var(--ink);
}
.f select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%238A9399' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}
.f select.empty {
  color: #8a9399;
}
.f textarea {
  min-height: 130px;
  resize: vertical;
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: 3px solid var(--lemon);
  outline-offset: 2px;
  border-color: var(--ink);
  background: #fff;
}
.f ::placeholder {
  color: #9aa3a8;
}
.consent {
  margin-top: 30px;
  font: 400 17px/1.7 var(--sans);
  color: var(--ink);
  text-align: left;
}
.consent p {
  margin: 0 0 10px;
}
.consent em {
  font-style: italic;
  color: var(--ink-soft);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 14px;
  font-weight: 400;
  text-align: left;
}
.f label.check {
  display: flex;
  font-weight: 400;
  margin-bottom: 14px;
}
.f .check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  margin: 5px 0 0;
  accent-color: var(--ink);
  flex: 0 0 22px;
  background: #fff;
}
.send-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.send-row .btn {
  min-height: 62px;
  padding: 0 34px;
  font: 700 18px/1 var(--sans);
  border-radius: 8px;
  background: #4e9a5c;
  border-color: #4e9a5c;
}
.send-row .btn:hover {
  background: #3f844c;
  border-color: #3f844c;
}
.send-note {
  font: 15px/1.5 var(--sans);
  color: var(--ink-soft);
}
.thanks {
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 56px) clamp(22px, 5vw, 72px);
  box-shadow: 0 16px 50px rgba(23, 58, 50, 0.08);
}
.thanks h2,
.thanks h3 {
  font: 700 clamp(28px, 4vw, 40px)/1.1 var(--serif);
  margin: 0 0 12px;
}
.thanks p {
  font: 17px/1.6 var(--sans);
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 62ch;
}
.thanks .btn {
  margin: 6px 12px 12px 0;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 8px 0 0;
  padding: 24px 20px;
  text-align: left;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.grid .full {
  grid-column: 1 / -1;
}
.f label {
  font-size: 15px;
}
.f input,
.f select,
.f textarea {
  min-height: 48px;
  font-size: 16px;
  padding: 12px;
}
.consent {
  font-size: 15px;
}
@media (min-width: 720px) {
  .form-card {
    padding: 32px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
  }
  .f label {
    font-size: 17px;
  }
  .f input,
  .f select,
  .f textarea {
    min-height: 60px;
    font-size: 18px;
    padding: 14px 18px;
  }
  .consent {
    font-size: 17px;
  }
}
.tutor-label {
  margin-top: 14px;
}
