/* Draft E — "How it works" pages (/solutions/, /software/, /hardware-2/). Shared, tokens only. */

.hw { background: var(--paper); color: var(--body); font: 400 18px/1.6 var(--text); overflow-x: clip; }
.hw *, .hw *::before, .hw *::after { box-sizing: border-box; }
.hw img { max-width: 100%; height: auto; display: block; }
.hw a:not(.rp-btn) { color: inherit; }
.hw p { margin: 0 0 1em; }
.hw h1, .hw h2, .hw h3, .hw h4 { font-family: var(--display); font-weight: 400; color: var(--ink); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.hw h1 em, .hw h2 em, .hw h3 em { font-style: italic; }
.hw-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.hw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kicker + section rhythm */
.hw .hw-kicker { font: 600 14px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 0 0 var(--s2); }
.hw .hw-kicker a { text-decoration: none; color: var(--mute); }
.hw .hw-kicker a:hover { color: var(--ink); }
.hw .hw-kicker span { color: var(--mute); margin: 0 .4em; }
.hw-sec { padding-block: clamp(56px, 9vw, var(--s6)); }
.hw-sec + .hw-sec { padding-top: 0; }
.hw-band { background: var(--paper-2); }
.hw-band + .hw-sec, .hw-sec + .hw-band { padding-top: clamp(56px, 9vw, var(--s6)); }
.hw-rule { border: 0; border-top: 1px solid var(--sand); margin: 0; }

.hw-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, var(--s5)); }
.hw-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin-bottom: var(--s3); }
.hw-head p { font-size: clamp(18px, 1.6vw, 20px); max-width: var(--measure); }
.hw-head--center { margin-inline: auto; text-align: center; }
.hw-head--center p { margin-inline: auto; }

/* Hero */
.hw-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hw-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hw-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; margin-bottom: var(--s3); }
.hw-dek { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--body); max-width: 34em; }
.hw-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hw .rp-btn { text-decoration: none; }
.hw-link { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.hw-link:hover { color: var(--red); }

.hw-fig { margin: 0; }
.hw-fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.hw-fig--cover img { aspect-ratio: 4 / 3; object-fit: cover; }
.hw-fig--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.hw-fig--plain img { box-shadow: none; background: transparent; }
.hw-fig figcaption { font-size: 14px; line-height: 1.5; color: var(--mute); margin-top: 12px; max-width: 60ch; }

/* On-page chips */
.hw-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: var(--s4) 0 0; padding: 0; }
.hw-chips a { display: inline-block; font: 500 14px/1 var(--text); padding: 10px 14px; border: 1px solid var(--sand); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); }
.hw-chips a:hover { border-color: var(--ink); }

/* Opening moment: short editorial spread */
.hw-moment { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hw-moment__lead { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: var(--ink); }
.hw-moment__lead em { color: var(--red); }
.hw-moment__body { max-width: var(--measure); }

/* Journey (solutions) */
.hw-journey { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.hw-step { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--sand); align-items: start; }
.hw-step:last-child { border-bottom: 1px solid var(--sand); }
.hw-step__n { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--red); font-style: italic; }
.hw-step__stage { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; }
.hw-step h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin-bottom: 6px; }
.hw-step__product { font-weight: 600; color: var(--ink); margin: 0 0 var(--s2); }
.hw-step__need { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); background: var(--paper-2); border-radius: 999px; padding: 6px 12px; margin: 4px 0 var(--s3); }
.hw-step__need b { font-weight: 600; }

.hw-ticks { list-style: none; margin: var(--s2) 0 0; padding: 0; }
.hw-ticks li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--sand); font-size: 17px; line-height: 1.45; }
.hw-ticks li:first-child { border-top: 0; }
.hw-ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--safe); border-bottom: 2px solid var(--safe); transform: rotate(-45deg); }
.hw-ticks--dot li::before { width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--red); transform: none; top: 17px; left: 4px; }

