/* Feature pages (job site check-ins, GeoGrid). Loads after styles.css and adds what those pages share. */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--ui); font-size: .8rem; color: #92abc0; margin-bottom: 18px; }
.crumbs a { color: #c9dbe8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs li { display: inline-flex; }

.hero-sub { padding-bottom: clamp(48px, 7vw, 88px); }
.hero-sub .hero-visual .anim { transform: scale(1.12); }
.fl-checkin { right: -1%; bottom: 10%; width: 262px; padding: 12px; display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; animation-delay: -2s; }
.fl-checkin p { margin: 0; }
.fl-checkin .post-photo { width: 62px; height: 62px; }
.fl-count { left: 1%; top: 6%; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; }
.fl-count svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #fdeceb; color: var(--coral); }
.fl-count small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }

/* ---------- at a glance strip ---------- */
.glance { padding: 0; background: var(--navy-deep); color: #d5e3ee; }
.glance ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glance li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 26px 22px; border-left: 1px solid rgb(255 255 255 / 9%); font-family: var(--ui); font-size: .86rem; line-height: 1.4; color: #a9c2d6; }
.glance li:first-child { border-left: 0; padding-left: 0; }
.glance svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgb(135 209 214 / 14%); color: var(--aqua); }
.glance strong { font-family: var(--display); font-weight: 800; font-size: 1.02rem; color: #fff; align-self: end; }
.glance span { align-self: start; }

/* ---------- anatomy ---------- */
.anatomy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.notes { display: grid; gap: 22px; }
.notes li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.notes b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--aqua); font: 800 .85rem var(--display); }
.notes h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.notes p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.notes-left li { grid-template-columns: 1fr auto; text-align: right; }
.notes-left b { order: 2; }

