/* How It Works — a foldable phone tells the repair story as the visitor scrolls.
   Markup: index.html  #how-it-works.hd   Logic: js/hiw-duo.js
   Everything is prefixed hd- so generic site rules (.review, .step, .map …) can't leak in or out. */

.hd {
    --hd-bg: #0F0C1F;
    --hd-violet: #7C3BFF;
    --hd-violet-l: #A78BFA;
    --hd-lilac: #C4B5FD;
    --hd-amber: #FBBF24;
    --hd-ok: #34D399;
    --hd-ink: #F4F2FF;
    --hd-mut: #A9A3C4;
    --hd-ui: -apple-system, "SF Pro Text", BlinkMacSystemFont, "Instrument Sans", system-ui, sans-serif;
    position: relative;
    height: 500vh;
}
.hd {
    background: radial-gradient(60% 50% at 50% 42%, rgba(124, 59, 255, .22), transparent 70%),
                radial-gradient(40% 30% at 80% 80%, rgba(251, 191, 36, .05), transparent 70%),
                var(--hd-bg);
    color: var(--hd-ink);
}
.hd-head { padding: 80px 0 0; }
.hd-head .section-header { margin-bottom: 0; }
.hd-head .section-title { color: var(--hd-ink); }
.hd-head .section-subtitle { color: var(--hd-mut); }

.hd-pin {
    position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    padding: 72px 20px 24px;
}
.hd-stage { position: relative; flex: 1; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.hd-shadow {
    position: absolute; left: 50%; top: 50%; width: 62%; height: 16%; transform: translate(-50%, 120%);
    background: radial-gradient(ellipse, rgba(0, 0, 0, .6), transparent 70%); filter: blur(10px); pointer-events: none;
}

/* ── device: two 500×708 halves in 3D; JS scales it to fit and animates the hinge ── */
.hd-box { position: relative; perspective: 3400px; perspective-origin: 50% 40%; }
.hd-dev { position: absolute; left: 0; top: 0; width: 1000px; height: 708px; transform-origin: 500px 354px; transform-style: preserve-3d; }
.hd-half { position: absolute; top: 0; width: 500px; height: 708px; transform-style: preserve-3d; }
.hd-l { left: 0; transform-origin: right center; }
.hd-r { left: 500px; }

/* photoreal faces (renders include the titanium rim and bezel; --hr = hinge-side corner radius, animated) */
.hd-face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: 0 0 / 100% 100% no-repeat; }
.hd-in { left: 0; top: -10.9px; width: 500px; height: 729.8px; transform: translateZ(.5px); }
.hd-l .hd-in { background-image: url(../images/hiw/duo-l.webp); border-radius: 52px var(--hr, 0px) var(--hr, 0px) 52px / 62px var(--hr, 0px) var(--hr, 0px) 62px; }
.hd-r .hd-in { background-image: url(../images/hiw/duo-r.webp); border-radius: var(--hr, 0px) 52px 52px var(--hr, 0px) / var(--hr, 0px) 62px 62px var(--hr, 0px); }
.hd-back { left: -5.6px; top: -10.8px; width: 520.3px; height: 729.6px; background-image: url(../images/hiw/duo-closed.webp); }

