/*
  fitzhall.com home page only (11/26 uplift). Loaded by src/layouts/HomeLayout.astro after the design kit.
  What it does: bold display type with one accent phrase, pill buttons, the ripple-contour texture,
  the scoreboard hero with the founder bubble, tilted chip stacks, tinted cards.
  It also switches off the kit's "every section is exactly one screen" heights: here a section is as
  tall as its content. Light grounds only (Fitz's rule): no dark section anywhere.
*/

:root {
  --fh-bg: #f6f6f2;
  --fh-ink: #16241f;
  --fh-soft: #3b4842;            /* body text: 7:1 or better on every tint */
  --fh-green: #24704a;           /* Fitz's accent: buttons, labels */
  --fh-bright: #14975a;          /* the accent phrase in headlines */
  --fh-lime: #c8ee6f;            /* the spark: badges, the equals tile */
  --fh-lime-soft: #e3f4b4;
  --fh-mint: #cdebd9;
  --fh-mint-soft: #e2f2e8;
  --fh-sand: #eee8d6;
  --fh-sage: #e4ebe2;
  --fh-line: rgb(22 36 31 / .1);
  --fh-shadow: 0 1px 1px rgb(22 36 31 / .05), 0 10px 22px -10px rgb(22 36 31 / .22);
  --fh-shadow-lg: 0 2px 4px rgb(22 36 31 / .04), 0 34px 70px -24px rgb(22 36 31 / .34);
  --fh-pad: clamp(64px, 8vw, 112px);
  --fh-r: 28px;
}
html[data-buttons="block"] { --r-btn: 999px; --btn-h: 52px; }
html { scroll-padding-top: calc(var(--nav) - 8px); }
body { background: var(--fh-bg); }

/* ------------------------------------------------------------ small parts */
.fh-eyebrow, .hero__kicker.fh-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font: 700 12.5px/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-green);
}
.fh-eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fh-bright); box-shadow: 0 0 0 4px var(--fh-lime); }
.accent { color: var(--fh-bright); }
.fh-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; white-space: nowrap;
  font: 700 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fh-green); background: rgb(36 112 74 / .1); border: 1px solid rgb(36 112 74 / .18);
}
.fh-tick { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--fh-lime); color: var(--fh-ink); }
.fh-tick svg { width: 12px; height: 12px; }
.fh-live { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fh-bright); box-shadow: 0 0 0 0 rgb(20 151 90 / .5); }
.fh-av {
  flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font: 700 12px/1 var(--font-text); color: var(--fh-ink); background: var(--fh-mint);
}
.fh-av[data-tone="1"] { background: #f6d9c9; } .fh-av[data-tone="3"] { background: var(--fh-lime-soft); } .fh-av[data-tone="4"] { background: #cfe4ee; }
.fh-who { display: grid; gap: 2px; min-width: 0; }
.fh-who b { font: 600 14.5px/1.2 var(--font-text); }
.fh-who small { font: 400 12.5px/1.2 var(--font-text); color: var(--fh-soft); }

/* buttons: Fitz's green, pill, with the arrow in a lime disc */
.btn { font-weight: 700; letter-spacing: -.005em; }
.btn--primary { padding-inline: 26px 10px; gap: 14px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 12px 24px -12px rgb(36 112 74 / .8); }
.btn--primary:not(:has(.fh-go)) { padding-inline: 26px; }
.fh-go { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fh-lime); color: var(--fh-ink); }
.fh-go .m-arrow { width: 13px; height: 13px; margin: 0; }
html[data-buttons="block"] .btn--secondary,
html[data-buttons="block"] .btn--secondary:hover {
  background: #fff; border: 1.5px solid rgb(22 36 31 / .16); padding-inline: 24px; text-decoration: none;
}
html[data-buttons="block"] .btn--secondary:hover { border-color: var(--fh-green); color: var(--fh-green); }
.btn.btn--xl { height: 68px; padding-inline: 36px 14px; font-size: 19px; font-weight: 700; }
.btn--xl .fh-go { width: 44px; height: 44px; }

/* the header: a bolder wordmark on a soft glass bar */
.nav__logo, .nav--split .nav__logo { font-weight: 800; letter-spacing: -.035em; }
.nav__link { font-weight: 600; }
.nav__actions .btn { height: 44px; padding-inline: 20px; }

/* ------------------------------------------------------------ section frame (replaces the kit's one-screen heights) */
#top > .fh, #top > .fh-hero, footer.closing.fh-close {
  height: auto; min-height: 0; display: block; position: relative; padding: var(--fh-pad) 0 0;
}
#top > .fh > .wrap, #top > .fh-hero > .wrap, footer.closing.fh-close > .wrap { height: auto; min-height: 0; display: block; position: relative; z-index: 1; flex: none; }
.fh h2, .fh-close h2 {
  font: 800 clamp(32px, 3.5vw, 54px)/1.03 var(--font-display); letter-spacing: -.04em; text-wrap: balance; max-width: 18ch;
}
.fh-head { margin: 0 0 clamp(28px, 3.4vw, 48px); display: grid; gap: 16px; }
.fh-how .fh-head h2 { max-width: 22ch; }
.fh-sub { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--fh-soft); max-width: 46ch; margin: 0; }
.fh h3 { font: 700 19px/1.25 var(--font-display); letter-spacing: -.02em; margin: 0; }
.fh-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
#top > .fh > .wrap.fh-split { display: grid; }

/* the kit's product fragments, standing on a tinted card instead of the kit's own panel ground */
.fh-panel, .fh .fh-panel:not([data-fx]) { background: none; border-radius: 0; min-height: var(--p-h, 300px); flex: 1 1 auto; overflow: visible; }
.fh-panel::before, .fh-panel::after { display: none; }
.fh-panel > .stage { overflow: clip; }

/* ------------------------------------------------------------ hero */
#top > .fh-hero { padding: calc(var(--nav) + clamp(28px, 4.4vw, 60px)) 0 clamp(40px, 5vw, 72px); overflow: clip; }
.fh-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/home/contours.svg") 62% 40% / max(1500px, 118%) auto no-repeat;
  -webkit-mask: radial-gradient(120% 95% at 72% 38%, #000 30%, transparent 78%); mask: radial-gradient(120% 95% at 72% 38%, #000 30%, transparent 78%);
}
#top > .fh-hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: center; }
.fh-hero__text > * + * { margin-top: 0; }
.hero.fh-hero h1 {
  margin-top: 22px; font: 800 clamp(41px, 5.15vw, 78px)/.97 var(--font-display); letter-spacing: -.048em; text-wrap: balance; text-box: none;
}
.hero.fh-hero h1 .accent { display: block; margin-top: .1em; color: var(--fh-bright); white-space: nowrap; }
.hero.fh-hero h1 .eq {
  display: inline-grid; place-items: center; width: .84em; height: .84em; margin-right: .2em; border-radius: .22em;
  background: var(--fh-lime); color: var(--fh-ink); font-size: .8em; line-height: 1; rotate: -5deg; translate: 0 -.06em;
  box-shadow: 0 .12em .3em -.12em rgb(22 36 31 / .35);
}
.hero.fh-hero .hero__lead { margin-top: 26px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--fh-soft); max-width: 44ch; }
.fh-hero .btn-row { margin-top: 34px; gap: 12px; }
.fh-hero .hero__under { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--fh-soft); }

