.tc-ci {
  --tc-green: #1d4a25;
  --tc-green-dark: #14391b;
  --tc-ink: #172018;
  --tc-muted: #627064;
  --tc-line: #dce5dd;
  --tc-soft: #f4f8f4;
  max-width: 980px;
  margin: 48px auto;
  color: var(--tc-ink);
  font-family: inherit;
}

.tc-ci * { box-sizing: border-box; }

.tc-ci__header {
  margin-bottom: 24px;
  text-align: center;
}

.tc-ci__eyebrow {
  margin: 0 0 8px;
  color: var(--tc-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tc-ci__header h2 {
  margin: 0 0 12px;
  color: var(--tc-ink);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.tc-ci__header > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--tc-muted);
  font-size: 17px;
  line-height: 1.65;
}

.tc-ci__form {
  overflow: hidden;
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(23, 32, 24, .08);
}

.tc-ci__section {
  padding: 30px 34px;
  border-bottom: 1px solid var(--tc-line);
}

.tc-ci__section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--tc-ink);
  font-size: 20px;
}

.tc-ci__section h3 > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--tc-green);
  color: #fff;
  font-size: 15px;
}

.tc-ci__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.tc-ci__field,
.tc-ci__upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: var(--tc-ink);
  font-size: 14px;
  font-weight: 650;
}

.tc-ci__field--wide { grid-column: 1 / -1; }

.tc-ci__field small,
.tc-ci__upload small {
  color: var(--tc-muted);
  font-size: 12px;
  font-weight: 500;
}

.tc-ci b { color: #b42318; }

.tc-ci input,
.tc-ci select,
.tc-ci textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cbd6cc;
  border-radius: 9px;
  background: #fff;
  color: var(--tc-ink);
  font: inherit;
  font-weight: 400;
  transition: border-color .15s, box-shadow .15s;
}

.tc-ci textarea { min-height: 120px; resize: vertical; }

.tc-ci input:focus,
.tc-ci select:focus,
.tc-ci textarea:focus {
  outline: none;
  border-color: var(--tc-green);
  box-shadow: 0 0 0 3px rgba(29, 74, 37, .14);
}

.tc-ci__uploads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tc-ci__upload {
  min-height: 142px;
  justify-content: center;
  padding: 20px;
  border: 1px dashed #9eafa0;
  border-radius: 12px;
  background: var(--tc-soft);
}

.tc-ci__upload-title { font-size: 16px; }
.tc-ci__upload-help { color: var(--tc-muted); font-size: 13px; font-weight: 400; }
.tc-ci__upload input { min-height: auto; padding: 9px; background: #fff; }

.tc-ci__section--consent { background: var(--tc-soft); }

.tc-ci__check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 20px;
  color: #39463b;
  font-size: 14px;
  line-height: 1.55;
}

.tc-ci__check input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--tc-green);
}

.tc-ci__check a { color: var(--tc-green); font-weight: 700; }
.tc-ci__honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.tc-ci .cf-turnstile { max-width: 420px; }

.tc-ci__status {
  display: none;
  margin: 24px 34px 0;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.45;
}

.tc-ci__status:not(:empty) { display: block; }
.tc-ci__status--working { background: #eef4ff; color: #273b74; }
.tc-ci__status--success { background: #eaf7ed; color: #145a25; }
.tc-ci__status--error { background: #fef0ef; color: #9a2219; }

.tc-ci__submit {
  display: block;
  min-width: 220px;
  min-height: 52px;
  margin: 24px 34px 34px;
  padding: 13px 24px;
  border: 0;
  border-radius: 9px;
  background: var(--tc-green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  transition: background .15s, transform .15s;
}

.tc-ci__submit:hover { background: var(--tc-green-dark); transform: translateY(-1px); }
.tc-ci__submit:disabled { cursor: wait; opacity: .65; transform: none; }
.tc-ci__help { margin: -14px 34px 30px; color: #6b746d; font-size: 14px; line-height: 1.6; }
.tc-ci__help a { color: var(--tc-green); font-weight: 700; text-decoration: none; }
.tc-ci__help a:hover { text-decoration: underline; }
.tc-ci-notice { max-width: 820px; margin: 32px auto; padding: 18px; border: 1px solid #e3c675; border-radius: 8px; background: #fff8df; }

@media (max-width: 720px) {
  .tc-ci { margin: 30px 14px; }
  .tc-ci__section { padding: 24px 20px; }
  .tc-ci__grid,
  .tc-ci__uploads { grid-template-columns: 1fr; }
  .tc-ci__status { margin-right: 20px; margin-left: 20px; }
  .tc-ci__submit { width: calc(100% - 40px); margin: 20px; }
  .tc-ci__help { margin: -6px 20px 24px; }
}
