/* hp-brand: hpaid's look, loaded last on every page.
   Type: Inter for headings, names and money (instead of Figtree); Doto, the dot-matrix face, for ciphertext and the big
   stats; DM Mono for small labels. Orange is a flat accent: no glows, no shine. The dot fields are canvases drawn by
   window.EPaidDotField (app.js). */

:root { --hp-dot:'Doto', 'DM Mono', ui-monospace, monospace; --hp-cipher:#52ebc5; }

/* ─── Type ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
h1, h2, .homehero h1, .topline h1, .sectiontitle h2, .ts-head h2, .ex-hero h1, .claim-head h1, .cl-card h2, .launch-head h2, .launch-intro h1, .docs-hero h1, .docs-content h2, .pf-name, .tk-lower .sectiontitle h2, .tk-details h2, .payment-section-title h2, .paid-panel-head h2, .claim-banner h2 {
  font-family:Inter, system-ui, sans-serif !important;
  font-weight:700 !important;
  letter-spacing:-.035em !important;
}
.homehero h1 { font-weight:700 !important; letter-spacing:-.05em !important; }
.money-figure, .receipt-main > b, .preview-payment > div:first-child > b, .coin-stats b, .cardstats span, .row-figures b,
.tk-figure b, .tk-pending-value, .payment-summary strong, .payment-summary b, .metric b, .mini-value, .rd-amount, .profilemoney,
.listrow h3, .tsp-stats b, .pf-stats b, .most-pay > b, .trend-sent b, .an-total, .an-hero-stats b, .an-summary b, .lr-amount, .tk-next-top b, .cl-bal b {
  font-family:Inter, system-ui, sans-serif !important;
  font-weight:700 !important;
  letter-spacing:-.02em !important;
}
.receipt-main strong, .coin-title b, .tk-name b, .trend-name b, .tsp-name b, .token-card h3, .pf-row-id b, .paid-channel > div:nth-child(2) > b,
.coin-owner, .token-owner span, .rd-result b, .explain-head b, .profile strong, .cl-channel b, .pf-name, .channel .name, .ts-head h2, .notif p b {
  font-family:Inter, system-ui, sans-serif !important;
  font-weight:700 !important;
}
.receipt-status, .tab, .mode-tab, .chip, .primarybtn, .launch-submit, .ghostbtn, .handle-btn { font-family:Inter, system-ui, sans-serif; font-weight:700 !important; }
.logo > span, .footlogo > span:last-child, .brandaccount b, .br-side-word { font-family:Inter, system-ui, sans-serif; font-weight:800; letter-spacing:-.045em; }

/* The big stats in dot matrix. */
.hp-home .mini-value, .payment-summary strong, .payment-summary b {
  font-family:var(--hp-dot) !important;
  font-weight:800 !important;
  letter-spacing:.01em !important;
}

/* ─── Ciphertext ────────────────────────────────────────────────────────────────────────────────────────────────── */
.hp-cipher { display:inline-block; font-family:var(--hp-dot); font-weight:900; font-size:18px; line-height:1; letter-spacing:.05em; color:var(--hp-cipher); white-space:nowrap; font-variant-numeric:tabular-nums; }
.receipt-main .hp-cipher { display:inline-block !important; color:var(--hp-cipher) !important; font-size:25px !important; line-height:1 !important; }
.preview-payment .hp-cipher { font-size:17px; }
.hp-skel .hp-cipher { opacity:.5; }

/* ─── Examples ──────────────────────────────────────────────────────────────────────────────────────────────────── */
.hp-ex-tag { display:inline-flex; align-items:center; height:18px; margin-left:8px; padding:0 7px; border-radius:5px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04); color:#a3a3a3; font:500 10px/1 'DM Mono', ui-monospace, monospace; letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; flex:none; }
.receipt-main .hp-ex-tag, .paid-channel .hp-ex-tag, .hp-most .hp-ex-tag, .preview-payment .hp-ex-tag { display:inline-flex !important; font-size:10px !important; color:#a3a3a3 !important; gap:0 !important; }
.hp-ex-note { display:flex; align-items:center; gap:10px; margin:0 0 12px; padding:10px 14px; border:1px dashed #2c2c2c; border-radius:14px; color:#8f8f8d; font-size:13px; line-height:1.45; }
.hp-ex-note .hp-ex-tag { margin:0; }
.is-example { cursor:default; }
.paid-channel.is-example:hover, .hp-most.is-example:hover { transform:none; }

/* ─── Helius lockup ─────────────────────────────────────────────────────────────────────────────────────────────── */
.helius-lockup { display:inline-flex; align-items:center; color:#fff; line-height:1; }
.helius-lockup .hl-word { font:800 1em/1 Inter, system-ui, sans-serif; letter-spacing:.17em; margin-right:-.17em; }
.hl-pill { font-size:12px; }
.hl-chip { font-size:10.5px; margin-right:7px; }
.hl-rail { font-size:10px; color:#e6e6e3; }
.smallprint.hp-built { display:flex; align-items:center; gap:7px; white-space:nowrap; }

/* ─── Home hero ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.hp-hero:before, .hp-hero-rings { display:none !important; }
.hp-hero-dots { position:absolute; z-index:-1; inset:-40px 0 -24px; pointer-events:none; }
.hp-hero-dots canvas, .hp-banner-dots canvas, .hp-head-dots canvas { display:block; width:100%; height:100%; }
.hp-hero h1 .hp-x-logo { filter:none; }
.hp-h1-sub { color:#6c6c6a; }
.homehero .hero-news.hp-news.hp-powered { gap:9px; padding:6px 14px; border-color:rgba(255,255,255,.1); background:rgba(10,10,10,.7); color:#8f8f8d; font-weight:500; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.homehero .hero-news.hp-news.hp-powered:hover { border-color:rgba(255,255,255,.24); color:#c8c8c5; }
.hp-powered .hp-pw-product { color:#d9d9d6; font-weight:600; }
.hp-powered #heroPowered { display:inline-flex; }
.hp-proof .hp-proof-helius { display:inline-flex; align-items:center; }
.hp-hero .hero-composer:focus-within { box-shadow:0 22px 65px rgba(0,0,0,.42), 0 0 0 3px rgba(60,232,189,.16), inset 0 1px rgba(255,255,255,.07); }

/* ─── Home cards ────────────────────────────────────────────────────────────────────────────────────────────────── */
.hp-empty { background:rgba(255,255,255,.012) !important; }
.hp-empty-mark { filter:none !important; }
.receipt-status.hp-status-sealed, .receipt-status.sealed { color:#6cefcf; background:transparent; box-shadow:inset 0 0 0 1px rgba(60,232,189,.3); }
.hp-most-count small { color:#8f8f8d; }

/* Fee-route demo: digits scramble in dot matrix, then settle as ciphertext. */
.hp-amt-digits { font-family:var(--hp-dot); font-weight:800; color:#e6e6e3; filter:none; letter-spacing:.02em; }
.rd-amount .hp-amt-cipher { font-size:30px; }
.hp-scramble.is-sealed .hp-amt-cipher { animation:hpCipherIn .35s ease both; }
@keyframes hpCipherIn { from { opacity:.3; letter-spacing:.2em; } to { opacity:1; letter-spacing:.05em; } }

/* What stays private: values instead of chips; encrypted ones scramble into ciphertext on a loop. */
.hp-private-row { transition:opacity .35s ease; min-height:27px; }
.hp-private-row.pv-dim { opacity:.25; }
.hp-private-row > span:first-child { display:inline-flex; align-items:center; gap:7px; }
.hp-private-row > span:first-child:before { content:""; width:5px; height:5px; border-radius:50%; background:#575755; flex:none; }
.hp-private-row.is-encrypted > span:first-child:before { background:#3ce8bd; }
.hp-pv { font-style:normal; font-size:12.5px; font-weight:600; color:#d9d9d6; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.hp-pv .hp-cipher { font-size:15px; }
.hp-pv-plain { color:#fff; }

/* ─── Dot fields on banners and page heads ──────────────────────────────────────────────────────────────────────── */
.hp-banner-rings { display:none !important; }
.hp-banner-dots { position:absolute; z-index:-1; inset:0; pointer-events:none; }
.hp-ex-hero { position:relative; isolation:isolate; overflow:hidden; }
.hp-dots-head { position:relative; isolation:isolate; }
.hp-head-dots { position:absolute; z-index:-1; top:-34px; right:0; left:36%; height:122px; pointer-events:none; -webkit-mask-image:linear-gradient(90deg, transparent, #000 45%), linear-gradient(#000 70%, transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(90deg, transparent, #000 45%), linear-gradient(#000 70%, transparent); mask-composite:intersect; }

/* Claim page and pages that still carried glows. */
.hp-private-card { background:var(--card) !important; }
.hp-private-intro .sym { box-shadow:none !important; }

@media (max-width:560px) {
  .receipt-main .hp-cipher { font-size:21px !important; }
  .hp-head-dots { left:52%; height:96px; }
}

/* Hero sizing: two lines at desktop, the dot field spanning the content column with soft edges. */
.hp-hero h1 { font-size:clamp(40px, 4.6vw, 66px) !important; }
@media (min-width:1100px) { .hp-hero h1 { margin-left:-70px; margin-right:-70px; } }
@media (min-width:821px) { .hp-hero-dots { right:auto; width:max(100%, min(1240px, calc(100vw - 300px))); left:calc(50% - max(100%, min(1240px, calc(100vw - 300px))) / 2); } }
.hp-hero-dots, .hp-banner-dots {
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(transparent, #000 8%, #000 82%, transparent);
  -webkit-mask-composite:source-in; mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(transparent, #000 8%, #000 82%, transparent); mask-composite:intersect;
}
.preview-payment .hp-cipher { color:var(--hp-cipher) !important; font-size:17px !important; }
.hp-proof .helius-lockup, .hp-proof .helius-lockup span { height:auto !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; }
/* A dark scrim behind the hero text keeps it readable over the dots. */
.hp-hero:after { content:""; position:absolute; z-index:-1; left:50%; top:51%; width:min(1040px, 108%); height:108%; transform:translate(-50%, -50%); background:radial-gradient(closest-side, rgba(6,6,6,.96) 0%, rgba(6,6,6,.9) 58%, rgba(6,6,6,0) 100%); pointer-events:none; }
@media (max-width:820px) {
  .hp-hero-dots, .hp-banner-dots { opacity:.55; }
  .hp-hero:after { width:160%; height:116%; background:radial-gradient(closest-side, rgba(6,6,6,.97) 0%, rgba(6,6,6,.93) 66%, rgba(6,6,6,0) 100%); }
}
.hp-pv-legend { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:14px; color:#7a7a78; font:500 11px/1.3 'DM Mono', ui-monospace, monospace; }
.hp-pv-legend span { display:inline-flex; align-items:center; gap:7px; }
.hp-pv-legend span:before { content:""; width:5px; height:5px; border-radius:50%; background:#575755; }
.hp-pv-legend .enc:before { background:#3ce8bd; }
.hp-hero .hero-composer button { box-shadow:none !important; }
