/* Location hub template B (state hubs, batch 2): "State rules checklist". Shared styles, prefix plh2-.
   Markup is copied per state hub; each page writes its own sentences in data attributes and may draw its own small outline.
   Behaviour lives in p-loc-hub2.js. Mid kit A (tug-of-war) + C (split reveal) come from mid.css. */
.plh2-hero, .plh2-land, .plh2-cities, .plh2-rules, .plh2-how {
  --plh2-ink: #082238; --plh2-body: #334155; --plh2-muted: #475569; --plh2-line: #E2E8F0; --plh2-blue: #0A6FA8; --plh2-link: #0A5C8C;
  --plh2-amber: #FFB81C; --plh2-paper: #F3F7F9; --plh2-green: #1F7A4D;
}
.plh2-check button:focus-visible, .plh2-check input:focus-visible + .plh2-item__box, .plh2-city a:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }

/* ---------- 1. Hero ---------- */
.plh2-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.plh2-hero .pg-h1 { max-width: 17ch; font-size: clamp(34px, 1.1rem + 2.4vw, 54px); }
.plh2-hero__sub { margin: 18px 0 0; font: 600 clamp(17px, 1rem + .3vw, 20px)/1.5 var(--f-display); color: var(--plh2-ink); max-width: 44ch; }
.plh2-hero .pg-lead { font-size: 17px; }

/* checklist card: a clipboard sheet */
.plh2-check { position: relative; margin: 0; padding: 0 0 18px; border-radius: 26px; background: #fff; border: 1px solid var(--plh2-line); box-shadow: 0 50px 90px -50px rgba(8,34,56,.55); overflow: hidden; }
.plh2-check__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px 16px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #fff; }
.plh2-check__shape { position: absolute; right: 108px; top: 50%; width: 96px; height: auto; transform: translateY(-50%); opacity: .22; pointer-events: none; }
.plh2-check__shape path { fill: none; stroke: #9FD8EE; stroke-width: 2; stroke-linejoin: round; }
.plh2-check__eyebrow { position: relative; margin: 0 0 4px; font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #BFD8EA; }
.plh2-check__title { position: relative; margin: 0; font: 800 clamp(18px, 1rem + .4vw, 21px)/1.25 var(--f-display); color: #fff; max-width: 22ch; }
.plh2-ring { position: relative; width: 76px; height: 76px; flex: none; }
.plh2-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.plh2-ring circle { fill: none; stroke-width: 7; }
.plh2-ring__track { stroke: rgba(255,255,255,.18); }
.plh2-ring__bar { stroke: #FFB81C; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc((1 - var(--plh2-p, 0)) * 1px); transition: stroke-dashoffset .6s cubic-bezier(.3,.8,.2,1); }
.plh2-ring__n { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 800 20px/1 var(--f-display); color: #fff; }
.plh2-ring__n small { display: block; margin-top: 2px; font: 600 11px/1 var(--f-body); color: #BFD8EA; }

.plh2-check__list { list-style: none; margin: 0; padding: 10px 14px 0; counter-reset: plh2; }
.plh2-item { border-bottom: 1px dashed var(--plh2-line); }
.plh2-item:last-child { border-bottom: 0; }
.plh2-item__row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 48px; padding: 8px 6px; border-radius: 14px; cursor: pointer; transition: background-color .25s; }
.plh2-item__row:hover { background: var(--plh2-paper); }
.plh2-item__row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.plh2-item__box { position: relative; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #94A3B8; background: #fff; transition: background-color .25s, border-color .25s; }
.plh2-item__box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.plh2-item__row input:checked + .plh2-item__box { background: var(--plh2-green); border-color: var(--plh2-green); }
.plh2-item__row input:checked + .plh2-item__box::after { transform: rotate(45deg) scale(1); }
.plh2-item__t b { display: block; font: 700 15.5px/1.35 var(--f-body); color: var(--plh2-ink); }
.plh2-item__t small { display: block; margin-top: 2px; font: 600 12.5px/1.3 var(--f-body); color: var(--plh2-muted); }
.plh2-item__note { margin: 0 6px 10px 46px; padding: 10px 12px; border-radius: 12px; background: #EAF6EF; border-left: 3px solid var(--plh2-green); font-size: 14.5px; line-height: 1.5; color: #1E3A2C; }
/* with JS the notes open as items are ticked; without JS they all stay visible */
.plh2-check.is-js .plh2-item__fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.3,.8,.2,1); }
.plh2-check.is-js .plh2-item__fold > div { overflow: hidden; }
.plh2-check.is-js .plh2-item.is-on .plh2-item__fold { grid-template-rows: 1fr; }

.plh2-check__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 20px 0; }
.plh2-check__send { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 99px; background: #082238; color: #fff; font: 700 15px/1.2 var(--f-body); cursor: pointer; transition: background-color .25s, transform .25s; }
.plh2-check__send:hover { background: #0A3A63; transform: translateY(-1px); }
.plh2-check__status { margin: 0; flex: 1 1 220px; font-size: 14px; line-height: 1.5; color: var(--plh2-body); }
.plh2-check__status.is-done { color: var(--plh2-green); font-weight: 600; }
.plh2-check__fine { margin: 10px 20px 0; font-size: 12.5px; line-height: 1.45; color: var(--plh2-muted); }

/* ---------- 2. Landscape regions + split ---------- */
.plh2-land__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.plh2-region { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--plh2-line); }
.plh2-region h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 800 19px/1.3 var(--f-display); color: var(--plh2-ink); }
.plh2-region h3 span { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--c, #0A6FA8); color: #fff; font: 800 14px/1 var(--f-display); }
.plh2-region__tag { margin: 8px 0 8px; font: 700 13px/1.4 var(--f-body); color: var(--plh2-link); }
.plh2-region p:last-child { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--plh2-body); }
.plh2-split-t { margin: 40px 0 16px; font: 800 21px/1.3 var(--f-display); color: var(--plh2-ink); }
.plh2-land .mk-split__col h3 small { display: block; font: 600 13px/1.3 var(--f-body); color: var(--plh2-muted); }

/* ---------- 3. City card + video metros ---------- */
.plh2-cities__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 28px; align-items: stretch; }
.plh2-city { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: linear-gradient(160deg, #E8F5FC, #fff 70%); border: 1px solid #BFE2F2; }
.plh2-city__tag { margin: 0; font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--plh2-link); }
.plh2-city h3 { margin: 6px 0 4px; font: 800 26px/1.2 var(--f-display); color: var(--plh2-ink); }
.plh2-city__tz { margin: 0 0 12px; font: 600 14px/1.4 var(--f-body); color: var(--plh2-muted); }
.plh2-city__tz b { color: var(--plh2-link); }
.plh2-city__tz b:not(:empty)::before { content: " · now "; color: var(--plh2-muted); font-weight: 600; }
.plh2-city p { font-size: 15.5px; line-height: 1.6; color: var(--plh2-body); }
.plh2-city a { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1.3 var(--f-body); color: var(--plh2-link); }
.plh2-video { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--plh2-line); }
.plh2-video h3 { margin: 0 0 4px; font: 800 18px/1.3 var(--f-display); color: var(--plh2-ink); }
.plh2-video > p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--plh2-body); }
.plh2-video ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plh2-video li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--plh2-paper); font-size: 14.5px; line-height: 1.5; color: var(--plh2-body); }
.plh2-video li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #64748B; }
.plh2-video li b { color: var(--plh2-ink); }

