/* Fit check: five steps, contact on step 2. Loaded after site.css. */

.fc { padding: 72px 0 96px; }
.fc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }

/* progress rail */
.fc__rail { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; position: sticky; top: 24px; }
.fc__status { display: flex; flex-direction: column; gap: 10px; }
.fc__count { font-size: 14px; color: var(--text-3); }
.fc__bar { height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.fc__bar span { display: block; height: 4px; width: 20%; background: var(--clay); border-radius: 2px; transition: width .25s ease; }
.fc__stages { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.fc__stages li { display: flex; align-items: center; gap: 12px; color: var(--text-3); }
.fc__stages li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 13px; border: 1px solid currentColor; font-size: 12px; font-weight: 600;
}
.fc__stages li.is-current { color: var(--ink); font-weight: 600; }
.fc__stages li.is-current span { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.fc__stages li.is-done { color: var(--clay); }
.fc__note { font-size: 14px; line-height: 1.55; color: var(--text-3); border-top: 1px solid var(--rule); padding-top: 20px; }

/* step card */
.fc__card {
  grid-column: 6 / span 7; background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 48px; min-height: 560px;
}
.fc__step { display: flex; flex-direction: column; gap: 28px; }
.fc__step[hidden], .fc__done[hidden], .fc__more[hidden] { display: none; }
.fc__title {
  font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 500; padding: 0; margin: 0;
}
.fc__intro { display: flex; flex-direction: column; gap: 10px; }
.fc__help { font-size: 16px; line-height: 1.5; color: var(--text-2); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .group__label { font-size: 13px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--text-3); }
.fc input[type="text"], .fc input[type="email"], .fc select, .fc textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 6px;
  background: #FFFFFF; font-size: 16px;
}
.fc textarea { height: auto; min-height: 96px; padding: 14px; resize: vertical; line-height: 1.5; }
.fc input:focus, .fc select:focus, .fc textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.fc [aria-invalid="true"] { border-color: var(--clay); }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields-2 .field--wide { grid-column: 1 / -1; }

.choices { display: flex; flex-direction: column; gap: 2px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; line-height: 1.35; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--clay); }
.fc__more { padding: 6px 0 12px 28px; }

.fc__error { font-size: 14px; color: var(--clay); font-weight: 600; }
.fc__error:empty { display: none; }
.fc__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.fc__nav .btn--primary { margin-left: auto; padding: 0 28px; }
.fc__nav .btn[disabled] { opacity: .6; cursor: wait; }

/* honeypot: hidden from people, visible to form-filling bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* done */
.fc__done { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.fc__done img { width: 56px; height: 56px; }
.fc__done p { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 520px; }

@media (max-width: 1100px) {
  .fc__rail { grid-column: 1 / -1; position: static; margin-bottom: 32px; }
  .fc__stages, .fc__note { display: none; }
  .fc__card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .fc { padding: 24px 0 32px; }
  .fc__rail { margin-bottom: 20px; gap: 0; padding-top: 0; }
  .fc__status { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; }
  .fc__status .eyebrow { font-size: 11px; }
  .fc__count { font-size: 13px; font-weight: 600; text-align: right; }
  .fc__bar { grid-column: 1 / -1; }
  .fc__card { padding: 24px 20px; min-height: 0; border-radius: 10px; }
  .fc__step { gap: 20px; }
  .fc__title { font-size: 26px; }
  .fields-2 { grid-template-columns: 1fr; gap: 14px; }
  .fc__more { padding-left: 28px; }
  .fc__nav .btn { height: 52px; }
}

/* contact page */
.contact__intro { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.contact__title { font-family: var(--serif); font-size: 44px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.contact__nudge { border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact__nudge p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.contact__nudge strong { color: var(--ink); }
@media (max-width: 1100px) {
  .contact__intro { grid-column: 1 / -1; margin-bottom: 32px; }
}
@media (max-width: 760px) {
  .contact__title { font-size: 32px; }
  .contact__intro { margin-bottom: 20px; gap: 14px; }
}