.fh-stage { position: relative; display: grid; place-items: center; padding: 40px 0 104px; min-height: 540px; }
.fh-stage__glow {
  position: absolute; inset: 2% -4% 4% 2%; z-index: 0; border-radius: 46% 54% 52% 48% / 50%;
  background: radial-gradient(closest-side, rgb(200 238 111 / .78), rgb(205 235 217 / .7) 58%, rgb(205 235 217 / 0) 100%);
}
.fh-board {
  position: relative; z-index: 2; width: min(100%, 470px); padding: 22px 22px 36px; border-radius: 24px; background: #fff;
  border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow-lg); rotate: -2.2deg;
}
.fh-board--back { position: absolute; z-index: 1; height: 62%; top: 22%; rotate: 4deg; translate: 22px 10px; background: rgb(255 255 255 / .72); box-shadow: var(--fh-shadow); }
.fh-board__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fh-board__title { display: inline-flex; align-items: center; gap: 10px; font: 700 15.5px/1 var(--font-display); letter-spacing: -.01em; }
.fh-board__stats { margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fh-board__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 12px 10px 12px 12px; border-radius: 14px; background: #f3f5ef; min-width: 0; }
.fh-board__stats > .is-hot { background: var(--fh-lime); }
.fh-board__stats dd { margin: 0; font: 800 30px/1 var(--font-display); letter-spacing: -.04em; }
.fh-board__stats dt { font: 500 11.5px/1.2 var(--font-text); color: var(--fh-soft); }
.fh-board__stats > .is-hot dt { color: var(--fh-ink); }
.fh-board__label { margin: 18px 0 2px; font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--fh-soft); }
.fh-board__rows { margin: 0; padding: 0; list-style: none; }
.fh-board__rows li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--fh-line); }
.fh-board__rows li:first-child { border-top: 0; }
.fh-st { margin-left: auto; flex: none; height: 26px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; font: 600 12px/1 var(--font-text); background: #f3f5ef; color: var(--fh-ink); }
.fh-st.is-done { background: var(--fh-green); color: #fff; }
.fh-st.is-you { background: var(--fh-lime); }

.fh-float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow); }
.fh-float--chip { top: 14px; left: 2px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; font: 600 14px/1 var(--font-text); rotate: -3deg; }
.fh-float--plan { left: -18px; bottom: 26px; width: 252px; padding: 14px 16px; border-radius: 18px; rotate: 2.5deg; }
.fh-float__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 12px/1 var(--font-text); color: var(--fh-soft); }
.fh-float__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fh-green); }
.fh-float__title { margin-top: 9px; font: 700 15.5px/1.25 var(--font-display); letter-spacing: -.015em; }
.fh-founder { position: absolute; z-index: 4; right: -8px; bottom: 0; margin: 0; display: grid; justify-items: center; gap: 8px; }
.fh-founder img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; outline: 3px solid var(--fh-bright); box-shadow: var(--fh-shadow-lg); }
.fh-founder figcaption { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow); font: 500 13px/1 var(--font-text); color: var(--fh-soft); white-space: nowrap; }
.fh-founder figcaption b { font-weight: 700; color: var(--fh-ink); margin-right: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .fh-float--chip { animation: fh-bob 6s ease-in-out infinite; }
  .fh-float--plan { animation: fh-bob 7s ease-in-out -2s infinite; }
  .fh-board__title .fh-live, .fh-float__tag .fh-live { animation: fh-pulse 2.4s ease-out infinite; }
}
@keyframes fh-bob { 50% { translate: 0 -7px; } }
@keyframes fh-pulse { 0% { box-shadow: 0 0 0 0 rgb(20 151 90 / .5); } 70%, 100% { box-shadow: 0 0 0 9px rgb(20 151 90 / 0); } }

