/* The Get Started funnel (Roy, Oct 2). Every size here was measured on King
   Kong's /30-minute-strategy-session/ at 1440 and 375 wide (heading 40/48 600,
   26 inputs 460 x 55, 65px buttons at 23px 800, 50px pills, 135 x 200 cards,
   20px progress dots). Ours sits on white, and their lime is our moving blue
   gradient. Fonts: Inter like theirs; Anton stands in for their Futura LT
   Condensed (licensed), same as our home hero. */

@font-face {
  font-family: "Lemon Milk";
  src: url("/assets/fonts/LEMONMILK-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ff-1: #171fc7;
  --ff-3: #2362d3;
  --ff-4: #2b86db;
  --ff-5: #37d4e5;
  --grad: linear-gradient(90deg, var(--ff-1) 0%, var(--ff-3) 25%, var(--ff-5) 50%, var(--ff-3) 75%, var(--ff-1) 100%);
  --ink: #000;
  --ink-2: #333;
  --ink-3: #595959;
  --line: #e6e6e6;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* a bold, solid arrow; on the buttons it slides out to the right while the
     next one slides in from the left (Roy, Oct 3: "just make an animated arrow") */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M1 7.2h17.5V2.5L29 9l-10.5 6.5v-4.7H1z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }

@keyframes fx-flow { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@keyframes fx-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fx-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes fx-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-9px); } 70% { transform: translateY(-3px); } }
@keyframes fx-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---- Top bar: logo in the middle, back arrow on the left ---- */
.fx-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}
.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #000;
  text-decoration: none;
}
.fx-logo .brand-mark,
.fx-logo svg { height: 24px; width: auto; display: block; }
.fx-word {
  font-family: "Lemon Milk", "Inter", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fx-back {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.fx-back svg { width: 24px; height: 24px; }
.fx-back:hover { background: #f3f4f6; }
.fx-back[hidden] { display: none; }

/* ---- Page column ---- */
.fx-wrap {
  max-width: 830px;
  margin: 0 auto;
  padding: 0 15px 80px;
  text-align: center;
}

/* ---- 10 progress dots joined by a line ---- */
.fx-dots {
  display: flex;
  justify-content: space-between;
  width: 600px;
  max-width: 100%;
  margin: 24px auto 44px;
  padding: 0;
  list-style: none;
  position: relative;
}
.fx-dots li {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #c7c7c7;
  transition: background-color 0.35s var(--ease);
}
.fx-dots li + li::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 8.5px;
  width: calc((600px - 200px) / 9);
  height: 3px;
  background: #c7c7c7;
  transition: background-color 0.35s var(--ease);
}
.fx-dots li.is-on,
.fx-dots li.is-on::before { background: var(--ff-3); }

/* ---- Steps: one at a time, each piece rises in after the last ---- */
.fx-step { display: none; }
.fx-step.is-active { display: block; }
.fx-step.is-active > * { animation: fx-up 0.55s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }

.fx-wave { font-size: 42px; line-height: 1; margin-bottom: 18px; }
.fx-where {
  margin: 0 0 22px;
  font-size: 22px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.fx-display {
  max-width: 820px; /* room for MARKETING GROWTH AUDIT (774px at 80px) on one line */
  margin: 0 auto 28px;
  font-family: "Anton", "Impact", sans-serif;
  font-weight: 400;
  font-size: 80px; /* their proportions: the first line runs about 1.14x the paragraph's width (Roy, Oct 3) */
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.fx-lede {
  max-width: 640px;
  margin: 0 auto 6px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
}
.fx-trust { margin-top: 16px; font-size: 15px; color: #6b6b6b; }

.fx-q {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.fx-q b { font-weight: 800; }
.fx-q--sm { font-size: 34px; }
.fx-sub {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: balance;
}
.fx-q + .fx-sub { margin-top: -6px; }
.fx-hint { margin: -8px auto 22px; max-width: 560px; font-size: 13px; line-height: 1.5; color: #555; }

/* ---- Fields ---- */
.fx-input {
  display: block;
  width: 460px;
  max-width: 100%;
  height: 55px;
  margin: 0 auto;
  padding: 10px 15px;
  border: 1px solid #cbcbcb;
  border-radius: 4px;
  background: #fff;
  font-size: 22px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fx-input::placeholder { color: #8a8a8a; }
.fx-input:focus { border-color: var(--ff-3); box-shadow: 0 0 0 3px rgba(35, 98, 211, 0.15); }
.fx-area { height: 187px; resize: vertical; font-size: 20px; }
.fx-area::placeholder { font-size: 17px; }
.fx-other { margin-top: 10px; }
.fx-other[hidden] { display: none; }

.fx-select { position: relative; width: 460px; max-width: 100%; margin: 0 auto; }
.fx-select select {
  width: 100%;
  height: 55px;
  padding: 0 46px 0 15px;
  border: 1px solid #cbcbcb;
  border-radius: 4px;
  background: #fff;
  font-size: 20px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}
.fx-select select:focus { border-color: var(--ff-3); box-shadow: 0 0 0 3px rgba(35, 98, 211, 0.15); }
.fx-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  pointer-events: none;
}

/* ---- Buttons: their lime is our moving blue ---- */
.fx-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 460px;
  max-width: 100%;
  height: 65px;
  margin: 20px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background-image: var(--grad);
  background-size: 200% 100%;
  animation: fx-flow 6s linear infinite;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 1px 8px 30px rgba(23, 31, 199, 0.12), 1px 4px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fx-btn:hover { transform: translateY(-1px); box-shadow: 1px 12px 34px rgba(23, 31, 199, 0.2), 1px 4px 10px rgba(0, 0, 0, 0.05); }
.fx-btn:active { transform: none; }
.fx-btn:focus-visible { outline: 3px solid var(--ff-4); outline-offset: 3px; }
.fx-btn:disabled {
  background: #c7c7c7;
  color: #737373;
  box-shadow: 1px 8px 30px rgba(0, 0, 0, 0.03), 1px 4px 10px rgba(0, 0, 0, 0.05);
  cursor: not-allowed;
  transform: none;
}
.fx-step[data-step="intro"] .fx-btn { width: 420px; }
/* A shimmer of light sweeps across Get Started every few seconds (Roy, Oct 3) */
.fx-step[data-step="intro"] .fx-btn { position: relative; overflow: hidden; isolation: isolate; }
.fx-step[data-step="intro"] .fx-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%) skewX(-20deg);
  animation: fx-shimmer 3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s infinite;
  pointer-events: none;
}
@keyframes fx-shimmer {
  0% { transform: translateX(-160%) skewX(-20deg); }
  45%, 100% { transform: translateX(330%) skewX(-20deg); }
}
.fx-arrow {
  position: relative;
  display: inline-block;
  flex: none;
  width: 30px;
  height: 18px;
  overflow: hidden;
}
.fx-arrow::before,
.fx-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
}
.fx-arrow::after { opacity: 0; transform: translateX(-110%); }
.fx-btn:not(:disabled) .fx-arrow::before { animation: fx-arrow-out 1.7s var(--ease) infinite; }
.fx-btn:not(:disabled) .fx-arrow::after { animation: fx-arrow-in 1.7s var(--ease) infinite; }
@keyframes fx-arrow-out { 0%, 30% { transform: translateX(0); opacity: 1; } 70%, 100% { transform: translateX(110%); opacity: 0; } }
@keyframes fx-arrow-in { 0%, 30% { transform: translateX(-110%); opacity: 0; } 70%, 100% { transform: translateX(0); opacity: 1; } }

/* ---- Two-up answer pills (budget, timing) ---- */
.fx-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-width: 800px;
  margin: 0 auto;
}
.fx-pill,
.fx-scale label { position: relative; cursor: pointer; }
.fx-pill input,
.fx-card input,
.fx-ico input,
.fx-path input,
.fx-scale input { position: absolute; opacity: 0; pointer-events: none; }
.fx-pill span {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 18px 0 10px;
  border: 1px solid #ececec;
  border-radius: 100px;
  background: #fff;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 20px;
  color: var(--ink-3);
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.fx-pill span::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ededed;
  transition: background 0.2s ease;
}
.fx-pill:hover span { border-color: #d8d8d8; box-shadow: 1px 4px 12px rgba(0, 0, 0, 0.1); }
.fx-pill input:checked + span { border-color: var(--ff-3); color: #000; }
.fx-pill input:checked + span::before {
  background: var(--ff-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.fx-pill input:focus-visible + span { outline: 3px solid var(--ff-4); outline-offset: 2px; }
.fx-pill--solo { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }

/* ---- Big tap cards (service or product, yes or no) ---- */
.fx-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.fx-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 135px;
  height: 200px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  box-shadow: 1px 10px 30px rgba(0, 0, 0, 0.07), 0 0 0 1px #f0f0f0;
  font-size: 20px;
  color: var(--ink-3);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s ease;
}
.fx-card svg { width: 54px; height: 54px; color: #111; }
.fx-card b { font-size: 46px; line-height: 1; font-weight: 400; }
.fx-card:hover { transform: translateY(-3px); box-shadow: 1px 14px 34px rgba(0, 0, 0, 0.1), 0 0 0 1px #ececec; }
.fx-card:has(input:checked) { border-color: var(--ff-3); color: var(--ff-3); }
.fx-card:has(input:checked) svg { color: var(--ff-3); }
.fx-card:has(input:focus-visible) { outline: 3px solid var(--ff-4); outline-offset: 2px; }

/* ---- Marketing in use (Roy, Oct 3): big tiles, two per row, each with the
   real logo (Facebook, Google) or an emoji, and a square checkbox in the
   corner instead of round icons ---- */
.fx-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin: 0 auto;
}
.fx-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 22px 14px 18px;
  border: 2px solid #e6e6e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 1px 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}
.fx-tile:hover { transform: translateY(-2px); border-color: #cfd8f3; }
.fx-tile-mark { display: grid; place-items: center; width: 48px; height: 48px; }
.fx-tile-mark svg { width: 46px; height: 46px; display: block; }
.fx-emoji { font-size: 40px; line-height: 1; }
.fx-tile-t { font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: #1d1d1f; }
/* the square checkbox in the corner */
.fx-tile input {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid #c7c7c7;
  border-radius: 7px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fx-tile input:checked {
  border-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, var(--grad);
}
.fx-tile:has(input:checked) { border-color: var(--ff-3); background-color: #f4f7ff; box-shadow: 0 8px 22px rgba(35, 98, 211, 0.18); }
.fx-tile input:focus-visible { outline: 3px solid var(--ff-4); outline-offset: 2px; }

/* ---- Monthly budget (Roy, Oct 3): big squares, the number way bigger ---- */
.fx-squares {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin: 0 auto;
}
.fx-sq { position: relative; cursor: pointer; }
.fx-sq input { position: absolute; opacity: 0; pointer-events: none; }
.fx-sq span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1 / 1;
  border: 2px solid #e6e6e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 1px 4px 14px rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease), color 0.2s ease;
}
.fx-sq small { font-size: 19px; font-weight: 600; color: #6e6e73; transition: color 0.2s ease; }
.fx-sq b { font-size: 46px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.fx-sq:hover span { transform: translateY(-2px); border-color: #cfd8f3; }
.fx-sq input:checked + span {
  border-color: transparent;
  background-image: var(--grad);
  background-size: 200% 100%;
  animation: fx-flow 6s linear infinite;
  color: #fff;
  box-shadow: 0 10px 26px rgba(23, 31, 199, 0.25);
}
.fx-sq input:checked + span small { color: rgba(255, 255, 255, 0.85); }
.fx-sq input:focus-visible + span { outline: 3px solid var(--ff-4); outline-offset: 2px; }

/* ---- State: type-ahead (Roy, Oct 3) ---- */
.fx-combo { position: relative; z-index: 3; width: 460px; max-width: 100%; margin: 0 auto; } /* above the Continue button, so the matches show over it */
.fx-combo .fx-input { width: 100%; }
.fx-sugg {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  text-align: left;
}
.fx-sugg li { padding: 12px 14px; border-radius: 8px; font-size: 20px; cursor: pointer; }
.fx-sugg li:hover,
.fx-sugg li.is-top { background: #f1f4ff; color: var(--ff-1); }

/* ---- Revenue slider ---- */
.fx-range { position: relative; width: 600px; max-width: 100%; margin: 0 auto; padding-bottom: 6px; }
.fx-bubble {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 20px;
  border-radius: 12px; /* no pill shapes (Roy, Oct 3) */
  background: #ececec;
  font-size: 28px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fx-range input {
  --p: 2.5%;
  display: block;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.fx-range input::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--ff-1), var(--ff-3) 60%, var(--ff-5)) 0 0 / var(--p) 100% no-repeat, #8b9597;
}
.fx-range input::-moz-range-track { height: 10px; border-radius: 10px; background: #8b9597; }
.fx-range input::-moz-range-progress { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--ff-1), var(--ff-3)); }
.fx-range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 34px;
  height: 34px;
  margin-top: -12px;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.fx-range input::-moz-range-thumb { width: 34px; height: 34px; border: 1px solid #d6d6d6; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
.fx-range input.is-bounce::-webkit-slider-thumb { animation: fx-bounce 0.9s var(--ease) 2; }
.fx-range input:focus-visible { outline: 3px solid var(--ff-4); outline-offset: 4px; border-radius: 12px; }
/* "Drag here" sits centered under the slider (Roy, Oct 3: "it's not
   centered"), its arrow curling up toward the handle at the left */
.fx-drag {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  margin: 14px auto 0;
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 24px;
  color: #444;
  transform: rotate(-4deg);
  pointer-events: none;
}
.fx-drag svg { width: 46px; height: 30px; transform: translateY(-14px) scaleX(-1); }

/* ---- Done for you, or just the plan ---- */
.fx-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 64px auto 0; }
.fx-path {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 30px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
  color: #fff;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.fx-path:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24); }
.fx-badge {
  position: absolute;
  top: -50px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-left: -52px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.fx-badge svg { width: 54px; height: auto; }
.fx-badge--alt { background-image: var(--grad); background-size: 200% 100%; animation: fx-flow 6s linear infinite; }
.fx-badge--alt svg g,
.fx-badge--alt svg path { fill: #fff; }
.fx-kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ff-5); }
.fx-big {
  margin: 6px 0 14px;
  font-family: "Anton", "Impact", sans-serif;
  font-size: 88px;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}
.fx-path-text { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); text-align: left; flex: 1; }
.fx-btn--path { width: 100%; height: 58px; margin-top: 24px; font-size: 20px; }
.fx-path:has(input:checked) { box-shadow: 0 0 0 3px var(--ff-3), 0 24px 50px rgba(0, 0, 0, 0.24); }
.fx-path:has(input:focus-visible) { outline: 3px solid var(--ff-4); outline-offset: 4px; }

/* ---- 1 to 10 ---- */
.fx-scale { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 800px; margin: 6px auto 0; }
.fx-scale span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 50px;
  border: 1px solid #ececec;
  border-radius: 100px;
  background: #fff;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-3);
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}
.fx-scale label:hover span { transform: translateY(-2px); border-color: #d8d8d8; }
.fx-scale input:checked + span { border-color: transparent; background-image: var(--grad); background-size: 200% 100%; animation: fx-flow 6s linear infinite; color: #fff; }
.fx-scale input:focus-visible + span { outline: 3px solid var(--ff-4); outline-offset: 2px; }

/* ---- Contact details ---- */
.fx-fields { display: grid; grid-template-columns: minmax(0, 460px); justify-content: center; gap: 10px; }
.fx-fields .fx-input { width: 100%; }
.fx-phone { position: relative; }
.fx-phone .fx-input { width: 100%; padding-left: 86px; }
.fx-cc {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid #e3e3e3;
  border-radius: 4px 0 0 4px;
  background: #f7f7f8;
  font-size: 17px;
  color: #333;
}
.fx-fine { margin-top: 16px; font-size: 13px; color: #777; }

/* ---- Calendar (the old mock, unused since Calendly took over on Oct 3; kept
   in case Roy wants our own calendar back. This folder isn't in git.) ---- */
.fx-cal {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 1px 10px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
  overflow: hidden;
}
.fx-month { padding: 22px 22px 18px; border-right: 1px solid #f0f0f0; }
.fx-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fx-month-name { font-size: 18px; font-weight: 600; }
.fx-mbtn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f5fb; color: var(--ff-3); cursor: pointer; }
.fx-mbtn svg { width: 18px; height: 18px; }
.fx-mbtn:disabled { color: #c4c4c4; background: #f6f6f6; cursor: default; }
.fx-dow, .fx-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.fx-dow span { padding-bottom: 8px; font-size: 12px; font-weight: 600; color: #8a8a8a; text-transform: uppercase; }
.fx-days { gap: 6px 0; }
.fx-day { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border: 0; border-radius: 50%; background: transparent; font-size: 15px; color: #c4c4c4; }
.fx-day.is-open { background: #edf2fd; color: var(--ff-3); font-weight: 600; cursor: pointer; }
.fx-day.is-open:hover { background: #dfe8fb; }
.fx-day.is-picked { background-image: var(--grad); background-size: 200% 100%; animation: fx-flow 6s linear infinite; color: #fff; }
.fx-day.is-today { box-shadow: inset 0 0 0 1px #d0d0d0; }
.fx-tz { margin-top: 14px; font-size: 13px; color: #777; }
.fx-times { padding: 22px; max-height: 420px; overflow-y: auto; }
.fx-times-head { margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.fx-slots { display: grid; gap: 8px; }
.fx-slot {
  height: 48px;
  border: 1px solid var(--ff-3);
  border-radius: 10px;
  background: #fff;
  color: var(--ff-3);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.fx-slot:hover { background: #f1f5fd; }
.fx-slot.is-picked { border-color: transparent; background-image: var(--grad); background-size: 200% 100%; animation: fx-flow 6s linear infinite; color: #fff; }

.fx-when { margin: -6px 0 18px; font-size: 24px; font-weight: 700; color: var(--ff-3); }

/* ---- "Checking your answers" ---- */
.fx-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.fx-loader.is-on { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.fx-loader-in { text-align: center; padding: 0 24px; }
.fx-loader-mark svg { width: 74px; height: auto; animation: fx-pulse 1.2s ease-in-out infinite; }
.fx-pct { display: block; margin: 18px 0 12px; font-family: "Anton", "Impact", sans-serif; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.fx-bar { width: 300px; max-width: 80vw; height: 8px; margin: 0 auto; border-radius: 8px; background: #ececec; overflow: hidden; }
.fx-bar span { display: block; width: 0; height: 100%; border-radius: 8px; background-image: var(--grad); background-size: 300px 100%; }
.fx-loader-text { margin-top: 18px; font-size: 16px; line-height: 1.5; color: #333; }

/* ---- Leaving early popup ---- */
.fx-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}
.fx-modal[hidden] { display: none; }
.fx-modal-card {
  position: relative;
  width: 560px;
  max-width: 100%;
  padding: 46px 40px 34px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  animation: fx-up 0.4s var(--ease) both;
}
.fx-x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f3f3; cursor: pointer; }
.fx-x svg { width: 18px; height: 18px; }
.fx-mbar { height: 8px; margin: 0 0 26px; border-radius: 8px; background: #ececec; overflow: hidden; }
.fx-mbar span { display: block; width: 0; height: 100%; background-image: var(--grad); background-size: 560px 100%; }
.fx-display--modal { font-size: 52px; margin-bottom: 16px; }
.fx-modal-text { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.fx-keep { width: 100%; }

/* ---- Phone (measured on theirs at 375) ---- */
@media (max-width: 767px) {
  .fx-top { height: 52px; }
  .fx-word { font-size: 15px; }
  .fx-logo svg { height: 21px; }
  .fx-dots { width: 100%; margin: 20px auto 30px; }
  .fx-dots li { width: 16px; height: 16px; }
  .fx-dots li + li::before { top: 6.5px; right: 16px; width: calc((100vw - 30px - 160px) / 9); }
  .fx-wave { font-size: 34px; margin-bottom: 14px; }
  .fx-where { font-size: 15px; margin-bottom: 16px; }
  .fx-br { display: none; } /* the phone wraps the headline on its own */
  .fx-display { font-size: 40px; margin-bottom: 22px; }
  .fx-lede { font-size: 18px; line-height: 1.5; }
  .fx-q { font-size: 27px; line-height: 1.2; }
  .fx-q--sm { font-size: 25px; }
  .fx-sub { font-size: 17px; }
  .fx-input { width: 100%; font-size: 20px; }
  .fx-btn,
  .fx-step[data-step="intro"] .fx-btn { width: 100%; }
  .fx-pills { grid-template-columns: 1fr; }
  .fx-tiles { gap: 12px; }
  .fx-tile { min-height: 128px; padding: 20px 10px 16px; }
  .fx-tile-t { font-size: 17px; }
  .fx-squares { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fx-sq small { font-size: 17px; }
  .fx-sq b { font-size: 42px; }
  .fx-sugg li { font-size: 19px; }
  .fx-pill--solo { width: 100%; }
  .fx-pill span { font-size: 18px; }
  .fx-cards { gap: 16px; }
  .fx-card { width: 130px; height: 180px; }
  .fx-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 4px; }
  .fx-ico { font-size: 12.5px; }
  .fx-ico i { width: 52px; height: 52px; }
  .fx-range { width: 100%; }
  .fx-drag { font-size: 22px; }
  .fx-paths { grid-template-columns: 1fr; gap: 64px; margin-top: 64px; }
  .fx-big { font-size: 72px; }
  .fx-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
  .fx-scale span { width: 100%; height: 48px; }
  .fx-cal { grid-template-columns: 1fr; }
  .fx-month { border-right: 0; border-bottom: 1px solid #f0f0f0; padding: 18px 12px 14px; }
  .fx-day { width: 38px; height: 38px; }
  .fx-times { max-height: none; }
  .fx-slots { grid-template-columns: 1fr 1fr; }
  .fx-modal-card { padding: 42px 22px 26px; }
  .fx-display--modal { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-step.is-active > *, .fx-modal-card { animation: none; }
  .fx-btn, .fx-ico i, .fx-scale span, .fx-badge--alt, .fx-day.is-picked, .fx-slot.is-picked { animation: none !important; }
  .fx-arrow, .fx-arrow::before, .fx-arrow::after, .fx-loader-mark svg { animation: none !important; }
  .fx-step[data-step="intro"] .fx-btn::after { animation: none; display: none; }
}

/* ---- Calendar = Roy's Calendly page, embedded (Roy, Oct 3) ---- */
.fx-cally { width: 100%; max-width: 1000px; margin: 8px auto 0; }
.fx-cally-frame { display: block; width: 100%; height: 720px; border: 0; }
.fx-when:empty { display: none; }
