/* Approved app listing: centered identity, authentic gallery, signup open. */
.hb {
  --paper: #0e1424;
  --paper2: #0e1424;
  --card: #fff;
  --mut: #aeb6c6;
  --txt: #dce4f2;
  --ink: #f4f1e8;
  --line: #d8dfeb;
  --funnel-accent: #2563eb;
  --funnel-accent-ink: #fff;
  --funnel-muted: #586579;
  --funnel-text: #29364a;
  --funnel-surface: #fff;
  --funnel-line: #d8dfeb;
  --sky-ground: #0e1424;
  --sky-horizon: .86;
  color-scheme: dark;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #04050a 0%, #04050a 55%, #0e1424 100%);
  color: var(--txt);
}
.hb *, .hb *::before, .hb *::after { box-sizing: border-box; }
.hb>.skyback, .hb>.skyfront { width: 100%; height: 100%; pointer-events: none; }
.hb>.hb-width { position: relative; z-index: 3; }
.hb-width { width: min(100% - 64px, 1200px); margin-inline: auto; }
.hb :is(a,button,input):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hb-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: #0e1118; color: #fff; }
.hb-skip:focus { top: 10px; }
.page>.hb { flex-grow: 1; }
.hb-main { padding-block: 24px; scroll-margin-top: 80px; }
.hb-heading { text-align: center; padding: 6px 0 24px; }
.hb-heading>img { margin: 0 auto 8px; }
.hb h1, .hb h2 { font-family: "Hanken Grotesk", system-ui, sans-serif; }
.hb h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -.025em; font-weight: 900; }
.hb-lead { font-size: 17px; line-height: 1.4; margin-top: 8px; }
.hb-content { display: grid; grid-template-columns: minmax(0, 1fr) 352px; grid-template-areas: "gallery signup" "thumbnails thumbnails"; gap: 12px 32px; align-items: start; }
.hb-gallery { grid-area: gallery; min-width: 0; }
.hb-stage { display: block; position: relative; background: #0e1118; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; max-height: min(48vh, 440px); cursor: zoom-in; }
.hb-stage img { width: 100%; height: 100%; object-fit: contain; }
.hb-image-title { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 6px; background: #0e1118; color: #fff; font-size: 20px; font-weight: 900; line-height: 1.3; pointer-events: none; }
.hb-enlarge { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: #0e1118; color: #fff; font-size: 22px; pointer-events: none; }
.hb-thumbnails { grid-area: thumbnails; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.hb-thumbnail { display: block; padding: 3px; border: 2px solid transparent; border-radius: 8px; background: #141b2d; color: var(--mut); text-align: center; text-decoration: none; }
.hb-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #0e1118; border-radius: 4px; }
.hb-thumbnail span { display: block; padding-top: 4px; font-size: 13px; line-height: 1.3; font-weight: 700; }
.hb-thumbnail[aria-current="true"] { border-color: #9fc0ff; color: #9fc0ff; }
.hb-thumbnail:hover { background: #202b43; color: var(--ink); }
.hb-signup { grid-area: signup; min-width: 0; }
.hb-signup .getwrap { text-align: center; }
.hb-signup .getcard { --paper: #f6f8fc; --ink: #0e1118; --txt: #29364a; --mut: #586579; color-scheme: light; color: var(--txt); padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: none; text-align: left; }
.hb-signup .getheadline { font-size: 26px; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 20px; text-align: center; }
.hb-signup .signup { grid-template-columns: 1fr 1fr; }
.hb-signup .signup-fields { flex-direction: column; }
.hb-signup .signup-btn { min-height: 46px; }
.hb-signup .signup-input { background: #fff; color: var(--ink); border: 1px solid #a8b4c5; border-radius: 8px; padding: 12px; }
.hb-signup .signup-input::placeholder { color: var(--mut); opacity: 1; }
.hb-signup .signup-btn--google, .hb-signup .signup-btn--facebook { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.hb-signup .signup-btn--google:hover:not(:disabled), .hb-signup .signup-btn--facebook:hover:not(:disabled) { background: var(--paper); }
.hb-signup .signup-btn--email { border-radius: 8px; }
.hb-signup .signup-btn--email:hover:not(:disabled) { background: #1d4ed8; filter: none; }
.hb-signup .signup-or::before, .hb-signup .signup-or::after { background: var(--line); height: 1px; }
.hb-signup .signup-error { color: #b42318; }
.hb-signup .signup-input--invalid { border-color: #b42318; }
.hb-signup .signup-code-lead { overflow-wrap: anywhere; }
.hb-signup .signup-link { color: #1d4ed8; padding-block: 8px; }
.hb-signup .micro { margin-top: 12px; color: var(--mut); font-size: 13px; }
.hb-signup .micro b { color: var(--ink); }
.hb-trust { margin-top: 14px; color: var(--mut); text-align: center; font-size: 12px; line-height: 1.6; }
.hb-phone { display: none; }
.hb-note { margin-top: 12px; font-size: 13px; }
.hb-note a { color: #9fc0ff; }
.hb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:1000px) {
  .hb-width { width: calc(100% - 40px); }
  .hb-content { grid-template-columns: minmax(0, 1fr) 320px; gap: 12px 24px; }
  .hb-signup .getcard { padding: 20px; }
  .hb-thumbnails { gap: 4px; }
  .hb-thumbnail span { font-size: 12px; }
}
@media(max-width:760px) {
  .hb-width { width: calc(100% - 32px); }
  .hb-heading { padding: 12px 0 24px; }
  .hb h1 { font-size: 32px; }
  .hb-lead { max-width: 30ch; margin-inline: auto; font-size: 16px; }
  .hb-content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "signup" "gallery" "thumbnails"; gap: 20px; }
  .hb-signup { width: 100%; max-width: 420px; margin-inline: auto; }
  .hb-stage { max-height: none; }
  .hb-image-title { font-size: 17px; bottom: 8px; left: 8px; }
  .hb-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hb-thumbnail span { font-size: 13px; }
  .hb-phone { display: block; color: var(--mut); font-size: 12px; text-align: center; margin-top: 10px; }
}