/* ------------------------------------------------------------ why referrals stall: one compact band */
#top > .fh-problem { padding-top: 0; }
.fh-problem__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 3.6vw, 48px) clamp(22px, 3.8vw, 52px); border-radius: var(--fh-r);
  background: linear-gradient(105deg, var(--fh-lime-soft) 0%, var(--fh-mint) 100%);
}
.fh-problem__text { margin: 16px 0 0; font: 700 clamp(22px, 2.35vw, 34px)/1.2 var(--font-display); letter-spacing: -.03em; text-wrap: pretty; }
.fh-problem__text strong { font-weight: 800; padding: .02em .22em; border-radius: .3em; background: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fh-quiet { padding: 18px 20px 16px; border-radius: 20px; background: #fff; box-shadow: var(--fh-shadow); rotate: 1.6deg; }
.fh-quiet__top { display: flex; align-items: center; gap: 12px; }
.fh-quiet__top .fh-tag { margin-left: auto; }
.fh-quiet__dots { margin-top: 18px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.fh-quiet__dots i { justify-self: center; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgb(22 36 31 / .28); opacity: calc(1 - var(--i) * .065); }
.fh-quiet__dots i:first-child { width: 16px; height: 16px; border: 0; background: var(--fh-bright); box-shadow: 0 0 0 5px var(--fh-lime); opacity: 1; }
.fh-quiet__ends { margin-top: 12px; display: flex; justify-content: space-between; font: 600 12.5px/1 var(--font-text); color: var(--fh-soft); }
.fh-quiet__ends span:first-child { color: var(--fh-green); }

/* ------------------------------------------------------------ how it works: four tinted cards, two of them chip stacks */
/* the letter picture that opens "How it works": personal invites go in, the private letter, what comes out (11/26) */
.fh-flow {
  position: relative; margin: 0 0 20px; border-radius: var(--fh-r); padding: clamp(26px, 3.6vw, 52px) clamp(18px, 2.8vw, 40px) clamp(22px, 2.6vw, 36px);
  background: linear-gradient(150deg, #cdebd9 0%, #d9efcb 52%, var(--fh-lime-soft) 100%);
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(56px, 6vw, 92px) minmax(0, 1.14fr) clamp(56px, 6vw, 92px) minmax(0, 1fr); gap: clamp(6px, 1vw, 14px); align-items: center;
}
.fh-flow__tag { position: absolute; top: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); background: rgb(255 255 255 / .6); }
.fh-flow__col { min-width: 0; display: grid; gap: 14px; align-content: center; }
.fh-flow__lab { margin: 0; font: 700 12px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-green); }
.fh-flow__t { margin: -6px 0 4px; font: 800 clamp(22px, 2.1vw, 29px)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--fh-ink); }
.fh-flow .fh-flow__chips { margin: 0; }
.fh-flow__chips .fh-chip:nth-child(4n + 2) { --x: 22px; } .fh-flow__chips .fh-chip:nth-child(4n + 4) { --x: 30px; }
.fh-flow__note { margin: 4px 0 0; font: 500 14px/1.4 var(--font-text); color: var(--fh-soft); max-width: 30ch; }
.fh-flow__go { position: relative; height: 6px; background: radial-gradient(circle at 3px 3px, var(--fh-bright) 2.2px, transparent 2.7px) 0 0 / 13px 6px repeat-x; }
.fh-flow__go .fh-go { position: absolute; left: 50%; top: 50%; translate: -50% -50%; box-shadow: var(--fh-shadow); }
@media (prefers-reduced-motion: no-preference) {
  .fh-flow__go { animation: fh-flow-x 1s linear infinite; }
  @keyframes fh-flow-x { to { background-position-x: 13px; } }
  @keyframes fh-flow-y { to { background-position-y: 13px; } }
}
.fh-flow__paper { position: relative; padding: clamp(10px, 2vw, 26px) clamp(6px, 1.2vw, 16px); }
.fh-flow__paper::before { content: ""; position: absolute; inset: -4% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .85), rgb(255 255 255 / 0)); }
.fh-flow__sheet { position: relative; display: grid; gap: 12px; padding: clamp(18px, 2.2vw, 30px); border-radius: 8px; background: #fff; box-shadow: var(--fh-shadow-lg); rotate: -1.4deg; }
.fh-flow__sheet.is-back, .fh-flow__sheet.is-back2 { position: absolute; inset: clamp(10px, 2vw, 26px) clamp(6px, 1.2vw, 16px); padding: 0; background: rgb(255 255 255 / .75); box-shadow: var(--fh-shadow); }
.fh-flow__sheet.is-back { rotate: 3.4deg; translate: 12px 8px; }
.fh-flow__sheet.is-back2 { rotate: -4.6deg; translate: -10px 12px; }
.fh-flow__sheet > small { font: 500 12.5px/1.2 var(--font-text); color: var(--fh-soft); }
.fh-flow__sheet > p { margin: 0; font: 400 14px/1.55 var(--font-text); color: var(--fh-soft); }
.fh-flow__sheet > .fh-flow__h { font: 600 clamp(18px, 1.7vw, 22px)/1.25 var(--font-text); letter-spacing: -.01em; color: var(--fh-ink); }
.fh-flow__sheet mark { padding: 1px 3px; border-radius: 3px; background: #d3e6da; color: var(--fh-ink); box-shadow: inset 0 -2px 0 var(--fh-green); }
.fh-flow__from { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--fh-line); }
.fh-av.fh-flow__you { width: 38px; height: 38px; background: var(--fh-ink); color: #fff; font: 800 12px/1 var(--font-display); }
.fh-flow__outs { display: grid; gap: 12px; }
.fh-flow__out { display: grid; gap: 8px; padding: 14px 16px 16px; border-radius: 18px; background: #fff; box-shadow: var(--fh-shadow); }
.fh-flow__out:nth-child(1) { rotate: 1.2deg; } .fh-flow__out:nth-child(2) { rotate: -.9deg; margin-left: 14px; }
.fh-flow__out .fh-tag { justify-self: start; }
.fh-flow__out b { font: 600 15.5px/1.3 var(--font-text); color: var(--fh-ink); }
.fh-flow__out small { font: 400 13px/1.3 var(--font-text); color: var(--fh-soft); }
.fh-flow__out.is-referral { padding: 16px 18px 18px; background: var(--fh-lime); rotate: -1.1deg; }
.fh-flow__out.is-referral .fh-tag { background: rgb(255 255 255 / .55); color: var(--fh-ink); border-color: rgb(22 36 31 / .14); }
.fh-flow__out.is-referral b { font: 800 clamp(19px, 1.7vw, 23px)/1.12 var(--font-display); letter-spacing: -.03em; }
.fh-flow__out.is-referral small { font: 500 14.5px/1.3 var(--font-text); color: var(--fh-ink); }
.fh-flow__cap { grid-column: 1 / -1; margin: clamp(10px, 1.4vw, 18px) 0 0; font: 700 clamp(16px, 1.5vw, 20px)/1.3 var(--font-display); letter-spacing: -.02em; color: var(--fh-ink); max-width: 46ch; }
@media (max-width: 900px) {
  .fh-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 56px; }
  .fh-flow__go { width: 6px; height: 46px; justify-self: center; background: radial-gradient(circle at 3px 3px, var(--fh-bright) 2.2px, transparent 2.7px) 0 0 / 6px 13px repeat-y; animation-name: fh-flow-y; }
  .fh-flow__go .fh-go { rotate: 90deg; }
  /* a phone shows one partner and one client going in, to keep the picture short */
  .fh-flow__chips .fh-chip:nth-child(n + 3) { display: none; }
}

.fh-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.fh-step { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 500px; padding: 30px 32px 0; border-radius: var(--fh-r); }
.fh-step--a { grid-column: span 5; background: var(--fh-lime-soft); }
.fh-step--b { grid-column: span 7; background: var(--fh-mint); }
.fh-step--c { grid-column: span 7; background: var(--fh-sand); }
.fh-step--d { grid-column: span 5; background: var(--fh-sage); }
/* slim cards under the letter picture (11/27): a short title, one short line and one small picture; four across on a laptop */
.fh-step--slim { grid-column: span 3; min-height: 0; padding: 26px 26px 26px; }
.fh-step--s0 { background: var(--fh-lime-soft); } .fh-step--s1 { background: var(--fh-mint); } .fh-step--s2 { background: var(--fh-sand); } .fh-step--s3 { background: var(--fh-sage); }
.fh-step.fh-step--slim h3 { margin-top: 16px; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.12; }
.fh-step.fh-step--slim > p { font-size: 15.5px; margin-bottom: 24px; }
.fh-step--slim .fh-step__tag { top: 26px; right: 22px; }
.fh-mini { margin: auto 0 0; }
.fh-grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fh-grades > div { display: grid; gap: 6px; padding: 12px 10px 12px 12px; border-radius: 14px; background: #fff; box-shadow: var(--fh-shadow); min-width: 0; }
.fh-grades > .is-hot { background: var(--fh-lime); }
.fh-grades dd { margin: 0; font: 800 30px/1 var(--font-display); letter-spacing: -.04em; color: var(--fh-ink); }
.fh-grades dt { font: 500 11.5px/1.2 var(--font-text); color: var(--fh-soft); white-space: nowrap; }
.fh-grades > .is-hot dt { color: var(--fh-ink); }
.fh-step--slim .fh-file { margin-top: auto; padding: 14px 16px 6px; border-radius: 16px; background: #fff; box-shadow: var(--fh-shadow); rotate: -1.2deg; }
.fh-step--slim .fh-file, .fh-step--slim .fh-readers { margin-top: auto; }
.fh-file__top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.fh-file__grade { margin-left: auto; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--fh-lime); font: 800 14px/1 var(--font-display); color: var(--fh-ink); }
.fh-file__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fh-line); font: 500 13px/1.2 var(--font-text); color: var(--fh-soft); }
.fh-file__row b { font-weight: 600; color: var(--fh-ink); }
.fh-step--slim .fh-readers { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--fh-shadow); rotate: 1.1deg; }
.fh-readers__avs { display: flex; flex: none; }
.fh-readers__avs .fh-av { width: 32px; height: 32px; margin-left: -9px; border: 2px solid #fff; font-size: 11px; }
.fh-readers__avs .fh-av:first-child { margin-left: 0; }
.fh-av.fh-readers__more { background: var(--fh-ink); color: #fff; font-size: 10.5px; }
.fh-step--slim .fh-care { margin: auto 0 0; gap: 9px; }
.fh-care .fh-chip { font-size: 14px; padding-right: 14px; }
.fh-care .fh-chip:nth-child(2) { --x: 14px; }
@media (max-width: 1120px) { .fh-step--slim { grid-column: span 6; } }
@media (max-width: 700px) { .fh-step--slim { grid-column: 1 / -1; padding: 22px 22px 24px; } .fh-step--slim .fh-step__tag { top: 22px; right: 20px; } }
.fh-step__n { align-self: flex-start; display: inline-grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fh-ink); color: #fff; font: 800 13px/1 var(--font-display); letter-spacing: .02em; }
.fh-step h3 { margin-top: 18px; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.fh-step > p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--fh-soft); max-width: 46ch; }
.fh-step__tag { position: absolute; top: 30px; right: 30px; background: rgb(255 255 255 / .6); }
.fh-step .fh-panel { margin-top: 26px; --p-h: 290px; }
.fh-panel--bleed { margin-right: -32px; }
.fh-step--b .ui-win { border-radius: 14px 0 0 0; box-shadow: var(--fh-shadow-lg); }
.fh-step--d .ui-stat { border-radius: 16px 16px 0 0; box-shadow: var(--fh-shadow-lg); }

.fh-chips { margin: 28px 0 34px; padding: 0; list-style: none; display: grid; gap: 11px; justify-items: start; }
.fh-chip {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 18px 8px 8px; border-radius: 15px; background: #fff;
  box-shadow: var(--fh-shadow); font: 600 15.5px/1.25 var(--font-text); color: var(--fh-ink);
  rotate: var(--r, 0deg); margin-left: var(--x, 0px);
}
.fh-chip:nth-child(4n + 1) { --r: -1.6deg; --x: 0px; }
.fh-chip:nth-child(4n + 2) { --r: 1.3deg; --x: 30px; }
.fh-chip:nth-child(4n + 3) { --r: -.7deg; --x: 12px; }
.fh-chip:nth-child(4n + 4) { --r: 1.8deg; --x: 44px; }
.fh-chip__b { flex: none; display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 9px; border-radius: 10px; font: 800 13px/1 var(--font-display); letter-spacing: -.01em; }
.fh-chip__b.is-green { background: var(--fh-green); color: #fff; }
.fh-chip__b.is-bright { background: #0f7a48; color: #fff; }   /* white on --fh-bright is under 4.5:1 at this size */
.fh-chip__b.is-lime { background: var(--fh-lime); color: var(--fh-ink); }
.fh-chip__b.is-ink { background: var(--fh-ink); color: #fff; }
.fh-chip__b .fh-tick { background: none; color: inherit; }
.fh-chip small { display: block; margin-top: 2px; font: 500 13px/1.25 var(--font-text); color: var(--fh-soft); }
.fh-chip--tall { padding-block: 10px; }
.fh-chip--tall .fh-chip__b { height: 38px; min-width: 54px; }
.fh-step__split { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; margin-top: 30px; }
.fh-step__split .fh-chips { margin: 0 0 34px; }
.fh-cal { align-self: end; padding: 18px 18px 0; border-radius: 20px 20px 0 0; background: #fff; box-shadow: var(--fh-shadow-lg); rotate: 2deg; translate: 0 6px; }
.fh-cal__head, .fh-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fh-cal__head { margin-bottom: 10px; text-align: center; font: 700 11px/1 var(--font-text); color: var(--fh-soft); }
.fh-cal__grid i { aspect-ratio: 1; border-radius: 9px; background: #eef1ea; }
.fh-cal__grid i.is-off { background: #f6f7f3; }
.fh-cal__grid i.is-lime { background: var(--fh-lime); } .fh-cal__grid i.is-ink { background: var(--fh-ink); }
.fh-cal__grid i.is-bright { background: var(--fh-bright); } .fh-cal__grid i.is-green { background: var(--fh-green); }
/* the stacks settle once as they come into view (the script in index.astro adds .fh-js and .is-in) */
@media (prefers-reduced-motion: no-preference) {
  .fh-js [data-chips] .fh-chip { transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .fh-js [data-chips]:not(.is-in) .fh-chip { opacity: 0; transform: translateY(18px) scale(.97); }
}

/* ------------------------------------------------------------ four services */
.fh-jobs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fh-jobs li { padding: 20px 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--fh-line); box-shadow: 0 1px 1px rgb(22 36 31 / .04); }
.fh-jobs__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--fh-lime); color: var(--fh-ink); font: 800 14px/1 var(--font-display); }
.fh-jobs h3 { margin-top: 14px; }
.fh-jobs p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--fh-soft); }
/* ------------------------------------------------------------ the terms: the deal as four bento cards */
.fh-terms .fh-head h2 { max-width: 20ch; }
/* the terms as one band (11/27): headline and one paragraph, then a single timeline */
.fh-deal { border-radius: var(--fh-r); background: var(--fh-mint); padding: clamp(28px, 3.4vw, 48px) clamp(22px, 3.2vw, 48px) clamp(30px, 3.6vw, 52px); display: grid; gap: clamp(30px, 3.6vw, 52px); }
.fh-deal__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.fh-deal__top h2 { max-width: 16ch; }
.fh-line { display: flex; align-items: center; }
.fh-line__span { position: relative; flex: 1 1 0; min-width: 132px; height: 6px; background: var(--fh-green); }
.fh-line__span.is-long { flex-grow: 2.6; }
.fh-line__span.is-open { flex-grow: .7; min-width: 40px; height: 0; background: none; border-top: 6px dotted var(--fh-green); }
.fh-line__span i { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; white-space: nowrap; font: 700 14px/1 var(--font-text); font-style: normal; color: var(--fh-green); }
@media (max-width: 760px) {
  .fh-deal__top { grid-template-columns: minmax(0, 1fr); }
  .fh-line { flex-direction: column; align-items: flex-start; }
  .fh-line__span, .fh-line__span.is-long, .fh-line__span.is-open { flex: none; min-width: 0; width: 6px; height: 34px; margin-left: 24px; }
  .fh-line__span.is-long { height: 56px; }
  .fh-line__span.is-open { height: 30px; width: 0; border-top: 0; border-left: 6px dotted var(--fh-green); }
  .fh-line__span i { left: 22px; bottom: auto; top: 50%; translate: 0 -50%; }
}
.fh-term { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 32px 32px; border-radius: var(--fh-r); min-width: 0; }
.fh-term--setup { grid-column: span 4; background: var(--fh-lime-soft); }
.fh-term--first { grid-column: span 8; background: var(--fh-mint); }
.fh-term--leave { grid-column: span 7; background: var(--fh-sand); }
.fh-term--paid { grid-column: span 5; background: var(--fh-sage); }
.fh-term h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.fh-term > p:not(.fh-term__big), .fh-term__top p:not(.fh-term__big) { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--fh-soft); max-width: 46ch; }
.fh-term__big { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 800 clamp(72px, 8vw, 116px)/.86 var(--font-display); letter-spacing: -.06em; color: var(--fh-ink); }
.fh-term__big b { font-weight: 800; }
.fh-term__big i { font: 700 .22em/1 var(--font-text); font-style: normal; letter-spacing: 0; color: var(--fh-green); translate: 0 -.9em; }
.fh-term__big span { font: 700 .2em/1 var(--font-text); letter-spacing: .02em; color: var(--fh-green); }
.fh-term--setup .fh-term__big { margin-bottom: 26px; }
.fh-term__tag { position: absolute; top: 26px; right: 26px; }
.fh-term__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.fh-term__top .fh-term__big { flex: none; color: var(--fh-green); }
.fh-term__top .fh-term__big span { color: var(--fh-ink); }
/* the first term as a line: launch, day 90, then it stays open */
.fh-rail { display: flex; align-items: center; gap: 0; margin-top: auto; padding-top: 34px; }
.fh-rail__stop { flex: none; display: inline-grid; place-items: center; height: 38px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--fh-shadow); font: 800 14px/1 var(--font-display); letter-spacing: -.01em; color: var(--fh-ink); white-space: nowrap; }
.fh-rail__stop.is-ink { background: var(--fh-ink); color: #fff; }
.fh-rail__stop.is-lime { background: var(--fh-lime); }
.fh-rail__bar { flex: 2 1 0; height: 6px; background: var(--fh-green); }
.fh-rail__bar.is-open { flex: 1 1 0; height: 0; background: none; border-top: 6px dotted var(--fh-green); }
.fh-term__chips { list-style: none; margin: auto 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px 14px; }
.fh-term__chips .fh-chip { --x: 0px; }
.fh-term__chips .fh-chip:nth-child(2) { --r: 1.4deg; }
.fh-fee { list-style: none; margin: 24px 0 0; padding: 18px 20px; display: grid; gap: 12px; border-radius: 18px; background: #fff; box-shadow: var(--fh-shadow); }
.fh-fee li { display: flex; gap: 10px; align-items: center; font: 600 15.5px/1.3 var(--font-text); }
.fh-fee .fh-tick { background: var(--fh-green); color: #fff; }
.fh-fee li.is-no { color: var(--fh-soft); }
.fh-fee li.is-no .fh-tick { background: #e6e8e1; color: var(--fh-soft); }
/* ------------------------------------------------------------ who is behind this: Fitz's photo in a tinted card, his words beside it */
#top > .fh > .wrap.fh-split--about { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center; }
.fh-about__card { position: relative; border-radius: var(--fh-r); background: var(--fh-mint); padding: 22px 22px 0; overflow: hidden; }
.fh-about__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 62%; border-radius: 20px 20px 0 0; box-shadow: var(--fh-shadow-lg); }
.fh-about__name { position: absolute; top: 38px; left: 38px; margin: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--fh-shadow); font: 400 12.5px/1.2 var(--font-text); color: var(--fh-soft); }
.fh-about__name b { font: 600 14.5px/1.2 var(--font-text); color: var(--fh-ink); }
.fh-about__chips { position: absolute; left: 38px; right: 38px; bottom: 30px; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.fh-about__chips .fh-chip { --x: 0px; }
.fh-about__chips .fh-chip:nth-child(2) { --r: 1.4deg; --x: 26px; }
.fh-about__text { display: grid; gap: 18px; align-content: center; }
.fh-about__text h2 { max-width: 16ch; }
.fh-about__more { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--font-text); color: var(--fh-green); text-decoration: none; }
.fh-about__more .m-arrow { width: 12px; height: 12px; }
.fh-about__text > p:not(.fh-eyebrow) { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--fh-soft); max-width: 50ch; }
@media (max-width: 1023px) {
  .fh-term--setup, .fh-term--first, .fh-term--leave, .fh-term--paid { grid-column: 1 / -1; }
  #top > .fh > .wrap.fh-split--about { grid-template-columns: minmax(0, 1fr); }
  .fh-about__card { max-width: 520px; }
}
@media (max-width: 640px) {
  .fh-term { padding: 24px 22px 26px; }
  .fh-about__card { padding: 14px 14px 0; }
  .fh-about__name { top: 26px; left: 26px; }
  /* on a phone the tags sit under the photo so they never cover his face */
  .fh-about__card img { border-radius: 16px; }
  .fh-about__chips { position: static; padding: 14px 4px 16px; }
  .fh-term__top { flex-direction: column-reverse; gap: 18px; }
  .fh-term__big { font-size: 76px; }
  .fh-rail { padding-top: 24px; }
  .fh-rail__bar { min-width: 14px; }
  .fh-rail__stop { height: 32px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; }
}
.fh-letter, .fh .fh-letter:not([data-fx]) { --p-h: 420px; border-radius: var(--fh-r); background: linear-gradient(160deg, var(--fh-mint) 0%, var(--fh-lime-soft) 100%); overflow: clip; }

/* ------------------------------------------------------------ who owns what: one soft band */
#top > .fh-owns { margin-top: var(--fh-pad); padding: clamp(40px, 4.6vw, 64px) 0; background: var(--fh-sage); }
#top > .fh-owns > .wrap.fh-split { align-items: center; }
.fh-owns .fh-head { margin: 0; }
.fh-owns .fh-keep { align-self: center; }
.fh-keep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fh-keep__col { padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--fh-line); }
.fh-keep__col.is-you { background: var(--fh-lime-soft); border-color: transparent; }
.fh-keep ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fh-keep li { display: flex; gap: 10px; align-items: flex-start; font: 600 15.5px/1.3 var(--font-text); }
.fh-keep__col:not(.is-you) .fh-tick { background: var(--fh-green); color: #fff; }
.fh-rights { --p-h: 440px; }
.fh-rights .ui-toggles { box-shadow: var(--fh-shadow-lg); border-radius: 18px; }

/* ------------------------------------------------------------ questions */
.fh-split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
@media (min-width: 1024px) { .fh-faq__side, .fh-split--plan > .gp-card { position: sticky; top: calc(var(--nav) + 28px); } }
.fh-ask { display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow); font: 700 16px/1 var(--font-text); color: var(--fh-ink); transition: border-color .15s, translate .15s; }
.fh-ask img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--fh-bright); outline-offset: 2px; }
.fh-ask span { display: inline-flex; align-items: center; gap: 10px; }
.fh-ask .m-arrow { width: 12px; height: 12px; }
@media (hover: hover) { .fh-ask:hover { border-color: var(--fh-green); translate: 0 -2px; } }
.fh-faq__list { display: grid; gap: 12px; }
.fh-q { padding: 22px 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--fh-line); }
.fh-q h3 { font-size: 19px; }
.fh-q p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--fh-soft); max-width: 62ch; }

