/*
  fitzhall.com/advisors only: the landing page for the free list of 10 CPA firms (11/27).
  Loaded after public/home/home.css, whose tokens (--fh-*), hero type, letter picture, founder, question
  and form-card styles it reuses. Light grounds only. One job on this page: the form.
*/

/* the header is the wordmark alone: no menu, nothing to click away to */
.lp-nav .nav__bar { display: flex; align-items: center; justify-content: flex-start; }
.lp-nav .nav__logo { font-size: 24px; }

/* ------------------------------------------------------------ first screen: words left, the form right, the sample under the words */
#top > .fh-hero.lp-hero > .wrap {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto auto; align-items: start;
  column-gap: clamp(28px, 4.4vw, 72px); row-gap: clamp(26px, 3vw, 40px);
}
.lp-hero__text { grid-column: 1; grid-row: 1; }
.lp-hero .lp-card { grid-column: 2; grid-row: 1 / span 2; }
.lp-sample { grid-column: 1; grid-row: 2; }
.hero.fh-hero.lp-hero h1 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1; max-width: 15ch; }
.hero.fh-hero.lp-hero h1 .accent { display: inline; white-space: normal; }
.hero.fh-hero.lp-hero .hero__lead { max-width: 46ch; }

/* the form card */
.lp-card { scroll-margin-top: calc(var(--nav) + 24px); }
.lp-hero .lp-card { position: sticky; top: calc(var(--nav) + 24px); z-index: 2; }
.lp-card__title { margin: 4px 0 18px; font: 800 clamp(22px, 2vw, 27px)/1.12 var(--font-display); letter-spacing: -.035em; color: var(--fh-ink); text-wrap: balance; }
.gp-form.lf-form, .lf-form .gp-panel { grid-template-columns: minmax(0, 1fr); }
.lf-form .gp-panel > * { grid-column: 1 / -1; }
.lf-form .gp-panel[hidden] { display: none; }
.lf-form .btn-row { display: grid; margin-top: 4px; }
.lf-form .btn-row .btn { width: 100%; height: 58px; font-size: 17px; }
.lf-under { margin: 0; font: 500 14px/1.45 var(--font-text); color: var(--fh-soft); }
.lf-form .gp-done:focus { outline: none; }

/* a sample of the list, drawn like the PDF that arrives */
.lp-sample {
  position: relative; z-index: 1; margin: 0; padding: clamp(20px, 2.2vw, 30px); border-radius: 20px;
  background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow-lg); rotate: -.6deg;
}
.lp-sample__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--fh-ink); }
.lp-sample__brand { font: 800 15px/1 var(--font-display); letter-spacing: -.03em; color: var(--fh-ink); }
.lp-sample__title { margin: 16px 0 0; font: 800 clamp(18px, 1.6vw, 22px)/1.2 var(--font-display); letter-spacing: -.03em; color: var(--fh-ink); max-width: 30ch; }
/* two ticks under the one-line lead: what is in the game plan, readable at a glance */
.lp-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-points li { display: flex; align-items: center; gap: 12px; font: 600 clamp(17px, 1.35vw, 19px)/1.3 var(--font-text); color: var(--fh-ink); }
.lp-points .fh-tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fh-lime); color: var(--fh-ink); }
.lp-points .fh-tick svg { width: 16px; height: 16px; }
.lp-sample__note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f1f3ee; font: 400 14px/1.5 var(--font-text); color: var(--fh-soft); }
.lp-sample__note b { font-weight: 700; color: var(--fh-ink); }
.lp-sample__group { margin: 18px 0 0; font: 800 11.5px/1.3 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--fh-soft); }
.lp-sample__rows { list-style: none; margin: 2px 0 0; padding: 0; }
.lp-sample__rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--fh-line); }
.lp-sample__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--fh-lime); font: 700 14px/1 var(--font-text); color: var(--fh-ink); }
.lp-sample__rows div { min-width: 0; display: grid; gap: 3px; }
.lp-sample__rows b { font: 700 16px/1.25 var(--font-display); letter-spacing: -.02em; color: var(--fh-ink); }
.lp-sample__rows small { font: 400 13.5px/1.35 var(--font-text); color: var(--fh-soft); }
.lp-sample__rows p { margin: 3px 0 0; font: 400 14.5px/1.45 var(--font-text); color: var(--fh-ink); }
.lp-sample__more { margin: 14px 0 0; font: 500 14px/1.45 var(--font-text); color: var(--fh-soft); }

/* ------------------------------------------------------------ the sections under it */
.lp-why .fh-head h2 { max-width: 20ch; }
.lp-why .fh-sub { max-width: 54ch; }
.fh-faq__side > .btn { justify-self: start; width: auto; }
#top > .lp-end { padding-bottom: var(--fh-pad); }

/* the foot: the firm's name and the privacy link, nothing else */
.lp-foot { padding: 26px 0 calc(26px + var(--bar, 0px)); border-top: 1px solid var(--fh-line); background: var(--fh-bg); }
.lp-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font: 500 14px/1.4 var(--font-text); color: var(--fh-soft); }
.lp-foot a { color: var(--fh-ink); font-weight: 600; }

/* once the list has been asked for, the sticky button has no job left */
html.lf-sent nav.actionbar { display: none; }

@media (max-width: 1023px) {
  #top > .fh-hero.lp-hero > .wrap { grid-template-columns: minmax(0, 1fr); }
  .lp-hero__text, .lp-hero .lp-card, .lp-sample { grid-column: 1; grid-row: auto; }
  .lp-hero .lp-card { position: relative; top: auto; }
  .lp-sample { rotate: none; }
}
@media (max-width: 700px) {
  #top > .fh-hero.lp-hero { padding-top: calc(var(--nav) + 18px); }
  #top > .fh-hero.lp-hero > .wrap { row-gap: 20px; }
  .hero.fh-hero.lp-hero h1 { margin-top: 14px; font-size: clamp(31px, 8.6vw, 40px); max-width: none; }
  .hero.fh-hero.lp-hero .hero__lead { margin-top: 14px; font-size: 16.5px; }
  .lp-card__title { margin-bottom: 12px; font-size: 20px; }
  .lf-form .btn-row .btn { height: 56px; }
}

/* small fits: the button's words sit in the middle, and an empty status line takes no room */
.lf-form .btn-row .btn { justify-content: center; }
.lf-form .form__status:empty { display: none; }

/* the questions are the last section on this page now, so they need room above the footer */
#questions.fh-faq { padding-bottom: clamp(56px, 7vw, 96px); }

/* the one line under the headline: larger and darker than body copy, with "without asking" marked in lime */
.lp-hero .hero__lead.lp-lead { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; font-weight: 500; color: var(--fh-ink); }
.lp-hero .hero__lead.lp-lead strong { font-weight: 800; white-space: nowrap; padding: 0 .12em; background: linear-gradient(transparent 58%, var(--fh-lime) 58%); }
