/* ==================================================================
   FutureMakers /samples request form — form.v9.css
   Successor to form.css (v6). Pairs with form.v9.js.

   Built from samples-comps.html (15 approved artboards) and the live
   brand tokens (.claude/skills/futuremakers-brand-style/brand.sh,
   guide @ 4f5849b). Poppins, weight capped at 700. No emojis, no em
   dashes.

   Ground rules carried from the comps:
   - Page ground AND the step strip are canvas beige #fff8f0, so the
     step rail floats on the page with no seam. No logo, no nav in
     here: the Webflow page supplies both above this embed.
   - Primary button is INK on orange (6.48:1), never white on orange
     (2.23:1, the worst pairing in the comps critique).
   - Cards: white, 1px #e5e1d8 hairline, --shadow-raised-card.
   ================================================================== */

.fm-sample-form {
  --fmv9-y: #ffcc04;
  --fmv9-orange: #f8971d;
  --fmv9-blue: #0085c9;
  --fmv9-green: #00ac4e;
  --fmv9-ink: #2d2926;
  --fmv9-soft: rgba(45, 41, 38, 0.72);
  --fmv9-quiet: rgba(45, 41, 38, 0.60);
  --fmv9-line: #e5e1d8;
  --fmv9-line2: rgba(45, 41, 38, 0.18);
  --fmv9-paper: #fff8f0;
  --fmv9-white: #ffffff;
  --fmv9-red: #ee343a;
  --fmv9-r: 14px;
  --fmv9-shadow-raised-card: 0 10px 24px rgba(45, 41, 38, 0.06);
  --fmv9-shell: 1200px;

  background: var(--fmv9-paper);
  color: var(--fmv9-ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.fm-sample-form *,
.fm-sample-form *::before,
.fm-sample-form *::after { box-sizing: border-box; }

.fm-sample-form button { font-family: inherit; }

/* ---------- step strip (beige, rail floats on it) ---------- */
.fmv9-steps {
  min-height: 68px;
  background: var(--fmv9-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
}
.fmv9-steps.is-empty { min-height: 24px; padding: 0; }

.fmv9-rail { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.fmv9-rail__label {
  font-size: 13px; line-height: 1; font-weight: 600;
  color: var(--fmv9-soft); letter-spacing: .02em;
}
.fmv9-dots { display: flex; align-items: center; }
.fmv9-st {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1; font-weight: 700;
}
.fmv9-st--up   { background: var(--fmv9-white); border: 1.5px solid var(--fmv9-line2); color: var(--fmv9-quiet); }
.fmv9-st--done { background: var(--fmv9-green); color: var(--fmv9-white); }
.fmv9-st--now  { background: var(--fmv9-green); color: var(--fmv9-white); box-shadow: 0 0 0 4px rgba(0, 172, 78, 0.22); }
.fmv9-seg { width: 20px; height: 2px; background: var(--fmv9-line2); flex: none; }
.fmv9-seg.is-on { background: var(--fmv9-green); }
.fmv9-tick {
  width: 8px; height: 4px;
  border-left: 2px solid var(--fmv9-white);
  border-bottom: 2px solid var(--fmv9-white);
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* ---------- shell / field ---------- */
.fm-sample-form__shell {
  padding: 0 40px 48px;
}
.fmv9-wrap { max-width: var(--fmv9-shell); margin: 0 auto; }

/* ---------- type ---------- */
.fmv9-h1 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.07; font-weight: 700; margin: 0; }
.fmv9-h2 { font-size: clamp(21px, 2.4vw, 34px); line-height: 1.12; font-weight: 700; margin: 0; }
.fmv9-h2--sm { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.08; }

/* ---------- sheet ---------- */
.fmv9-sheet {
  background: var(--fmv9-white);
  border: 1px solid var(--fmv9-line);
  border-radius: var(--fmv9-r);
  box-shadow: var(--fmv9-shadow-raised-card);
}

/* ---------- landing hero (motion image, /inst guide-hero pattern) ---------- */
.fmv9-hero {
  position: relative;
  display: grid;
  grid-template-columns: 64% 36%;
  min-height: 392px;
  background: var(--fmv9-white);
  border-radius: var(--fmv9-r);
  overflow: hidden;
  border: 1px solid var(--fmv9-line);
  box-shadow: var(--fmv9-shadow-raised-card);
}
.fmv9-hero__media { position: absolute; inset: 0; width: 64%; height: 100%; overflow: hidden; background: var(--fmv9-paper); }
.fmv9-hero__media video,
.fmv9-hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 50%; display: block;
}
/* Real <img> painted BEHIND the <video>, one layer down. Never a poster
   attribute: poster only paints under conditions the page does not control,
   and renders blank when the video element has no src yet. */
.fmv9-hero__media video { z-index: 2; }
.fmv9-hero__media img { z-index: 1; }
.fmv9-hero__fade {
  position: absolute; z-index: 4; top: 0; right: 36%; width: 180px; height: 100%;
  background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.03) 18%,
    rgba(255,255,255,.1) 34%, rgba(255,255,255,.24) 50%, rgba(255,255,255,.46) 66%,
    rgba(255,255,255,.72) 82%, rgba(255,255,255,.92) 94%, #fff);
}
.fmv9-hero__content {
  position: relative; z-index: 3; grid-column: 2;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--fmv9-white);
  padding: 72px 50px 72px 60px;
}
.fmv9-hero__heading { margin: 0; font-weight: 700; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; color: var(--fmv9-ink); }

/* ---------- "What's in the box" band ---------- */
/* Matt, 2026-09-23 20:31: explain line and card text centred, explain line larger. */
.fmv9-explain { margin-top: 24px; padding: 20px 28px; display: flex; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.fmv9-explain h2 { font-size: 20px; line-height: 1.2; font-weight: 700; margin: 0; width: 200px; flex: none; }
.fmv9-explain p { font-size: 24px; line-height: 1.35; font-weight: 600; color: var(--fmv9-ink); margin: 0; }

/* ---------- role chooser ---------- */
/* Matt, 2026-09-23: smaller cards. Grid capped and centred, tile shrunk 236 -> 150px. */
.fmv9-chooser { margin: 24px auto 0; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fmv9-cc {
  display: flex; overflow: hidden; align-items: stretch; min-height: 0;
  padding: 0; text-align: left; cursor: pointer; appearance: none;
  color: inherit; font: inherit;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.fmv9-cc:hover { box-shadow: 0 14px 30px rgba(45, 41, 38, 0.11); }
.fmv9-cc:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
/* Fixed aspect on the tile so the comps' tuned zoom-and-pan percentages
   below stay exact at any container width. */
.fmv9-cc__tile { width: 150px; flex: none; position: relative; overflow: hidden; background: var(--fmv9-paper); aspect-ratio: 59 / 50; }
.fmv9-cc__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The pack box photo sits low and left inside a wide, mostly empty white
   frame (box occupies x 10.9-45.4%, y 47.0-91.5% of the 1920x984 source).
   Plain object-fit:cover shows empty white, so the frame gets an explicit
   zoom-and-pan onto the box. Percentages from the comps, valid because the
   tile's aspect ratio above is fixed. */
.fmv9-cc__tile--pack img {
  position: absolute; width: 327.9%; max-width: none; height: auto; left: -42.3%; top: -87.3%;
  object-fit: fill; display: block;
}
.fmv9-cc__txt { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.fmv9-cc h3 { font-size: 19px; line-height: 1.15; font-weight: 700; margin: 0; }
.fmv9-cc__go { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--fmv9-blue); letter-spacing: .04em; }

/* ---------- form card ---------- */
.fmv9-card { padding: 36px 40px 34px; display: flex; flex-direction: column; }
.fmv9-card > .fmv9-h2 { margin-bottom: 28px; }

.fmv9-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; align-items: start; }
.fmv9-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px 24px; align-items: start; }
.fmv9-span2 { grid-column: span 2; }

.fmv9-row { min-width: 0; }
.fmv9-row.is-hidden { display: none; }

/* Field groups stacked straight into a card (the Learners and Ship screens)
   need the comps' 22px between them. Groups inside a grid get their gap from
   the grid instead, so this only targets direct children of the card. */
.fmv9-card > .fmv9-row + .fmv9-row,
.fmv9-card > .fmv9-row + .fmv9-grid2,
.fmv9-card > .fmv9-row + .fmv9-grid3,
.fmv9-card > .fmv9-grid2 + .fmv9-row,
.fmv9-card > .fmv9-grid3 + .fmv9-row,
.fmv9-card > .fmv9-grid2 + .fmv9-grid3,
.fmv9-card > .fmv9-grid3 + .fmv9-grid2,
.fmv9-card > .fmv9-grid2 + .fmv9-grid2 { margin-top: 22px; }

/* Phone sits on its own short line on desktop, as the comps draw it. */
.fmv9-card > .fmv9-row:has(> #phone) { max-width: 320px; }

.fmv9-label {
  display: block; font-size: 14px; line-height: 1.35; font-weight: 600;
  margin: 0 0 7px; letter-spacing: 0; color: var(--fmv9-ink);
}
.fmv9-req { color: var(--fmv9-ink); }

.fmv9-input {
  width: 100%;
  background: var(--fmv9-paper);
  border: 1.5px solid var(--fmv9-line2);
  border-radius: 12px;
  min-height: 50px;
  padding: 13px 16px;
  font-size: 16px; line-height: 1.35; font-weight: 500;
  font-family: inherit; color: var(--fmv9-ink);
  appearance: none;
}
.fmv9-input:focus { outline: none; border-color: var(--fmv9-ink); box-shadow: 0 0 0 3px rgba(45, 41, 38, 0.10); }
.fmv9-input::placeholder { color: rgba(45, 41, 38, 0.34); font-weight: 400; }
.fmv9-input.is-error { border-color: var(--fmv9-red); }

select.fmv9-input {
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--fmv9-ink) 50%),
    linear-gradient(135deg, var(--fmv9-ink) 50%, transparent 50%);
  background-position: right 20px top 55%, right 14px top 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.fmv9-error { margin: 6px 0 0; font-size: 13px; line-height: 1.35; font-weight: 500; color: var(--fmv9-red); }
.fmv9-error[hidden] { display: none; }

.fmv9-helper { margin: 6px 0 0; font-size: 14px; line-height: 1.35; font-weight: 400; color: var(--fmv9-soft); }

/* ---------- radios ---------- */
.fmv9-radios { display: flex; gap: 12px; flex-wrap: wrap; }
.fmv9-rad {
  display: flex; align-items: center; gap: 10px;
  background: var(--fmv9-paper);
  border: 1.5px solid var(--fmv9-line2);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 16px; line-height: 1.35; font-weight: 500;
  cursor: pointer; min-height: 50px;
}
.fmv9-rad input { position: absolute; opacity: 0; width: 0; height: 0; }
.fmv9-rad__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--fmv9-line2); background: var(--fmv9-white); flex: none; }
.fmv9-rad.is-on { border: 2px solid var(--fmv9-ink); background: var(--fmv9-white); padding: 11.5px 17.5px; font-weight: 600; }
.fmv9-rad.is-on .fmv9-rad__dot { border: 5px solid var(--fmv9-ink); }
.fmv9-rad:focus-within { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
.fmv9-radios.is-error .fmv9-rad { border-color: var(--fmv9-red); }

/* ---------- chips (multi-select) ---------- */
.fmv9-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fmv9-hint { margin: 2px 0 10px; font-size: 14px; line-height: 1.4; color: var(--fmv9-soft-ink); }
.fmv9-row--chips + .fmv9-row { margin-top: 26px; }
.fmv9-chip {
  border: 1.5px solid var(--fmv9-line2);
  background: var(--fmv9-white);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px; line-height: 1.3; font-weight: 500;
  color: var(--fmv9-soft);
  cursor: pointer; font-family: inherit;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.fmv9-chip:hover { border-color: var(--fmv9-ink); color: var(--fmv9-ink); }
.fmv9-chip.is-on { background: var(--fmv9-ink); border-color: var(--fmv9-ink); color: var(--fmv9-white); font-weight: 600; }
.fmv9-chip:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
.fmv9-chips.is-error .fmv9-chip { border-color: var(--fmv9-red); }

/* ---------- acknowledgement ---------- */
.fmv9-ack { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.fmv9-ack__box {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  border-radius: 6px; border: 1.5px solid var(--fmv9-line2);
  background: var(--fmv9-white); appearance: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.fmv9-ack__box:checked { background: var(--fmv9-ink); border-color: var(--fmv9-ink); }
.fmv9-ack__box:checked::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2.5px solid var(--fmv9-white);
  border-bottom: 2.5px solid var(--fmv9-white);
  transform: rotate(-45deg); margin-top: -3px;
}
.fmv9-ack__box:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
.fmv9-ack label { margin: 0; font-size: 13.5px; line-height: 1.45; font-weight: 400; color: var(--fmv9-soft); cursor: pointer; }

/* ---------- buttons ---------- */
.fmv9-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.fmv9-nav__right { display: flex; gap: 12px; }
.fmv9-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: 15px; line-height: 1; padding: 0 22px; height: 48px;
  border: 0; cursor: pointer; font-family: inherit;
}
/* Ink on orange, 6.48:1. Never white on orange. */
.fmv9-btn--primary { background: var(--fmv9-orange); color: var(--fmv9-ink); }
.fmv9-btn--primary:hover { background: #eb8b16; }
.fmv9-btn--primary:disabled { opacity: .5; cursor: not-allowed; }
.fmv9-btn--secondary { background: var(--fmv9-white); color: var(--fmv9-blue); border: 1.5px solid rgba(0, 133, 201, 0.3); }
.fmv9-btn--secondary:hover { border-color: var(--fmv9-blue); }
.fmv9-btn:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }

/* ---------- spark picker ---------- */
.fmv9-pickhead { padding: 12px 0 8px; }
.fmv9-pickhead__line { margin: 8px 0 0; font-size: 14px; line-height: 1.35; font-weight: 400; color: var(--fmv9-soft); }
.fmv9-pickhead__line b { font-weight: 700; color: var(--fmv9-ink); margin-right: 12px; }

/* One grid, one column width, every card the same size. Seven equal-weight
   options must look equal (the comps critique's "row 2 renders 12% smaller"
   fix). Row 2 just has an empty trailing cell. */
.fmv9-srow { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.fmv9-sc {
  background: var(--fmv9-white);
  border: 1px solid var(--fmv9-line);
  border-radius: var(--fmv9-r);
  box-shadow: var(--fmv9-shadow-raised-card);
  overflow: hidden; display: flex; flex-direction: column;
  padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  appearance: none;
}
.fmv9-sc:hover { box-shadow: 0 14px 30px rgba(45, 41, 38, 0.11); }
.fmv9-sc:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
.fmv9-sc__media { aspect-ratio: 17 / 9; overflow: hidden; background: var(--fmv9-paper); position: relative; }
.fmv9-sc__media img,
.fmv9-sc__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fmv9-sc__media video { z-index: 2; }
.fmv9-sc__media img { z-index: 1; }
.fmv9-sc__body { padding: 10px 14px 12px; }
.fmv9-sc h3 { font-size: 19px; line-height: 1.1; font-weight: 700; margin: 0 0 3px; }
.fmv9-sc__tag { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--fmv9-soft); margin: 0 0 4px; letter-spacing: .02em; }
.fmv9-sc__blurb { font-size: 14px; line-height: 1.35; font-weight: 400; color: var(--fmv9-soft); margin: 0; }
/* Floor every blurb at the 3-line height so all seven cards land on the same
   total height whatever the wrap. */
.fmv9-srow .fmv9-sc__blurb { min-height: 58px; }
.fmv9-sc.is-on { border: 2px solid var(--fmv9-ink); }
.fmv9-sc.is-on .fmv9-sc__body { padding: 9px 13px 11px; }
.fmv9-pin {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--fmv9-ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--fmv9-white);
  z-index: 3; /* above the img(1)/video(2) stack */
}
.fmv9-pin .fmv9-tick { width: 10px; height: 5px; border-width: 2.5px; }
.fmv9-srow.is-error .fmv9-sc { border-color: var(--fmv9-red); }

/* ---------- pack picker ---------- */
.fmv9-packband { position: relative; overflow: hidden; background: var(--fmv9-white); margin-top: 26px; aspect-ratio: 4 / 1; }
.fmv9-packband img { position: absolute; width: 109.6%; left: 0; top: -105.6%; height: auto; display: block; }
.fmv9-packband__txt {
  position: absolute; right: 52px; top: 0; bottom: 0; width: 400px; max-width: 42%;
  display: flex; flex-direction: column; justify-content: center;
}
.fmv9-packband__txt p:first-child { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 0; }
.fmv9-packband__txt p + p { font-size: 14.5px; line-height: 1.45; font-weight: 400; color: var(--fmv9-soft); margin: 8px 0 0; }

.fmv9-pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.fmv9-pkc {
  padding: 22px 24px 24px; display: flex; flex-direction: column;
  text-align: left; cursor: pointer; font: inherit; color: inherit; appearance: none;
}
.fmv9-pkc:hover { box-shadow: 0 14px 30px rgba(45, 41, 38, 0.11); }
.fmv9-pkc:focus-visible { outline: 3px solid var(--fmv9-blue); outline-offset: 2px; }
.fmv9-pkc h3 { font-size: 20px; line-height: 1.15; font-weight: 700; margin: 0; }
.fmv9-pkc p { font-size: 14px; line-height: 1.45; font-weight: 400; color: var(--fmv9-soft); margin: 10px 0 0; }
.fmv9-pkc__mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fmv9-line2); background: var(--fmv9-white); margin: 0 0 14px; flex: none; }
.fmv9-pkc.is-on { border: 2px solid var(--fmv9-ink); padding: 21px 23px 23px; }
.fmv9-pkc.is-on .fmv9-pkc__mark { border: 6px solid var(--fmv9-ink); }
.fmv9-pk.is-error .fmv9-pkc { border-color: var(--fmv9-red); }