/* ------------------------------------------------------------ the growth plan and its form */
.fh-split--plan { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; }
.fh-chips--plan { margin: 16px 0 0; }
.fh-chips--plan .fh-chip__b { min-width: 32px; width: 32px; padding: 0; }
.fh-next { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.fh-next li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--fh-line); }
.fh-next b { font: 700 16px/1.3 var(--font-text); }
.fh-next p { margin: 2px 0 0; font-size: 15px; color: var(--fh-soft); }
.gp-card { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: var(--fh-r); background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow-lg); }
.gp-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--fh-green), var(--fh-bright) 60%, var(--fh-lime)); }
.gp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.gp-form > :is(.gp-step, .form__status, .gp-done, .gp-failed, noscript) { grid-column: 1 / -1; margin: 0; }
.gp-step { font: 700 12.5px/1.2 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--fh-green); }
.gp-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); border: 0; padding: 0; margin: 0; min-width: 0; }
.gp-panel[hidden] { display: none; }
.gp-panel > :is(.field--full, .btn-row) { grid-column: 1 / -1; }
.gp-panel .field label { font-weight: 700; }
.gp-panel .field :is(input, textarea, select) { border-radius: 14px; background: var(--fh-bg); }
.gp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gp-done { display: grid; gap: var(--s-3); }
.gp-done p, .gp-failed { margin: 0; }

