/* "How our searches work": copy and the 14-day target on the left, a compact tiered funnel on the right.
   Funnel positions are percentages of a box that matches the SVG's 1000×820 viewBox. */
.how-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:56px;align-items:center}
#how{padding:64px 0}
#how .how-grid{max-width:1340px}
.how-copy h2{max-width:18ch}

.fn{position:relative;width:100%;max-width:740px;justify-self:end}
.fn-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible}

/* HirePrism's four stages, centered in their charcoal tiers (tier centers sit at x = 58%) */
.fn-ours{list-style:none;margin:0;padding:0}
.fn-ours li{position:absolute;left:58%;top:var(--y);width:calc(var(--w) - 8%);transform:translate(-50%,-50%);
  display:flex;align-items:center;justify-content:center;gap:12px;font-size:15.5px;line-height:1.35;color:#EFE8DD}
.orb.sm{width:28px;height:28px;flex:0 0 28px}
.orb.sm::after{filter:blur(5px)}

/* Two enclosed zones: top of the funnel (HirePrism) and bottom of the funnel (the client), each with a header on the funnel's axis */
.zone-head{position:absolute;left:58%;transform:translate(-50%,-50%);margin:0;white-space:nowrap;
  font-family:"Iowan Old Style","Palatino Linotype",Georgia,serif;font-size:clamp(14px,1.25vw,17px);color:#EFE8DD;opacity:.9}

/* Big left-rail labels, one per zone */
.rail-big{position:absolute;left:7.8%;transform:translateY(-50%);display:flex;flex-direction:column;max-width:24%}
.rail-big.ours{left:7.8%}
.rail-big.ours .lockup{display:flex;align-items:center;gap:10px}
.rail-big.ours .mk{width:clamp(20px,1.9vw,26px);height:clamp(20px,1.9vw,26px);color:#FEFCF7;flex:none}
.rail-big.ours .word{font-size:clamp(16px,1.5vw,20px);font-weight:600;letter-spacing:-.01em;line-height:1;color:#FEFCF7}
.rail-big.ours .word b{font-weight:600;color:#D89250}
.rail-big.ours .u{margin-top:8px;font-size:clamp(14px,1.3vw,17px);letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:#EFE8DD}
.rail-big.yours .who{font-size:clamp(17px,1.6vw,21px);line-height:1;color:#FEFCF7}
.rail-big.yours .hd{margin-top:8px;font-size:clamp(14px,1.3vw,17px);letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:#EFE8DD}
.rail-big.yours .n{margin-top:20px;padding-top:16px;border-top:1px solid rgba(216,146,80,.35);font-size:clamp(26px,2.8vw,36px);line-height:1;color:#D89250;white-space:nowrap}
.rail-big.yours .u{margin-top:8px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#D89250}

/* 14-day timeline: day labels sit level with their dots on the rail */
.tl-day{position:absolute;left:6.6%;margin:0;transform:translateY(-50%);white-space:nowrap;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#D89250}
.tl-d14{color:#FEFCF7}

.fn-nodes{list-style:none;margin:0;padding:0}
.fn-nodes li{position:absolute;left:58%;top:var(--y);transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;white-space:nowrap}
.fn-nodes .dot{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:rgba(26,24,20,.35);border:1px solid rgba(254,252,247,.45);color:#fff;font-size:13px;font-weight:700}
.fn-nodes .txt{display:flex;flex-direction:column}
.fn-nodes b{font-size:18px;font-weight:600;color:#fff;line-height:1.25}
.fn-nodes small{font-size:13.5px;color:rgba(255,255,255,.85)}

/* The offer: a luminous bar where the light lands */
.fn-nodes .fn-offer{gap:13px;padding:12px 26px;border-radius:999px;background:#FEFCF7;
  box-shadow:0 0 0 1px rgba(254,252,247,.6),0 0 34px rgba(240,160,48,.75),0 0 80px rgba(224,95,168,.4),0 0 120px rgba(79,195,247,.25);animation:fn-glow 3.2s ease-in-out infinite}
.fn-offer .dot{width:30px;height:30px;background:#B5622A;border:0;color:#fff}
.fn-offer b{font-size:clamp(24px,2.3vw,30px);font-weight:400;line-height:1;color:#1A1814}
.fn-offer small{font-size:13px;color:#6E6960;margin-top:3px}
@keyframes fn-glow{50%{box-shadow:0 0 0 1px rgba(254,252,247,.6),0 0 48px rgba(240,160,48,.9),0 0 110px rgba(224,95,168,.5),0 0 150px rgba(79,195,247,.3)}}
@media(prefers-reduced-motion:reduce){.fn-nodes .fn-offer{animation:none}}

@media(max-width:900px){
  #how{padding:68px 0}
  .how-grid{grid-template-columns:1fr;gap:40px}
  .fn{max-width:none;aspect-ratio:auto!important;justify-self:stretch}
  .fn-shape{display:none}
  .tl-day{display:none}
  .orb.sm{width:30px;height:30px;flex:0 0 30px}
  .fn-nodes{position:relative;padding-left:56px;display:flex;flex-direction:column;gap:24px}
  .fn-nodes::before{content:"";position:absolute;left:15px;top:8px;bottom:60px;width:2px;background:linear-gradient(180deg,#B5622A,#FEFCF7)}
  .fn-nodes li,.fn-nodes .fn-offer{position:relative;left:auto;top:auto;transform:none;white-space:normal}
  .fn-nodes .dot{position:absolute;left:-56px;top:50%;transform:translateY(-50%);width:32px;height:32px;background:#B5622A;border:0;font-size:13px}
  .fn-nodes b{font-size:16px}
  .fn-nodes small{font-size:12.5px;color:#B7AEA2}
  .fn-nodes .fn-offer{padding:14px 20px;margin-left:-56px}
  .fn-nodes .fn-offer .dot{position:static;transform:none;margin-right:2px}
  .fn-offer small{color:#6E6960}
  .fn-nodes .fn-offer b{font-size:28px}
}

/* Phone: HirePrism's stages become a card, timeline labels drop away */
@media(max-width:900px){
  .fn-ours{display:flex;flex-direction:column;gap:14px;padding:24px 22px;border-radius:18px;
    background:radial-gradient(120% 100% at 20% 0%,#3D352D,#231F1A);border:1px solid rgba(254,252,247,.14)}
  .fn-ours li{position:static;width:auto;transform:none;justify-content:flex-start;font-size:15px}
  .fn-ours .orb.sm{width:30px;height:30px;flex:0 0 30px}
}

@media(max-width:900px){
  .zone-head{position:static;transform:none;white-space:normal;margin:0 0 8px;font-size:18px}
  .zone-head+.tl-day{display:none}
  .fn-ours+.zone-head{margin-top:36px}
  .rail-big{position:static;transform:none;max-width:none;margin:0 0 14px}
  .rail-big.ours{flex-direction:row;gap:8px}
  .rail-big.ours{align-items:center;gap:12px}
  .rail-big.ours .u{margin-top:0}
  .rail-big.yours{flex-direction:column;align-items:flex-start;gap:0;margin:0 0 22px;padding:18px 20px;border:1px solid rgba(216,146,80,.35);border-radius:14px}
  .rail-big.yours .n{font-size:32px;margin-top:14px;padding-top:12px}
  .rail-big.yours .u{margin-top:8px}
}
