/* NewHope SMS public site — shared page styles (white surface, black type, gold on buttons only). */
  /* NewHope SMS home — white surface, black type, gold only on buttons. Footer is black. */
  .hv-hero { padding: 112px 0 48px; position: relative; overflow: hidden; }
  .hv-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 72px 72px; opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%); }
  .hv-hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr; gap: 40px; align-items: center; }
  .hv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy); padding: 7px 14px; border: 1px solid var(--border); border-radius: 40px; background: #fff; }
  .hv-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); animation: hvBlink 2s ease-in-out infinite; }
  @keyframes hvBlink { 50% { opacity: .25; } }
  .hv-title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 900; line-height: 1.18; letter-spacing: -.04em; margin: 14px 0 16px; }
  .hv-title .ln { display: block; overflow: hidden; padding-bottom: .1em; }
  .hv-title .ln > span { display: inline-block; transform: translateY(105%); animation: hvRise .9s var(--ease-out) forwards; }
  .hv-title .ln:nth-child(2) > span { animation-delay: .1s; }
  @keyframes hvRise { to { transform: none; } }
  .hv-title u { text-decoration: none; border-bottom: .09em solid var(--navy); }
  .hv-sub { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 560px; margin-bottom: 24px; }
  .hv-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
  .hv-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .hv-fact { padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--border); }
  .hv-fact:last-child { border: 0; margin: 0; padding: 0; }
  .hv-fact b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 900; letter-spacing: 0; line-height: 1.1; }
  .hv-fact span { font-size: 13px; color: var(--muted); }

  /* composer */
  .hv-composer { background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 40px 90px rgba(8,39,99,.10); overflow: hidden; }
  .hv-comp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--gray); }
  .hv-comp-head b { font-family: var(--font-display); font-size: 15px; }
  .hv-comp-head span { font-size: 12px; color: var(--muted); }
  .hv-comp-body { padding: 18px; }
  .hv-field { margin-bottom: 12px; }
  .hv-field label { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
  .hv-input, .hv-textarea { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--navy); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
  .hv-input:focus, .hv-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(8,39,99,.06); }
  .hv-textarea { resize: none; height: 84px; line-height: 1.5; }
  .hv-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
  .hv-meter div { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
  .hv-meter small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .hv-meter b { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; transition: transform .25s var(--ease-out); display: inline-block; }
  .hv-meter b.bump { transform: scale(1.18); }
  .hv-parts { height: 6px; border-radius: 6px; background: var(--gray); overflow: hidden; margin: 0 0 18px; }
  .hv-parts i { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 6px; transition: width .35s var(--ease-out); }
  .hv-est { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 14px; }
  .hv-est small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
  .hv-est b { font-family: var(--font-display); font-size: 19px; letter-spacing: 0; }
  .hv-est .r { text-align: right; font-size: 13px; color: rgba(255,255,255,.7); }
  .hv-tip { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; }
  .hv-tip b { color: var(--navy); }

  .hv-spec { border-top: 2px solid var(--navy); }
  .hv-spec > div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease-out); }
  .hv-spec > div:hover { padding-left: 8px; }
  .hv-spec dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .hv-spec dd { font-size: 15.5px; line-height: 1.55; color: var(--navy); margin: 0; }
  .hv-spec dd b { font-family: var(--font-display); font-weight: 800; }
  .hv-sub, .hv-tip, .hv-svc p, .hv-svc li, .hv-step p, .hv-trust p, .hv-rules li, .hv-promo p, .section-sub { text-align: justify; hyphens: auto; }
  .hv-head { margin-bottom: 32px; max-width: 700px; }

  /* services */
  .hv-services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
  .hv-svc { padding: 22px 24px 24px 0; margin-right: 28px; border-right: 1px solid var(--border); }
  .hv-svc:last-child { border-right: 0; margin-right: 0; }
  .hv-svc .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
  .hv-svc h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
  .hv-svc p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
  .hv-svc ul { list-style: none; margin-top: 12px; padding: 0; }
  .hv-svc li { font-size: 13.5px; padding: 7px 0; border-top: 1px solid var(--border); display: flex; gap: 10px; }
  .hv-svc li::before { content: '→'; color: var(--navy); transition: transform .3s var(--ease-out); }
  .hv-svc:hover li::before { transform: translateX(4px); }
  .hv-svc svg { width: 34px; height: 34px; margin-top: 12px; stroke: var(--navy); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

  .hv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hv-rules { list-style: none; margin: 16px 0 0; padding: 0; }
  .hv-rules li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 15px; transition: color .25s; }
  .hv-rules li:last-child { border-bottom: 1px solid var(--border); }
  .hv-rules .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: all .3s var(--ease-out); flex-shrink: 0; color: transparent; }
  .hv-rules li.ok .tick { background: var(--navy); border-color: var(--navy); color: #fff; }
  .hv-rules li.bad { color: #b3261e; } .hv-rules li.bad .tick { border-color: #b3261e; color: #b3261e; }
  .hv-lock { border-radius: 34px; padding: 26px 22px 30px; background: #111; color: #fff; max-width: 420px; margin: 0 auto; box-shadow: 0 40px 80px rgba(8,39,99,.22); }
  .hv-lock .time { text-align: center; font-family: var(--font-display); font-size: 62px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 10px; }
  .hv-lock .date { text-align: center; font-size: 13px; color: rgba(255,255,255,.55); margin: 4px 0 34px; }
  .hv-notif { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 13px 15px; margin-bottom: 10px; animation: hvNotif .6s var(--ease-out) both; }
  .hv-notif .top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
  .hv-notif b { display: block; font-size: 15px; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hv-notif p { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.45; margin: 0; }
  .hv-notif.dim { opacity: .45; transform: scale(.97); animation: none; }
  @keyframes hvNotif { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }

  /* OTP lab */
  .hv-otp { border: 1px solid var(--border); border-radius: 22px; padding: 30px; background: #fff; box-shadow: 0 30px 70px rgba(8,39,99,.07); }
  .hv-otp-state { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 13px; color: var(--muted); gap: 10px; flex-wrap: wrap; }
  .hv-timer { font-family: var(--font-mono); font-weight: 500; font-size: 15px; color: var(--navy); }
  .hv-pips { display: inline-flex; gap: 6px; margin-left: 10px; vertical-align: middle; }
  .hv-pips i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transition: background .3s, transform .3s; }
  .hv-pips i.used { background: var(--border); transform: scale(.8); }
  .hv-codebox { display: flex; gap: 8px; margin-bottom: 16px; }
  .hv-codebox input { width: 100%; min-width: 0; text-align: center !important; font-family: var(--font-mono); font-size: 24px; font-weight: 500; padding: 14px 0; border: 1.5px solid var(--border); border-radius: 12px; outline: none; transition: border-color .2s; }
  .hv-codebox input:focus { border-color: var(--navy); }
  .hv-codebox.shake { animation: hvShake .4s; }
  @keyframes hvShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
  .hv-otp-msg { min-height: 24px; font-size: 14px; font-weight: 600; }
  .hv-otp-msg.ok { color: #0a7a3d; } .hv-otp-msg.bad { color: #b3261e; }
  .hv-sms { background: var(--gray); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; border: 1px dashed #cdd8ea; }
  .hv-sms small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .hv-sms code { font-family: var(--font-mono); font-weight: 600; letter-spacing: .16em; }

  /* steps */
  .hv-steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
  .hv-steps::before { content: ''; position: absolute; top: 21px; left: 0; right: 0; height: 1.5px; background: var(--border); }
  .hv-steps::after { content: ''; position: absolute; top: 21px; left: 0; height: 1.5px; background: var(--navy); width: calc(var(--p, 0) * 100%); }
  .hv-step { position: relative; padding: 0 36px 0 0; }
  .hv-step .dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; margin-bottom: 16px; position: relative; z-index: 1; transition: all .5s var(--ease-out); }
  .hv-step.in .dot { background: var(--navy); border-color: var(--navy); color: #fff; }
  .hv-step h5 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
  .hv-step p { font-size: 15px; color: var(--muted); line-height: 1.7; }

  /* pricing */
  .hv-price-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
  .hv-qty { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.01em; line-height: 1.1; margin: 6px 0 16px; }
  .hv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--navy) var(--fill, 30%), var(--border) var(--fill, 30%)); }
  .hv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); border: 5px solid #fff; box-shadow: 0 0 0 1.5px var(--navy), 0 6px 16px rgba(8,39,99,.25); transition: transform .2s; }
  .hv-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
  .hv-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--navy); }
  .hv-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .hv-quick button { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 7px 14px; cursor: pointer; transition: all .2s; }
  .hv-quick button:hover { border-color: var(--navy); }
  .hv-quick button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
  .hv-result { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; gap: 40px; flex-wrap: wrap; }
  .hv-result small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .hv-result b { font-family: var(--font-display); font-size: 22px; letter-spacing: 0; }
  .hv-table { width: 100%; border-collapse: collapse; }
  .hv-table th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 14px 12px; border-bottom: 1.5px solid var(--navy); text-align: left !important; }
  .hv-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 15px; transition: background .3s, color .3s; text-align: left !important; }
  .hv-table td.p { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
  .hv-table tr.active td { background: var(--navy); color: #fff; border-color: var(--navy); }
  .hv-table tr.active td:first-child { border-radius: 12px 0 0 12px; } .hv-table tr.active td:last-child { border-radius: 0 12px 12px 0; }

  /* api */
  .hv-api-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
  .hv-endpoints { list-style: none; margin: 26px 0 30px; padding: 0; }
  .hv-endpoints li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--border); transition: padding-left .3s var(--ease-out); }
  .hv-endpoints li:last-child { border-bottom: 1px solid var(--border); }
  .hv-endpoints li:hover { padding-left: 8px; }
  .hv-endpoints .m { font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: #fff; }
  .hv-endpoints .m.get { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
  .hv-endpoints code { font-family: var(--font-mono); font-size: 13px; color: var(--navy); }
  .hv-endpoints .d { font-size: 13px; color: var(--muted); margin-left: auto; }
  .hv-term { border-radius: 18px; background: #082763; box-shadow: 0 40px 80px rgba(8,39,99,.22); overflow: hidden; }
  .hv-tabs { display: flex; gap: 2px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hv-tab { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.5); background: none; border: none; padding: 7px 13px; border-radius: 8px; cursor: pointer; transition: all .2s; }
  .hv-tab:hover { color: #fff; } .hv-tab.on { color: #fff; background: rgba(255,255,255,.12); }
  .hv-code { margin: 0; padding: 22px 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: #e6e6e6; min-height: 300px; overflow-x: auto; white-space: pre; }
  .hv-code .ln { display: block; opacity: 0; transform: translateX(-8px); animation: hvLine .5s var(--ease-out) forwards; animation-delay: calc(var(--n) * 50ms); }
  @keyframes hvLine { to { opacity: 1; transform: none; } }
  .c-cmt { color: #8aa0c8; font-style: italic; } .c-kw { color: #fff; font-weight: 600; } .c-str { color: #FFC857; } .c-fn { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); } .c-num { color: #FFC857; }
  .hv-resp { padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,.75); }
  .hv-resp b { color: #fff; }

  .hv-trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); }
  .hv-trust > div { padding: 20px 22px 4px 0; margin-right: 22px; border-right: 1px solid var(--border); }
  .hv-trust > div:last-child { border: 0; margin: 0; }
  .hv-trust h6 { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .hv-trust p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
  .hv-trust .big { font-family: var(--font-display); font-size: 28px; font-weight: 900; letter-spacing: 0; line-height: 1; margin-bottom: 10px; }

  .hv-promo { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 18px; padding: 24px 28px; background: var(--gray); }
  .hv-cta { padding: 64px 0; text-align: center; border-top: 1px solid var(--border); }
  .hv-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 12px; }
  .hv-cta p { font-size: 16px; text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 22px; line-height: 1.7; }
  section[id] { scroll-margin-top: 84px; }

  @media (max-width: 1100px) { .hv-services { grid-template-columns: repeat(2, 1fr); } .hv-svc:nth-child(2) { border-right: 0; margin-right: 0; } .hv-trust { grid-template-columns: repeat(2, 1fr); } .hv-trust > div:nth-child(2) { border: 0; margin: 0; } }
  @media (max-width: 991px) {
    .hv-hero { padding: 112px 0 64px; } .hv-hero-grid, .hv-split, .hv-price-grid, .hv-api-grid { grid-template-columns: 1fr; gap: 44px; }
    .hv-steps { grid-template-columns: 1fr; gap: 36px; } .hv-steps::before, .hv-steps::after { display: none; }
  }
  @media (max-width: 640px) {
    .hv-services, .hv-trust { grid-template-columns: 1fr; } .hv-svc, .hv-trust > div { border-right: 0; margin-right: 0; padding-right: 0; }
    .hv-fact { padding-right: 20px; margin-right: 20px; } .hv-fact b { font-size: 26px; }
    .hv-ctas a { width: 100%; } .hv-comp-body { padding: 16px; } .hv-promo { padding: 26px 22px; } .hv-otp { padding: 22px; }
    .hv-code { font-size: 12px; padding: 16px; } .hv-endpoints .d { margin-left: 0; width: 100%; } .hv-cta { padding: 80px 0; }
  }

/* ── Inner pages ─────────────────────────── */
.pg-hero { padding: 112px 0 36px; border-bottom: 1px solid var(--border); background: #fff; position: relative; }
.pg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 72px 72px; opacity: .45; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.pg-hero .container-site { position: relative; }
.pg-crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.pg-crumb a { color: var(--muted); text-decoration: none; } .pg-crumb a:hover { color: var(--navy); }
.pg-hero h1 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; max-width: 820px; }
.pg-hero p.lead { font-size: 16.5px; color: var(--muted); line-height: 1.7; max-width: 700px; margin-top: 12px; text-align: justify; }
.pg-hero .hv-ctas { margin-top: 20px; }
.pg-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pg-toc a { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 7px 14px; border: 1px solid var(--border); border-radius: 30px; background: #fff; transition: all .2s; }
.pg-toc a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 700; } .nav-links a.active::after { transform: scaleX(1); }
.hv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.hv-usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--navy); margin-top: 24px; }
.hv-usecases > div { padding: 18px 20px 18px 0; margin-right: 20px; border-right: 1px solid var(--border); }
.hv-usecases > div:last-child { border: 0; margin: 0; }
.hv-usecases h6 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hv-usecases p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.hv-faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.hv-faq details:first-child { border-top: 1px solid var(--navy); }
.hv-faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::after { content: '+'; font-family: var(--font-body); font-size: 20px; line-height: 1; transition: transform .3s var(--ease-out); }
.hv-faq details[open] summary::after { transform: rotate(45deg); }
.hv-faq p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.hv-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--navy); }
.hv-links a { display: block; padding: 22px 22px 22px 0; margin-right: 22px; border-right: 1px solid var(--border); text-decoration: none; color: var(--navy); transition: padding-left .3s var(--ease-out); }
.hv-links a:last-child { border: 0; margin: 0; }
.hv-links a:hover { padding-left: 8px; }
.hv-links b { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; }
.hv-links span { font-size: 14px; color: var(--muted); line-height: 1.6; display: block; text-align: justify; }
.hv-links em { font-style: normal; font-weight: 700; font-size: 13px; display: inline-block; margin-top: 10px; }
.hv-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.hv-cards { border-top: 2px solid var(--navy); }
.hv-cards > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.hv-cards small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hv-cards a, .hv-cards span { font-size: 16.5px; color: var(--navy); text-decoration: none; font-weight: 600; }
.hv-cards a:hover { text-decoration: underline; }
.hv-form { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: #fff; box-shadow: 0 30px 70px rgba(8,39,99,.07); }
.hv-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.hv-alert.ok { background: #eef8f1; color: #0a7a3d; border: 1px solid #bfe3cb; }
.hv-alert.err { background: #fdf0ef; color: #b3261e; border: 1px solid #f1c6c2; }
.hv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 991px) { .pg-hero { padding: 96px 0 28px; } .hv-contact, .hv-two { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .hv-usecases, .hv-links { grid-template-columns: 1fr; } .hv-usecases > div, .hv-links a { border-right: 0; margin-right: 0; padding-right: 0; } .hv-form .row2 { grid-template-columns: 1fr; } }

/* ── About + legal pages ─────────────────── */
.ab-card { border-top: 2px solid var(--navy); padding-top: 22px; }
.ab-card h2 { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.25; margin-bottom: 12px; }
.ab-card p, .ab-p { font-size: 15.5px; color: var(--muted); line-height: 1.8; text-align: justify; hyphens: auto; }
.ab-p { margin-top: 14px; }
.ab-timeline { list-style: none; border-left: 2px solid var(--border); margin-left: 8px; padding: 0; }
.ab-timeline li { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 0 0 26px 28px; }
.ab-timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.ab-timeline .yr { font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.ab-timeline h5 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ab-timeline p { font-size: 15px; color: var(--muted); line-height: 1.75; text-align: justify; hyphens: auto; }
.ab-values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.ab-values > div { padding: 22px 22px 22px 0; margin-right: 22px; border-bottom: 1px solid var(--border); }
.ab-values > div:nth-child(3n) { margin-right: 0; }
.ab-values .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ab-values h6 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 8px 0 8px; }
.ab-values p { font-size: 14.5px; color: var(--muted); line-height: 1.7; text-align: justify; hyphens: auto; }
.hv-facts .hv-fact span { display: block; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.lg-meta b { color: var(--navy); }
.lg-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.lg-toc { position: sticky; top: 92px; border-top: 2px solid var(--navy); padding-top: 14px; max-height: calc(100vh - 120px); overflow: auto; }
.lg-toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lg-toc ol { list-style: none; counter-reset: lg; padding: 0; margin: 0; }
.lg-toc li { counter-increment: lg; }
.lg-toc li a { display: flex; gap: 10px; padding: 7px 0 7px 10px; border-left: 2px solid var(--border); font-size: 13.5px; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s, padding-left .25s var(--ease-out); text-align: left !important; }
.lg-toc li a::before { content: counter(lg); font-family: var(--font-mono); font-size: 11px; min-width: 16px; color: var(--muted); padding-top: 2px; }
.lg-toc li a:hover { color: var(--navy); padding-left: 14px; }
.lg-toc li a.on { color: var(--navy); font-weight: 700; border-left-color: var(--navy); }
.lg-toc-actions { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lg-toc-actions a, .lg-toc-actions button { font: 600 13px var(--font-body); color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lg-body { max-width: 780px; }
.lg-body .legal-section { padding: 26px 0 8px; border-top: 1px solid var(--border); scroll-margin-top: 92px; }
.lg-body .legal-section:first-child { border-top: 2px solid var(--navy); }
.lg-body .legal-section h2 { font-family: var(--font-display); font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.3; margin-bottom: 12px; color: var(--navy); border: 0; padding: 0; }
.lg-body .legal-section h3 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; margin: 18px 0 6px; color: var(--navy); }
.lg-body .legal-section p, .lg-body .legal-section li { font-size: 15px; line-height: 1.8; color: #1e2b4a; text-align: justify; hyphens: auto; }
.lg-body .legal-section p { margin-bottom: 12px; }
.lg-body .legal-section ul, .lg-body .legal-section ol { padding-left: 22px; margin-bottom: 12px; }
.lg-body .legal-section li { margin-bottom: 6px; }
.lg-body .legal-section a:not(.btn-primary-solid):not(.btn-outline-dark) { color: var(--navy) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lg-body i.fas { color: var(--navy) !important; }
.lg-body table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 14px; }
.lg-body th, .lg-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left !important; vertical-align: top; }
.lg-body th { background: var(--gray); font-weight: 700; }
.lg-contact { background: var(--gray); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-top: 8px; }
.lg-contact div[style*="font-weight:800"] { font-family: var(--font-display); color: var(--navy) !important; }
.lg-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 2px solid var(--navy); margin-top: 26px; padding-top: 20px; font-size: 13px; color: var(--muted); }
.lg-end > div { display: flex; gap: 10px; flex-wrap: wrap; }
.lg-end .btn-outline-dark, .lg-end .btn-primary-solid { padding: 10px 18px; font-size: 14px; }
@media (max-width: 991px) { .lg-grid { grid-template-columns: 1fr; gap: 24px; } .lg-toc { position: static; max-height: none; } .ab-values { grid-template-columns: 1fr 1fr; } .ab-values > div:nth-child(3n) { margin-right: 22px; } .ab-values > div:nth-child(2n) { margin-right: 0; } }
@media (max-width: 640px) { .ab-values { grid-template-columns: 1fr; } .ab-values > div { margin-right: 0 !important; padding-right: 0; } .ab-timeline li { grid-template-columns: 1fr; padding-left: 22px; } }
@media print { .site-nav, .site-footer, .lg-toc, .lg-end, .nhpr { display: none !important; } .lg-grid { display: block; } .pg-hero { padding-top: 20px; } }

/* ── Logo-derived accents ─────────────────── */
.nav-links a.active { color: var(--navy); }
.hv-eyebrow i, .hv-live { background: var(--blue); }
.hv-title u { border-bottom-color: var(--blue); }
.hv-spec { border-top-color: var(--blue); }
.hv-services, .hv-trust, .hv-usecases, .hv-values, .ab-values, .hv-links, .hv-faq details:first-child, .lg-body .legal-section:first-child, .ab-card { border-top-color: var(--blue); }
.hv-cards { border-top-color: var(--blue); }
.lg-toc { border-top-color: var(--blue); }
.lg-toc li a.on { border-left-color: var(--blue); }
.hv-rules li.ok .tick { background: var(--blue); border-color: var(--blue); }
.hv-step.in .dot { background: var(--blue); border-color: var(--blue); }
.hv-steps::after { background: var(--blue); }
.hv-range { background: linear-gradient(90deg, var(--blue) var(--fill, 30%), var(--border) var(--fill, 30%)); }
.hv-range::-webkit-slider-thumb { background: var(--blue); box-shadow: 0 0 0 1.5px var(--blue), 0 6px 16px rgba(8,39,99,.25); }
.hv-quick button.on { background: var(--blue); border-color: var(--blue); }
.hv-parts i { background: var(--blue); }
.hv-pips i { background: var(--blue); }
.hv-input:focus, .hv-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,127,229,.14); }
.hv-codebox input:focus { border-color: var(--blue); }
.hv-endpoints .m { background: var(--navy); }
.ab-timeline li::before { border-color: var(--blue); }
.hv-links em { color: var(--blue); }
.pg-toc a:hover { background: var(--blue); border-color: var(--blue); }
.hv-est { background: var(--navy); }
.hv-table tr.active td { background: var(--navy); }
::selection { background: rgba(10,127,229,.22); }

/* ── Lite mode (slow network / Data Saver / opt-in) and offline bar ──────────── */
.nh-offline { position: fixed; top: 0; left: 0; right: 0; z-index: 2147483000; background: var(--navy); color: #fff; font-size: 13px; padding: 8px 14px; text-align: center; }
.nh-offline[hidden] { display: none; }
.nh-offline button { margin-left: 10px; background: var(--green); color: var(--navy); border: 0; border-radius: 20px; padding: 3px 12px; font-weight: 700; cursor: pointer; }
.nh-lite-toggle { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nh-lite-toggle b { font-weight: 700; }
html.lite body *:not(.nh-loader):not(.nh-loader *), html.lite body *:not(.nh-loader):not(.nh-loader *)::before, html.lite body *:not(.nh-loader):not(.nh-loader *)::after { animation: none !important; transition: none !important; }
html.lite { scroll-behavior: auto !important; }
html.lite [data-reveal], html.lite .rv > img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.lite .hx-photo::before, html.lite .hx-photo::after, html.lite .pg-photo::before, html.lite .pg-photo::after, html.lite .hx::before, html.lite .pg-hero::before { display: none !important; }
html.lite .site-nav, html.lite .fr-badge, html.lite .sms-card, html.lite .nav-mobile { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.lite .hx-photo > img, html.lite .pg-photo > img { box-shadow: none !important; }

/* ── responsive hardening (every page, every width) ─────────────────────────── */
img, svg, video, canvas, iframe { max-width: 100%; }
.site-footer .row { --bs-gutter-x: 3rem; }
.hv-steps.cols4 { grid-template-columns: repeat(4, 1fr); }
.hv-contact.wide { grid-template-columns: 1.15fr .85fr; }
.lg-grid > *, .hv-contact > *, .hv-split > *, .hv-two > *, .hv-api-grid > *, .hv-price-grid > *, .hx-grid > * { min-width: 0; }
.lg-body, .hv-cards a, .hv-cards span, .hv-rules li, .hv-promo p { overflow-wrap: anywhere; }
.lg-body table, .docs-main table, .hv-table-wrap { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ep-path { white-space: normal !important; overflow-wrap: anywhere; }
.docs-main { overflow-x: clip; }
pre, .hv-code, .code-body { max-width: 100%; overflow-x: auto; }
@media (max-width: 991px) {
  .hv-steps.cols4 { grid-template-columns: 1fr; }
  .hv-contact.wide { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-footer .row { --bs-gutter-x: 2.25rem; }
  .pg-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .section-title { font-size: clamp(24px, 7vw, 32px); }
  .btn-primary-solid, .btn-outline-dark, .btn-outline-white, .btn-dark-solid { min-height: 46px; }
  .hv-spec > div { grid-template-columns: 92px 1fr; gap: 12px; }
}
@media (max-width: 380px) {
  .container-site { padding-left: 14px; padding-right: 14px; }
  .nav-brand .wm { font-size: 17px; }
  .nav-brand .wm .n3 { display: none; }
  .hv-fact { padding-right: 14px; margin-right: 14px; }
  .hv-ctas a, .pg-hero .hv-ctas a { width: 100%; }
  .story .ph { height: 260px; }
  .hv-form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-hero .hv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; max-width: none; }
  .pg-hero .hv-fact { padding: 0 10px 0 0; margin: 0; border: 0; }
  .pg-hero .hv-fact:nth-child(even) { border-left: 1px solid var(--border); padding-left: 16px; }
  .pg-hero .hv-fact b { font-size: 24px; }
}