/* ------------------------------------------------------------ the close and the footer */
footer.closing.fh-close { border-top: 0; padding: var(--fh-pad) 0 calc(28px + var(--bar)); }
.fh-close__card {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: clamp(48px, 7vw, 104px) clamp(20px, 4vw, 56px); border-radius: clamp(28px, 3vw, 40px);
  background: linear-gradient(120deg, var(--fh-lime-soft) 0%, var(--fh-mint) 100%);
}
.fh-close__bg { position: absolute; inset: 0; background: url("/home/contours.svg") 30% 60% / max(1400px, 120%) auto no-repeat; opacity: .9; }
.fh-close__card > :not(.fh-close__bg) { position: relative; }
.fh-close h2 { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -.048em; line-height: .98; max-width: 14ch; }
.fh-close__card p { margin: 0; font-size: clamp(17px, 1.4vw, 21px); color: var(--fh-soft); max-width: 40ch; }
.fh-close__card .btn { margin-top: 14px; width: auto; font-weight: 700; }
footer.closing.fh-close .closing__links { margin-top: clamp(48px, 6vw, 80px); }
.fh-close .footer__lede { font-weight: 600; letter-spacing: -.02em; }

/* ------------------------------------------------------------ tablet and phone */
@media (max-width: 1023px) {
  #top > .fh-hero > .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .fh-stage { min-height: 0; padding: 40px 0 78px; max-width: 560px; margin-inline: auto; width: 100%; }
  .fh-split, .fh-split--faq, .fh-split--plan { grid-template-columns: minmax(0, 1fr); }
  .fh-step--a, .fh-step--b, .fh-step--c, .fh-step--d { grid-column: 1 / -1; min-height: 0; }
  .fh-step--a, .fh-step--c { padding-bottom: 4px; }
  .fh-problem__card { grid-template-columns: minmax(0, 1fr); }
  .fh-step__split { grid-template-columns: minmax(0, 1fr); }
  .fh-cal { display: none; }
  .fh-quiet { max-width: 420px; }
  .fh-hero__bg { background-size: 1300px auto; background-position: 70% 20%; }
  /* stacked: the form comes straight after the heading; what is in the brief and the three steps follow it
     (Fitz, 11/26: on his phone he had to scroll past all of it to reach the form) */
  .fh-split--plan { row-gap: 28px; }
  .fh-split--plan > div:first-child { display: contents; }
  .fh-split--plan .fh-head { order: 1; margin: 0; }
  .fh-split--plan > .gp-card { order: 2; }
  .fh-split--plan > div:first-child > .fh-eyebrow { order: 3; margin-top: 12px; }
  .fh-split--plan .fh-chips--plan { order: 4; margin: -10px 0 8px; }
  .fh-split--plan .fh-next { order: 5; margin: 0; }
}
@media (max-width: 639px) {
  :root { --fh-r: 24px; }
  #top > .fh-hero { padding-top: calc(var(--nav) + 30px); }
  .hero.fh-hero h1 { font-size: clamp(40px, 11.6vw, 54px); }
  .fh-hero .btn-row { display: grid; gap: 10px; }
  .fh-hero .btn-row .btn { width: 100%; }
  .fh-hero .btn--primary { justify-content: space-between; height: 58px; }
  .fh-hero .hero__under { font-size: 13.5px; gap: 8px; }
  .hero__kicker.fh-eyebrow { font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
  .fh-stage { padding: 44px 0 112px; }
  .fh-board { padding: 16px; rotate: -1.6deg; }
  .fh-board__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fh-float--chip { left: 0; top: 6px; font-size: 13px; }
  .fh-float--plan { left: 0; bottom: 14px; width: 226px; padding: 12px 14px; }
  .fh-float__row { font-size: 11px; white-space: nowrap; gap: 6px; }
  .fh-float__title { font-size: 14.5px; }
  .fh-founder { right: 0; bottom: 0; }
  .fh-founder img { width: 96px; height: 96px; }
  .fh-step { padding: 24px 22px 0; }
  .fh-step__tag { top: 24px; right: 22px; }
  .fh-panel--bleed { margin-right: -22px; }
  .fh-step .fh-panel { --p-h: 260px; }
  .fh-chips { margin: 24px 0 26px; }
  .fh-chip { font-size: 14.5px; }
  .fh-chip:nth-child(4n + 2) { --x: 14px; } .fh-chip:nth-child(4n + 3) { --x: 6px; } .fh-chip:nth-child(4n + 4) { --x: 20px; }
  .fh-jobs, .fh-keep { grid-template-columns: minmax(0, 1fr); }
  .fh-jobs { gap: 10px; }
  .fh-jobs li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px 18px; }
  .fh-jobs__n { grid-row: 1 / span 2; }
  .fh-jobs h3 { margin-top: 4px; font-size: 18px; }
  .fh-letter .ui-doc__note { top: 58% !important; }
  .fh-letter, .fh .fh-letter:not([data-fx]) { --p-h: 400px; }
  .fh-rights { --p-h: 420px; }
  #top > .fh-plan { padding-top: 40px; }
  .fh-plan .fh-head { gap: 10px; }
  .fh-plan .fh-sub { font-size: 16px; }
  .fh-split--plan { row-gap: 20px; }
  .gp-card { padding: 20px 18px 22px; }
  .gp-panel .field textarea { min-height: 92px; }
  /* the sticky button steps aside while the form itself is on screen (index.astro adds .fh-off) */
  nav.actionbar.fh-off { transform: translateY(100%) !important; visibility: hidden !important; }
  .gp-form, .gp-panel { grid-template-columns: minmax(0, 1fr); }
  .gp-panel .btn-row { display: grid; gap: 10px; }
  .gp-panel .btn-row .btn { width: 100%; }
  .btn.btn--xl { height: auto; min-height: 62px; padding: 10px 12px 10px 24px; font-size: 17px; white-space: normal; text-align: left; justify-content: space-between; width: 100%; }
  .fh-close__card { justify-items: stretch; }
  .fh-close h2, .fh-close__card p { justify-self: center; }
}
/* between the tablet menu and a wide laptop the bar has no room for both actions: keep the main one */
@media (min-width: 1024px) and (max-width: 1199px) { .nav--split .nav__actions > .nav__link { display: none; } }
/* the smallest phones */
@media (max-width: 370px) {
  .hero__kicker.fh-eyebrow { white-space: normal; }
  .fh-hero .btn--primary { padding-inline: 18px 8px; font-size: 15px; gap: 8px; }
  .fh-float--plan { width: 200px; }
  .fh-founder img { width: 84px; height: 84px; }
}

