/* Home page. Loaded only where the page front matter says "css: home". Colors, fonts and radii come from tokens.css.
   Motion rules: only transform and opacity move; nothing changes size; every moving piece has a still state. */
.home { --gap: 56px; --t: 240ms; }
@media (min-width: 760px) { .home { --gap: 80px; } }
.home main h1, .home main h2 { font-style: normal; text-wrap: balance; }
.home main h1 { font-size: clamp(2.5rem, 4vw + .8rem, 3.875rem); line-height: 1.04; letter-spacing: -.035em; }
.home main h2 { font-size: clamp(1.875rem, 2.6vw + 1rem, 2.75rem); line-height: 1.1; letter-spacing: -.028em; }
.hx-sec { padding: var(--gap) 0; }
.hx-sec--white { background: var(--surface); }
.hx-head { max-width: 46rem; margin-bottom: 28px; }
@media (min-width: 760px) { .hx-head { margin-bottom: 36px; } }
.hx-head p { margin-top: 16px; font-size: 1.125rem; }
.hx-head--dark h2 { color: #fff; } .hx-head--dark p { color: var(--night-text); }
.hx-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hx-split { grid-template-columns: 6fr 6fr; gap: 64px; } .hx-split--form { grid-template-columns: 5fr 7fr; align-items: start; } }
.home .lead { margin-top: 20px; max-width: 36em; }
.home .ticks { margin-top: 28px; }

/* Status chips: the app's own statuses */
.hst { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--stub); color: var(--body); font-size: .875rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.hst::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.hst--plain::before { content: none; }
.hst--cleaning, .hst--look { background: var(--warn-wash); border-color: var(--warn-edge); color: var(--warn); }
.hst--cleaning::before, .hst--look::before { background: var(--warn-dot); }
.hst--look::before { border-radius: 2px; }
.hst--checking { background: var(--brand-wash); border-color: var(--brand-edge); color: var(--brand-hover); }
.hst--checking::before { background: var(--brand); }
.hst--fixes { background: var(--late-wash); border-color: var(--late-edge); color: var(--late); }
.hst--fixes::before { background: var(--late-dot); }
.hst--ready { background: var(--ok-wash); border-color: var(--ok-edge); color: var(--ok); }
.hst--ready::before { background: var(--ok-dot); }
.hb__row[data-state="checking"] .hst::before { animation: hxpulse 1.2s ease-in-out infinite; }
@keyframes hxpulse { 50% { opacity: .3; } }
.is-paused .hst::before { animation: none !important; }

/* Pause button */
.hx-pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: .9375rem; font-weight: 600; cursor: pointer; touch-action: manipulation; flex: none; }
.hx-pause__ic { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hx-pause[aria-pressed="true"] .hx-pause__ic { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }

/* 1. Hero */
.hx-hero { padding: 28px 0 var(--gap); }
@media (min-width: 900px) { .hx-hero { padding: 36px 0 56px; } }
.hx-hero h1 { max-width: 14em; }
.hx-hero__row { display: grid; gap: 20px; margin: 16px 0 28px; }
.hx-hero__row .lead { margin: 0; }
.hx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .hx-hero__row { grid-template-columns: 1fr auto; align-items: end; gap: 48px; } }

