/* The fit form at /fit and its thank-you page (coder-744; LANDING_PAGE.md §3): the landing
 * page's look (site.css, loaded first), with a short navy band for the heading and the form
 * on a card. Served by nginx from the bare address with site.css; no outside request. */

.fit-hero { padding-bottom: 120px; }
.fit-hero h1.t { font-size: clamp(34px, 4vw, 52px); margin: 34px 0 14px; max-width: 760px; }
.fit-hero .lede { margin: 0; }

.fit-main { margin-top: -84px; position: relative; }
.fit-card {
  max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 36px; box-shadow: 0 24px 60px rgba(10, 20, 40, .10);
}
.fit-card.thanks p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.fit-card a { color: var(--bl6); text-decoration: underline; text-underline-offset: 2px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.fld { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.fld > label, .fld legend { display: block; font-weight: 650; font-size: 15px; margin: 0 0 8px; padding: 0; }
.fld .opt { font-weight: 500; color: var(--ink2); font-size: 14px; margin-left: 6px; }
.fld input[type="text"], .fld input[type="email"], .fld textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 8px;
  border: 1px solid #7A8699; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4;
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus-visible, .fld textarea:focus-visible { border-color: var(--bl); }
.fld.bad input, .fld.bad textarea { border-color: #B42318; }

.pills .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid #7A8699; border-radius: 10px; font-size: 15px; font-weight: 550;
  color: var(--ink); background: #fff; cursor: pointer;
}
.pill span:hover { border-color: var(--bl); }
.pill input:checked + span { background: #EAF1FF; border-color: var(--bl); color: #12347F; box-shadow: inset 0 0 0 1px var(--bl); }
.pill input:focus-visible + span { outline: 3px solid var(--bl); outline-offset: 2px; }
.fld.bad .pill span { border-color: #B42318; }

.ferr { margin: 8px 0 0; color: #B42318; font-size: 14.5px; font-weight: 600; }
.notice { margin: 0 0 26px; padding: 14px 18px; border-radius: 10px; background: #FEF3F2; border: 1px solid #F3B8B2; }
.notice p { margin: 0; color: #7A1E14; font-size: 15.5px; line-height: 1.5; }
.notice a { color: #7A1E14; }

/* The trap: never seen and never reached by a person (§3.1 item 4). */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { margin: 4px 0 22px; min-height: 65px; }
.fit-card .btn.pri { border: 0; }

.fit-page .foot { padding-top: 48px; }

@media (max-width: 640px) {
  .fit-hero { padding-bottom: 100px; }
  .fit-hero h1.t { margin-top: 18px; }
  .fit-main { margin-top: -70px; }
  .fit-card { padding: 24px 20px; border-radius: 14px; }
  .cols { grid-template-columns: 1fr; }
  .fit-card .btn.pri { width: 100%; justify-content: center; }
}