.hd-bezel { position: absolute; top: 30.1px; bottom: 30.1px; }
.hd-l .hd-in .hd-bezel { left: 19.2px; right: 0; }
.hd-r .hd-in .hd-bezel { left: 0; right: 19.2px; }
.hd-back .hd-bezel { left: 33.9px; right: 24.8px; top: 30px; bottom: 30px; }
.hd-glass { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; font-family: var(--hd-ui); }
.hd-glass::after {
    content: ''; position: absolute; inset: 0; z-index: 30; pointer-events: none;
    background: linear-gradient(118deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .04) 100%);
}
.hd-l .hd-in .hd-glass { border-radius: 34px 0 0 34px; }
.hd-r .hd-in .hd-glass { border-radius: 0 34px 34px 0; }
.hd-back .hd-glass { border-radius: 34px; }
.hd-scr { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }   /* screen UI; JS turns/zooms it on phones */
.hd-punch {
    position: absolute; top: 21px; right: 25px; z-index: 40; width: 21px; height: 21px; border-radius: 50%;
    background: radial-gradient(circle at 40% 38%, #1b2340 0 18%, #050508 40%); box-shadow: 0 0 0 2px #0b0b10;
}
.hd-island { position: absolute; right: 10px; top: 72px; z-index: 21; width: 14px; height: 64px; border-radius: 9px; background: #000; }

/* body thickness: stacked slices + photographed titanium rails (built in JS) */
.hd-ly { position: absolute; left: 0; top: 0; width: 500px; height: 708px; pointer-events: none; }
.hd-l .hd-ly { border-radius: 52px var(--hr, 0px) var(--hr, 0px) 52px; }
.hd-r .hd-ly { border-radius: var(--hr, 0px) 52px 52px var(--hr, 0px); }
.hd-rail { position: absolute; background: 0 0 / 100% 100% no-repeat; pointer-events: none; }
.hd-rail--v { background-image: url(../images/hiw/rail-v.webp); }
.hd-rail--h { background-image: url(../images/hiw/rail-h.webp); }

.hd-sb { position: absolute; top: 14px; left: 18px; right: 18px; z-index: 20; display: flex; justify-content: flex-end; align-items: center; gap: 7px; font: 600 15px/1 var(--hd-ui); color: #fff; }
.hd-sb svg { height: 12px; }

/* ── outer display: lock screen with the customer's message ── */
.hd-lock {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 74px 22px 26px;
    background: radial-gradient(120% 70% at 30% 10%, #5b3fb8 0%, #2a1d63 38%, #0e0a22 75%);
}
.hd-lock .time { font: 700 92px/1 var(--hd-ui); letter-spacing: -.03em; color: rgba(255, 255, 255, .95); }
.hd-lock .date { font: 600 19px var(--hd-ui); color: rgba(255, 255, 255, .8); margin: 10px 0 40px; }
.hd-notif {
    width: 100%; padding: 16px 18px; border-radius: 24px; font: 400 16px/1.35 var(--hd-ui); color: #fff;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(-16px) scale(.96); transition: all .5s cubic-bezier(.2, 1.3, .4, 1);
}
.hd-notif.is-on { opacity: 1; transform: none; }
.hd-notif .top { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; font: 600 14px var(--hd-ui); }
.hd-notif .top small { margin-left: auto; font-weight: 400; opacity: .65; }
.hd-notif .app { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(180deg, #5df16f, #1fbf3a); }
.hd-notif .thumb { float: right; width: 58px; height: 58px; margin: 0 0 4px 12px; border-radius: 10px; object-fit: cover; }
.hd-hint { margin-top: auto; font: 500 15px var(--hd-ui); color: rgba(255, 255, 255, .7); opacity: 0; transition: opacity .4s; }
.hd-hint.is-on { opacity: 1; animation: hd-hint 1.4s ease-in-out infinite; }
@keyframes hd-hint { 50% { opacity: .35; } }

/* ── left inner screen: iMessage thread ── */
.hd-chat-h {
    position: absolute; left: 0; right: 0; top: 0; z-index: 10; height: 108px; padding-bottom: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px;
    background: linear-gradient(#0d0b17 60%, rgba(13, 11, 23, .85)); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.hd-chat-h b { font: 600 15px var(--hd-ui); }
.hd-chat-h small { font: 500 12px var(--hd-ui); color: #8e8a9e; }
.hd-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 22px var(--hd-ui); color: #fff; background: linear-gradient(180deg, #a3a8b8, #6b7083); }
.hd-chat-b { position: absolute; left: 0; right: 0; top: 108px; bottom: 62px; overflow: hidden; background: #0B0A14; }
.hd-chat-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; }
.hd-msg { display: none; max-width: 78%; padding: 10px 14px; border-radius: 20px; font: 400 16.5px/1.32 var(--hd-ui); }
.hd-msg.is-on { display: block; animation: hd-pop .42s cubic-bezier(.2, 1.35, .4, 1) both; }
@keyframes hd-pop { 0% { opacity: 0; transform: translateY(12px) scale(.9); } }
.hd-msg--me { align-self: flex-end; background: linear-gradient(180deg, #8B5CF6, #6D28D9); color: #fff; border-bottom-right-radius: 6px; }
.hd-msg--them { align-self: flex-start; background: #26252e; color: #f2f2f7; border-bottom-left-radius: 6px; }
.hd-msg--img { padding: 0; overflow: hidden; max-width: 44%; border-radius: 18px; }
.hd-msg--img img { width: 100%; }
.hd-msg .e { margin-right: .12em; }
.hd-msg .addr { color: #6ea8ff; text-decoration: underline; text-underline-offset: 3px; border-radius: 5px; transition: background-color .25s, box-shadow .25s; }
.hd-msg.is-tap .addr { background-color: rgba(110, 168, 255, .28); box-shadow: 0 0 0 3px rgba(110, 168, 255, .28); }   /* press on the link only, the bubble never re-animates */
.hd-typing { display: none; align-self: flex-start; gap: 5px; padding: 13px 15px; border-radius: 20px 20px 20px 6px; background: #26252e; }
.hd-typing.is-on { display: flex; }
.hd-typing i { width: 8px; height: 8px; border-radius: 50%; background: #8e8a9e; animation: hd-dot 1s infinite; }
.hd-typing i:nth-child(2) { animation-delay: .15s; }
.hd-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hd-dot { 30% { transform: translateY(-4px); background: #c7c3d6; } }
.hd-chat-f { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; padding: 0 14px; display: flex; align-items: center; gap: 10px; background: #0d0b17; border-top: 1px solid rgba(255, 255, 255, .07); }
.hd-chat-f .field { flex: 1; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; font: 400 15px var(--hd-ui); color: #6f6b80; }
.hd-chat-f .plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #26252e; color: #aaa; font: 300 22px var(--hd-ui); }

/* ── right inner screen: one pane per step ── */
.hd-pane {
    position: absolute; inset: 0; padding: 54px 34px 30px 30px; display: flex; flex-direction: column; gap: 14px;
    background: #0B0A14; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s;
}
.hd-pane.is-on { opacity: 1; transform: none; }
.hd-pane .t { font: 700 24px/1.15 var(--hd-ui); letter-spacing: -.01em; }
.hd-pane .sub { margin-top: 3px; font: 500 14px var(--hd-ui); color: #8e8a9e; }

/* 1 · today's schedule */
.hd-days { display: flex; gap: 6px; margin-top: 2px; }
.hd-days span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 12px; font: 500 11.5px var(--hd-ui); color: #8e8a9e; }
.hd-days b { font: 600 16px var(--hd-ui); color: #e8e6f0; }
.hd-days .is-on { background: var(--hd-violet); }
.hd-days .is-on, .hd-days .is-on b { color: #fff; }
.hd-cal { position: relative; flex: 1; margin: 10px 0 4px; }
.hd-hr { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.hd-hr span { position: absolute; left: 0; top: -8px; width: 44px; font: 500 11px var(--hd-ui); color: #6f6b80; }
.hd-ev { position: absolute; left: 52px; right: 2px; padding: 5px 10px; border-radius: 9px; border-left: 3px solid; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hd-ev b, .hd-ev small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-ev b { font: 600 13.5px/1.2 var(--hd-ui); }
.hd-ev small { font: 500 11.5px/1.3 var(--hd-ui); color: #a9a5ba; }
.hd-ev--done { background: rgba(52, 211, 153, .13); border-color: var(--hd-ok); }
.hd-ev--done b { color: #b9e9d4; }
.hd-ev--next { background: rgba(255, 255, 255, .06); border-color: #6f6b80; }
.hd-ev--new {
    background: rgba(124, 59, 255, .3); border-color: var(--hd-violet-l);
    box-shadow: 0 0 0 1px rgba(167, 139, 250, .45), 0 8px 26px rgba(124, 59, 255, .35);
    opacity: 0; transform: scale(.94); transition: all .45s cubic-bezier(.2, 1.3, .4, 1);
}
.hd-ev--new.is-on { opacity: 1; transform: none; }
.hd-ev--new small { color: #d8ccff; }
.hd-now { position: absolute; left: 46px; right: 0; z-index: 2; height: 2px; background: #FF453A; }
.hd-now i { position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #FF453A; }

/* 2 · navigation (Google Maps night style) */
.hd-pane--nav { padding: 0; gap: 0; background: #1f2835; }
.hd-map { position: absolute; inset: 0; background: #242f3e; }
.hd-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hd-map .road { fill: none; stroke: #38414e; stroke-width: 6; stroke-linecap: round; }
.hd-map .road--hw { stroke: #746855; stroke-width: 12; }
.hd-map .area { font: 600 12px var(--hd-ui); fill: #d59563; letter-spacing: .04em; }
.hd-map .route { fill: none; stroke: #4c8df6; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.hd-nav-top {
    position: absolute; left: 14px; right: 36px; top: 50px; z-index: 3; padding: 14px 18px; border-radius: 16px;
    display: flex; align-items: center; gap: 14px; background: #0f7a43; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.hd-nav-top b { display: block; font: 700 21px/1.15 var(--hd-ui); }
.hd-nav-top small { font: 500 13.5px var(--hd-ui); opacity: .85; }
.hd-nav-bot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 20px 20px; display: flex; align-items: center; gap: 12px; background: #1f2835; border-top: 1px solid rgba(255, 255, 255, .06); }
.hd-nav-bot .eta { font: 700 24px/1 var(--hd-ui); color: #34A853; }
.hd-nav-bot .eta small { margin-left: 6px; font: 500 15px var(--hd-ui); color: #c7ccd6; }
.hd-nav-bot.is-done .eta { color: #fff; }
.hd-nav-bot .arr { display: block; margin-top: 5px; font: 500 13.5px var(--hd-ui); color: #9aa3b2; }
.hd-nav-bot .exit { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: #d93025; color: #fff; font: 600 15px var(--hd-ui); }

/* 3 · diagnosis + quote */
.hd-photo { position: relative; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; border: 2px solid rgba(251, 146, 60, .6); }
.hd-photo img { width: 100%; height: 100%; object-fit: cover; }
.hd-photo span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; font: 700 13px var(--hd-ui); background: rgba(124, 45, 18, .92); color: #FED7AA; }
.hd-quote { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #1b1a24; border: 1.5px solid rgba(251, 191, 36, .45); }
.hd-quote .l { font: 700 11.5px var(--hd-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--hd-amber); }
.hd-quote .n { margin: 3px 0 2px; font: 600 17px var(--hd-ui); }
.hd-quote .s { font: 500 13px var(--hd-ui); color: #8e8a9e; }
.hd-quote .btn { margin-left: auto; flex-shrink: 0; padding: 10px 16px; border-radius: 12px; background: var(--hd-amber); color: #14161C; font: 700 15px var(--hd-ui); transition: all .3s; }
.hd-quote .btn.is-on { background: var(--hd-ok); color: #052e22; }

/* 4 · fixed + review */
.hd-pane--done { justify-content: center; gap: 22px; }
.hd-done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 6px; text-align: center; }
.hd-check { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--hd-ok); box-shadow: 0 0 0 12px rgba(52, 211, 153, .16), 0 0 44px rgba(52, 211, 153, .55); }
.hd-review { padding: 18px; border-radius: 18px; background: #fff; color: #202124; opacity: 0; transform: translateY(16px); transition: all .5s; }
.hd-review.is-on { opacity: 1; transform: none; }
.hd-review .who { display: flex; align-items: center; gap: 10px; }
.hd-review .who img { width: 36px; height: 36px; border-radius: 50%; }
.hd-review b { font: 600 14.5px var(--hd-ui); }
.hd-review small { display: block; font: 400 12.5px var(--hd-ui); color: #5f6368; }
.hd-review .g { margin-left: auto; width: 20px; height: 20px; }
.hd-review .stars { margin: 8px 0 4px; color: #FBBC04; font-size: 15px; letter-spacing: 2px; }
.hd-review p { font: 400 14px/1.45 var(--hd-ui); color: #3c4043; }

/* ── step captions under the device ── */
.hd-steps { position: relative; flex-shrink: 0; width: min(1120px, 100%); height: 112px; padding-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hd-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.hd-bar { position: absolute; left: 0; top: 0; width: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hd-violet), var(--hd-lilac)); box-shadow: 0 0 12px rgba(167, 139, 250, .7); }
.hd-step { opacity: .42; transition: opacity .4s; }
.hd-step.is-on { opacity: 1; }
.hd-step .n { font: 700 13px 'Unbounded', sans-serif; letter-spacing: .02em; color: var(--hd-violet-l); }
.hd-step h3 { margin: 5px 0 4px; font-size: 16px; line-height: 1.25; letter-spacing: -.02em; color: var(--hd-ink); }
.hd-step p { max-height: 0; overflow: hidden; font-size: 13.5px; line-height: 1.45; color: var(--hd-mut); transition: max-height .5s; }
.hd-step.is-on p { max-height: 80px; }

@media (prefers-reduced-motion: reduce) {
    .hd-msg.is-on, .hd-hint.is-on, .hd-typing i { animation: none; }
}

/* ── phones: the device stands folded, turns sideways and opens top-to-bottom.
      Screen UI is laid out at 1/1.6 size and zoomed (see UI_ZOOM in hiw-duo.js), so everything here is compact. ── */
@media (max-width: 760px) {
    .hd-head { padding-top: 64px; }
    .hd-pin { padding: 64px 14px 96px; }   /* bottom: room for the site's fixed mobile call bar */
    .hd-steps { height: 118px; grid-template-columns: 1fr; gap: 0; }
    .hd-step { display: none; text-align: center; }
    .hd-step.is-on { display: block; }
    .hd-step p { max-height: none; }
}
.hd.is-phone .hd-island, .hd.is-phone .hd-sb, .hd.is-phone .hd-days { display: none; }
.hd.is-phone .hd-lock { padding: 40px 14px 14px; }
.hd.is-phone .hd-lock .time { font-size: 58px; }
.hd.is-phone .hd-lock .date { margin: 6px 0 18px; font-size: 12.5px; }
.hd.is-phone .hd-notif { padding: 9px 12px; border-radius: 15px; font-size: 12px; }
.hd.is-phone .hd-notif .top { gap: 7px; margin-bottom: 3px; font-size: 11.5px; }
.hd.is-phone .hd-notif .app { width: 20px; height: 20px; border-radius: 5px; }
.hd.is-phone .hd-notif .app svg { width: 13px; height: 13px; }
.hd.is-phone .hd-notif .thumb { width: 40px; height: 40px; border-radius: 8px; }
.hd.is-phone .hd-hint { font-size: 10.5px; }

.hd.is-phone .hd-chat-h { height: 46px; padding: 0; flex-direction: row; justify-content: center; align-items: center; gap: 8px; }
.hd.is-phone .hd-chat-h small { display: none; }
.hd.is-phone .hd-chat-h b { font-size: 13px; }
.hd.is-phone .hd-av { width: 26px; height: 26px; font-size: 13px; }
.hd.is-phone .hd-chat-b { top: 46px; bottom: 40px; }
.hd.is-phone .hd-chat-in { padding: 6px 10px; gap: 5px; }
.hd.is-phone .hd-msg { max-width: 80%; padding: 6px 10px; border-radius: 14px; font-size: 13px; line-height: 1.3; }
.hd.is-phone .hd-msg--img { max-width: 26%; border-radius: 12px; }
.hd.is-phone .hd-typing { padding: 8px 10px; }
.hd.is-phone .hd-typing i { width: 6px; height: 6px; }
.hd.is-phone .hd-chat-f { height: 40px; padding: 0 10px; gap: 8px; }
.hd.is-phone .hd-chat-f .field { height: 27px; padding: 0 10px; font-size: 12px; }
.hd.is-phone .hd-chat-f .plus { width: 24px; height: 24px; font-size: 17px; }

.hd.is-phone .hd-pane { padding: 14px 14px 10px; gap: 7px; }
.hd.is-phone .hd-pane .t { font-size: 16px; }
.hd.is-phone .hd-pane .sub { margin-top: 1px; font-size: 10.5px; }
.hd.is-phone .hd-cal { margin: 4px 0 0; }
.hd.is-phone .hd-hr span { top: -6px; width: 34px; font-size: 9px; }
.hd.is-phone .hd-ev { left: 38px; padding: 1px 8px; border-radius: 7px; border-left-width: 2px; }
.hd.is-phone .hd-ev b { font-size: 11px; }
.hd.is-phone .hd-ev small { font-size: 9.5px; }
.hd.is-phone .hd-now { left: 33px; }
.hd.is-phone .hd-now i { left: -4px; top: -3px; width: 8px; height: 8px; }
.hd.is-phone .hd-pane--nav { padding: 0; }
.hd.is-phone .hd-nav-top { top: 10px; left: 10px; right: 10px; padding: 7px 10px; gap: 8px; border-radius: 11px; }
.hd.is-phone .hd-nav-top svg { width: 20px; height: 20px; }
.hd.is-phone .hd-nav-top b { font-size: 13.5px; }
.hd.is-phone .hd-nav-top small { font-size: 10px; }
.hd.is-phone .hd-nav-bot { padding: 7px 12px 9px; gap: 8px; }
.hd.is-phone .hd-nav-bot .eta { font-size: 16px; }
.hd.is-phone .hd-nav-bot .eta small { font-size: 11px; }
.hd.is-phone .hd-nav-bot .arr { margin-top: 2px; font-size: 10px; }
.hd.is-phone .hd-nav-bot .exit { padding: 5px 12px; font-size: 11.5px; }
/* diagnosis: wide photo on top, title + small button under it */
.hd.is-phone .hd-pane--diag > .head { display: none; }
.hd.is-phone .hd-photo { border-radius: 12px; }
.hd.is-phone .hd-photo span { left: 7px; bottom: 7px; padding: 4px 8px; font-size: 9.5px; }
.hd.is-phone .hd-quote { padding: 8px 12px; gap: 10px; border-radius: 12px; }
.hd.is-phone .hd-quote .l { font-size: 8.5px; }
.hd.is-phone .hd-quote .n { margin: 1px 0; font-size: 13px; }
.hd.is-phone .hd-quote .s { font-size: 9.5px; }
.hd.is-phone .hd-quote .btn { padding: 5px 10px; border-radius: 8px; font-size: 10.5px; }
/* fixed: check + title in a row, review under it */
.hd.is-phone .hd-pane--done { gap: 10px; }
.hd.is-phone .hd-done { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 0; justify-items: start; align-items: center; margin-left: 6px; padding: 0; text-align: left; }
.hd.is-phone .hd-check { grid-row: 1 / 3; width: 42px; height: 42px; box-shadow: 0 0 0 6px rgba(52, 211, 153, .16), 0 0 22px rgba(52, 211, 153, .5); }
.hd.is-phone .hd-check svg { width: 22px; height: 22px; }
.hd.is-phone .hd-done .t { align-self: end; font-size: 15px; }
.hd.is-phone .hd-done .sub { align-self: start; font-size: 10px; }
.hd.is-phone .hd-review { padding: 10px 12px; border-radius: 12px; }
.hd.is-phone .hd-review .who img { width: 24px; height: 24px; }
.hd.is-phone .hd-review b { font-size: 11.5px; }
.hd.is-phone .hd-review small { font-size: 9.5px; }
.hd.is-phone .hd-review .g { width: 14px; height: 14px; }
.hd.is-phone .hd-review .stars { margin: 4px 0 2px; font-size: 11px; }
.hd.is-phone .hd-review p { font-size: 10.5px; line-height: 1.35; }