.hb { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-3); padding: 18px; }
@media (min-width: 760px) { .hb { padding: 32px 36px; } }
.hb__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hb__title { font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.015em; }
.hb__sub { font-size: .9375rem; color: var(--muted); }
.hb__count { font-size: 1rem; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hb__count b { font-size: 1.75rem; color: var(--ink); letter-spacing: -.02em; }
.hb__bar { height: 6px; border-radius: 3px; background: var(--stub); margin: 16px 0 6px; overflow: hidden; }
.hb__bar i { display: block; height: 100%; background: var(--ok-dot); border-radius: 3px; transform: scaleX(.25); transform-origin: 0 50%; transition: transform 600ms var(--ease-out); }
.hb__row { display: grid; grid-template-columns: 76px 1fr; gap: 6px 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.hb__row:first-child { border-top: 0; }
.hb__time b { display: block; font-size: 1.125rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hb__time span { font-size: .8125rem; color: var(--muted); }
.hb__name { font-weight: 600; color: var(--ink); font-size: 1.0625rem; line-height: 1.3; }
.hb__meta { font-size: .875rem; color: var(--muted); line-height: 1.4; margin-top: 2px; min-height: 2.8em; transition: opacity var(--t) var(--ease-out); }
.hb__row .hst { grid-column: 2; justify-self: start; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.hb__row.is-flip .hb__meta { opacity: 0; }
.hb__row.is-flip .hst { opacity: 0; transform: translateY(-4px); }
.hb__row.is-out { opacity: 0; transform: translateY(6px); }
@media (min-width: 640px) {
  .hb__row { grid-template-columns: 110px 1fr auto; padding: 22px 0; }
  .hb__row .hst { grid-column: auto; justify-self: end; font-size: 1rem; padding: 7px 16px 7px 14px; }
  .hb__time b { font-size: 1.375rem; } .hb__time span { font-size: .9375rem; }
  .hb__name { font-size: 1.25rem; } .hb__meta { font-size: 1rem; min-height: 1.4em; }
}
.hb__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.hb__cap { font-size: .9375rem; color: var(--muted); flex: 1 1 240px; }

/* 2. What the check catches (the one dark section) */
.hc { background: var(--night); }
.hc__list { display: grid; gap: 20px; }
@media (min-width: 700px) { .hc__list { grid-template-columns: repeat(3, 1fr); } }
.hc__card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; }
.hc__ph { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.hc__ph img { width: 100%; height: 100%; object-fit: cover; }
.hc__scan { position: absolute; left: 0; right: 0; top: 0; height: 28%; background: linear-gradient(to bottom, rgba(169,177,255,0), rgba(169,177,255,.35)); border-bottom: 2px solid var(--brand-on-dark); transform: translateY(-110%); opacity: 0; }
.hc__body { padding: 16px 18px 22px; }
.hc__step { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9FA4B3; }
.hc__chip { position: relative; height: 34px; margin: 10px 0 8px; }
.hc__chip .hst { position: absolute; left: 0; top: 0; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.hc__chip [data-from] { opacity: 0; }
.hc__why { color: #fff; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.hc__card.is-armed [data-from] { opacity: 1; }
.hc__card.is-armed [data-to] { opacity: 0; transform: translateY(4px); }
.hc__card.is-armed .hc__why { opacity: 0; transform: translateY(6px); }
.hc__card.is-scan .hc__scan { animation: hxscan 900ms var(--ease-out) forwards; }
@keyframes hxscan { 0% { transform: translateY(-110%); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(360%); opacity: 0; } }
.hc__note { margin-top: 32px; color: var(--night-text); font-size: 1.0625rem; }

/* App screens drawn in HTML. Same labels and order as the app; sizes chosen so rendered text is 13px or more. */
.hs__phone { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 40px; background: #1A1C24; padding: 10px; box-shadow: 0 30px 60px -24px rgba(16,18,24,.4); }
.app { background: var(--ground); border-radius: 30px; overflow: hidden; color: var(--ink); font-size: 1rem; line-height: 1.4; display: flex; flex-direction: column; min-height: 520px; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.app__bar b { display: block; font-size: 1.0625rem; line-height: 1.2; }
.app__bar span { display: block; font-size: .875rem; color: var(--muted); }
.app__bar--brand b { font-size: 1.25rem; }
.app__back { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app__logo { width: 28px; height: 26px; flex: none; }
.app__body { padding: 16px; flex: 1; }
.app__lab { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.app__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding-top: 14px; }
.app__card > .app__lab, .app__title { padding: 0 16px; }
.app__title { font-weight: 700; font-size: 1.125rem; line-height: 1.25; margin: 2px 0 12px; }
.app__photo { position: relative; aspect-ratio: 10 / 9; overflow: hidden; background: #000; }
.app__photo img { width: 100%; height: 100%; object-fit: cover; }
.app__flag { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; background: var(--late); color: #fff; font-weight: 700; font-size: .9375rem; padding: 9px 12px; border-radius: 8px; }
.app__flag svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.app__why { padding: 14px 16px 4px; font-size: 1.0625rem; color: var(--body); }
.app__card > .app__btn { margin: 12px 16px 16px; }
.app__btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.0625rem; border-radius: 12px; min-height: 52px; padding: 0 16px; text-align: center; }
.app__btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.app__btn--off { background: var(--stub); color: var(--muted); }
.app__dock { padding: 12px 16px 16px; background: #fff; border-top: 1px solid var(--line); }
.app__dock--off { text-align: center; } .app__dock--off p { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.tcard { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-left-width: 5px; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.tcard--fix { border-left-color: var(--late-dot); } .tcard--ok { border-left-color: var(--ok-dot); }
.tcard__time b { display: block; font-size: 1.125rem; line-height: 1.2; } .tcard__time span { font-size: .875rem; color: var(--muted); }
.tcard__name { font-weight: 700; font-size: 1.125rem; line-height: 1.25; } .tcard__meta { font-size: .9375rem; color: var(--muted); margin-top: 2px; }
.tcard__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* 3. How it works: scroll stepper */
.hs { background: var(--surface); }
.hs__stage { display: none; }
.hs__step { padding: 0 0 36px; }
.hs__btn { display: flex; align-items: center; gap: 14px; min-height: 44px; width: 100%; padding: 0; background: none; border: 0; text-align: left; cursor: default; font: inherit; color: inherit; }
.hs__n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.hs__t { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.hs__step > p { margin: 12px 0 0 50px; max-width: 30em; }
.hs__shot { margin-top: 20px; }
@media (min-width: 900px) {
  .js .hs__grid:not(.is-flat) { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .js .hs__grid:not(.is-flat) .hs__stage { display: grid; position: sticky; top: max(88px, calc(50vh - 300px)); }
  .js .hs__grid:not(.is-flat) .hs__stage .hs__phone { grid-area: 1 / 1; opacity: 0; transition: opacity 300ms var(--ease-out); align-self: start; }
  .js .hs__grid:not(.is-flat) .hs__stage .hs__phone.is-on { opacity: 1; }
  .js .hs__grid:not(.is-flat) .hs__shot { display: none; }
  .js .hs__grid:not(.is-flat) .hs__step { padding: 24px 0 24px 28px; border-left: 3px solid var(--line); min-height: 34vh; display: flex; flex-direction: column; justify-content: center; opacity: .45; transition: opacity 300ms var(--ease-out); position: relative; }
  .js .hs__grid:not(.is-flat) .hs__step::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--brand); transform: scaleY(0); transform-origin: 50% 0; transition: transform 300ms var(--ease-out); }
  .js .hs__grid:not(.is-flat) .hs__step.is-on { opacity: 1; }
  .js .hs__grid:not(.is-flat) .hs__step.is-on::before { transform: scaleY(1); }
  .js .hs__grid:not(.is-flat) .hs__btn { cursor: pointer; }
  .js .hs__grid:not(.is-flat) .hs__t { font-size: 1.875rem; }
  .hs__grid.is-flat .hs__steps, html:not(.js) .hs__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .hs__grid.is-flat .hs__step > p, html:not(.js) .hs__step > p { margin-left: 0; }
}

/* 4. Damage, supplies, receipts */
.hp { background: var(--ground); }
.hp__rail { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.hp__tab { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 8px; background: none; border: 0; font: inherit; font-weight: 600; font-size: 1rem; color: var(--muted); cursor: pointer; text-align: left; }
.hp__tab span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--stub); font-size: .875rem; }
.hp__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms var(--ease-out); }
.hp__tab.is-on { color: var(--ink); } .hp__tab.is-on span { background: var(--brand); color: #fff; } .hp__tab.is-on::after { transform: scaleX(1); }
@media (max-width: 520px) { .hp__tab { flex-direction: column; justify-content: center; gap: 4px; padding: 6px 2px; text-align: center; font-size: .875rem; } }
.hp__stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.hp__panel { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); visibility: hidden; }
.hp__panel.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.hp__cap { font-size: 1.0625rem; margin-bottom: 18px; max-width: 40em; }
.hp__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -8px 0 16px; }
.hp__live { font-size: 1.0625rem; color: var(--body); }
.js .hp:not(.is-still) .hp__cap { display: none; }
.pc, .sp, .rs { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); padding: 20px; color: var(--ink); }
@media (min-width: 760px) { .pc, .sp, .rs { padding: 24px 32px; } }
.pc, .sp, .rs { flex: 1; }
.pc__h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; margin-bottom: 18px; }
.pc__h svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pc__line { font-size: 1.1875rem; line-height: 1.45; } .pc__line b { color: var(--late); }
.pc__sub { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.pc__times { display: grid; gap: 4px; margin-top: 18px; font-size: 1rem; color: var(--body); }
@media (min-width: 640px) { .pc__times { grid-template-columns: auto auto; justify-content: start; gap: 4px 40px; } }
.pc__btns { display: flex; gap: 12px; margin-top: 20px; }
.pc__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 600; font-size: 1.0625rem; background: #fff; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.pc__btn.is-on { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-ink); }
.sp__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 18px; }
.sp__title { font-weight: 700; font-size: 1.25rem; }
.sp__tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--stub); border-radius: 12px; padding: 4px; }
.sp__tabs span { padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--muted); } .sp__tabs .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,18,24,.14); }
.sp__head { display: none; }
.sp__rows { display: flex; flex-direction: column; }
.sp__rows li { flex: 1; display: grid; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; grid-template-columns: 1fr auto; }
.sp__rows b { font-size: 1.0625rem; grid-column: 1; }
.sp__q { display: none; }
.sp__h { grid-column: 1; font-size: 1rem; color: var(--body); }
.sp__l { display: none; }
.sp__b { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 600; font-size: .9375rem; background: #fff; }
@media (min-width: 760px) {
  .sp__head, .sp__rows li { display: grid; grid-template-columns: 2fr 70px 2fr 90px 150px; gap: 16px; align-items: center; }
  .sp__head { padding: 10px 0; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
  .sp__rows li { padding: 16px 0; } .sp__q, .sp__l { display: block; } .sp__q { text-align: center; } .sp__l { color: var(--muted); }
  .sp__h, .sp__rows b, .sp__b { grid-column: auto; grid-row: auto; } .sp__rows b { font-size: 1.125rem; } .sp__h { font-size: 1.0625rem; }
  .sp__rows li { border-top: 0; border-bottom: 1px solid var(--line); } .sp__rows li:last-child { border-bottom: 0; }
}
.rs { max-width: 520px; }
.rs__h { font-weight: 700; font-size: 1.5rem; } .rs__sub { font-size: 1rem; color: var(--muted); margin-top: 2px; } .rs__txt { margin-top: 12px; font-size: 1rem; }
.rs__lab { margin-top: 18px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rs__field { margin-top: 6px; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 1.0625rem; flex: 1; min-width: 0; }
.rs__field--note { min-height: 72px; }
.rs__val { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs__field--note .rs__val { white-space: normal; }
.rs__amt { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; color: var(--muted); }
.rs__photo { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.rs__tile { width: 52px; height: 64px; border-radius: 8px; background: var(--stub); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.rs__tile svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rs__photo b { font-size: 1.0625rem; } .rs__again { margin-left: auto; color: var(--brand-ink); font-weight: 600; font-size: 1rem; }
.rs__hint { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.rs__send { margin-top: 18px; transition: transform var(--t) var(--ease-out); }
[data-at] { transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.js [data-panels]:not(.is-still) [data-at] { opacity: 0; transform: translateY(4px); }
.js [data-panels]:not(.is-still) [data-at].is-on { opacity: 1; transform: none; }
.rs__send.is-press { transform: scale(.97); }
/* Still state: every panel stacked and complete. Also what runs with JavaScript off. */
html:not(.js) .hp__rail, .hp.is-still .hp__rail, html:not(.js) .hp__foot, .hp.is-still .hp__foot { display: none; }
html:not(.js) .hp__stage, .hp.is-still .hp__stage { display: grid; gap: 48px; }
html:not(.js) .hp__panel, .hp.is-still .hp__panel { grid-area: auto; opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
html:not(.js) .pc__btn:first-child, .hp.is-still .pc__btn:first-child { background: var(--brand-wash); border-color: var(--brand); }

/* 5. Languages */
.hl__demo { display: grid; justify-items: center; gap: 22px; }
.hl__phone { max-width: 340px; }
.app--jobs { min-height: 540px; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.app--jobs.is-swap { opacity: 0; transform: translateY(6px); }
.jb__hi { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.jb__date { font-size: .9375rem; color: var(--muted); margin: 2px 0 14px; }
.jb__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.jb__house { font-weight: 700; font-size: 1.125rem; margin: 6px 0 12px; }
.jb__times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.jb__times span { display: block; } .jb__times b { font-size: 1.125rem; }
.jb__sec { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 2px 8px; font-size: .9375rem; color: var(--muted); }
.jb__job { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--late-dot); border-radius: 12px; padding: 12px 14px; }
.jb__job b { font-size: 1.0625rem; } .jb__job i { display: block; font-style: normal; font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.jb__job em { font-style: normal; }
.app__tabs { display: flex; justify-content: space-between; gap: 6px; padding: 14px 12px 16px; border-top: 1px solid var(--line); background: #fff; font-size: .8125rem; font-weight: 600; color: var(--muted); text-align: center; }
.app__tabs .is-on { color: var(--brand); }
.hl__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hx-seg { display: inline-flex; background: var(--stub); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.hx-seg button { min-height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 10px; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--body); cursor: pointer; }
.hx-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,18,24,.14); }

/* 6. Pricing */
.hx-tiers { margin-top: 28px; align-self: start; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 30rem; background: var(--surface); }
.hx-tiers li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); transition: opacity var(--t) var(--ease-out); }
.hx-tiers li:first-child { border-top: 0; } .hx-tiers b { color: var(--ink); font-variant-numeric: tabular-nums; }
.js .hx-tiers.is-live li { opacity: .5; } .js .hx-tiers.is-live li.is-on { opacity: 1; font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.hx-calc { padding: 24px; } @media (min-width: 560px) { .hx-calc { padding: 36px; } }

/* 7. Form: the site's own .ask styles apply; only spacing is set here. */
.home .ask__q legend { font-family: var(--font-display); }

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
}

/* Receipts sheet: two columns on a wide screen so the stage is no taller than the other two panels. */
@media (min-width: 900px) {
  .rs { max-width: none; display: grid; align-content: center; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
  .rs__h, .rs__sub, .rs__txt { grid-column: 1 / -1; }
  .rs__col { display: flex; flex-direction: column; }
  .rs__field--note { flex: 1; }
  .rs__send { margin-top: auto; }
  .rs__hint { margin-bottom: 18px; }
}

/* Hero sizing: at 1440x900 the heading, the four rows and the Pause line all fit in the first screen. */
@media (min-width: 900px) {
  .home .hx-hero h1 { font-size: clamp(2.5rem, 2vw + 1.4rem, 3.25rem); max-width: 18em; }
  .hx-hero .lead { font-size: 1.0625rem; line-height: 1.5; }
  .hb { padding: 20px 32px 16px; }
  .hb__bar { margin: 12px 0 2px; }
  .hb__row { padding: 12px 0; }
  .hb__foot { margin-top: 2px; padding-top: 12px; }
  .hb__count b { font-size: 1.5rem; }
}
/* Each change on the board is visible: the row is tinted for a second and the count steps up. Opacity and transform only. */
.hb__row { position: relative; }
.hb__row::before { content: ""; position: absolute; inset: 0 -14px; border-radius: 12px; background: var(--brand-wash); opacity: 0; pointer-events: none; }
.hb__row[data-state="ready"]::before { background: var(--ok-wash); }
.hb__row[data-state="look"]::before { background: var(--warn-wash); }
.hb__row > * { position: relative; }
.hb__row.is-tint::before { animation: hxtint 1.4s ease-out; }
@keyframes hxtint { 0% { opacity: 0; } 12% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; } }
.hb__count b { display: inline-block; }
.hb__count b.is-bump { animation: hxbump .6s var(--ease-out); }
@keyframes hxbump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Damage panel: the office card beside the phone that sent the report */
.dm { display: grid; gap: 24px; flex: 1; }
.dm .pc { display: flex; flex-direction: column; justify-content: center; }
.pc__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.pc__house { font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.pc__top .pc__sub { margin-top: 2px; }
.js .hp:not(.is-still) .pc { transition: opacity 400ms var(--ease-out); }
.js .hp:not(.is-still) .pc.is-wait { opacity: .3; }
@media (min-width: 900px) { .dm { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: stretch; } .dm__phone { align-self: center; margin: 0; } }
.app--sheet { position: relative; min-height: 0; }
.app--sheet .app__body { display: grid; gap: 8px; align-content: start; padding: 14px 16px 12px; }
.app--sheet .app__lab { margin-top: 4px; }
.dm__ph { display: flex; align-items: center; gap: 12px; }
.dm__tile { width: 52px; height: 52px; border-radius: 10px; background: var(--stub); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.dm__tile svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.dm__ph b { font-size: 1rem; }
.dm__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm__chips span { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 600; color: var(--body); }
.dm__chips .is-on { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-ink); }
.dm__note { margin-top: 6px; min-height: 76px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 1rem; line-height: 1.45; }
.dm__note.is-typing .dm__rest { visibility: hidden; }
.dm__toast { position: absolute; left: 16px; right: 16px; bottom: 16px; min-height: 52px; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); pointer-events: none; }
.dm__toast.is-on { opacity: 1; transform: none; }
.dm__phone .app__btn { transition: transform var(--t) var(--ease-out); }
.dm__phone .app__btn.is-press { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .dm__toast { display: none; } }
html:not(.js) .dm__toast, .hp.is-still .dm__toast { display: none; }

/* Phones: horizontal snap row for the photos, and shorter app screens */
@media (max-width: 699px) {
  .hc__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .hc__card { flex: 0 0 78%; scroll-snap-align: start; }
  .hc__list:focus-visible { outline: 3px solid var(--brand-on-dark); outline-offset: -3px; }
  .hc__ph { aspect-ratio: 4 / 3; }
  .hc__note { margin-top: 20px; }
  .app { min-height: 0; }
  .app__photo { aspect-ratio: 16 / 9; }
  .app__body { padding: 12px; }
  .app__bar { padding: 12px 16px; }
  .app__title { margin-bottom: 8px; }
  .tcard { margin-bottom: 8px; padding: 10px 12px; }
  .hs__phone { max-width: 320px; }
  .jb__card { padding: 12px; } .jb__date { margin-bottom: 10px; }
  .app--jobs { min-height: 0; }
  .hb__row { padding: 12px 0; }
}

.hp + .hl { padding-top: 16px; }
@media (min-width: 900px) { .rs__tile { width: 84px; height: 108px; } .rs__photo { margin-top: 10px; } .rs__field--note { min-height: 110px; } }

/* Narrow screens: phones are cropped to the part that matters, and the shared panel height stays short. */
@media (max-width: 899px) {
  .hs__phone.is-crop { max-height: var(--crop); overflow: hidden; border-radius: 34px 34px 0 0; padding-bottom: 0; }
  .hs__phone.is-crop .app { border-radius: 26px 26px 0 0; }
  .js .hp:not(.is-still) .dm__phone { display: none; }
  .sp__rows li:nth-child(n+5) { display: none; }
  html:not(.js) .sp__rows li:nth-child(n+5), .hp.is-still .sp__rows li:nth-child(n+5) { display: grid; }
  .hc__ph { aspect-ratio: 3 / 2; }
  .hx-hero__row { margin-bottom: 20px; }
  .hx-hero .lead { font-size: 1rem; }
}
@media (max-width: 479px) { .hx-btns { flex-wrap: nowrap; gap: 10px; } .hx-btns .btn { flex: 1 1 0; padding-inline: 10px; min-width: 0; white-space: nowrap; font-size: .9375rem; } .hx-btns .btn .i { display: none; } }
@media (max-width: 899px) { .hs__step { padding-bottom: 24px; } .hs__shot { margin-top: 14px; } .hx-tiers { margin-top: 20px; } .hl__demo { gap: 14px; } .home .ticks { margin-top: 20px; } }
@media (max-width: 899px) { .hx-sec { padding: 48px 0; } .hx-hero { padding-bottom: 48px; } }
@media (max-width: 899px) { .rs__lab { margin-top: 12px; } .rs__field--note { min-height: 56px; } .rs__hint { display: none; } .rs__tile { width: 44px; height: 52px; } .rs__txt { margin-top: 8px; } .rs__send { margin-top: 14px; } .rs { padding: 16px; } .sp, .pc { padding: 16px; } }
@media (max-width: 899px) { .sp__tabs { display: flex; width: 100%; flex-wrap: nowrap; justify-content: space-between; } .sp__tabs span { padding: 8px 7px; font-size: .875rem; white-space: nowrap; } }

.dm__tile { overflow: hidden; } .dm__tile img { width: 100%; height: 100%; object-fit: cover; }
.pc__fig { margin: 0 0 16px; border-radius: 12px; overflow: hidden; max-height: 180px; } .pc__fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .hc__ph { aspect-ratio: 16 / 9; } .hx-head { margin-bottom: 20px; } .hs__t { font-size: 1.375rem; } .hs__step > p { margin-top: 8px; } }
@media (max-width: 699px) { .hb__row { padding: 9px 0; } .home .hx-hero h1 { font-size: 2.25rem; } .hx-hero__row { gap: 14px; margin: 12px 0 16px; } }

/* Round 3a */
.hx-price { display: grid; gap: 28px; }
.hx-price .hx-tiers { margin-top: 0; }
@media (min-width: 900px) { .hx-price { grid-template-columns: 6fr 6fr; column-gap: 64px; row-gap: 28px; align-items: start; } .hx-price__head { grid-column: 1; grid-row: 1; } .hx-price .hx-tiers { grid-column: 1; grid-row: 2; } .hx-price .hx-calc { grid-column: 2; grid-row: 2; align-self: start; } }
/* Damage card: content from the top, the four groups spread evenly over the card height */
.dm .pc { justify-content: space-between; gap: 20px; }
.pc__body .pc__h { margin-bottom: 12px; }
.pc__btns { margin-top: 0; }
.pc__times { margin-top: 0; }
@media (max-width: 899px) { .dm .pc { gap: 14px; } }
/* Closing line sits right under the cards */
.hc__note { margin-top: 16px; }
/* Phone crops fade out instead of ending in a hard edge */
@media (max-width: 899px) {
  .hs__phone.is-crop { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade, 32px)), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade, 32px)), transparent); }
  .app__dock--off { display: none; }
  .hc__note { margin-top: 12px; }
  .hc__list { padding-bottom: 0; }
}

/* Round 4: nothing inside a phone may pass the phone's inner edge */
.app__tabs span { flex: 0 1 auto; white-space: nowrap; text-align: center; }
.jb__job > span { min-width: 0; }
.jb__job .hst { white-space: normal; max-width: 100%; }
.jb__job .hst { border-radius: 14px; }

/* Towel bar photo: both wall mounts in frame, and a card the same height as the phone beside it (2026-11-30). */
@media (min-width: 900px) { .pc .pc__fig { max-height: none; height: 218px; margin-bottom: 14px; } .pc .pc__fig img { object-position: 50% 38%; } }
@media (min-width: 1100px) {
  .pc:has(.pc__fig) { display: grid; grid-template-columns: 390px minmax(0, 1fr); column-gap: 28px; align-content: center; }
  .pc:has(.pc__fig) > * { grid-column: 2; }
  .pc .pc__fig { grid-column: 1; grid-row: 1 / span 6; align-self: center; height: auto; margin: 0; }
  .pc .pc__fig img { height: auto; aspect-ratio: 4 / 3; display: block; }
}
