/*
  fitzhall.com/letter only: the sign-up form and the sample from the letter.
  Loaded after public/home/home.css, whose tokens (--fh-*) and hero type it reuses. Light grounds only.
*/

/* the accent phrase is long here, so it wraps like any other line */
.hero.fh-hero.nl-hero h1 { font-size: clamp(38px, 4.5vw, 66px); }
.hero.fh-hero.nl-hero h1 .accent { white-space: normal; }
#top > .fh-hero.nl-hero > .wrap { align-items: start; }

/* the letter's name sits above the headline, with its mark */
.nl-name { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 800 clamp(20px, 1.7vw, 24px)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--fh-ink); }
.nl-name img { flex: none; width: 96px; height: 44px; }  /* the winged bill meeting the robot head, cut out of its ground */

/* ------------------------------------------------------------ the form */
.nl-signup { margin-top: 34px; max-width: 560px; scroll-margin-top: calc(var(--nav) + 24px); }
.nl-label { display: block; margin-bottom: 8px; font: 700 14px/1.2 var(--font-text); color: var(--fh-ink); }
.nl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nl-field { min-width: 0; }
.nl-field input {
  width: 100%; height: var(--btn-h, 52px); padding: 0 20px; box-sizing: border-box;
  border: 1.5px solid rgb(22 36 31 / .22); border-radius: 999px; background: #fff;
  font: 500 16px/1 var(--font-text); color: var(--fh-ink);
}
.nl-field input::placeholder { color: #7a857f; }
.nl-field input:focus-visible { outline: 3px solid var(--fh-lime); outline-offset: 2px; border-color: var(--fh-green); }
.nl-send { margin-top: 14px; }
.nl-send[disabled] { opacity: .6; cursor: progress; }
.nl-status { margin: 12px 0 0; font: 600 15px/1.4 var(--font-text); color: #9a2d1f; }
.nl-under { margin: 12px 0 0; font: 500 14.5px/1.45 var(--font-text); color: var(--fh-soft); }
.nl-done { padding: 22px 24px; border-radius: 20px; background: var(--fh-mint-soft); border: 1px solid var(--fh-line); }
.nl-done:focus { outline: none; }
.nl-done p { margin: 0; font: 500 16px/1.5 var(--font-text); color: var(--fh-soft); }
.nl-done p + p { margin-top: 6px; }
.nl-done .nl-done__h { font: 800 26px/1.1 var(--font-display); letter-spacing: -.03em; color: var(--fh-ink); }

/* ------------------------------------------------------------ the sample letter: plain email type, nothing bold or boxed */
.nl-sample { position: relative; z-index: 1; margin-top: 22px; }
.nl-mail {
  padding: clamp(22px, 2.4vw, 32px); border-radius: 20px;
  background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow);
}
.nl-mail .nl-topics__label { margin: 0 0 16px; font: 700 12.5px/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-green); }
.nl-mail p { margin: 0; font: 400 16px/1.6 var(--font-text); color: var(--fh-ink); }
.nl-mail p + p { margin-top: 10px; }
.nl-mail .nl-mail__covers { margin-top: 16px; font-weight: 600; }
.nl-topics { margin: 6px 0 0; padding: 0; list-style: none; }
.nl-topics li { padding: 3px 0; font: 400 16px/1.55 var(--font-text); color: var(--fh-ink); }
.nl-sample__after { margin: 14px 0 0; font: 500 15px/1.45 var(--font-text); color: var(--fh-soft); }

/* ------------------------------------------------------------ the foot */
.footer.nl-foot { padding: clamp(36px, 5vw, 64px) 0 calc(28px + var(--bar, 0px)); border-top: 1px solid var(--fh-line); background: var(--fh-bg); }
.nl-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.nl-foot__row .footer__lede { margin-top: 10px; max-width: 44ch; color: var(--fh-soft); }
.nl-foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.nl-foot__links a { font: 600 15px/1.4 var(--font-text); color: var(--fh-ink); }
.nl-foot .footer__legal { margin-top: 28px; }

@media (max-width: 1023px) {
  .nl-sample { margin-top: 40px; }
}
@media (max-width: 560px) {
  .nl-fields { grid-template-columns: minmax(0, 1fr); }
  .nl-send { width: 100%; justify-content: space-between; height: 58px; }
  .nl-field input { height: 56px; }
}

/* the kit sets the footer line at display size; here it is a plain sentence */
.nl-foot__row .footer__lede { font: 500 16px/1.5 var(--font-text); letter-spacing: 0; }
