/* The Rooted Tribe — Lead form styles */
.rt-wrap {
  --rt-navy: #1e311b;
  --rt-navy-2: #142310;
  --rt-lime: #ffffff;
  --rt-lime-2: #f4e3ee;
  --rt-ink: #1a1f2b;
  --rt-muted: #6b7280;
  --rt-line: #e6e9ec;
  --rt-red: #dc2626;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px 30px;
  box-shadow: 0 24px 60px -20px rgba(11,30,57,.25);
  border: 1px solid var(--rt-line);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}
.rt-wrap * { box-sizing: border-box; }

.rt-eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rt-navy); font-weight: 700; opacity: .55; margin-bottom: 8px;
}
.rt-title {
  font-size: 26px; line-height: 1.28; color: var(--rt-navy); font-weight: 800; margin: 0 0 14px;
}
.rt-title em { font-style: italic; color: #4a5a72; font-weight: 600; }
.rt-accent { width: 46px; height: 4px; background: var(--rt-navy); border-radius: 4px; margin-bottom: 22px; }

.rt-fq { margin-bottom: 18px; }
.rt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.rt-pair .rt-fq { margin-bottom: 0; }
@media (max-width: 480px) { .rt-pair { grid-template-columns: 1fr; } }

.rt-label { display: block; font-size: 13px; font-weight: 600; color: var(--rt-ink); margin-bottom: 7px; }
.rt-optional { font-weight: 400; color: var(--rt-muted); font-size: 12px; }
.rt-hint { font-size: 11.5px; color: var(--rt-muted); margin: -4px 0 8px; }

.rt-wrap input[type="text"],
.rt-wrap input[type="email"],
.rt-wrap input[type="tel"],
.rt-wrap input[type="number"],
.rt-select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--rt-line);
  font-size: 14.5px; color: var(--rt-ink); background: #fafbfb; outline: none;
  transition: border-color .15s, background .15s;
  font-family: inherit; appearance: none;
}
.rt-wrap select.rt-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.6' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.rt-wrap input:focus, .rt-select:focus { border-color: var(--rt-navy); background: #fff; }
.rt-wrap input.rt-err { border-color: var(--rt-red); background: #fff5f5; }

.rt-static-pill {
  display: inline-block; padding: 10px 16px; background: var(--rt-navy); color: var(--rt-lime);
  border-radius: 10px; font-weight: 700; font-size: 14px;
}

.rt-phone-row { display: flex; align-items: center; border: 1.5px solid var(--rt-line); border-radius: 10px; background: #fafbfb; overflow: hidden; }
.rt-phone-flag { padding: 12px 12px; font-size: 13.5px; color: var(--rt-muted); border-right: 1px solid var(--rt-line); white-space: nowrap; }
.rt-phone-row input { border: none !important; background: transparent !important; border-radius: 0 !important; }

.rt-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-opt {
  padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--rt-line); background: #fafbfb;
  font-size: 13px; color: var(--rt-ink); cursor: pointer; user-select: none; transition: all .12s;
}
.rt-opt:hover { border-color: #b9c0c8; }
.rt-opt.sel { background: var(--rt-navy); border-color: var(--rt-navy); color: var(--rt-lime); font-weight: 600; }
.rt-opt-yes.sel { background: #16a34a; border-color: #16a34a; color: #fff; }
.rt-opt-no.sel { background: #6b7280; border-color: #6b7280; color: #fff; }

.rt-error { color: var(--rt-red); font-size: 12.5px; min-height: 16px; margin: 4px 0 10px; }

.rt-submit {
  width: 100%; padding: 15px; border-radius: 12px; border: none; background: var(--rt-navy);
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .01em; cursor: pointer;
  transition: transform .1s, background .15s;
}
.rt-submit:hover { background: var(--rt-navy-2); }
.rt-submit:active { transform: scale(.98); }
.rt-submit:disabled { opacity: .6; cursor: default; }

.rt-foot { text-align: center; font-size: 11.5px; color: var(--rt-muted); margin-top: 14px; line-height: 1.6; }

.rt-success { text-align: center; padding: 30px 10px; }
.rt-success-icon { font-size: 40px; margin-bottom: 10px; }
.rt-success-title { font-size: 22px; font-weight: 800; color: var(--rt-navy); margin-bottom: 8px; }
.rt-success-sub { font-size: 13.5px; color: var(--rt-muted); line-height: 1.7; max-width: 380px; margin: 0 auto; }
