/* WEB-F (21 Oct 2026): phone and tablet corrections for every V4 marketing page, loaded last.
   Less scrolling, one heading scale, readable product screens. Brand tokens only. */
@media (max-width:700px){
  /* the tracked "actual software / built environment" ribbon is decoration; it costs a screen of scrolling */
  .h4-trust-ribbon{display:none}
  /* capability icons: a tidy three-by-two grid on phones (icon over label, even hairlines, no sub-text) */
  .capabilities-strip{padding:0}
  .capabilities-strip .capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;border-top:1px solid rgba(167,205,240,.16)}
  .capabilities-strip .capability{flex-direction:column;justify-content:center;text-align:center;gap:8px;min-height:92px;padding:14px 6px;border:0!important;border-right:1px solid rgba(167,205,240,.16)!important;border-bottom:1px solid rgba(167,205,240,.16)!important}
  .capabilities-strip .capability:nth-child(3n){border-right:0!important}
  .capabilities-strip .capability:first-child{border-left:0!important}
  .capabilities-strip .capability span{align-items:center}
  .capabilities-strip .capability .line-icon{width:24px;height:24px}
  .capabilities-strip .capability b{font-size:11px;letter-spacing:.07em;line-height:1.35;white-space:normal}
  .capabilities-strip .capability small{display:none}
  .capabilities-strip .capability::before,.capabilities-strip .capability::after{display:none}
  /* tracked eyebrows wrap badly on narrow screens */
  .eyebrow,.sec .eyebrow,.kicker{letter-spacing:.1em!important;line-height:1.4}
  /* hero heights: content decides, not a fixed minimum */
  .home-hero,.detail-hero-inner{min-height:0!important}
  .detail-hero-inner{padding-top:26px!important;padding-bottom:34px!important}
  .detail-hero h1{font-size:clamp(2.1rem,9.4vw,3rem)!important;letter-spacing:-.035em!important}
  .home-hero h1{font-size:clamp(2.3rem,10.5vw,3.2rem)!important}
  /* section rhythm */
  .sec:not(.sec-tight){padding-top:52px!important;padding-bottom:52px!important}
  .product-section,.audience,.products-triptych,.screen-explain,.value-section{padding:48px 0!important}
  .closing-inner{padding:56px 0!important}
  .sec-head{margin-bottom:26px}
  .audience-card{min-height:0!important}
  /* footer: two columns of links instead of one long list */
  .mk-foot .foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
  .mk-foot .foot-brand{grid-column:1 / -1}
  .mk-foot .foot-col a{display:block;padding:5px 0}
}
/* product screens that are too small to read get an "Enlarge" control (shot-zoom.js) */
.sz-wrap{position:relative;display:block}
/* C18 (founder, 6 Nov 2026): the control sat over the top-right corner of every screenshot and covered part of it. It now
   sits under the screenshot, in the flow, with a full 44 px tap target. */
.sz-btn{position:static;margin:8px 0 4px;min-height:44px;display:flex;width:max-content;align-items:center;gap:6px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:rgba(6,19,35,.82);color:#fff;font:600 13px/1 Inter,Arial,sans-serif;cursor:pointer}
.sz-btn svg{width:14px;height:14px}
.sz-btn:focus-visible{outline:3px solid #64ccff;outline-offset:2px}
.sz-dlg{position:fixed;inset:0;z-index:200;background:#030a14;display:flex;flex-direction:column}
.sz-dlg[hidden]{display:none}
.sz-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:#dbe7f3;font:500 14px/1.4 Inter,Arial,sans-serif}
.sz-close{min-width:44px;min-height:44px;border-radius:8px;border:1px solid #54738d;background:#10253b;color:#fff;font:600 15px Inter,Arial,sans-serif;padding:0 14px;cursor:pointer}
.sz-scroll{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:0 12px 24px}
.sz-scroll img{display:block;width:auto;max-width:none;height:auto;border-radius:8px}
/* WEB-F: optional inquiry fields fold away so the form stays short on a phone */
.lf-more{margin:4px 0 14px;border:1px solid var(--hb-line,#d7e0e9);border-radius:10px;padding:0 14px}
.lf-more summary{cursor:pointer;padding:12px 0;font-weight:600;font-size:15px;color:var(--hb-blue-ink,#1d5fbf);list-style-position:inside}
.lf-more[open]{padding-bottom:6px}

/* WEB-H (22 Oct 2026): each photograph appears on one page only. Sections that repeated another page's picture keep
   their words and lose the photo; these rules lay them out without it, at every width. */
.h4-intro.h4-intro-solo{grid-template-columns:1fr;padding-block:88px}
.h4-intro.h4-intro-solo .h4-intro-side{max-width:760px}
.editorial-split.editorial-solo{grid-template-columns:1fr;min-height:0}
.editorial-split.editorial-solo .editorial-content{max-width:820px}
.h4-solution.h4-solution-text{grid-template-columns:1fr;min-height:0}
@media (max-width:699px){.h4-intro.h4-intro-solo{padding-block:48px}}
.closing .closing-image{background:linear-gradient(90deg,#030e1b,#0b2a4a)}
/* The contractors photograph is mirrored so the technician sits clear of the headline. The image has no text. */
.h4-contractors.detail-hero:before{transform:scaleX(-1)}
/* WEB-H: on phones the hero photograph was almost entirely covered. The words stay on a dark field and the photo shows
   beneath the buttons, adding under 40 px. */
@media (max-width:699px){
  .h4-hero .hero-overlay{background:linear-gradient(180deg,rgba(2,12,28,.84) 0%,rgba(2,12,28,.72) 45%,rgba(2,12,28,.4) 75%,rgba(2,12,28,.1) 100%)!important}
  .h4-hero .detail-hero-inner{padding-bottom:72px!important}
  .detail-hero:before{background-position:center 70%}
}
@media (max-width:699px){.h4-hero h1,.h4-hero .detail-intro>p,.h4-hero .h4-overline,.h4-hero .eyebrow{text-shadow:0 1px 14px rgba(2,10,22,.85)}}
