/* Location City Template F (city pages, max 7): "Desert signpost". Prefix plf-. Spec: tools/LOCATIONS-BATCH5-SPEC.md §3 F +
   "Template F build notes". Southwest + southern plains: Scottsdale (reference), Tucson, Albuquerque, Provo, El Paso, Fort Worth,
   Oklahoma City. Needs mid.css (B flip cards #industries, Q swipe sort #sort, F scroll road #state-rules). Behaviour: p-loc-f.js.
   Unlike A (boarding pass), B (source switch), C (industry dial + receipt), D (spiral notepad + stack builder + thermal receipt),
   E-M (batch 5 siblings): wooden signpost hero with swinging arrow boards, trail-sign facts, flip cards, step chains, mile-marker road
   planner on a two-lane road, daylight saving switch, odometer cost card with rolling digit wheels, mile-marker steps. */
.plf-hero, .plf-ans, .plf-ind, .plf-flows, .plf-plan, .plf-sort, .plf-rules, .plf-how, .plf-cost, .plf-start, .plf-rev {
  --plf-ink: #082238; --plf-body: #334155; --plf-muted: #475569; --plf-line: #E2E8F0; --plf-paper: #F3F7F9;
  --plf-blue: #0A6FA8; --plf-deep: #0A4F7A; --plf-teal: #00706B; --plf-clay: #A3462A; --plf-wood: #7E4B22; --plf-wood2: #96592A;
  --plf-sand: #FBF3E6; --plf-sand2: #F1E0C6; --plf-amber: #FFB81C;
}
.plf-board__btn:focus-visible, .plf-post__send:focus-visible, .plf-app:focus-visible, .plf-plan__send:focus-visible,
.plf-dst__switch button:focus-visible, .plf-odo__switch button:focus-visible, .plf-flip__link a:focus-visible,
.plf-plan__q label:focus-within { outline: 3px solid #FFB81C; outline-offset: 3px; }
.plf-tag { font: 800 11.5px/1 var(--f-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #FFF4D6; color: #7A4F00; white-space: nowrap; }
.plf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.plf-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--plf-line); font: 600 13.5px/1.2 var(--f-body); color: var(--plf-ink); }
.plf-chips img { width: 20px; height: 20px; flex: none; }

/* ---------- 1. Hero + desert signpost ---------- */
.plf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.plf-hero .pg-h1 { max-width: 17ch; font-size: clamp(33px, 1.05rem + 2.4vw, 52px); }
.plf-hero .pg-lead { font-size: 17px; max-width: 60ch; }
.plf-sub { margin: 14px 0 0; font: 600 clamp(16.5px, 1rem + .25vw, 19px)/1.5 var(--f-display); color: var(--plf-ink); max-width: 52ch; }

.plf-post-wrap { position: relative; min-width: 0; }
.plf-post { position: relative; isolation: isolate; margin: 0; padding: 22px 20px 64px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #FFF8EE 0%, #FCEFDC 62%, #F4DDBD 100%); border: 1px solid #EBD6B8;
  box-shadow: 0 40px 70px -44px rgba(8,34,56,.55); }
/* low sun + mesa silhouettes behind the post */
.plf-post::before { content: ""; position: absolute; z-index: -1; right: 26px; top: 64px; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle, #FFD36B 0 55%, rgba(255,211,107,.35) 56% 70%, transparent 71%); }
.plf-post::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 34px; height: 90px; opacity: 1;
  background: linear-gradient(135deg, transparent 49.5%, #EBCDA5 50%) 0 100% / 160px 70px no-repeat,
    linear-gradient(225deg, transparent 49.5%, #EBCDA5 50%) 160px 100% / 60px 70px no-repeat,
    linear-gradient(#EBCDA5, #EBCDA5) 120px 100% / 70px 46px no-repeat,
    linear-gradient(135deg, transparent 49.5%, #E3BF92 50%) 62% 100% / 120px 60px no-repeat,
    linear-gradient(225deg, transparent 49.5%, #E3BF92 50%) 100% 100% / 180px 80px no-repeat; }
.plf-post__h { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.plf-post__h b { font: 800 clamp(19px, 1rem + .5vw, 23px)/1.25 var(--f-display); letter-spacing: -.02em; color: var(--plf-ink); }
.plf-post__h em { font: 800 11.5px/1 var(--f-body); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #fff; color: #7A4F00; white-space: nowrap; }
.plf-post__hint { position: relative; margin: 0 0 16px; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--plf-muted); }
.plf-post__boards { position: relative; list-style: none; margin: 0; padding: 4px 0 6px; display: grid; gap: 10px; }
/* the post itself */
.plf-post__boards::before { content: ""; position: absolute; left: 50%; top: -14px; bottom: -70px; width: 16px; margin-left: -8px; border-radius: 5px 5px 0 0;
  background: linear-gradient(90deg, #5E3516, #8B5427 45%, #6B3D1A); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.plf-post__boards::after { content: ""; position: absolute; left: 50%; top: -22px; width: 26px; height: 12px; margin-left: -13px; border-radius: 6px 6px 2px 2px; background: #5E3516; }
.plf-board { position: relative; z-index: 1; display: flex; flex-direction: column; perspective: 900px; }
.plf-board__btn { position: relative; display: flex; flex-direction: column; gap: 2px; width: min(92%, 430px); min-height: 58px; margin: 0; padding: 10px 40px 10px 18px;
  border: 0; border-radius: 4px; color: #FFF8EC; text-align: left; cursor: pointer; font: inherit;
  background: repeating-linear-gradient(176deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.06) 7px 8px), linear-gradient(180deg, var(--plf-wood2), var(--plf-wood));
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  transform-origin: 18% 50%; transform: rotateY(16deg) rotateZ(-1.2deg);
  transition: transform .7s cubic-bezier(.3,1.35,.45,1), background-color .3s, color .3s; }
.plf-board--l .plf-board__btn { align-self: flex-end; padding: 10px 18px 10px 40px; clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%);
  transform-origin: 82% 50%; transform: rotateY(-16deg) rotateZ(1.2deg); }
.plf-board__btn:hover { transform: rotateY(6deg) rotateZ(-.6deg); }
.plf-board--l .plf-board__btn:hover { transform: rotateY(-6deg) rotateZ(.6deg); }
.plf-board__t { font: 800 15.5px/1.3 var(--f-display); letter-spacing: -.01em; }
.plf-board__m { font: 600 12.5px/1.3 var(--f-body); color: #F6DFC2; letter-spacing: .02em; }
.plf-board.is-open .plf-board__btn { transform: none; color: #082238;
  background: repeating-linear-gradient(176deg, rgba(255,255,255,0) 0 7px, rgba(255,255,255,.18) 7px 8px), linear-gradient(180deg, #FFC94D, #FFB81C); }
.plf-board.is-open .plf-board__m { color: #5A3A00; }
.plf-board__fix { position: relative; width: min(92%, 430px); margin: 8px 0 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px dashed #D9BC94; box-shadow: 0 14px 24px -20px rgba(8,34,56,.6); }
.plf-board--l .plf-board__fix { align-self: flex-end; }
.plf-board__fix .plf-chips span { background: var(--plf-paper); }
.plf-board__how { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--plf-body); }
.plf-post.is-live .plf-board:not(.is-open) .plf-board__fix { display: none; }
@media (scripting: enabled) { .plf-post:not(.is-live) .plf-board:has(> .plf-board__btn[aria-expanded="false"]) .plf-board__fix { display: none; } }
.plf-post.is-live .plf-board.is-open .plf-board__fix { animation: plfSwing .5s cubic-bezier(.3,1.3,.5,1) both; transform-origin: 50% 0; }
@keyframes plfSwing { from { opacity: 0; transform: rotateX(-35deg) translateY(-6px); } }
.plf-post__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.92); border: 1px solid #EBD6B8; }
.plf-post__count { font: 700 13.5px/1.3 var(--f-body); color: var(--plf-deep); }
.plf-post__send, .plf-plan__send { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: #FFB81C; color: #082238; font: 700 15px/1.2 var(--f-body); cursor: pointer; transition: background-color .2s, transform .2s; }
.plf-post__send:hover, .plf-plan__send:hover { background: #F0A400; transform: translateY(-1px); }
.plf-post__status, .plf-plan__status { flex-basis: 100%; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--plf-muted); min-height: 1em; }
.plf-post__status.is-done, .plf-plan__status.is-done { color: #166534; font-weight: 600; }
.plf-post__ground { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, #E2BC8C, #D4A673); }
.plf-post__ground::before { content: ""; position: absolute; left: 50%; top: -6px; width: 60px; height: 12px; margin-left: -30px; border-radius: 50%; background: #C08F5B; }

/* ---------- 2. Answer + trail-sign facts ---------- */
.plf-ans__head { max-width: 860px; }
.plf-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; }
.plf-fact { position: relative; padding: 24px 18px 20px; border-radius: 6px 6px 20px 20px; background: #fff; border: 1px solid var(--plf-line); box-shadow: 0 22px 40px -36px rgba(8,34,56,.6); }
.plf-fact::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 6px; border-radius: 0 0 6px 6px; background: var(--plf-c, #A3462A); }
.plf-fact:nth-child(2) { --plf-c: #00706B; } .plf-fact:nth-child(3) { --plf-c: #0A6FA8; } .plf-fact:nth-child(4) { --plf-c: #8A5A00; }
.plf-fact svg { display: block; width: 42px; height: 42px; margin-bottom: 12px; padding: 9px; border-radius: 50%; background: var(--plf-sand); stroke: var(--plf-c, #A3462A); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plf-fact dt { margin: 0 0 6px; font: 800 12px/1.35 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--plf-deep); }
.plf-fact dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--plf-body); }
.plf-ans__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(20px, 3vw, 40px); margin-top: 26px; }
.plf-ans__more p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--plf-body); }

/* ---------- 3. Industries (mid kit B flip) ---------- */
.plf-flip { margin-top: 30px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plf-flip > li { display: flex; flex-direction: column; }
/* faces share one grid cell so the card grows to its longer face (no clipped text) */
.plf-flip .mk-flip__card { display: grid; min-height: 0; flex: 1; }
.plf-flip .mk-flip__face { position: relative; inset: auto; grid-area: 1 / 1; justify-content: flex-start; padding: 20px; }
.plf-flip .mk-flip__front { border-top: 5px solid var(--plf-c, #A3462A); background: linear-gradient(180deg, #FFFBF5, #fff 40%); }
.plf-flip > li:nth-child(2) { --plf-c: #00706B; } .plf-flip > li:nth-child(3) { --plf-c: #0A6FA8; } .plf-flip > li:nth-child(4) { --plf-c: #8A5A00; } .plf-flip > li:nth-child(5) { --plf-c: #1D3F8F; }
.plf-flip__tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--plf-sand); font: 800 11.5px/1.25 var(--f-body); letter-spacing: .07em; text-transform: uppercase; color: #7A3A1E; }
.plf-flip__day { font-size: 15px; line-height: 1.55; color: var(--plf-body); }
.plf-flip .mk-flip__front small { margin-top: auto; color: #475569; }
.plf-flip .mk-flip__back .plf-chips { margin: 2px 0; }
.plf-flip__link { margin: 10px 0 0; }
.plf-flip__link a { display: inline-block; min-height: 24px; padding: 2px 0; font: 600 15px/1.35 var(--f-body); color: #0A6FA8; text-decoration: none; }
.plf-flip__link a:hover { text-decoration: underline; }

/* ---------- 4. Two local workflows + custom builds ---------- */
.plf-flows__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); margin-top: 30px; }
.plf-chain-card { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--plf-line); box-shadow: 0 24px 46px -40px rgba(8,34,56,.55); min-width: 0; }
.plf-chain-card h3 { margin: 0 0 14px; font: 700 18px/1.35 var(--f-display); color: var(--plf-ink); letter-spacing: -.01em; }
.plf-chain { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: plfc; }
.plf-chain::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; border-left: 2px dashed #D9BC94; }
.plf-chain li { counter-increment: plfc; position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; padding: 8px 0; }
.plf-chain li::before { content: counter(plfc); grid-row: 1 / span 2; position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--plf-ink); color: #fff; font: 800 13px/1 var(--f-display); }
.plf-chain li:last-child::before { background: var(--plf-clay); }
.plf-chain b { grid-column: 2; font: 700 15.5px/1.3 var(--f-display); color: var(--plf-ink); }
.plf-chain span { grid-column: 2; font-size: 14.5px; line-height: 1.5; color: var(--plf-body); }
.plf-chain i { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 5px; border-radius: 999px; background: var(--plf-paper); border: 1px solid var(--plf-line); font: 600 12.5px/1.2 var(--f-body); font-style: normal; color: var(--plf-ink); white-space: nowrap; }
.plf-chain i img { width: 18px; height: 18px; }
.plf-custom { margin-top: 26px; padding: 22px; border-radius: 24px; background: var(--plf-sand); border: 1px solid #EBD6B8; }
.plf-custom h3 { margin: 0 0 12px; font: 700 18px/1.35 var(--f-display); color: var(--plf-ink); }
.plf-custom ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plf-custom li { padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 14.5px; line-height: 1.55; color: var(--plf-body); }
.plf-custom li b { display: block; margin-bottom: 4px; font: 700 15.5px/1.3 var(--f-display); color: var(--plf-ink); }
.plf-custom p { margin: 14px 0 0; }

/* ---------- 5. Mile-marker road planner (dark band) ---------- */
.plf-plan__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 40px); margin-top: 34px; align-items: start; }
.plf-plan__form { display: grid; gap: 18px; min-width: 0; }
.plf-plan__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.plf-plan__q legend { padding: 0; margin-bottom: 10px; font: 700 16px/1.3 var(--f-display); color: #fff; }
.plf-plan__q label { position: relative; display: inline-flex; margin: 0 6px 8px 0; cursor: pointer; }
.plf-plan__q input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.plf-plan__q label span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 6px 14px 14px 6px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font: 600 14.5px/1.2 var(--f-body); transition: background-color .2s, border-color .2s, color .2s; }
.plf-plan__q label:hover span { border-color: rgba(255,255,255,.7); }
.plf-plan__q input:checked + span { background: #fff; border-color: #fff; color: #082238; box-shadow: inset 4px 0 0 #FFB81C; }
.plf-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.plf-app { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 8px 10px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.4); background: transparent; color: #fff; font: 600 14px/1.2 var(--f-body); text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.plf-app img { width: 22px; height: 22px; flex: none; padding: 2px; border-radius: 6px; background: #fff; }
.plf-app:hover { border-color: #fff; transform: translateY(-1px); }
.plf-app[aria-pressed="true"] { border-style: solid; border-color: #FFB81C; background: rgba(255,184,28,.16); }
.plf-app[aria-pressed="true"]::after { content: ""; position: absolute; right: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #FFB81C; }
.plf-plan__out { position: relative; padding: 22px; border-radius: 26px; background: #fff; color: var(--plf-body); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); min-width: 0; }
.plf-plan__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.plf-plan__h b { font: 800 18px/1.25 var(--f-display); color: var(--plf-ink); }
/* the road: two lanes on the left with a dashed centre line; each marker post sits on the shoulder */
.plf-road { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; display: grid; gap: 14px; }
.plf-road::before { content: ""; position: absolute; left: 0; top: -6px; bottom: -6px; width: 44px; border-radius: 10px;
  background: linear-gradient(90deg, #E9D3B0 0 3px, #3B4652 3px calc(100% - 3px), #E9D3B0 calc(100% - 3px)); }
.plf-road::after { content: ""; position: absolute; left: 21px; top: 4px; bottom: 4px; width: 3px;
  background: repeating-linear-gradient(180deg, #FFB81C 0 14px, transparent 14px 26px); }
.plf-mark { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 16px; background: var(--plf-sand); border: 1px solid #EBD6B8; }
.plf-mark::before { content: ""; position: absolute; left: -20px; top: 26px; width: 20px; border-top: 2px dotted #C9A270; }
.plf-mark__post { --plf-pc: var(--plf-teal); margin: 0; width: 56px; padding: 0 0 7px; border-radius: 4px 4px 2px 2px; background: #fff; border: 2px solid var(--plf-pc); text-align: center; font: 800 24px/1 var(--f-display); color: var(--plf-ink); overflow: hidden; }
.plf-mark__post span { display: block; margin: 0 0 6px; padding: 3px 0; background: var(--plf-pc); font: 800 10px/1.1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.plf-mark:nth-child(2) .plf-mark__post { --plf-pc: #0A5D86; }
.plf-mark:nth-child(3) .plf-mark__post { --plf-pc: var(--plf-clay); }
.plf-mark__body { min-width: 0; }
.plf-mark__apps { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; margin: 0 0 6px; }
.plf-mark__apps span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--plf-line); font: 600 13.5px/1.2 var(--f-body); color: var(--plf-ink); }
.plf-mark__apps span img { width: 20px; height: 20px; flex: none; }
.plf-mark__apps span.is-arrive { animation: plfArrive .55s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes plfArrive { from { opacity: 0; transform: translateX(-40px); } }
.plf-mark__apps.is-empty::before, .plf-mark__apps:empty::before { content: attr(data-empty); align-self: center; font-size: 13px; line-height: 1.4; color: var(--plf-muted); }
.plf-mark__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--plf-body); }
.plf-plan__move { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border-left: 4px solid #FFB81C; background: #FFFAEB; font-size: 14.5px; line-height: 1.5; }
.plf-plan__move b { display: block; font: 800 11.5px/1.3 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: #7A4F00; margin-bottom: 2px; }
.plf-plan__send { margin-top: 16px; }
.plf-plan__status { margin-top: 8px; }

/* shared day bars (planner strip + daylight saving switch) */
.plf-bars { margin-top: 14px; padding: 14px; border-radius: 16px; background: #F5FAFC; border: 1px solid #DCEAF2; }
.plf-bars__h { margin: 0 0 10px; font: 800 11.5px/1.3 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--plf-deep); }
.plf-bars__rows { display: grid; gap: 6px; }
.plf-bars__row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; align-items: center; }
.plf-bars__row b { font: 700 12.5px/1.15 var(--f-body); color: var(--plf-ink); overflow-wrap: anywhere; }
.plf-bars__bar { position: relative; height: 22px; border-radius: 7px; background: #E6EDF2; }
.plf-bars__bar i { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--plf-clay); transition: left .6s cubic-bezier(.3,1.1,.4,1), width .6s cubic-bezier(.3,1.1,.4,1); }
.plf-bars__row--home .plf-bars__bar i { background: var(--plf-teal); }
.plf-bars__bar u { position: absolute; top: -3px; bottom: -3px; border-radius: 8px; border: 2px solid #FFB81C; text-decoration: none; }
.plf-bars__ticks { display: flex; justify-content: space-between; margin-left: 100px; font: 600 11px/1 var(--f-body); color: var(--plf-muted); }
.plf-bars__say { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--plf-body); }

/* ---------- 6. Keep or move (mid kit Q) ---------- */
.plf-swipe { margin-top: 30px; }
.plf-swipe .mk-swipe__card { border-top: 5px solid #C9A270; }
.plf-swipe .mk-swipe__side { background: #fff; border: 1px solid #EBD6B8; }

/* ---------- 7. Rules (mid kit F scroll road) ---------- */
.plf-road-rules { margin-top: 30px; }
.plf-rules__do { margin: 10px 0 0 !important; padding: 10px 12px; border-radius: 12px; background: #EDF8F2; border-left: 4px solid var(--plf-teal); font-size: 14.5px !important; }
.plf-rules__do b { display: block; font: 800 11.5px/1.3 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: #0B5A55; margin-bottom: 2px; }
.plf-rules .pg-note { margin-top: 26px; }

/* ---------- 8. How we work + daylight saving switch ---------- */
.plf-how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.plf-how__copy > p:not(.hp-kick):not(.pg-answer) { margin: 14px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--plf-body); }
.plf-dst { position: relative; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--plf-line); box-shadow: 0 30px 60px -44px rgba(8,34,56,.6); overflow: hidden; min-width: 0; }
.plf-dst::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, #FFE3A1 0 45%, transparent 46%); transition: background .6s, transform .6s; }
.plf-dst[data-season="winter"]::before { background: radial-gradient(circle, #D6E9F5 0 45%, transparent 46%); transform: translate(10px, 14px); }
.plf-dst__h { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.plf-dst__h b { font: 800 18px/1.25 var(--f-display); color: var(--plf-ink); }
.plf-dst__switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 16px; border-radius: 999px; background: var(--plf-paper); border: 1px solid var(--plf-line); }
.plf-dst__switch button { min-height: 40px; min-width: 96px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--plf-ink); font: 700 14.5px/1 var(--f-body); cursor: pointer; transition: background-color .25s, color .25s; }
.plf-dst__switch button[aria-pressed="true"] { background: var(--plf-ink); color: #fff; }
.plf-dst .plf-bars__rows { position: relative; }
.plf-dst__say { position: relative; margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--plf-body); }

/* ---------- 9. Cost + odometer card ---------- */
.plf-cost__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.plf-cost__grid > div > p:not(.hp-kick):not(.pg-answer) { margin: 14px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--plf-body); }
.plf-odo-card { position: relative; padding: 22px; border-radius: 28px; color: #E7EEF3; min-width: 0;
  background: radial-gradient(120% 80% at 50% 0%, #17324C 0%, #0B1D2E 70%); box-shadow: 0 40px 80px -44px rgba(8,34,56,.8), inset 0 0 0 1px rgba(255,255,255,.06); }
.plf-odo__h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin: 0 0 14px; }
.plf-odo__h b { font: 800 18px/1.25 var(--f-display); color: #fff; }
.plf-odo__h span { grid-column: 1; font-size: 13.5px; line-height: 1.4; color: #B9C8D4; }
.plf-odo__h .plf-tag { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.plf-odo__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.plf-odo__switch button { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; font: 700 14px/1.2 var(--f-body); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.plf-odo__switch button[aria-pressed="true"] { background: #FFB81C; border-color: #FFB81C; color: #082238; }
.plf-odo__dial { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 0 0 16px; padding: 14px 12px; border-radius: 16px; background: #04101B; box-shadow: inset 0 4px 14px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  font: 800 clamp(38px, 2rem + 1.4vw, 54px)/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.plf-odo__cur { color: #FFB81C; margin-right: 4px; }
.plf-odo__wheel { position: relative; display: inline-block; height: 1.12em; width: .78em; overflow: hidden; border-radius: 6px; background: linear-gradient(180deg, #0F2234, #1C3550 50%, #0F2234); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.plf-odo__wheel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 30% 70%, rgba(0,0,0,.45)); }
.plf-odo__col { display: flex; flex-direction: column; transition: transform .9s cubic-bezier(.25,1.2,.35,1); }
.plf-odo__col span { display: block; height: 1.12em; line-height: 1.12em; text-align: center; }
.plf-odo__wheel.is-lead0 { display: none; }
.plf-odo__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plf-odo__rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.plf-odo__rows img { width: 22px; height: 22px; padding: 2px; border-radius: 6px; background: #fff; }
.plf-odo__rows span { font: 600 14.5px/1.3 var(--f-body); color: #fff; }
.plf-odo__rows small { display: block; font: 500 12.5px/1.35 var(--f-body); color: #B9C8D4; }
.plf-odo__rows b { font: 800 15px/1 var(--f-display); color: #fff; }
.plf-odo__total { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 10px; border-top: 1px dashed rgba(255,255,255,.3); font: 700 14.5px/1.3 var(--f-body); color: #E7EEF3; }
.plf-odo__total b { font: 800 16px/1.3 var(--f-display); color: #FFB81C; }
.plf-odo__stack + .plf-odo__stack:not([hidden]) { margin-top: 14px; }
.plf-odo__say { margin: 10px 0 0; min-height: 1em; font-size: 13.5px; line-height: 1.45; color: #CFE3EF; }
.plf-odo__fee { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,184,28,.14); border: 1px solid rgba(255,184,28,.5); font: 700 14px/1.4 var(--f-body); color: #FFE2A0; }
.plf-odo__foot { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #B9C8D4; }

/* ---------- 10. Start: mile-marker steps ---------- */
.plf-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: plfs; }
.plf-steps li { counter-increment: plfs; position: relative; padding: 76px 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--plf-line); }
.plf-steps li::before { content: "Step " counter(plfs); position: absolute; left: 18px; top: 18px; padding: 16px 0 6px; width: 64px; border-radius: 4px; text-align: center; background: #fff; border: 2px solid var(--plf-teal); box-shadow: inset 0 11px 0 -2px var(--plf-teal); font: 800 13px/1 var(--f-display); color: var(--plf-ink); }
.plf-steps li:nth-child(4)::before { border-color: var(--plf-clay); box-shadow: inset 0 11px 0 -2px var(--plf-clay); }
.plf-steps li::after { content: ""; position: absolute; left: 92px; right: 18px; top: 40px; border-top: 3px dashed #E5CFA9; }
.plf-steps b { display: block; font: 700 17px/1.3 var(--f-display); color: var(--plf-ink); margin-bottom: 6px; }
.plf-steps span { font-size: 15px; line-height: 1.55; color: var(--plf-body); }
.plf-local { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; padding: 20px 22px; border-radius: 22px; background: #082238; color: #fff; }
.plf-local p { margin: 0; font: 700 clamp(17px, 1rem + .3vw, 20px)/1.35 var(--f-display); flex: 1 1 260px; }
.plf-local .pg-link { margin-top: 0; color: #9FD8F2 !important; }

/* ---------- 11. Last reviewed ---------- */
.plf-rev { padding-top: 0 !important; }
.plf-rev p { margin: 0; padding: 12px 16px; border-radius: 14px; background: #F3F7F9; border: 1px solid var(--plf-line); font-size: 14.5px; line-height: 1.5; color: var(--plf-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plf-custom ul { grid-template-columns: 1fr; }
  .plf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .plf-hero__grid, .plf-plan__grid, .plf-cost__grid, .plf-how__grid, .plf-ans__more, .plf-flows__grid { grid-template-columns: 1fr; }
  .plf-post-wrap { max-width: 620px; }
}
@media (max-width: 560px) {
  .plf-post { padding: 18px 12px 56px; border-radius: 22px; }
  .plf-post::before { width: 64px; height: 64px; top: 70px; right: 10px; }
  .plf-post__h { flex-wrap: wrap; }
  /* phones: boards stack straight down the post, still pointing their own way */
  .plf-board__btn, .plf-board--l .plf-board__btn { width: 94%; transform: rotateY(10deg); }
  .plf-board--l .plf-board__btn { transform: rotateY(-10deg); }
  .plf-board__fix { width: 100%; }
  .plf-facts { grid-template-columns: 1fr; }
  .plf-chain li { grid-template-columns: 32px minmax(0, 1fr); }
  .plf-chain i { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 4px; }
  .plf-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plf-plan__out, .plf-dst, .plf-odo-card { padding: 16px; }
  .plf-road { padding-left: 42px; }
  .plf-road::before { width: 30px; }
  .plf-road::after { left: 14px; }
  .plf-mark { grid-template-columns: 1fr; gap: 8px; }
  .plf-mark::before { left: -12px; width: 12px; }
  .plf-mark__post { width: auto; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 0 10px 0 0; font-size: 18px; }
  .plf-mark__post span { margin: 0; padding: 6px 8px; }
  .plf-bars__row { grid-template-columns: 76px minmax(0, 1fr); }
  .plf-bars__ticks { margin-left: 84px; }
  .plf-dst__switch { display: grid; width: 100%; }
  .plf-dst__switch button { min-width: 0; }
  .plf-odo__switch { grid-template-columns: 1fr; }
  .plf-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .plf-board__btn, .plf-app, .plf-post__send, .plf-plan__send, .plf-bars__bar i, .plf-odo__col, .plf-dst::before { transition: none !important; }
  .plf-post.is-live .plf-board.is-open .plf-board__fix, .plf-mark__apps span.is-arrive { animation: none !important; }
}