/* ---------- success ---------- */
.fmv9-ok { padding: 44px 40px; display: flex; flex-direction: column; }
.fmv9-ok__done {
  width: 52px; height: 52px; border-radius: 50%; background: var(--fmv9-green);
  display: flex; align-items: center; justify-content: center; margin: 0 0 22px;
}
.fmv9-ok__done .fmv9-tick { width: 18px; height: 9px; border-width: 3px; }
.fmv9-ok h2 { font-size: clamp(21px, 3vw, 38px); line-height: 1.07; font-weight: 700; margin: 0; }
.fmv9-ok p { font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--fmv9-soft); margin: 14px 0 0; }
.fmv9-ok p strong { font-weight: 700; color: var(--fmv9-ink); }
.fmv9-ok a { color: var(--fmv9-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- honeypot ---------- */
/* Belt and braces: form.v9.js also sets display:none inline. Chrome will not
   autofill a display:none field; an off-screen zero-size field it will, and
   a filled honeypot is a silent server-side drop (2026-09-07, a real
   submitter lost this way). */
.fm-sample-form .honeypot {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}

/* ---------- Turnstile host ---------- */
.fm-turnstile-host { display: block; }

/* ==================================================================
   Responsive
   ================================================================== */

/* tablet: picker to 3 across */
@media (max-width: 1023px) {
  .fmv9-srow { grid-template-columns: repeat(3, 1fr); }
  .fmv9-pk { grid-template-columns: 1fr; gap: 12px; }
  .fmv9-packband__txt { display: none; }
}

@media (max-width: 899px) {
  .fm-sample-form__shell { padding: 0 24px 40px; }
  .fmv9-steps { padding: 12px 24px; }
  .fmv9-hero { grid-template-columns: 1fr; }
  .fmv9-hero__media { position: relative; width: 100%; height: 280px; }
  /* The scrim blends the media into the text panel BELOW it, so on the stacked
     layout it must sit on the bottom 100px of the MEDIA (which is 280px tall),
     not on the bottom of the whole hero. Anchored to the hero's bottom it
     washed over the heading instead. */
  .fmv9-hero__fade {
    right: 0; left: 0; top: 180px; bottom: auto; width: auto; height: 100px;
    background-image: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.4) 55%,
      rgba(255,255,255,.86) 82%, #fff);
  }
  .fmv9-hero__content { grid-column: 1; padding: 24px 24px 32px; }
  .fmv9-chooser { grid-template-columns: 1fr; gap: 14px; }
  .fmv9-explain { flex-direction: column; align-items: center; gap: 8px; }
  .fmv9-explain h2 { width: auto; }
  .fmv9-srow { grid-template-columns: repeat(2, 1fr); }
  .fmv9-card { padding: 24px 22px 22px; }
}

/* mobile: everything one column, per the eight 390x844 artboards */
@media (max-width: 639px) {
  .fm-sample-form__shell { padding: 0 20px 32px; }
  .fmv9-steps { min-height: 52px; padding: 10px 20px; }
  .fmv9-st { width: 20px; height: 20px; font-size: 11px; }
  .fmv9-seg { width: 10px; }
  .fmv9-rail { gap: 10px; }
  .fmv9-rail__label { font-size: 12px; }

  .fmv9-hero__media { height: 280px; }
  .fmv9-hero__heading { font-size: 36px; line-height: 1.05; }
  .fmv9-hero__content { padding: 20px 20px 26px; }

  .fmv9-cc { min-height: 96px; }
  .fmv9-cc__tile { width: 96px; aspect-ratio: 1 / 1; }
  .fmv9-cc__tile--pack img { width: 386.1%; left: -58.7%; top: -87.1%; }
  .fmv9-cc__txt { padding: 14px 16px; }
  .fmv9-cc h3 { font-size: 17px; }
  .fmv9-cc__go { margin-top: 6px; font-size: 12px; }

  .fmv9-explain { margin-top: 8px; padding: 12px 18px; }
  .fmv9-explain h2 { font-size: 16px; }
  .fmv9-explain p { font-size: 18px; line-height: 1.35; }

  .fmv9-card { padding: 18px 18px 18px; }
  .fmv9-card > .fmv9-h2 { margin-bottom: 14px; }
  .fmv9-grid2,
  .fmv9-grid3 { grid-template-columns: 1fr; gap: 8px; }
  .fmv9-span2 { grid-column: span 1; }
  .fmv9-card > .fmv9-row + .fmv9-row,
  .fmv9-card > .fmv9-row + .fmv9-grid2,
  .fmv9-card > .fmv9-row + .fmv9-grid3,
  .fmv9-card > .fmv9-grid2 + .fmv9-row,
  .fmv9-card > .fmv9-grid3 + .fmv9-row,
  .fmv9-card > .fmv9-grid2 + .fmv9-grid3,
  .fmv9-card > .fmv9-grid3 + .fmv9-grid2,
  .fmv9-card > .fmv9-grid2 + .fmv9-grid2 { margin-top: 10px; }
  .fmv9-card > .fmv9-row:has(> #phone) { max-width: none; }
  .fmv9-label { margin: 0 0 3px; }
  .fmv9-input { min-height: 44px; padding: 11px 14px; }
  .fmv9-rad { min-height: 44px; padding: 10px 14px; font-size: 15px; }
  .fmv9-rad.is-on { padding: 9.5px 13.5px; }

  .fmv9-nav { margin-top: 16px; gap: 10px; }
  .fmv9-btn { flex: 1; padding: 0 12px; font-size: 14px; }

  .fmv9-pickhead { padding: 10px 0 6px; }
  .fmv9-pickhead__line { font-size: 12px; }
  .fmv9-pickhead__line b { display: block; font-size: 13px; margin: 0 0 2px; }
  .fmv9-srow { grid-template-columns: 1fr; gap: 5px; }
  .fmv9-srow .fmv9-sc__media { aspect-ratio: 16 / 10; }
  .fmv9-srow .fmv9-sc__blurb { min-height: 0; }

  .fmv9-packband { margin-top: 10px; }
  .fmv9-pk { gap: 8px; margin-top: 10px; }
  .fmv9-pkc { padding: 15px 18px 17px; }
  .fmv9-pkc__mark { margin: 0 0 8px; }
  .fmv9-pkc.is-on { padding: 14px 17px 16px; }
  .fmv9-pkc h3 { font-size: 17px; }

  .fmv9-ok { padding: 20px 20px 24px; }
  .fmv9-ok__done { width: 36px; height: 36px; margin: 0 0 16px; }
  .fmv9-ok__done .fmv9-tick { width: 13px; height: 6px; border-width: 2.5px; }
  .fmv9-ok p { font-size: 14px; line-height: 1.4; margin: 12px 0 0; }

  .fmv9-ack { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fm-sample-form * { transition: none !important; }
}

/* 2026-09-10 Matt: thank-you page (.fmv9-ok = renderSuccess box) centred, discount CTA as a primary button */
.fmv9-ok { text-align: center; }
.fmv9-ok > * { margin-left: auto; margin-right: auto; }
.fmv9-ok a.fmv9-ok__cta, .fmv9-ok a.fmv9-ok__cta:visited, .fmv9-ok a.fmv9-ok__cta:hover, .fmv9-ok a.fmv9-ok__cta:focus {
  color: var(--fmv9-ink); text-decoration: none; margin-top: 10px;
}

/* 2026-11-17: "Welcome back" note under the email box (patch_v9.py), same look as the landing-page forms. */
.fmv9-seen { margin: 8px 0 0; padding: 8px 12px; background: var(--fmv9-paper); border-left: 3px solid var(--fmv9-orange);
  border-radius: 8px; color: var(--fmv9-ink); font-size: 14px; line-height: 1.45; }
.fmv9-seen[hidden] { display: none; }

/* ==================================================================
   2026-11-17 (patch_samples_switch.py): the emailed-code screens, copied from form.pages.v1.css.
   ================================================================== */
.fm-sample-form {
  --fmp-ink: #2d2926; --fmp-soft: #5b5753; --fmp-paper: #fff8f0; --fmp-white: #ffffff; --fmp-orange: #f8971d;
  --fmp-blue: #0085c9; --fmp-line: #e5e1d8; --fmp-red: #ee343a;
}
.fm-sample-form .fmp-lede { margin: -16px 0 24px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--fmp-soft); }
.fm-sample-form .fmp-lede strong { color: var(--fmp-ink); font-weight: 700; overflow-wrap: anywhere; }
/* Code screen: six boxes */
.fmp-code { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: nowrap; }
.fmp-code__box {
  width: 56px; height: 64px; flex: 0 0 auto; text-align: center;
  font-family: inherit; font-size: 28px; line-height: 1; font-weight: 700; color: var(--fmp-ink);
  background: var(--fmp-paper); border: 1.5px solid rgba(45, 41, 38, 0.18); border-radius: 12px;
  appearance: none; padding: 0;
}
.fmp-code__box:focus { outline: none; border-color: var(--fmp-ink); box-shadow: 0 0 0 3px rgba(45, 41, 38, 0.10); }
.fmp-code.is-error .fmp-code__box { border-color: var(--fmp-red); }
.fmp-codenav { justify-content: flex-start; margin-top: 22px; }
.fmp-codelinks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.fmp-link {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--fmp-blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.fmp-link:disabled { color: var(--fmp-soft); text-decoration: none; cursor: default; }
.fmp-link[hidden] { display: none; }
.fmp-link:focus-visible { outline: 3px solid var(--fmp-blue); outline-offset: 2px; }
.fmp-editemail { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 16px; max-width: 560px; }
.fmp-editemail[hidden] { display: none; }
.fmp-editemail .fmv9-row { flex: 1 1 260px; }
.fmp-codehelp { margin-top: 20px; }
.fmp-codehelp__panel { margin-top: 10px; padding: 16px 18px; background: var(--fmp-paper); border: 1px solid var(--fmp-line); border-radius: 12px; max-width: 600px; }
.fmp-codehelp__panel[hidden] { display: none; }
.fmp-codehelp__panel .fmv9-helper { margin: 0 0 8px; }
.fmp-codehelp__panel .fmp-editemail { margin-top: 4px; }
.fmp-codehelp__panel .fmp-link { margin-top: 10px; }
.fmp-resend[hidden] { display: none; }
.fmp-sent[hidden] { display: none; }

/* Inline error under the buttons (replaces form.v9.js's alert() boxes) */
.fmp-alert {
  margin-top: 16px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--fmp-red); background: var(--fmp-white);
  font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--fmp-ink);
}
.fmp-alert[hidden] { display: none; }

/* Family result: the store code */
.fmp-storecode {
  display: inline-block; max-width: 100%; white-space: nowrap; margin: 18px auto 4px !important; padding: 14px 22px;
  border: 2px dashed var(--fmp-ink); border-radius: 12px; background: var(--fmp-paper);
  font-size: 26px !important; line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: .08em;
  color: var(--fmp-ink) !important; align-self: center;
}
.fmv9-ok a.fmp-cta { flex: none; align-self: center; margin-top: 22px; color: var(--fmp-ink); text-decoration: none; }

/* Result: the educator account made when the code was accepted */
.fmp-account { display: flex; flex-direction: column; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); width: 100%; }
.fmp-account p { margin: 0; }
.fmp-account .fmp-account__pending { color: #6b6b6b; }
.fmv9-ok .fmp-account a.fmp-cta { margin-top: 14px; }

@media (max-width: 639px) {
  .fmv9-card > .fmv9-h2 + .fmp-lede { margin-top: -6px; margin-bottom: 18px; }
  .fmp-code { gap: 6px; }
  .fmp-code__box { width: calc((100% - 30px) / 6); max-width: 52px; height: 56px; font-size: 24px; }
  .fmp-storecode { font-size: clamp(18px, 6vw, 24px) !important; padding: 12px 14px; letter-spacing: .04em; }
  .fmv9-ok a.fmp-cta { width: 100%; }
}
/* Repeat requesters (2026-11-17): the welcome-back note under the email box, and the earlier-request line */
.fmp-seen, .fmp-prior { margin: 8px 0 0; padding: 8px 12px; background: var(--fmp-paper); border-left: 3px solid var(--fmp-orange);
  border-radius: 8px; color: var(--fmp-ink); font-size: 14px; line-height: 1.45; }
.fmp-prior { margin-top: 14px; font-size: 15px; }
.fmp-seen[hidden] { display: none; }

/* 2026-11-17 (patch_samples_workemail.py): "please use your work email" note under the email box. */
.fmv9-workemail { margin: 8px 0 0; padding: 10px 12px; background: var(--fmv9-paper); border-left: 3px solid var(--fmv9-orange);
  border-radius: 8px; color: var(--fmv9-ink); font-size: 14px; line-height: 1.45; }
.fmv9-workemail[hidden], .fmv9-workemail__ok[hidden] { display: none; }
.fmv9-workemail p { margin: 0; }
.fmv9-workemail__none { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; cursor: pointer;
  letter-spacing: normal; text-transform: none; font-size: 14px; }
.fmv9-workemail__none input { width: 18px; height: 18px; margin: 0; accent-color: var(--fmv9-orange); }
.fmv9-workemail__ok { margin-top: 6px !important; }


/* ==================================================================
   Page sample forms (form.pages.v1.css only). Everything above this line is form.v9.css, verbatim.
   Tokens from .claude/skills/futuremakers-brand-style/brand.sh: ink #2d2926, paper #fff8f0, orange #f8971d,
   blue #0085c9, green #00ac4e, line #e5e1d8, red #ee343a, soft ink #5b5753. Poppins, weight capped at 700.
   Primary button is ink on orange (form.v9.css rule), chevrons are CSS-drawn in ink.
   ================================================================== */

.fmp-section {
  --fmp-ink: #2d2926;
  --fmp-soft: #5b5753;
  --fmp-paper: #fff8f0;
  --fmp-white: #ffffff;
  --fmp-orange: #f8971d;
  --fmp-blue: #0085c9;
  --fmp-line: #e5e1d8;
  --fmp-red: #ee343a;
  --fmp-yellow: #ffcc04;
  /* form.v9.css defines its colors on .fm-sample-form only; the Request samples button sits outside it. */
  --fmv9-orange: #f8971d;
  --fmv9-ink: #2d2926;
  --fmv9-blue: #0085c9;
  --fmv9-white: #ffffff;
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--fmp-ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.fmp-section *, .fmp-section *::before, .fmp-section *::after { box-sizing: border-box; }

.fmp-testbanner {
  margin: 0 0 18px; padding: 10px 16px; border-radius: 12px;
  background: var(--fmp-yellow); color: var(--fmp-ink);
  font-size: 14px; line-height: 1.35; font-weight: 700; letter-spacing: .04em; text-align: center;
}

/* The section intro: heading, one line, and the button that opens the form (camp page pattern). */
.fmp-intro { text-align: center; }
.fmp-title { margin: 0 0 10px; font-size: clamp(28px, 2.6vw, 30px); line-height: 1.27; font-weight: 700; color: var(--fmp-ink); }
.fmp-introtext { margin: 0 auto 22px; max-width: 640px; font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--fmp-ink); }
.fmp-toggle { min-height: 52px; height: auto; padding: 14px 26px; }
.fmp-chev {
  display: inline-block; width: 9px; height: 9px; margin-left: 4px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .3s ease;
}
.fmp-toggle[aria-expanded="true"] .fmp-chev { transform: translateY(2px) rotate(-135deg); }

/* The panel slides open from 0fr to 1fr; "inert" keeps it out of reach while closed, so the bot check loads early. */
.fmp-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.fmp-panel[data-open="true"] { grid-template-rows: 1fr; }
.fmp-panel > .fmp-panel__inner { overflow: hidden; min-height: 0; }
.fmp-panel[data-open="true"] > .fmp-panel__inner { padding-top: 28px; }
@media (prefers-reduced-motion: reduce) { .fmp-panel, .fmp-chev { transition: none; } }

.fmp-section .fm-sample-form { max-width: none; margin: 0; border-radius: 16px; scroll-margin-top: 92px; }
.fmp-section .fm-sample-form__shell { padding: 0 28px 32px; }

.fmp-lede { margin: -16px 0 24px; font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--fmp-soft); }
.fmp-lede strong { color: var(--fmp-ink); font-weight: 700; overflow-wrap: anywhere; }
.fmv9-pick > .fmp-lede { margin: 8px 0 0; }
.fmp-gap { margin-top: 30px; }
.fmv9-pick > .fmv9-card + .fmp-gap { margin-top: 30px; }