/* Grow illustration (single calm demo animation) */
.hw-grow { display: block; width: 100%; height: auto; max-width: 520px; }
.hw-grow .ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: .0; transform-box: fill-box; transform-origin: center; animation: hw-ring 3.2s ease-out infinite; }
.hw-grow .ring--2 { animation-delay: 1.6s; }
@keyframes hw-ring { 0% { opacity: .55; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .hw-grow .ring { animation: none; opacity: .35; } }

/* Comparison table */
.hw-compare { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hw-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hw-table caption { text-align: left; }
.hw-table th, .hw-table td { padding: 14px 16px; border-bottom: 1px solid var(--sand); text-align: center; vertical-align: middle; }
.hw-table thead th { background: var(--paper-2); font-weight: 400; vertical-align: bottom; padding-block: 20px 16px; }
.hw-table thead th:first-child { text-align: left; }
.hw-table .hw-col__n { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.hw-table .hw-col__t { display: block; font: 500 18px/1.2 var(--display); color: var(--ink); }
.hw-table .hw-col__s { display: none; }
.hw-table tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.hw-table tbody tr:last-child > * { border-bottom: 0; }
.hw-table tbody tr:hover > * { background: rgba(244, 245, 247, .6); }
.hw-table .grp th { background: var(--paper); font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-block: 10px; }
.hw-yes, .hw-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.hw-yes { background: rgba(47, 107, 79, .12); }
.hw-yes::before { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--safe); border-bottom: 2px solid var(--safe); transform: translateY(-2px) rotate(-45deg); }
.hw-no::before { content: ""; width: 12px; height: 2px; background: #b9ad99; border-radius: 1px; }
.hw .hw-compare__note { max-width: none; font-size: 14px; color: var(--mute); padding: 14px 16px; margin: 0; border-top: 1px solid var(--sand); background: var(--paper); }

/* Numbers */
.hw-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4) var(--s3); border-top: 1px solid var(--sand); padding-top: var(--s4); }
.hw-num b { display: block; font: 400 clamp(40px, 5vw, 64px)/1 var(--display); color: var(--ink); margin-bottom: 10px; }
.hw-num b small { font-size: .5em; }
.hw-num span { display: block; font-size: 16px; line-height: 1.45; max-width: 24ch; }
.hw .hw-cert { margin-top: var(--s4); font-size: 16px; color: var(--body); max-width: var(--measure); }
.hw-cert b { color: var(--ink); }

/* Cards */
.hw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s3); }
.hw-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: 10px; }
.hw-band .hw-card { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.hw-card img.icon { width: 44px; height: 44px; }
.hw-card h3 { font-size: 22px; line-height: 1.2; }
.hw-card p { font-size: 16px; line-height: 1.55; margin: 0; }
.hw-card--link { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.hw-card--link:hover { transform: translateY(-2px); }
.hw-card--link .hw-link { margin-top: auto; align-self: flex-start; }
.hw-card--photo { padding: 0; overflow: hidden; }
.hw-card--photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hw-card--photo .hw-card__body { padding: var(--s3); display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* Tool / product spreads */
.hw-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--sand); scroll-margin-top: calc(var(--nav-h) + 16px); }
.hw-spread:first-of-type { border-top: 0; padding-top: 0; }
.hw-spread--flip > :first-child { order: 2; }
.hw-who { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.hw-spread__text h3 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; margin-bottom: var(--s2); }
.hw-spread__lead { font-family: var(--display); font-size: clamp(21px, 2vw, 25px); line-height: 1.35; color: var(--ink); margin-bottom: var(--s3) !important; }
.hw-spread__text { max-width: var(--measure); }
.hw-spread__text p { font-size: 17px; }

.hw-api { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
.hw-api .hw-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s2); row-gap: 4px; align-items: start; }
.hw-api .hw-card img.icon { grid-row: span 2; }
.hw-api .hw-card h3 { font-size: 20px; }
.hw-api .hw-card { background: #fff; }
.hw-api .hw-card img.icon { width: 40px; height: 40px; }

/* Product rows (hardware) */
.hw-group { scroll-margin-top: calc(var(--nav-h) + 16px); }
.hw-prod { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--sand); scroll-margin-top: calc(var(--nav-h) + 16px); }
.hw-prod__media { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); display: grid; place-items: center; min-height: 260px; align-self: start; }
.hw-prod__media img { max-height: 320px; width: auto; object-fit: contain; }
.hw-prod__media--none { background: var(--paper); border: 1px dashed var(--line-2); box-shadow: none; }
.hw-band .hw-prod__media--none { background: var(--paper); }
.hw-prod__media--none svg { width: 120px; height: 120px; }
.hw-prod h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; margin-bottom: var(--s2); }
.hw-prod__human { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s3); margin: 0 0 var(--s3); padding: var(--s3) 0; border-block: 1px solid var(--sand); }
.hw-prod__human dt { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.hw-prod__human dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.hw .hw-specs-t { font: 600 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: var(--s3) 0 4px; }
.hw-pdf { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s3); font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 16px; min-height: 44px; background: var(--paper); }
.hw-pdf:hover { border-color: var(--ink); }
.hw-pdf svg { flex: none; width: 18px; height: 18px; color: var(--red); }
.hw-pdf small { font-weight: 400; color: var(--mute); }