.ci { position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); font-family: var(--ui); overflow: hidden; border: 1px solid var(--line); }
.ci-photo { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(170deg, #9fdfe6 0 46%, #6dc3a0 46% 100%); overflow: hidden; }
.ci-photo::before { content: ""; position: absolute; left: 14%; bottom: 22%; width: 46%; height: 40%; background: #f4f8fb; border-radius: 4px; box-shadow: 0 -34px 0 -8px var(--teal); }
.ci-photo::after { content: ""; position: absolute; right: 12%; bottom: 20%; width: 22%; height: 26%; border-radius: 6px; background: var(--navy); box-shadow: 0 0 0 5px #fff; }
.ci-count { position: absolute; right: 12px; top: 12px; display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 50px; background: rgb(11 34 56 / 78%); color: #fff; font-size: .7rem; font-weight: 600; }
.ci-count svg { width: 12px; height: 12px; }
.ci-geo { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 50px; background: #fff; color: var(--ink); font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px -6px rgb(0 0 0 / 50%); }
.ci-geo svg { width: 12px; height: 12px; color: var(--coral); }
.ci-body { padding: 16px 18px 18px; }
.ci-body p { margin: 0; }
.ci-cat { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-tint); padding: 3px 9px; border-radius: 50px; margin-bottom: 8px !important; }
.ci-title { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--navy); line-height: 1.25; }
.ci-place { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); margin: 4px 0 10px !important; }
.ci-place svg { width: 13px; height: 13px; color: var(--coral); }
.ci-text { font-size: .86rem; line-height: 1.5; color: var(--muted); }
.ci-review { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: var(--mist); font-size: .8rem; line-height: 1.45; color: var(--ink); }
.ci-review .stars { display: block; font-size: .85rem; }
.ci-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.ci-tech { display: inline-flex; align-items: center; gap: 8px; }
.ci-tech i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--aqua); font-size: .66rem; font-weight: 700; }
.ci-cta { font-weight: 700; color: #fff; background: var(--blue); padding: 6px 12px; border-radius: 50px; }
.ci-pin { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--aqua); font: 800 .72rem var(--display); box-shadow: 0 0 0 4px rgb(255 255 255 / 85%), 0 6px 14px -4px rgb(0 0 0 / 50%); }
.ci-pin-1 { left: 44%; top: 18%; } .ci-pin-2 { left: -4px; top: 47%; } .ci-pin-3 { right: -4px; top: 58%; }
.ci-pin-4 { left: -4px; top: 66%; } .ci-pin-5 { right: -4px; top: 79%; } .ci-pin-6 { left: -4px; top: 92%; }
.ci-wrap { position: relative; }
.ci-wrap::before { content: ""; position: absolute; inset: -22px; z-index: -1; border-radius: 44px; background: linear-gradient(140deg, rgb(77 167 167 / 28%), rgb(55 106 171 / 10%) 60%, transparent); }

/* ---------- capture options ---------- */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.option { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.option:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.option-top { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--navy) url("/assets/img/map-lines.svg") 60% 40% / 380px; background-blend-mode: soft-light; }
.option-top p { margin: 0; font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.option-top h3 { margin: 2px 0 0; color: #fff; font-size: 1.3rem; }
.option-top .icon-badge { background: rgb(135 209 214 / 16%); color: var(--aqua); box-shadow: none; }
.option-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.option-body > p { color: var(--muted); font-size: 1.02rem; }
.option .ticks { margin: 6px 0 0; font-size: 1rem; }
.option .chips { margin: auto 0 0; padding-top: 20px; }

/* ---------- readable signals ---------- */
.signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 5vw, 56px); }
.signal { background: rgb(255 255 255 / 5%); border: 1px solid rgb(135 209 214 / 20%); border-radius: 22px; padding: 22px; backdrop-filter: blur(6px); }
.signal h3 { color: #fff; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.signal h3 svg { width: 20px; height: 20px; color: var(--aqua); }
.signal > p { color: #c9dbe8; font-size: 1rem; line-height: 1.5; }
.code { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #081a2c; box-shadow: inset 0 0 0 1px rgb(135 209 214 / 14%); font: 500 .76rem/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #a9c2d6; overflow-x: auto; white-space: pre; tab-size: 2; }
.code .k { color: var(--aqua); } .code .s { color: #b9ecd6; } .code .n { color: var(--amber); } .code .c { color: #6f8aa1; }

/* ---------- destinations ---------- */
.dests { display: grid; gap: 12px; margin: 26px 0 0; }
.dests li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, transform .2s ease; }
.dests li:hover { border-color: var(--teal); transform: translateX(4px); }
.dests .icon-badge { grid-row: span 2; }
.dests strong { font-family: var(--display); color: var(--navy); font-size: 1.05rem; align-self: end; }
.dests span:last-child { font-size: .98rem; line-height: 1.45; color: var(--muted); align-self: start; }

/* ---------- widget demo ---------- */
.wdemo { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); font-family: var(--ui); overflow: hidden; }
.wdemo .demo-chrome { margin: 0; }
.wdemo-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 14px 16px 0; }
.wdemo-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; padding: 14px 16px 16px; min-height: 380px; }
.wdemo-map { position: relative; border-radius: 14px; overflow: hidden; background: #e3eff3; min-height: 300px; }
.wdemo-map svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; }
.wpin { cursor: pointer; transition: transform .15s ease; transform-box: fill-box; transform-origin: 50% 100%; outline: none; }
.wpin:hover, .wpin:focus-visible, .wpin.on { transform: scale(1.35); }
.wpin path { fill: var(--coral); stroke: #fff; stroke-width: 1.5; }
.wpin.on path { fill: var(--navy); }
.wdemo-list { display: grid; gap: 10px; align-content: start; }
.wcard { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.wcard:hover, .wcard.on { border-color: var(--teal); box-shadow: 0 8px 20px -12px rgb(16 47 75 / 50%); }
.wcard i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 10px; color: #fff; }
.wcard i svg { width: 22px; height: 22px; }
.wcard:nth-child(4n+1) i { background: linear-gradient(160deg, var(--aqua), var(--green)); }
.wcard:nth-child(4n+2) i { background: linear-gradient(160deg, var(--sky, #659cd3), var(--blue)); }
.wcard:nth-child(4n+3) i { background: linear-gradient(160deg, #f8d58a, var(--amber)); }
.wcard:nth-child(4n) i { background: linear-gradient(160deg, #a9dfc4, var(--teal)); }
.wcard-text { display: block; min-width: 0; }
.wcard strong { display: block; font-size: .86rem; color: var(--ink); line-height: 1.3; }
.wcard-text span { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); }
.wcard-text span svg { width: 11px; height: 11px; color: var(--coral); }
.wdemo-tab { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 14px 9px; border: 0; border-radius: 0 12px 12px 0; background: var(--navy); color: #fff; font: 700 .76rem var(--ui); letter-spacing: .06em; cursor: pointer; }
.wdemo-page { display: none; grid-column: 1 / -1; align-self: start; padding: 4px 4px 0; }
.wdemo-page b { display: block; height: 14px; width: 46%; border-radius: 8px; background: #cfdbe6; margin-bottom: 12px; }
.wdemo-page i { display: block; height: 9px; border-radius: 8px; background: #e6edf3; margin-bottom: 9px; }
.wdemo-page i:nth-child(3) { width: 92%; } .wdemo-page i:nth-child(4) { width: 78%; } .wdemo-page i:nth-child(5) { width: 86%; } .wdemo-page i:nth-child(6) { width: 60%; }
.wdemo[data-layout="map"] .wdemo-stage { grid-template-columns: minmax(0, 1fr); }
.wdemo[data-layout="map"] .wdemo-list { display: none; }
.wdemo[data-layout="list"] .wdemo-stage { grid-template-columns: minmax(0, 1fr); }
.wdemo[data-layout="list"] .wdemo-map { display: none; }
.wdemo[data-layout="list"] .wdemo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wdemo[data-layout="slide"] .wdemo-stage { grid-template-columns: minmax(0, 1fr); }
.wdemo[data-layout="slide"] .wdemo-page, .wdemo[data-layout="slide"] .wdemo-tab { display: block; }
.wdemo[data-layout="slide"] .wdemo-map { display: none; }
.wdemo[data-layout="slide"] .wdemo-list { position: absolute; right: 0; top: 0; bottom: 0; width: min(74%, 300px); padding: 14px; background: #fff; box-shadow: -20px 0 40px -20px rgb(16 47 75 / 45%); transform: translateX(104%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); overflow: auto; }
.wdemo[data-layout="slide"].open .wdemo-list { transform: none; }
.wdemo[data-layout="slide"].open .wdemo-tab { right: min(74%, 300px); }
.wdemo-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 18px 14px; font-size: .74rem; color: var(--muted); }

/* ---------- control + reporting ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.panel h3 { font-size: 1.45rem; }
.panel > p { color: var(--muted); }
.mock { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); padding: 14px; font-family: var(--ui); font-size: .84rem; }
.mock-title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mock-title span { font-weight: 600; border: 1px solid #b9c9d6; border-radius: 50px; padding: 2px 8px; letter-spacing: .06em; }
.queue li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; margin-bottom: 8px; box-shadow: 0 1px 2px rgb(16 47 75 / 8%); }
.queue li:last-child { margin: 0; }
.queue i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(160deg, var(--aqua), var(--green)); color: #fff; }
.queue i svg { width: 17px; height: 17px; }
.queue strong { display: block; color: var(--ink); line-height: 1.3; }
.queue small { color: var(--muted); font-size: .74rem; }
.pillbtn { font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 50px; white-space: nowrap; }
.pill-ok { background: #e2f6ed; color: #1f8d62; } .pill-wait { background: #fdf2dc; color: #9a6a0b; } .pill-sched { background: #e8f0fa; color: var(--blue); }
.bars li { display: grid; grid-template-columns: 110px 1fr 34px; gap: 12px; align-items: center; padding: 7px 4px; color: var(--ink); }
.bars progress { width: 100%; height: 10px; background: #dfe8ef; }
.bars progress::-webkit-progress-bar { background: #dfe8ef; }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- honest box ---------- */
.truth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.truth > div { border-radius: 24px; padding: clamp(22px, 3vw, 34px); }
.truth h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.truth h3 svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; stroke-width: 3; }
.truth ul { display: grid; gap: 12px; margin-top: 16px; }
.truth li { position: relative; padding-left: 22px; color: var(--muted); }
.truth li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; }
.truth-yes { background: #eaf8f1; border: 1px solid #bfe8d4; }
.truth-yes h3 svg { background: var(--green); color: #fff; }
.truth-yes li::before { background: var(--green); }
.truth-no { background: #fff; border: 1px dashed #b9c9d6; }
.truth-no h3 svg { background: var(--navy); color: #fff; }
.truth-no li::before { background: #9fb2c2; }

@media (max-width: 1100px) {
  .anatomy-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .notes-left { grid-column: 1; grid-row: 1; }
  .ci-wrap { grid-column: 2; grid-row: 1 / span 2; }
  .notes-left li { grid-template-columns: auto 1fr; text-align: left; }
  .notes-left b { order: 0; }
  .signals, .options { grid-template-columns: minmax(0, 1fr); }
  .glance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance li { padding-left: 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 9%); }
  .glance li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 940px) {
  .anatomy-grid, .duo, .truth { grid-template-columns: minmax(0, 1fr); }
  .ci-wrap { grid-column: auto; grid-row: auto; max-width: 380px; margin-inline: auto; order: -1; }
  .notes-left { grid-column: auto; grid-row: auto; }
}
@media (max-width: 620px) {
  .glance ul { grid-template-columns: minmax(0, 1fr); }
  .glance li, .glance li:nth-child(2) { border-top: 1px solid rgb(255 255 255 / 9%); padding-block: 18px; }
  .glance li:first-child { border-top: 0; }
  .fl-checkin, .fl-count { display: none; }
  .wdemo-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wdemo-map { min-height: 220px; }
  .wdemo[data-layout="list"] .wdemo-list { grid-template-columns: minmax(0, 1fr); }
  .bars li { grid-template-columns: 90px 1fr 30px; }
  .queue li { grid-template-columns: 40px 1fr; }
  .queue .pillbtn { grid-column: 2; justify-self: start; }
}

.wcard[hidden], .wpin[hidden] { display: none; }
.wdemo { margin-top: clamp(36px, 5vw, 64px); }
.who-plain { background: #fff; }
.faq-alt { background: var(--mist); }
.faq-alt .contact-card { background: #fff; }
.faq-alt .contact-card .icon-badge { background: var(--teal-tint); }
.anatomy { overflow-x: clip; }
@media (max-width: 1100px) { .notes-left b { order: -1; } }
.stage-note { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font: 500 .78rem var(--ui); color: #a9c2d6; }

/* ---------- calculator (GeoGrid credits, LSA estimator) ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); font-family: var(--ui); overflow: hidden; }
.calc-in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; align-content: start; }
.calc-row label, .calc-row > p { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.calc-row output { font-size: 1.05rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.calc-row .seg { display: flex; flex-wrap: wrap; }
.calc-row .seg button { flex: 1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: #dfe8ef; outline-offset: 6px; margin: 6px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); border: 4px solid #fff; box-shadow: 0 2px 8px rgb(16 47 75 / 45%); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 4px solid #fff; box-shadow: 0 2px 8px rgb(16 47 75 / 45%); cursor: pointer; }
.calc-out { padding: clamp(22px, 3vw, 34px); background: var(--navy) url("/assets/img/map-lines.svg") 80% 30% / 420px; background-blend-mode: soft-light; color: #c9dbe8; display: flex; flex-direction: column; gap: 6px; }
.calc-out p { margin: 0; }
.calc-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); }
.calc-big { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.calc-math { font-size: .82rem; color: #a9c2d6; margin-bottom: 16px !important; }
.calc-plan { margin-top: auto !important; padding: 16px 18px; border-radius: 16px; background: rgb(255 255 255 / 8%); box-shadow: inset 0 0 0 1px rgb(135 209 214 / 22%); }
.calc-plan b { display: block; font: 800 1.35rem var(--display); color: #fff; }
.calc-plan span { font-size: .84rem; }
.calc-out .btn { margin-top: 16px; align-self: flex-start; }
.calc-fine { font-size: .74rem; color: #92abc0; margin-top: 12px !important; }

@media (max-width: 940px) { .calc { grid-template-columns: minmax(0, 1fr); } }