/* ---------- 4. Rules tug ---------- */
.plh2-rules .mk-tug { margin-top: 30px; }
.plh2-rules .pg-note { margin-top: 18px; max-width: 78ch; }
.plh2-faq-link { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- 5. How we work + clocks ---------- */
.plh2-how__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.plh2-how__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.plh2-how__list li { position: relative; padding: 2px 0 2px 30px; font-size: 16px; line-height: 1.55; color: var(--plh2-body); }
.plh2-how__list li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--plh2-green); background: #EAF6EF; }
.plh2-clock { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--plh2-line); box-shadow: 0 40px 70px -50px rgba(8,34,56,.6); }
.plh2-clock__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.plh2-clock__row > div { padding: 14px; border-radius: 16px; background: var(--plh2-paper); border: 1px solid var(--plh2-line); }
.plh2-clock__row > span { font: 800 13px/1 var(--f-display); color: var(--plh2-muted); }
.plh2-clock__row small { display: block; font: 700 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--plh2-muted); }
.plh2-clock__row b { display: block; margin-top: 6px; font: 800 22px/1.15 var(--f-display); color: var(--plh2-ink); font-variant-numeric: tabular-nums; }
.plh2-clock__gap { margin: 14px 2px 0; font-size: 15px; line-height: 1.55; color: var(--plh2-body); }
.plh2-clock .pg-link { display: inline-flex; align-items: center; min-height: 32px; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .plh2-hero__grid, .plh2-how__grid { grid-template-columns: minmax(0, 1fr); }
  .plh2-check { max-width: 600px; }
}
@media (max-width: 760px) {
  .plh2-land__grid, .plh2-cities__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .plh2-check__head { padding: 16px; }
  .plh2-check__shape { right: 84px; width: 72px; }
  .plh2-ring { width: 64px; height: 64px; }
  .plh2-check__list { padding: 8px 8px 0; }
  .plh2-item__note { margin-left: 8px; }
  .plh2-check__foot, .plh2-check__fine { margin-left: 14px; margin-right: 14px; }
  .plh2-clock__row { grid-template-columns: 1fr; }
  .plh2-clock__row > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plh2-ring__bar, .plh2-item__box::after, .plh2-check.is-js .plh2-item__fold, .plh2-check__send { transition: none; }
}
