/* TAXMATCH 공개 접수 폼 (등록 신청 / 문의) */
.tm-form-page { background: var(--gray-50); }
.tm-form-hero {
  background: linear-gradient(155deg, var(--navy-dark), var(--navy) 60%, #12305a);
  color: #fff; padding: 54px 0 68px; position: relative; overflow: hidden;
}
.tm-form-hero::after {
  content: ''; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(74, 158, 255, .28), transparent 68%);
}
.tm-form-hero .container { position: relative; }
.tm-form-hero .eyebrow {
  font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 11.5px; letter-spacing: 2px;
  color: var(--blue-accent); text-transform: uppercase; display: block; margin-bottom: 12px;
}
.tm-form-hero h1 { font-size: 34px; letter-spacing: -1px; margin: 0 0 10px; line-height: 1.25; }
.tm-form-hero p { color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 620px; margin: 0; }
.tm-form-hero .steps { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.tm-form-hero .steps span { font-size: 13px; color: rgba(255, 255, 255, .68); display: flex; align-items: center; gap: 8px; }
.tm-form-hero .steps b {
  font-family: 'Space Grotesk', monospace; background: rgba(255, 255, 255, .12);
  border-radius: 5px; padding: 2px 7px; font-size: 12px; color: #fff;
}
.tm-form-wrap { max-width: 940px; margin: -42px auto 0; padding: 0 20px 80px; position: relative; z-index: 2; }
.tm-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(13, 35, 64, .10); padding: 34px 36px 30px;
}
.tm-card > h2 { font-size: 20px; letter-spacing: -.5px; margin: 0 0 6px; }
.tm-card > .lead { color: var(--text-muted); font-size: 13.5px; margin: 0 0 26px; }
.tm-sec-title {
  font-family: 'Space Grotesk', monospace; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-muted); margin: 30px 0 16px; padding-bottom: 9px; border-bottom: 1px solid var(--border);
}
.tm-sec-title:first-of-type { margin-top: 0; }
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tm-grid .full { grid-column: 1 / -1; }
.tm-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; }
.tm-field label .req { color: #c0392b; margin-left: 2px; }
.tm-field .hint { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.tm-field input[type=text], .tm-field input[type=tel], .tm-field input[type=email], .tm-field select, .tm-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; color: var(--text-primary); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.tm-field textarea { min-height: 132px; resize: vertical; line-height: 1.65; }
.tm-field input:focus, .tm-field select:focus, .tm-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 95, 168, .12);
}
.tm-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 9px; }
.tm-check {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm); font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s;
}
.tm-check:hover { border-color: var(--blue-light); background: #f7faff; }
.tm-check input { width: 15px; height: 15px; accent-color: var(--blue); }
.tm-check.on { border-color: var(--blue); background: #eef5ff; }
.tm-consent {
  margin-top: 24px; padding: 15px 17px; background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px; color: var(--text-secondary); line-height: 1.6;
}
.tm-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.tm-consent input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--blue); flex: none; }
.tm-actions { display: flex; gap: 10px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.tm-actions .note { font-size: 12.5px; color: var(--text-muted); }
.tm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 700; font-size: 14.5px;
  background: var(--navy); color: #fff; cursor: pointer; transition: background .15s;
}
.tm-btn:hover { background: var(--navy-light); }
.tm-btn.ghost { background: #fff; border-color: var(--gray-300); color: var(--text-secondary); font-weight: 600; }
.tm-btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.tm-err { margin-top: 14px; padding: 11px 14px; background: #fdeaea; border: 1px solid #f4c9c9; color: #a52424; border-radius: var(--radius-sm); font-size: 13px; }
.tm-done { text-align: center; padding: 46px 30px 40px; }
.tm-done .badge {
  width: 62px; height: 62px; border-radius: 50%; background: #e6f6ee; color: #0b6b45;
  display: grid; place-items: center; font-size: 26px; margin: 0 auto 20px;
}
.tm-done h2 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.6px; }
.tm-done p { color: var(--text-muted); font-size: 14.5px; margin: 0 auto 22px; max-width: 460px; }
.tm-receipt {
  display: inline-block; font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 17px; font-weight: 700;
  letter-spacing: .5px; color: var(--navy); background: var(--gray-50); border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm); padding: 13px 22px; margin-bottom: 8px;
}
.tm-done .sub { font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 760px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-card { padding: 26px 20px 24px; }
  .tm-form-hero { padding: 40px 0 60px; }
  .tm-form-hero h1 { font-size: 26px; }
  .tm-form-wrap { padding: 0 14px 60px; }
}

/* revamp-2026 */
.tm-form-page, .tm-form-page button, .tm-form-page input, .tm-form-page select, .tm-form-page textarea { font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif; }