.hw-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.hw-guide .hw-card ul { list-style: none; margin: 6px 0 0; padding: 0; }
.hw-guide .hw-card li { border-top: 1px solid var(--sand); }
.hw-guide .hw-card li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; font-size: 16px; color: var(--ink); }
.hw-guide .hw-card li a:hover { color: var(--red); }

.hw-downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 var(--s4); }
.hw-downloads li { border-top: 1px solid var(--sand); }
.hw-downloads a { display: flex; align-items: center; gap: 12px; padding: 14px 0; text-decoration: none; color: var(--ink); font-size: 17px; }
.hw-downloads a:hover { color: var(--red); }
.hw-downloads svg { flex: none; width: 18px; height: 18px; color: var(--red); }

/* Patents / small print band */
.hw-patents { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hw-patents h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin-bottom: var(--s2); }

/* Pull line */
.hw-pull { font-family: var(--display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; color: var(--ink); max-width: 22ch; margin: 0; }
.hw-pull em { color: var(--red); }

/* Next steps */
.hw-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }

/* Responsive */
@media (max-width: 960px) {
	.hw-hero__grid, .hw-moment, .hw-spread, .hw-patents { grid-template-columns: minmax(0, 1fr); }
	.hw-spread--flip > :first-child { order: 0; }
	.hw-step { grid-template-columns: 56px minmax(0, 1fr); }
	.hw-step__fig { grid-column: 2; }
	.hw-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hw-prod { grid-template-columns: minmax(0, 1fr); }
	.hw-prod__media { min-height: 200px; }
	.hw-prod__media--none { display: none; }
	.hw-guide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.hw { font-size: 17px; }
	.hw-step { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.hw-step__fig { grid-column: 1; }
	.hw-step__n { font-size: 44px; }
	.hw-next, .hw-prod__human { grid-template-columns: minmax(0, 1fr); }
	.hw-table { font-size: 14px; }
	.hw-table th, .hw-table td { padding: 11px 6px; }
	.hw-table tbody th { padding-left: 12px; }
	.hw-table thead th:first-child { padding-left: 12px; }
	.hw-table .hw-col__t { display: none; }
	.hw-table .hw-col__s { display: block; font: 500 15px/1.2 var(--display); color: var(--ink); }
	.hw-table thead th { white-space: nowrap; }
	.hw-table .hw-col__n { font-size: 10px; letter-spacing: .03em; }
	.hw-yes, .hw-no { width: 24px; height: 24px; }
	.hw-btns .rp-btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------
   Draft F: friendly product illustrations (stage diagrams, device map).
   Rounded shapes, 1.5–2px strokes in --ink / --sand-2, soft red zones.
   ------------------------------------------------------------------ */
.hwd-fig { background: var(--paper-2); border-radius: var(--radius); padding: clamp(12px, 2vw, 20px) clamp(12px, 2vw, 20px) clamp(14px, 2vw, 18px); }
.hw-band .hwd-fig { background: #fff; box-shadow: var(--shadow); }
.hwd-fig figcaption { margin-top: 8px; font-size: 15px; color: var(--body); }
.hwd { display: block; width: 100%; height: auto; overflow: visible; }
.hwd text { font: 500 15px/1 var(--text); fill: var(--mute); }
.hwd .hwd-say { fill: var(--red-dark); font-weight: 600; }
.hwd-ground, .hwd-ceiling { fill: none; stroke: var(--sand-2); stroke-width: 2; stroke-linecap: round; }
.hwd-rack rect, .hwd-shelf { fill: #fff; stroke: var(--sand-2); stroke-width: 1.5; }
.hwd-rack path { stroke: var(--sand-2); stroke-width: 1.5; }
.hwd-floor { fill: #fff; stroke: var(--sand-2); stroke-width: 1.5; }
.hw-band .hwd-floor { fill: var(--paper-2); }
.hwd-shelf { fill: var(--paper-2); }
.hw-band .hwd-shelf { fill: #fff; }
.hwd-zone { fill: var(--red-soft); opacity: .9; }
.hwd-person circle, .hwd-person rect, .hwd-truck path:not(.hwd-mast):not(.hwd-guard), .hwd-truck circle { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.hwd-person path, .hwd-truck .hwd-mast, .hwd-truck .hwd-guard { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hwd .hwd-tag { fill: var(--red); stroke: none; }
.hwd-person *, .hwd-truck *, .hwd-anchor * { vector-effect: non-scaling-stroke; }
.hwd-anchor rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hwd-anchor .hwd-stem { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.hwd-anchor .hwd-dot { fill: var(--red); }
.hwd-server rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hwd-server path { stroke: var(--sand-2); stroke-width: 2; stroke-linecap: round; }
.hwd-server .hwd-ok { fill: var(--safe); }
.hwd-range { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.hwd-range--soft { opacity: .45; }
.hwd-link { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 6; stroke-linecap: round; opacity: .55; }
.hwd-link--soft { opacity: .28; }
.hwd-wire { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hwd-halo { fill: var(--red-soft); }
.hwd-pin { fill: var(--red); stroke: #fff; stroke-width: 3; }
.hwd .hwd-mark text { fill: var(--ink); }

/* Calm motion: soft pulses and a slow "signal" along the ranging lines. Paused off-screen and for reduced motion. */
.hwd-pulse { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hwd-pulse 3.2s ease-out infinite; }
.hwd-pulse--late { animation-delay: 1.6s; }
.hwd-mark:nth-of-type(2n) .hwd-pulse { animation-delay: 1.1s; }
.hwd-range, .hwd-link { animation: hwd-flow 2.4s linear infinite; }
@keyframes hwd-pulse { 0% { opacity: .6; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes hwd-flow { to { stroke-dashoffset: -44; } }
.hw-anim-off .hwd-pulse, .hw-anim-off .hwd-range, .hw-anim-off .hwd-link, .hw-anim-off .ring { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.hwd-pulse, .hwd-range, .hwd-link { animation: none; }
	.hwd-pulse { opacity: .35; transform: scale(1.2); }
}
@media (max-width: 640px) {
	.hwd text { font-size: 17px; }
}

/* ------------------------------------------------------------------
   /software/ walkthrough (idea from Draft B): sticky step list beside large screenshots.
   ------------------------------------------------------------------ */
.hw-tour { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hw-rail { position: sticky; top: calc(var(--nav-h) + var(--ribbon-h) + 32px); }
.hw-rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.hw-rail ol::before { content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 2px; background: var(--sand); border-radius: 1px; }
.hw-rail a { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; }
.hw-rail__n { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 2px solid var(--sand-2); font: 600 14px/1 var(--display); color: var(--mute); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.hw-rail b { font: 600 18px/1.2 var(--display); color: var(--ink); transition: color .25s var(--ease); }
.hw-rail small { font-size: 14px; line-height: 1.35; color: var(--mute); }
.hw-rail a:hover b { color: var(--red); }
.hw-rail a.is-current .hw-rail__n { background: var(--red); border-color: var(--red); color: #fff; }
.hw-rail a.is-current b { color: var(--red-dark); }
.hw-rail a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: var(--radius-sm); }

.hw-stop { padding-block: 0 clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.hw-stop + .hw-stop { border-top: 1px solid var(--sand); padding-top: clamp(40px, 5vw, 64px); }
.hw-stop h3 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; margin-bottom: var(--s2); }
.hw-stop .hw-spread__lead { max-width: 34em; }
.hw-stop__copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-top: var(--s3); }
.hw .hw-stop__copy p { font-size: 17px; margin: 0 0 1em; }
.hw-stop__copy p:only-child { grid-column: 1 / -1; max-width: var(--measure); }

.hw-shot { margin: var(--s3) 0 0; }
.hw-shot__screen { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--sand); }
.hw-shot__screen img { position: absolute; max-width: none; height: auto; }
.hw-shot figcaption { font-size: 14px; line-height: 1.5; color: var(--mute); margin-top: 12px; }
/* Crops: show only the screen inside each monitor mock-up. */
.hw-shot--siteplan .hw-shot__screen { aspect-ratio: 1468 / 826; }
.hw-shot--siteplan img { width: 108.992%; left: -4.496%; top: -8.596%; }
.hw-shot--sitewise .hw-shot__screen { aspect-ratio: 826 / 464; }
.hw-shot--sitewise img { width: 108.959%; left: -4.479%; top: -25%; }
.hw-shot--sitemonitor .hw-shot__screen { aspect-ratio: 1469 / 720; }
.hw-shot--sitemonitor img { width: 108.918%; left: -4.493%; top: -17.083%; }

.hw-api--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s3); }
.hw-api--row .hw-card { grid-template-columns: minmax(0, 1fr); align-content: start; background: var(--paper-2); border-color: transparent; }
.hw-api--row .hw-card img.icon { grid-row: auto; }

@media (max-width: 960px) {
	.hw-tour { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
	.hw-rail { position: static; }
	.hw-rail ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
	.hw-rail ol::before { display: none; }
	.hw-api--row { grid-template-columns: minmax(0, 1fr); }
	.hw-api--row .hw-card { grid-template-columns: 40px minmax(0, 1fr); }
	.hw-api--row .hw-card img.icon { grid-row: span 2; }
}
@media (max-width: 640px) {
	.hw-stop__copy { grid-template-columns: minmax(0, 1fr); }
	.hw-rail b { font-size: 16px; }
	.hw-rail small { font-size: 13px; }
}

/* /hardware-2/ "where each device goes" illustration */
.hwd-where { margin-bottom: var(--s4); padding: clamp(16px, 2.4vw, 28px); }
.hwd-cart rect:not(.hwd-tag), .hwd-cart circle, .hwd-robot rect:not(.hwd-tag), .hwd-robot circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.hwd-cart path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.hwd-leader { fill: none; stroke: var(--mute); stroke-width: 1.5; stroke-linecap: round; }
.hwd-num circle { fill: var(--ink); }
.hwd .hwd-num text { fill: #fff; font-family: var(--display); font-weight: 600; }
.hwd-cart *, .hwd-robot * { vector-effect: non-scaling-stroke; }
.hw .hwd.hwd-where__tall { display: none; }
.hwd-legend { list-style: none; margin: var(--s3) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--sand); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2) var(--s3); }
.hwd-legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-content: start; font-size: 15px; line-height: 1.45; color: var(--body); }
.hwd-legend li > a { align-self: center; }
.hwd-legend__n { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/1 var(--display); }
.hwd-legend a { text-decoration: none; }
.hwd-legend b { font-weight: 600; color: var(--ink); }
.hwd-legend a:hover b { color: var(--red); }
@media (max-width: 960px) { .hwd-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.hwd-legend { grid-template-columns: minmax(0, 1fr); }
	.hw .hwd.hwd-where__wide { display: none; }
	.hw .hwd.hwd-where__tall { display: block; }
}
