/* Heartnest – builder A additions to the design CSS (public pages, sign in, join): colours through tokens only. */

/* shield + 404 heart gradients */
.a-st1 { stop-color: var(--hn-pink); }
.a-st2 { stop-color: var(--hn-btn); }
.a-st3 { stop-color: var(--hn-deep); }
.a-sh-fill { fill: url(#a-shg); }
.a-sh-heart { fill: var(--hn-on-btn); }
.a-sh-tick { stroke: var(--hn-btn); }

/* home: install phone icons, section buttons, real QR */
.a-hs-1 { background: var(--hn-sky); } .a-hs-2 { background: var(--hn-green); } .a-hs-3 { background: var(--hn-gold); }
.a-hs-4 { background: var(--hn-coral); } .a-hs-5 { background: var(--hn-link); } .a-hs-6 { background: var(--hn-deep); } .a-hs-7 { background: var(--hn-ink-3); }
.a-sec-btn { margin-top: 26px; }
.car-nav { align-items: center; }
.a-car-more { margin-right: 6px; }
.qr .a-qr { width: 100%; height: 100%; display: block; }
.qr-logo { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.no-renew a { color: var(--hn-link); font-weight: 700; margin-left: 4px; white-space: nowrap; }
.live-head p { min-width: 0; }

/* links inside texts */
.a-link { color: var(--hn-link); font-weight: 700; }

/* sign in: messages inside the box, one-click demo logins */
.a-flashes { display: grid; gap: 10px; margin: 4px 0 2px; }
.a-demo { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--hn-line-2); }
.a-demo-t { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hn-ink-3); margin-bottom: 10px; }
.a-demo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.a-demo-card { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--hn-line); background: var(--hn-surface); color: var(--hn-ink); min-width: 0; transition: border-color .2s, transform .2s; }
.a-demo-card:hover { border-color: var(--hn-btn); transform: translateY(-1px); }
.a-demo-card .ico { width: 20px; height: 20px; color: var(--hn-btn); flex: none; }
.a-demo-card span { min-width: 0; }
.a-demo-card b { display: block; font-size: 14px; }
.a-demo-card small { display: block; font-size: 12px; color: var(--hn-ink-3); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .a-demo-row { grid-template-columns: 1fr; } }

/* join: place list, use my location, welcome steps, texts beside the preview */
.a-place { position: relative; }
.a-loc { font-weight: 700; font-size: 13.5px; color: var(--hn-link); min-height: 36px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.a-places { position: absolute; z-index: 20; left: 0; right: 0; top: 86px; margin: 0; padding: 6px; list-style: none; background: var(--hn-surface); border: 1px solid var(--hn-line); border-radius: 14px; box-shadow: var(--hn-shadow); max-height: 260px; overflow-y: auto; }
.a-places li { padding: 10px 12px; min-height: 40px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--hn-ink); }
.a-places li:hover, .a-places li.on { background: var(--hn-tint); color: var(--hn-tint-ink); }
.wz-card .err:empty { display: none; }
.wz-card .err { display: block; color: var(--hn-danger); font-size: 13px; font-weight: 700; }
.ph-slot[draggable="true"] { cursor: grab; }
.wz-steps .a-wz-s { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 58px; font-size: 12px; font-weight: 700; color: var(--hn-ink-3); border-radius: 12px; padding: 4px 2px; }
.wz-steps .a-wz-s.now { color: var(--hn-ink); }
@media (max-width: 760px) { .wz-steps .a-wz-s > em { display: none; } .wz-steps .a-wz-s { min-height: 40px; } }
.wz-steps button:disabled { cursor: default; }
.a-join-why { margin-top: 16px; padding: 18px 20px; border-radius: var(--hn-r-lg); background: var(--hn-surface); border: 1px solid var(--hn-line); box-shadow: var(--hn-shadow-sm); }
.a-join-why h3 { font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.a-join-why p { color: var(--hn-ink-2); font-size: 14px; margin: 0 0 10px; }
.a-join-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a-join-why li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--hn-ink-2); }
.a-join-why li .ico { width: 18px; height: 18px; color: var(--hn-green-ink); flex: none; margin-top: 1px; }

/* premium: "How paying works" with the gateways that really take money */
@media (min-width: 1101px) { .how-pay.a-n3 { grid-template-columns: repeat(3, 1fr); } .how-pay.a-n2 { grid-template-columns: repeat(2, 1fr); } }
.join-page .auth-main { justify-content: flex-start; padding-top: 12px; }
.jp .a-join-why { margin-top: 0; }
.auth-main, .auth-box, .done-list li { min-width: 0; }
.done-list li { overflow-wrap: anywhere; }

/* hero quick search: between 761 and 1320 px the hero column is narrow – slimmer field padding keeps "25 – 35" whole */
@media (min-width: 761px) and (max-width: 1320px) { .search-pill .sp-field { padding-left: 12px; padding-right: 12px; } }
@media (min-width: 761px) and (max-width: 1230px) {
  .search-pill { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 28px; row-gap: 8px; }
  .search-pill .sp-go { grid-column: 1 / -1; }
}