/* Stacked radio cards (role list, who-is-it-for, groups) */
.fmp-radios--stack { flex-direction: column; gap: 10px; }
.fmp-radios--stack .fmv9-rad { width: 100%; }
.fmp-rad__txt { display: flex; flex-direction: column; gap: 2px; }
.fmp-rad__sub { font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--fmp-soft); }
.fmv9-card > .fmv9-row + .fmv9-row, .fmv9-card > .fmv9-grid2 + .fmv9-row, .fmv9-card > .fmv9-row + .fmv9-grid2,
.fmv9-card > div + .fmv9-row, .fmv9-card > .fmv9-row + div { margin-top: 22px; }
.fmp-short { max-width: 260px; }
/* Rows the new screens stack straight into a card (unit number, council grid, hidden "not listed" row) */
.fmv9-card > :is(.fmv9-row, .fmv9-grid2, div):not(.fmv9-nav):not(.fmp-alert) + :is(.fmv9-row, .fmv9-grid2, div):not(.fmv9-nav):not(.fmp-alert) { margin-top: 22px; }
.fm-sample-form .fmv9-helper a { color: var(--fmp-blue); text-decoration: underline; text-underline-offset: 3px; }

/* Code screen: six boxes */
.fmp-code { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: nowrap; }
.fmp-code__box {
  width: 56px; height: 64px; flex: 0 0 auto; text-align: center;
  font-family: inherit; font-size: 28px; line-height: 1; font-weight: 700; color: var(--fmp-ink);
  background: var(--fmp-paper); border: 1.5px solid rgba(45, 41, 38, 0.18); border-radius: 12px;
  appearance: none; padding: 0;
}
.fmp-code__box:focus { outline: none; border-color: var(--fmp-ink); box-shadow: 0 0 0 3px rgba(45, 41, 38, 0.10); }
.fmp-code.is-error .fmp-code__box { border-color: var(--fmp-red); }
.fmp-codenav { justify-content: flex-start; margin-top: 22px; }
.fmp-codelinks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.fmp-link {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--fmp-blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.fmp-link:disabled { color: var(--fmp-soft); text-decoration: none; cursor: default; }
.fmp-link[hidden] { display: none; }
.fmp-link:focus-visible { outline: 3px solid var(--fmp-blue); outline-offset: 2px; }
.fmp-editemail { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 16px; max-width: 560px; }
.fmp-editemail[hidden] { display: none; }
.fmp-editemail .fmv9-row { flex: 1 1 260px; }
.fmp-codehelp { margin-top: 20px; }
.fmp-codehelp__panel { margin-top: 10px; padding: 16px 18px; background: var(--fmp-paper); border: 1px solid var(--fmp-line); border-radius: 12px; max-width: 600px; }
.fmp-codehelp__panel[hidden] { display: none; }
.fmp-codehelp__panel .fmv9-helper { margin: 0 0 8px; }
.fmp-codehelp__panel .fmp-editemail { margin-top: 4px; }
.fmp-codehelp__panel .fmp-link { margin-top: 10px; }
.fmp-resend[hidden] { display: none; }
.fmp-sent[hidden] { display: none; }

/* Inline error under the buttons (replaces form.v9.js's alert() boxes) */
.fmp-alert {
  margin-top: 16px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--fmp-red); background: var(--fmp-white);
  font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--fmp-ink);
}
.fmp-alert[hidden] { display: none; }