/* ------------------------------------------------------------ the system picture (11/29): opens "How it works" in place of the letter picture */
/* Left, the circle as a map with "You" in the middle; right, the system's board with one switch. .is-off = a typical practice today. */
.fh-sys {
  position: relative; margin: 0 0 20px; border-radius: var(--fh-r); padding: clamp(16px, 2.6vw, 36px);
  background: linear-gradient(150deg, #cdebd9 0%, #d9efcb 52%, var(--fh-lime-soft) 100%);
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .98fr); gap: clamp(16px, 2.6vw, 40px); align-items: center;
  color: var(--fh-ink); transition: background .6s cubic-bezier(.22, 1, .36, 1);
}
.fh-sys.is-off { background: linear-gradient(150deg, #e7ebe4 0%, #e9ebe2 52%, var(--fh-sand) 100%); }
.fh-sys__map { min-width: 0; display: grid; gap: 12px; }
.fh-sys__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.fh-sys__key { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.2 var(--font-text); color: var(--fh-soft); }
.fh-sys__key i { flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2.5px solid #fff; box-shadow: 0 0 0 1px var(--fh-line); color: var(--fh-ink); }
.fh-sys__key i.is-new { border-color: var(--fh-lime); background: var(--fh-mint); }
.fh-sys__key i.is-home { width: 20px; height: 20px; border-color: var(--fh-lime); background: var(--fh-sand); }
.fh-sys__key i svg { width: 10px; height: 10px; }
.fh-sys__tag { margin-left: auto; background: rgb(255 255 255 / .6); }
.fh-sys__net { position: relative; aspect-ratio: 640 / 600; container-type: inline-size; }
.fh-sys__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fh-sys__ring { fill: none; stroke: rgb(255 255 255 / .75); stroke-width: 1.5; }
.fh-sys__ring.is-orbit { stroke: #fff; stroke-width: 2.2; }
.fh-sys__sp { fill: none; stroke: rgb(36 112 74 / .26); stroke-width: 1.4; transition: opacity .5s, stroke .5s; }
.fh-sys__fl { fill: none; stroke: var(--fh-bright); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: .1 17; animation: fh-sys-out 1.9s linear infinite; transition: opacity .5s; }
.fh-sys__fl.is-in { stroke: var(--fh-ink); stroke-width: 4.4; animation-name: fh-sys-back; animation-duration: 1.3s; }
@keyframes fh-sys-out { to { stroke-dashoffset: -17.1; } }
@keyframes fh-sys-back { to { stroke-dashoffset: 17.1; } }
.fh-sys.is-off .fh-sys__fl, .fh-sys.is-off .fh-sys__sp.is-new { opacity: 0; }
.fh-sys.is-off .fh-sys__sp.is-cold { stroke: rgb(22 36 31 / .22); stroke-dasharray: 3 7; }
.fh-sys__you {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3;
  width: 14cqw; height: 14cqw; border-radius: 50%; display: grid; place-items: center;
  background: var(--fh-ink); color: #fff; font: 800 clamp(13px, 3.3cqw, 21px)/1 var(--font-display); letter-spacing: -.02em;
  box-shadow: 0 0 0 1.4cqw var(--fh-lime), 0 0 0 3.4cqw rgb(255 255 255 / .55), var(--fh-shadow-lg);
  transition: box-shadow .5s;
}
.fh-sys.is-off .fh-sys__you { box-shadow: 0 0 0 1.4cqw #dfe3da, 0 0 0 3.4cqw rgb(255 255 255 / .45), var(--fh-shadow); }
.fh-sys__nd {
  position: absolute; z-index: 2; translate: -50% -50%; width: 7.6cqw; height: 7.6cqw; border-radius: 50%;
  display: grid; place-items: center; background: var(--fh-mint); color: var(--fh-ink);
  border: max(2px, .42cqw) solid #fff; box-shadow: var(--fh-shadow);
  font: 700 clamp(9px, 2cqw, 13px)/1 var(--font-text);
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, opacity .5s; transition-delay: calc(var(--i, 0) * 22ms);
}
.fh-sys__nd[data-tone="1"] { background: #f6d9c9; } .fh-sys__nd[data-tone="2"] { background: var(--fh-sand); } .fh-sys__nd[data-tone="3"] { background: var(--fh-lime-soft); } .fh-sys__nd[data-tone="4"] { background: #cfe4ee; }
.fh-sys__nd.is-new { width: 6.4cqw; height: 6.4cqw; border-color: var(--fh-lime); }
.fh-sys__nd.is-home { background: var(--fh-sand); }
.fh-sys__nd > svg { width: 46%; height: 46%; }
.fh-sys__nd.is-intro { box-shadow: 0 0 0 max(3px, .7cqw) var(--fh-lime), var(--fh-shadow); }
.fh-sys__nd.is-intro::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 2px solid var(--fh-ink); opacity: 0; animation: fh-sys-ping 2.6s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes fh-sys-ping { 0% { opacity: .55; scale: .82; } 70%, 100% { opacity: 0; scale: 1.5; } }
.fh-sys__dot { position: absolute; right: -6%; bottom: -6%; width: 30%; height: 30%; border-radius: 50%; background: var(--fh-bright); border: max(1.5px, .3cqw) solid #fff; transition: opacity .4s; }
.fh-sys.is-off .fh-sys__nd:not(.is-keep) { background: #eceee8; color: #7b857f; box-shadow: none; }
.fh-sys.is-off .fh-sys__nd:not(.is-keep) .fh-sys__dot { opacity: 0; }
.fh-sys.is-off .fh-sys__nd.is-new { background: rgb(255 255 255 / .35); color: transparent; border: 1.5px dashed rgb(22 36 31 / .3); }
.fh-sys.is-off .fh-sys__nd.is-intro { box-shadow: var(--fh-shadow); }
.fh-sys.is-off .fh-sys__nd.is-intro::after { animation: none; }
.fh-sys__pl {
  position: absolute; left: 50%; top: calc(100% + .9cqw); translate: -50% 0; white-space: nowrap; z-index: 4;
  display: inline-flex; align-items: center; height: clamp(19px, 3.9cqw, 25px); padding: 0 clamp(7px, 1.6cqw, 11px); border-radius: 999px;
  background: #fff; color: var(--fh-ink); box-shadow: var(--fh-shadow); font: 600 clamp(9.5px, 1.95cqw, 12.5px)/1 var(--font-text);
  transition: opacity .45s, visibility .45s;
}
.fh-sys__pl.is-up { top: auto; bottom: calc(100% + .9cqw); }
.fh-sys__pl.is-r { left: auto; right: -1cqw; translate: 0 0; }
.fh-sys__pl.is-l { left: -1cqw; translate: 0 0; }
.fh-sys__pl.is-you { background: var(--fh-lime); }
.fh-sys__pl.is-ink { background: var(--fh-ink); color: #fff; }
.fh-sys__pl--off { background: rgb(255 255 255 / .8); color: var(--fh-soft); box-shadow: none; border: 1px solid var(--fh-line); }
.fh-sys:not(.is-off) .fh-sys__pl--off, .fh-sys.is-off .fh-sys__pl--on { opacity: 0; visibility: hidden; }
.fh-sys__cap { display: grid; margin: 0; font: 700 clamp(16px, 1.5vw, 20px)/1.25 var(--font-display); letter-spacing: -.02em; color: var(--fh-ink); }
.fh-sys__cap > span, .fh-sys__hint > span { grid-area: 1 / 1; transition: opacity .45s, visibility .45s; }
.fh-sys:not(.is-off) .when-off, .fh-sys.is-off .when-on { opacity: 0; visibility: hidden; }
.fh-sys__board { min-width: 0; background: #fff; border: 1px solid var(--fh-line); border-radius: 24px; box-shadow: var(--fh-shadow-lg); padding: clamp(16px, 1.8vw, 22px); display: grid; gap: 14px; }
.fh-sys__btop { display: flex; align-items: center; gap: 10px; }
.fh-sys__title { display: inline-flex; align-items: center; gap: 10px; font: 700 17px/1 var(--font-display); letter-spacing: -.015em; }
.fh-sys__live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fh-bright); box-shadow: 0 0 0 4px var(--fh-lime); transition: background .4s, box-shadow .4s; }
.fh-sys.is-off .fh-sys__live { background: #a9b0ab; box-shadow: 0 0 0 4px #eceee8; }
.fh-sys__sw { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; padding: 4px; border: 0; background: none; cursor: pointer; font: 700 13px/1 var(--font-text); color: var(--fh-ink); min-height: 44px; border-radius: 999px; }
.fh-sys__track { position: relative; width: 56px; height: 32px; border-radius: 999px; background: var(--fh-ink); transition: background .3s; }
.fh-sys__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; translate: 24px 0; transition: translate .35s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 1px 3px rgb(22 36 31 / .3); }
.fh-sys__sw[aria-checked="false"] .fh-sys__track { background: #c9cec8; }
.fh-sys__sw[aria-checked="false"] .fh-sys__track::after { translate: 0 0; }
.fh-sys__sw:focus-visible { outline: 3px solid var(--fh-bright); outline-offset: 2px; }
.fh-sys__hint { display: grid; margin: -6px 0 0; font: 500 13px/1.3 var(--font-text); color: var(--fh-soft); }
.fh-sys__bodies { display: grid; }
.fh-sys__body { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; transition: opacity .45s, visibility .45s; }
.fh-sys__body[aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.fh-sys__intro { border-radius: 18px; background: var(--fh-lime); padding: 16px 18px 18px; display: grid; gap: 8px; rotate: -1.1deg; box-shadow: var(--fh-shadow); }
.fh-sys__intro .fh-tag { justify-self: start; background: rgb(255 255 255 / .55); color: var(--fh-ink); border-color: rgb(22 36 31 / .14); }
.fh-sys__intro b { font: 800 clamp(19px, 1.7vw, 23px)/1.12 var(--font-display); letter-spacing: -.03em; }
.fh-sys__intro > span:last-child { font: 500 14.5px/1.3 var(--font-text); }
.fh-sys__lab { margin: 4px 0 -6px; font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--fh-soft); }
.fh-sys__rows { margin: 0; padding: 0; list-style: none; }
.fh-sys__rows li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--fh-line); min-width: 0; }
.fh-sys__rows li:first-child { border-top: 0; }
.fh-sys__bd { flex: none; display: inline-grid; place-items: center; min-width: 62px; height: 32px; padding: 0 9px; border-radius: 10px; font: 800 13px/1 var(--font-display); background: var(--fh-green); color: #fff; }
.fh-sys__bd.is-you { background: var(--fh-lime); color: var(--fh-ink); }
.fh-sys__bd.is-quiet { background: #eceee8; color: #7b857f; }
.fh-sys__rw { display: grid; gap: 2px; min-width: 0; }
.fh-sys__rw b { font: 600 15px/1.25 var(--font-text); }
.fh-sys__rw small { font: 400 13px/1.3 var(--font-text); color: var(--fh-soft); }
.fh-sys__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fh-sys__facts > div { border-radius: 16px; background: var(--fh-sand); padding: 14px 14px 16px; display: grid; gap: 6px; align-content: start; }
.fh-sys__facts b { font: 800 40px/.9 var(--font-display); letter-spacing: -.05em; }
.fh-sys__facts span { font: 500 13.5px/1.3 var(--font-text); color: var(--fh-soft); }
.fh-sys__fine { grid-column: 1 / -1; margin: 0; font: 400 12.5px/1.45 var(--font-text); color: var(--fh-soft); }
@media (max-width: 900px) { .fh-sys { grid-template-columns: minmax(0, 1fr); } }
/* on a phone the map is too small for every label; the board says the same things in words */
@container (max-width: 440px) { .fh-sys__pl.is-roomy { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .fh-sys__fl, .fh-sys__nd.is-intro::after { animation: none; }
  .fh-sys, .fh-sys__nd, .fh-sys__pl, .fh-sys__body, .fh-sys__sp, .fh-sys__fl, .fh-sys__you, .fh-sys__track, .fh-sys__track::after { transition: none; }
}