/* Family result: the store code */
.fmp-storecode {
  display: inline-block; max-width: 100%; white-space: nowrap; margin: 18px auto 4px !important; padding: 14px 22px;
  border: 2px dashed var(--fmp-ink); border-radius: 12px; background: var(--fmp-paper);
  font-size: 26px !important; line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: .08em;
  color: var(--fmp-ink) !important; align-self: center;
}
.fmv9-ok a.fmp-cta { flex: none; align-self: center; margin-top: 22px; color: var(--fmp-ink); text-decoration: none; }

/* Result: the educator account made when the code was accepted */
.fmp-account { display: flex; flex-direction: column; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); width: 100%; }
.fmp-account p { margin: 0; }
.fmp-account .fmp-account__pending { color: #6b6b6b; }
.fmv9-ok .fmp-account a.fmp-cta { margin-top: 14px; }

@media (max-width: 639px) {
  .fmp-section .fm-sample-form__shell { padding: 0 14px 24px; }
  .fmp-introtext { font-size: 16px; }
  .fmv9-card > .fmv9-h2 + .fmp-lede { margin-top: -6px; margin-bottom: 18px; }
  .fmp-code { gap: 6px; }
  .fmp-code__box { width: calc((100% - 30px) / 6); max-width: 52px; height: 56px; font-size: 24px; }
  .fmp-toggle { width: 100%; }
  .fmp-storecode { font-size: clamp(18px, 6vw, 24px) !important; padding: 12px 14px; letter-spacing: .04em; }
  .fmv9-ok a.fmp-cta { width: 100%; }
  .fmv9-nav { flex-wrap: wrap; }
}

/* Repeat requesters (2026-11-17): the welcome-back note under the email box, and the earlier-request line */
.fmp-seen, .fmp-prior { margin: 8px 0 0; padding: 8px 12px; background: var(--fmp-paper); border-left: 3px solid var(--fmp-orange);
  border-radius: 8px; color: var(--fmp-ink); font-size: 14px; line-height: 1.45; }
.fmp-prior { margin-top: 14px; font-size: 15px; }
.fmp-seen[hidden] { display: none; }

/* Work email (2026-11-17): personal address on an organization request */
.fmp-workemail { margin: 8px 0 0; padding: 10px 12px; background: var(--fmp-paper); border-left: 3px solid var(--fmp-orange);
  border-radius: 8px; color: var(--fmp-ink); font-size: 14px; line-height: 1.45; }
.fmp-workemail[hidden], .fmp-workemail__ok[hidden] { display: none; }
.fmp-workemail p { margin: 0; }
.fmp-workemail__none { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; cursor: pointer;
  letter-spacing: normal; text-transform: none; font-size: 14px; }
.fmp-workemail__none input { width: 18px; height: 18px; margin: 0; accent-color: var(--fmp-orange); }
.fmp-workemail__ok { margin-top: 6px !important; }
