/* ==========================================================================
   Abutic — homepage (v2). Builds on css/abutic-nfc-v2.css (.nx system).
   ========================================================================== */
body.home-index { background: #fff; }
.nh .nfc-reveal { opacity: 0; transform: translateY(22px); }
.nh .nfc-reveal.is-in-view { opacity: 1; transform: none; }

/* ---------- hero stage: phone + tapping card ---------- */
.nh-stage {
  --px: 0px; --py: 0px;
  position: relative; min-width: 0; height: clamp(440px, 118vw, 600px);
  display: grid; place-items: center; perspective: 1400px;
  animation: nx-fade 1.1s 0.15s var(--nx-ease) backwards;
}
.nh-stage::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22), rgba(37, 99, 235, 0.08) 45%, transparent 70%);
  filter: blur(12px);
}
@media (min-width: 980px) { .nh-stage { height: 600px; } }

.nh-phone {
  position: relative; z-index: 1; width: clamp(220px, 58vw, 270px); aspect-ratio: 9 / 19.2; padding: 10px; border-radius: 44px;
  background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 50px 80px -40px rgba(15, 23, 42, 0.55), 0 20px 40px -24px rgba(37, 99, 235, 0.35);
  transform: translate(calc(var(--px) * -0.6), calc(var(--py) * -0.6)) rotate(4deg); transition: transform 0.5s var(--nx-ease);
  animation: nx-float 8s ease-in-out infinite;
}
.nh-phone__notch { position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 999px; background: #0b1220; }
.nh-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: #fff; text-align: center; }
.nh-prof__cover { height: 30%; background: radial-gradient(80% 90% at 80% 0%, rgba(255, 255, 255, 0.35), transparent 60%), var(--nx-grad); }
.nh-prof__avatar {
  display: grid; place-items: center; width: 74px; height: 74px; margin: -37px auto 0; position: relative; border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #334155); color: #fff; font-family: var(--nx-display); font-weight: 800; font-size: 22px;
  box-shadow: 0 0 0 4px #fff, 0 10px 20px -10px rgba(15, 23, 42, 0.5);
}
.nh-prof__name { margin-top: 10px !important; font-family: var(--nx-display); font-weight: 800; font-size: 17px; color: var(--nx-ink); display: inline-flex; align-items: center; gap: 5px; }
.nh-verified { width: 14px; height: 14px; border-radius: 50%; background: var(--nx-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.nh-prof__role { font-size: 12px; color: var(--nx-muted); }
.nh-prof__actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; padding: 14px 14px 0; }
.nh-prof__actions span { padding: 9px 0; border-radius: 12px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: var(--nx-ink); }
.nh-prof__actions .is-primary { background: var(--nx-ink); color: #fff; animation: nh-pulse 3.6s ease-in-out infinite; }
.nh-prof__links { padding: 12px 14px 0 !important; display: grid; gap: 7px; text-align: left; }
.nh-prof__links li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--nx-line); font-size: 12.5px; font-weight: 600; color: var(--nx-ink-2); }
.nh-prof__links b { margin-left: auto; color: #94a3b8; font-weight: 600; }
.nh-prof__links i { width: 22px; height: 22px; border-radius: 7px; flex: none; }
.nh-prof__links .is-web { background: var(--nx-grad); }
.nh-prof__links .is-in { background: #0a66c2; }
.nh-prof__links .is-cal { background: #0f172a; }

.nh-tapcard {
  position: absolute; z-index: 2; left: 0; bottom: 14%; width: min(58%, 290px);
  transform: translate(var(--px), var(--py)); transition: transform 0.5s var(--nx-ease);
}
.nh-tapcard .nx-card3d { width: 100%; animation: nh-tap 6s var(--nx-ease) infinite; }
.nh-tapcard .nx-card3d__inner { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) - 10deg)) rotateZ(-10deg); }
.nh-tapcard .nx-card3d__name { font-size: clamp(14px, 3.6vw, 19px); }
.nh-tapcard .nx-card3d__role { font-size: clamp(8.5px, 2.2vw, 10.5px); }
.nh-ripple { position: absolute; right: -6%; top: -6%; width: 44px; height: 44px; pointer-events: none; }
.nh-ripple i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 99, 235, 0.55); opacity: 0; animation: nh-ripple 6s infinite; }
.nh-ripple i:nth-child(2) { animation-delay: 0.2s; }
.nh-ripple i:nth-child(3) { animation-delay: 0.4s; }
.nh-stage .nx-float--a { top: 4%; left: 2%; }
.nh-stage .nx-float--b { top: 18%; right: 0; }
.nh-stage .nx-float--c { bottom: 4%; right: 4%; }
@media (max-width: 599px) {
  .nh-stage .nx-float--a { top: 0; left: 0; }
  .nh-stage .nx-float--c { bottom: 0; right: 0; }
  .nh-tapcard { bottom: 12%; width: 54%; }
}

/* ---------- outcome ---------- */
.nh-outcome { padding: 72px 0 64px; text-align: center; }
.nh-outcome__title { font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.nh-rotate { display: block; height: 1.12em; overflow: hidden; }
.nh-rotate__track { display: flex; flex-direction: column; animation: nh-rotate 10s var(--nx-ease) infinite; }
.nh-rotate__track span { height: 1.12em; background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.nh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nh-outcome__sub { max-width: 560px; margin: 18px auto 0 !important; color: var(--nx-muted); font-size: clamp(16px, 1.7vw, 19px); }
.nh-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 880px; margin: 40px auto 0 !important;
  border-radius: 22px; overflow: hidden; background: var(--nx-line); box-shadow: 0 0 0 1px var(--nx-line), var(--nx-shadow);
}
.nh-stats li { padding: 22px 12px; background: #fff; min-width: 0; }
.nh-stats strong { display: block; font-family: var(--nx-display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.nh-stats li > span { font-size: 13.5px; color: var(--nx-muted); }
@media (min-width: 760px) { .nh-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- tour ---------- */
.nh .nx-head h2, .nh .nx-head > p { text-wrap: balance; }
.nh-tour { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .nh-tour { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; } }
.nh-tour__tabs { display: grid; gap: 10px; min-width: 0; }
.nh-tour__tabs button {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; overflow: hidden; text-align: left;
  border-radius: 20px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--nx-line);
  transition: background 0.3s, box-shadow 0.3s;
}
.nh-tour__tabs button strong { display: block; font-family: var(--nx-display); font-size: 17px; color: var(--nx-ink); }
.nh-tour__tabs button small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--nx-muted); }
.nh-tour__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e2e8f0; font-family: var(--nx-display); font-weight: 800; font-size: 12px; color: var(--nx-muted); transition: background 0.3s, color 0.3s; }
.nh-tour__tabs button.is-on { background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25), var(--nx-shadow); }
.nh-tour__tabs button.is-on .nh-tour__n { background: var(--nx-grad); color: #fff; }
.nh-tour__tabs button:not(.is-on) small { display: none; }
@media (min-width: 900px) { .nh-tour__tabs button:not(.is-on) small { display: block; opacity: 0.7; } }
@media (hover: hover) { .nh-tour__tabs button:not(.is-on):hover { background: #fff; } }
.nh-tour__tabs button:focus-visible { outline: 2px solid var(--nx-blue); outline-offset: 2px; }
.nh-tour__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--nx-grad); }
.nh-tour.is-auto .nh-tour__tabs button.is-on .nh-tour__bar { animation: nh-bar var(--nh-dur, 5200ms) linear forwards; }

.nh-tour__view {
  position: relative; min-width: 0; min-height: 360px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 100%, rgba(37, 99, 235, 0.14), transparent 70%), linear-gradient(180deg, #ffffff, #eef4fc);
  box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow);
}
.nh-tour__panel { position: absolute; inset: 0; display: grid; place-items: center; }
.nh-tour__panel[hidden] { display: none; }
.nh-tour__panel.is-on { animation: nh-in 0.6s var(--nx-ease); }
.nh-demo { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }

/* demo 1: tap (fixed 420px stage, scaled down on narrow screens) */
.nh-demo__stage { position: absolute; left: 50%; top: 0; bottom: 0; width: 420px; margin-left: -210px; }
@media (max-width: 479px) { .nh-demo__stage { transform: scale(0.8); transform-origin: 50% 0; } }
.nh-demo__phone { position: absolute; left: 196px; top: 56px; width: 200px; height: 460px; border-radius: 34px; background: #fff; box-shadow: inset 0 0 0 6px #0f172a, 0 40px 60px -30px rgba(15, 23, 42, 0.55); overflow: hidden; }
.nh-demo__notch { position: absolute; top: 12px; left: 50%; width: 56px; height: 14px; margin-left: -28px; border-radius: 8px; background: #0f172a; }
.nh-demo__url { position: absolute; top: 36px; left: 16px; right: 16px; padding: 6px 8px; border-radius: 9px; background: #f1f5f9; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--nx-ink-2); text-align: center; opacity: 0; animation: nh-show 3.4s infinite; }
.nh-demo__page { position: absolute; top: 70px; left: 12px; right: 12px; bottom: 0; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; animation: nh-show 3.4s 0.15s infinite; }
.nh-demo__cover { align-self: stretch; height: 62px; border-radius: 14px; background: var(--nx-grad); }
.nh-demo__avatar { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, #0f172a, #334155); box-shadow: 0 0 0 3px #fff; color: #fff; font-style: normal; font-family: var(--nx-display); font-weight: 800; font-size: 14px; }
.nh-demo__page b { margin-top: 8px; font-family: var(--nx-display); font-size: 15px; color: var(--nx-ink); }
.nh-demo__page small { font-size: 11px; color: var(--nx-muted); }
.nh-demo__btn { align-self: stretch; margin-top: 14px; padding: 9px; border-radius: 12px; background: var(--nx-grad); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.nh-demo__btn.is-ghost { margin-top: 8px; background: #f1f5f9; color: var(--nx-ink); }
.nh-demo__card { position: absolute; left: 0; top: 40px; width: 190px; aspect-ratio: 1.586; border-radius: 13px; z-index: 2; background: linear-gradient(145deg, #2a2d34, #0d0f13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 40px -20px rgba(15, 23, 42, 0.6); animation: nh-demo-tap 3.4s var(--nx-ease) infinite; }
.nh-demo__card::before { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfd4da' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8.5 8.5a5 5 0 0 1 0 7M12 6a8.5 8.5 0 0 1 0 12M15.5 3.5a12 12 0 0 1 0 17'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0.8; }
.nh-demo__card::after { content: ""; position: absolute; left: 14px; bottom: 16px; width: 70px; height: 6px; border-radius: 3px; background: #9aa3ae; box-shadow: 0 -12px 0 -1px #cfd4da; opacity: 0.8; }
.nh-demo--tap .nh-ripple { left: 186px; right: auto; top: 76px; width: 60px; height: 60px; z-index: 1; }
.nh-demo--tap .nh-ripple i { animation-duration: 3.4s; }

/* demo 2: save sheet */
.nh-sheet { width: min(280px, 82%); padding: 14px 20px 20px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.45), inset 0 0 0 1px var(--nx-line); animation: nh-up-in 0.7s var(--nx-ease); }
.nh-sheet__grab { display: block; width: 38px; height: 4px; margin: 0 auto 14px; border-radius: 3px; background: #e2e8f0; }
.nh-sheet__avatar { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: linear-gradient(135deg, #0f172a, #334155); color: #fff; font-family: var(--nx-display); font-weight: 800; }
.nh-sheet strong { display: block; font-family: var(--nx-display); font-size: 17px; }
.nh-sheet small { color: var(--nx-muted); font-size: 12.5px; }
.nh-sheet ul { margin: 14px 0 !important; text-align: left; border-top: 1px solid var(--nx-line); }
.nh-sheet li { padding: 8px 0; border-bottom: 1px solid var(--nx-line); font-size: 13px; color: var(--nx-blue); overflow-wrap: anywhere; }
.nh-sheet li em { display: block; font-style: normal; font-size: 10.5px; color: var(--nx-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.nh-sheet__btn { display: block; padding: 11px; border-radius: 14px; background: var(--nx-grad); color: #fff; font-weight: 700; font-size: 14px; }
.nh-toast { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #0b1220; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.6); animation: nh-toast 3.6s 0.8s var(--nx-ease) both; }
.nh-toast i { width: 16px; height: 16px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* demo 3: inbox */
.nh-inbox { width: min(400px, 88%); padding: 8px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.45), inset 0 0 0 1px var(--nx-line); }
.nh-inbox__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 12px; }
.nh-inbox__head strong { font-family: var(--nx-display); font-size: 16px; }
.nh-inbox__head span { padding: 3px 9px; border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: var(--nx-blue); font-size: 11.5px; font-weight: 700; }
.nh-inbox__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; opacity: 0; animation: nh-row 0.6s var(--nx-ease) forwards; }
.nh-inbox__row:nth-child(3) { animation-delay: 0.15s; }
.nh-inbox__row:nth-child(4) { animation-delay: 0.3s; }
.nh-inbox__row.is-new { background: #f5f9ff; }
.nh-inbox__row b { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--nx-grad); color: #fff; font-size: 12px; }
.nh-inbox__row b.is-b { background: linear-gradient(135deg, #0f172a, #475569); }
.nh-inbox__row b.is-c { background: linear-gradient(135deg, #16a34a, #22c55e); }
.nh-inbox__row div { flex: 1; min-width: 0; }
.nh-inbox__row strong { display: block; font-size: 14px; }
.nh-inbox__row small { display: block; font-size: 12px; color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-inbox__row em { flex: none; padding: 4px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; background: #fef3c7; color: #92400e; }
.nh-inbox__row em.is-hot { background: #fee2e2; color: #b91c1c; }
.nh-inbox__row em.is-ok { background: #dcfce7; color: #166534; }

/* ---------- paths ---------- */
.nh-paths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 860px) { .nh-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.nh-path { display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: var(--nx-r); background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow); transition: transform 0.4s var(--nx-ease), box-shadow 0.4s var(--nx-ease); }
@media (hover: hover) { .nh-path:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); } }
.nh-path__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12)); color: var(--nx-blue); margin-bottom: 18px; }
.nh-path__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-path__n { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-blue); }
.nh-path h3 { margin-top: 6px; font-size: 22px; font-weight: 800; }
.nh-path > p:not(.nh-path__n) { margin: 8px 0 22px; color: var(--nx-muted); font-size: 15px; }
.nh-path__go { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--nx-ink) !important; display: inline-flex; gap: 6px; transition: gap 0.25s var(--nx-ease), color 0.2s; }
.nh-path__go:hover { gap: 10px; color: var(--nx-blue) !important; }
.nh-path--feature { background: radial-gradient(90% 90% at 100% 0%, rgba(14, 165, 233, 0.16), transparent 60%), linear-gradient(160deg, #eef5ff, #ffffff 65%); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22), var(--nx-shadow); }

/* ---------- split (pipeline, QR) ---------- */
.nh-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .nh-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
  .nh-split--flip .nh-split__copy { order: 2; }
}
@media (max-width: 959px) { .nh-split__copy { text-align: center; } }

.nh-board { min-width: 0; padding: 18px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); }
.nh-board__bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 14px; }
.nh-board__bar strong { font-family: var(--nx-display); font-size: 16px; }
.nh-board__bar span { padding: 5px 10px; border-radius: 999px; background: #f1f5f9; font-size: 12px; font-weight: 600; color: var(--nx-muted); }
.nh-board__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nh-board__kpis div { min-width: 0; padding: 12px; border-radius: 16px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--nx-line); }
.nh-board__kpis small { display: block; font-size: 11.5px; color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-board__kpis strong { display: block; font-family: var(--nx-display); font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -0.02em; }
.nh-board__kpis em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #16a34a; }
.nh-board__kpis em.is-due { color: #b45309; }
.nh-board__chart { height: 120px; margin: 12px 0; padding: 8px 0; border-radius: 16px; background: linear-gradient(180deg, #fbfdff, #f5f9ff); box-shadow: inset 0 0 0 1px var(--nx-line); }
.nh-board__chart svg { width: 100%; height: 100%; display: block; }
.nh-board__line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-in-view .nh-board__line, .nh-board.is-in-view .nh-board__line { animation: nh-draw 1.8s 0.2s var(--nx-ease) forwards; }
.nh-board__mix { display: grid; gap: 8px; padding: 4px 6px; }
.nh-board__mix div { display: grid; grid-template-columns: 84px minmax(0, 1fr) 26px; align-items: center; gap: 10px; font-size: 13px; color: var(--nx-ink-2); }
.nh-board__mix i { height: 8px; border-radius: 99px; background: #eef2f7; position: relative; overflow: hidden; }
.nh-board__mix i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--nx-grad); transition: width 1.2s 0.4s var(--nx-ease); }
.nh-board.is-in-view .nh-board__mix i::after { width: var(--w); }
.nh-board__mix em { font-style: normal; font-weight: 700; text-align: right; }

/* ---------- calculator ---------- */
.nh-roi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .nh-roi { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; } }
.nh-roi__controls { display: grid; gap: 28px; padding: 28px; border-radius: var(--nx-r); background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow); min-width: 0; }
.nh-roi__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.nh-roi__label label { font-weight: 600; font-size: 15px; color: var(--nx-ink-2); }
.nh-roi__label output { font-family: var(--nx-display); font-weight: 800; font-size: 22px; color: var(--nx-blue); font-variant-numeric: tabular-nums; }
.nh-range { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline-offset: 6px; cursor: pointer; background: linear-gradient(90deg, #2563eb, #0ea5e9) 0 0 / var(--fill) 100% no-repeat, #e2e8f0; }
.nh-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 6px 14px -4px rgba(37, 99, 235, 0.6); cursor: grab; transition: transform 0.2s; }
.nh-range::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.nh-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 6px 14px -4px rgba(37, 99, 235, 0.6); }
.nh-roi__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.nh-roi__stats > div { min-width: 0; padding: 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow); }
.nh-roi__stats small { display: block; font-size: 12.5px; font-weight: 600; color: var(--nx-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.nh-roi__stats strong { display: block; margin-top: 4px; font-family: var(--nx-display); font-size: 32px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nh-roi__stats .is-hero { grid-column: 1 / -1; background: linear-gradient(135deg, #1d4ed8, #2563eb 45%, #0ea5e9); box-shadow: 0 24px 48px -24px rgba(37, 99, 235, 0.7); color: #fff; }
.nh-roi__stats .is-hero small, .nh-roi__stats .is-hero span { color: rgba(255, 255, 255, 0.85); }
.nh-roi__stats .is-hero strong { font-size: clamp(44px, 6vw, 60px); color: #fff; }

/* ---------- dynamic QR ---------- */
.nh-qr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; min-width: 0; }
@media (min-width: 560px) { .nh-qr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.nh-qr__plate { position: relative; padding: 22px 22px 54px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); max-width: 320px; width: 100%; margin: 0 auto; }
.nh-qr__plate img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.nh-qr__to { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 6px 12px; border-radius: 999px; background: #f1f5f9; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; font-weight: 600; color: var(--nx-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-qr__to.is-swap { animation: nh-swap 0.5s var(--nx-ease); }
.nh-qr__dest { display: grid; gap: 8px; min-width: 0; }
.nh-qr__dest > p { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-muted); padding-left: 4px; }
.nh-qr__dest button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line); text-align: left; transition: box-shadow 0.25s, transform 0.25s var(--nx-ease); }
.nh-qr__dest button:hover { transform: translateX(3px); }
.nh-qr__dest strong { font-family: var(--nx-display); font-size: 15px; }
.nh-qr__dest span { font-size: 11.5px; font-weight: 700; color: #16a34a; opacity: 0; transition: opacity 0.25s; }
.nh-qr__dest span::before { content: "● "; }
.nh-qr__dest button.is-on { box-shadow: inset 0 0 0 2px var(--nx-blue), 0 10px 22px -12px rgba(37, 99, 235, 0.5); }
.nh-qr__dest button.is-on span { opacity: 1; }

/* ---------- compare ---------- */
.nh-vs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 860px) { .nh-vs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; } }
.nh-vs__us { min-width: 0; padding: 32px; border-radius: 28px; background: radial-gradient(90% 90% at 100% 0%, rgba(14, 165, 233, 0.16), transparent 60%), linear-gradient(160deg, #eef5ff, #ffffff 65%); box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.35), 0 24px 48px -24px rgba(37, 99, 235, 0.35); }
.nh-vs__brand { display: flex; align-items: center; gap: 10px; font-family: var(--nx-display); font-weight: 800; font-size: 22px; margin-bottom: 20px !important; }
.nh-vs__brand img { border-radius: 8px; }
.nh-vs__us .nx-ticks { margin-bottom: 26px !important; }
.nh-vs__them { display: grid; gap: 12px; min-width: 0; }
.nh-vs__them > div { position: relative; padding: 20px 22px 20px 56px; border-radius: 20px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--nx-line); }
.nh-vs__them > div::before { content: ""; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(100, 116, 139, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.5 5.5 5 5m0-5-5 5' fill='none' stroke='%2364748b' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.nh-vs__them p { font-family: var(--nx-display); font-weight: 700; color: var(--nx-ink); }
.nh-vs__them span { font-size: 14.5px; color: var(--nx-muted); }
@media (max-width: 859px) { .nh-vs__us { text-align: left; } }

.nh-more { margin-top: 28px !important; text-align: center; }

/* ---------- events ---------- */
.nh-event { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px 24px; overflow: hidden; border-radius: 32px; color: #fff; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%); box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.7); isolation: isolate; }
.nh-event::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 10%, rgba(255, 255, 255, 0.22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(255, 255, 255, 0.12), transparent 70%); }
@media (min-width: 900px) { .nh-event { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; padding: 56px; } }
.nh-event h2 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.nh-event__copy > p:not(.nx-kicker) { margin-top: 12px; color: rgba(255, 255, 255, 0.88); font-size: 17px; max-width: 520px; }
.nh-event__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px !important; }
.nh-event__points li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); font-size: 13.5px; font-weight: 600; }
.nh-event__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.nh-event__link { font-weight: 700; color: #fff !important; opacity: 0.92; }
.nh-event__link:hover { opacity: 1; }
.nh-kit { min-width: 0; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.96); color: var(--nx-ink); box-shadow: 0 24px 48px -24px rgba(11, 18, 32, 0.45); }
.nh-kit > p { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-blue); }
.nh-kit__big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 16px; }
.nh-kit__big strong { font-family: var(--nx-display); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.nh-kit__big span { font-size: 14px; color: var(--nx-muted); }
.nh-kit li { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--nx-line); font-size: 14.5px; }
.nh-kit li em { font-style: normal; font-weight: 700; }
@media (max-width: 899px) { .nh-event__copy { text-align: center; } .nh-event__copy > p:not(.nx-kicker) { margin-left: auto; margin-right: auto; } .nh-event__points, .nh-event__ctas { justify-content: center; } }

/* ---------- pricing ---------- */
.nh-billing { display: flex; justify-content: center; margin: -12px 0 32px; }
.nh-billing__track { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line-2), var(--nx-shadow); }
.nh-billing__track button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-family: var(--nx-display); font-weight: 700; font-size: 14px; color: var(--nx-muted); transition: background 0.25s, color 0.25s; }
.nh-billing__track button em { padding: 2px 7px; border-radius: 999px; background: #dcfce7; color: #166534; font-style: normal; font-size: 11px; }
.nx .nh-billing__track button.is-active { background: var(--nx-ink); color: #fff; }
.nh-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 720px) { .nh-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nh-plan--card { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .nh-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .nh-plan--card { grid-column: auto; } }
.nh-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow); }
.nh-plan__name { font-family: var(--nx-display); font-weight: 800; font-size: 18px; }
.nh-plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 10px !important; }
.nh-plan__price strong { font-family: var(--nx-display); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.nh-plan__price span { color: var(--nx-muted); font-size: 15px; }
.nh-plan__note { margin-top: 4px !important; font-size: 12.5px; font-weight: 600; color: #16a34a; }
.nh-plan__note[hidden] { display: none; }
.nh-plan__tag { margin: 10px 0 20px !important; font-size: 14.5px; color: var(--nx-muted); min-height: 2.9em; }
.nh-plan .nx-ticks { margin-top: 24px !important; padding-top: 22px !important; border-top: 1px solid var(--nx-line); }
.nh-plan .nx-ticks li { font-size: 14.5px; }
.nh-plan--plus { box-shadow: inset 0 0 0 2px var(--nx-blue), 0 30px 60px -30px rgba(37, 99, 235, 0.55); background: linear-gradient(180deg, #f5f9ff, #ffffff 40%); }
.nh-plan__badge { position: absolute; top: -12px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--nx-grad); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.7); }
.nh-plan--card { color: inherit; overflow: hidden; transition: transform 0.4s var(--nx-ease), box-shadow 0.4s var(--nx-ease); }
@media (hover: hover) { .nh-plan--card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); } }
.nh-plan__cardart { position: relative; display: block; height: 150px; margin: 0 0 20px; }
.nh-plan__cardart i { position: absolute; left: 50%; top: 50%; width: 180px; aspect-ratio: 1.586; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 34px -18px rgba(15, 23, 42, 0.6); }
.nh-plan__cardart i:first-child { background: linear-gradient(145deg, #2a221d, #120e0b); transform: translate(-38%, -62%) rotate(10deg); }
.nh-plan__cardart i:last-child { background: linear-gradient(145deg, #2a2d34, #0d0f13); transform: translate(-62%, -42%) rotate(-8deg); transition: transform 0.6s var(--nx-ease); }
.nh-plan--card:hover .nh-plan__cardart i:last-child { transform: translate(-66%, -40%) rotate(-12deg); }
.nh-plan__cardart i:last-child::after { content: ""; position: absolute; left: 14px; bottom: 16px; width: 64px; height: 5px; border-radius: 3px; background: #9aa3ae; box-shadow: 0 -10px 0 -0.5px #cfd4da; }
.nh-plan--card .nx-btn { margin-top: auto; }
@media (min-width: 720px) and (max-width: 1039px) { .nh-plan--card { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 24px; align-items: center; } .nh-plan__cardart { grid-row: 1 / span 4; grid-column: 2; margin: 0; } }
.nh-footnote { margin-top: 28px !important; text-align: center; font-size: 13px; color: var(--nx-muted); }
.nh-footnote a { color: var(--nx-blue); font-weight: 600; }

/* ---------- final ---------- */
.nh-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 479px) { .nh-final__ctas .nx-btn { width: 100%; } }

/* ---------- news dialog ---------- */
.nh-news { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 26px; background: #fff; color: #0b1220; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.5); }
.nh-news::backdrop { background: rgba(15, 23, 42, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nh-news[open] { animation: nh-up-in 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.nh-news__card { padding: 22px; font-family: "Inter", system-ui, sans-serif; }
.nh-news__card header { display: flex; align-items: center; gap: 12px; }
.nh-news__card header img { border-radius: 10px; }
.nh-news__card header p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #2563eb; }
.nh-news__card header h2 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; }
.nh-news__x { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f9; cursor: pointer; }
.nh-news__x svg { width: 14px; height: 14px; }
.nh-news__body { margin: 16px 0 20px; font-size: 15px; line-height: 1.6; color: #334155; }

/* ---------- mobile sticky CTA (index.php) restyled as a floating pill ---------- */
@media (max-width: 768px) {
  body.home-index .mobile-sticky-cta {
    left: 16px !important; right: 16px !important; bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    padding: 15px 20px !important; border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #0ea5e9) !important; color: #fff !important;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 700 !important; font-size: 15px;
    box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.7) !important;
    transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
}

/* ---------- motion ---------- */
@keyframes nh-tap { 0%, 18% { translate: 0 0; } 34%, 52% { translate: 18% -16%; } 70%, 100% { translate: 0 0; } }
@keyframes nh-ripple { 0%, 30% { opacity: 0; transform: scale(0.4); } 36% { opacity: 1; } 60%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes nh-pulse { 0%, 30%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } 40% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.25); } }
@keyframes nh-rotate { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-1.12em); } 50%, 68% { transform: translateY(-2.24em); } 75%, 93% { transform: translateY(-3.36em); } 100% { transform: translateY(-4.48em); } }
@keyframes nh-bar { to { width: 100%; } }
@keyframes nh-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes nh-up-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes nh-demo-tap { 0%, 15% { transform: translate(-6px, 14px) rotate(-10deg); } 40%, 70% { transform: translate(38px, 0) rotate(-4deg); } 95%, 100% { transform: translate(-6px, 14px) rotate(-10deg); } }
@keyframes nh-show { 0%, 42% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nh-toast { 0% { opacity: 0; transform: translate(-50%, -12px); } 12%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes nh-row { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes nh-draw { to { stroke-dashoffset: 0; } }
@keyframes nh-swap { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes nh-crossfade { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .nh *, .nh *::before, .nh *::after { animation: none !important; }
  .nh .nfc-reveal, .nh-inbox__row, .nh-demo__url, .nh-demo__page { opacity: 1; transform: none; }
  .nh-board__line { stroke-dashoffset: 0; }
  .nh-board__mix i::after { width: var(--w); }
}
.nh-rotate__track span { display: block; line-height: 1.12em; }

/* ==========================================================================
   Original hero (.ab-hx, styled by ab-home-hero.css) + additions
   ========================================================================== */
.nh-top { display: block; width: 100%; align-self: stretch; }
/* run the hero up under the sticky navbar so there's no band behind it */
.nh-top .ab-hx { margin-top: calc(-1 * var(--nx-nav-h, 0px)); padding-top: var(--nx-nav-h, 0px); }
.nh-tapdot { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.nh-tapdot::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 7.5a6.5 6.5 0 0 1 0 9M12 5a10 10 0 0 1 0 14M5 10a2.5 2.5 0 0 1 0 4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.nh-tapdot i { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); animation: nh-tapdot 2.4s ease-out infinite; }
@keyframes nh-tapdot { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); } }
@media (prefers-reduced-motion: reduce) { .nh-tapdot i { animation: none; } }

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.nh-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.nh-progress i { display: block; height: 100%; background: linear-gradient(90deg, #2563eb, #0ea5e9); transform: scaleX(0); transform-origin: 0 50%; }

/* ==========================================================================
   Word-by-word statement
   ========================================================================== */
.nh-statement { padding: 96px 0; }
@media (min-width: 900px) { .nh-statement { padding: 150px 0; } }
.nh-statement__text {
  max-width: 1040px; margin: 0 auto !important; text-align: center;
  font-family: var(--nx-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.14;
  font-size: clamp(30px, 5.4vw, 62px);
}
.nh-statement__text span { color: #d5dce6; transition: color 0.35s ease; }
.nh-statement__text span.is-lit { color: var(--nx-ink); }
.nh-statement__text span.is-lit:nth-last-child(-n+8) { background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Orbit
   ========================================================================== */
.nh-orbit { --size: min(500px, 88vw); position: relative; width: var(--size); aspect-ratio: 1; margin: 0 auto; min-width: 0; }
.nh-orbit::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%); filter: blur(10px); }
.nh-orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(37, 99, 235, 0.22); animation: nh-spin var(--dur) linear infinite; }
.nh-orbit__ring--1 { --dur: 36s; --n: 4; inset: 22%; }
.nh-orbit__ring--2 { --dur: 54s; --n: 6; inset: 2%; animation-direction: reverse; }
.nh-orbit__ring span {
  --a: calc(360deg / var(--n) * var(--i));
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.nh-orbit__ring--1 span { --r: calc(var(--size) * 0.28); }
.nh-orbit__ring--2 span { --r: calc(var(--size) * 0.48); }
.nh-orbit__ring span > i, .nh-orbit__ring span > svg {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--nx-line), 0 14px 28px -14px rgba(15, 23, 42, 0.35);
  animation: nh-spin var(--dur) linear infinite reverse; font-size: 22px;
}
.nh-orbit__ring--2 span > i, .nh-orbit__ring--2 span > svg { animation-direction: normal; }
.nh-orbit__core { position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), 0 30px 60px -28px rgba(37, 99, 235, 0.55); }
.nh-orbit__core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(37, 99, 235, 0.25); animation: nh-core 3s ease-out infinite; }
.nh-orbit__core img { width: 30%; height: auto; border-radius: 12px; }
.nh-orbit__core b { font-family: var(--nx-display); font-size: clamp(12px, 2.4vw, 15px); color: var(--nx-ink); }
@media (max-width: 599px) { .nh-orbit__ring span { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .nh-orbit__ring span > i, .nh-orbit__ring span > svg { padding: 11px; border-radius: 13px; } }

@keyframes nh-spin { to { rotate: 360deg; } }
@keyframes nh-core { 0% { opacity: 1; transform: scale(0.95); } 100% { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .nh-statement__text span { color: var(--nx-ink); } }

/* ==========================================================================
   Cursor spotlight
   ========================================================================== */
.nh-spot { position: relative; }
.nh-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.09), transparent 60%);
}
.nh-spot:hover::after { opacity: 1; }
.nh .nx-btn--primary { transition: transform 0.25s var(--nx-ease), box-shadow 0.25s var(--nx-ease), translate 0.35s var(--nx-ease); }

/* ==========================================================================
   Card wall
   ========================================================================== */
.nh-wall { padding: 88px 0 96px; overflow: hidden; background: linear-gradient(180deg, #ffffff, #f3f7fd 50%, #ffffff); }
@media (min-width: 900px) { .nh-wall { padding: 120px 0; } }
.nh-wall__row { overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nh-wall__track { display: flex; gap: 20px; width: max-content; animation: nh-wall 70s linear infinite; }
.nh-wall__row.is-rev .nh-wall__track { animation-direction: reverse; animation-duration: 80s; }
.nh-wall__row:hover .nh-wall__track { animation-play-state: paused; }
.nh-wall__cta { margin-top: 36px; text-align: center; }
@keyframes nh-wall { to { transform: translateX(calc(-50% - 10px)); } }

/* ==========================================================================
   Abutic+ bento
   ========================================================================== */
.nh-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 720px) { .nh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .nh-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.nh-bt { display: flex; flex-direction: column; min-width: 0; min-height: 240px; padding: 26px; border-radius: var(--nx-r); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow); transition: transform 0.4s var(--nx-ease), box-shadow 0.4s var(--nx-ease); }
@media (hover: hover) { .nh-bt:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); } }
.nh-bt h3 { font-size: 20px; font-weight: 800; }
.nh-bt__copy > p:not(.nh-bt__label) { margin-top: 8px !important; color: var(--nx-muted); font-size: 15px; }
.nh-bt__label { margin-bottom: 8px !important; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nx-blue); }
.nh-bt--wide { background: radial-gradient(90% 90% at 100% 0%, rgba(14, 165, 233, 0.14), transparent 60%), linear-gradient(160deg, #eef5ff, #ffffff 65%); }
@media (min-width: 720px) { .nh-bt--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: end; } }
.nh-bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; margin-top: 20px; }
.nh-bars i { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #0ea5e9, #2563eb); opacity: 0.85; transition: height 0.9s var(--nx-ease); transition-delay: var(--d); }
.nh-bars i:last-child { background: linear-gradient(180deg, #93c5fd, #60a5fa); }
.nh-bt.is-in-view .nh-bars i { height: var(--h); }
.nh-stack { display: flex; margin-top: auto; padding-top: 24px; }
.nh-stack b { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; border-radius: 50%; background: var(--nx-grad); color: #fff; font-size: 13px; box-shadow: 0 0 0 3px #fff; transition: transform 0.35s var(--nx-ease); }
.nh-stack b.is-b { background: linear-gradient(135deg, #0f172a, #475569); }
.nh-stack b.is-c { background: linear-gradient(135deg, #16a34a, #22c55e); }
.nh-stack b.is-d { background: #f1f5f9; color: var(--nx-ink); }
.nh-bt:hover .nh-stack b:nth-child(2) { transform: translateX(6px); }
.nh-bt:hover .nh-stack b:nth-child(3) { transform: translateX(12px); }
.nh-bt:hover .nh-stack b:nth-child(4) { transform: translateX(18px); }
.nh-bt__big { margin-top: auto !important; font-family: var(--nx-display); font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--nx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-docs { display: grid; gap: 8px; margin-top: auto; padding-top: 20px; }
.nh-docs span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--nx-line); font-size: 13px; font-weight: 600; color: var(--nx-ink-2); transition: transform 0.35s var(--nx-ease); }
.nh-docs span::before { content: "PDF"; padding: 3px 6px; border-radius: 6px; background: #fee2e2; color: #b91c1c; font-size: 10px; font-weight: 800; }
.nh-bt:hover .nh-docs span:nth-child(1) { transform: translateX(4px); }
.nh-bt:hover .nh-docs span:nth-child(2) { transform: translateX(8px); }
.nh-bt:hover .nh-docs span:nth-child(3) { transform: translateX(12px); }
.nh-gal { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 110px; margin-top: auto; padding-top: 20px; box-sizing: content-box; }
.nh-gal i { border-radius: 12px; background: linear-gradient(135deg, #bfdbfe, #e0f2fe); transition: transform 0.4s var(--nx-ease); }
.nh-gal i:first-child { grid-row: span 2; background: linear-gradient(135deg, #2563eb, #0ea5e9); position: relative; }
.nh-gal i:first-child::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; translate: 3px 0; }
.nh-gal i:nth-child(3) { background: linear-gradient(135deg, #cbd5e1, #f1f5f9); }
.nh-gal i:nth-child(4) { display: none; }
.nh-bt:hover .nh-gal i:first-child { transform: scale(1.03); }
.nh-aurora { position: relative; margin-top: auto; height: 110px; border-radius: 16px; overflow: hidden; background: #0b1220; }
.nh-aurora::before, .nh-aurora::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(22px); animation: nh-aur 9s ease-in-out infinite alternate; }
.nh-aurora::before { left: -10%; top: -40%; background: #2563eb; }
.nh-aurora::after { right: -10%; bottom: -60%; background: #0ea5e9; animation-delay: -4s; }
.nh-bento__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 32px; }
.nh-bento__cta span { font-size: 14px; color: var(--nx-muted); }
@keyframes nh-aur { from { transform: translate(0, 0) scale(1); } to { transform: translate(30%, 20%) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .nh-bars i { height: var(--h); } }
.nh-aurora { background: linear-gradient(135deg, #eff6ff, #e0f2fe); } .nh-aurora::before { background: #60a5fa; } .nh-aurora::after { background: #38bdf8; }

/* ==========================================================================
   Before / after slider
   ========================================================================== */
.nh-ba { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; min-height: 460px; border-radius: 32px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--nx-line), var(--nx-shadow-lg); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
@media (max-width: 699px) { .nh-ba { aspect-ratio: auto; height: 560px; } }
.nh-ba__side { position: absolute; inset: 0; overflow: hidden; }
.nh-ba__side--old { background: repeating-linear-gradient(45deg, rgba(120, 100, 70, 0.025) 0 2px, transparent 2px 6px), linear-gradient(160deg, #f7f3ec, #ece5d8); }
.nh-ba__side--new { background: radial-gradient(70% 80% at 70% 30%, rgba(14, 165, 233, 0.18), transparent 70%), linear-gradient(160deg, #f5f9ff, #e6f0fd); clip-path: inset(0 0 0 var(--pos)); }
/* each side's content stays centred in its own half and slides with the divider */
.nh-ba__body { position: absolute; top: 0; bottom: 0; width: min(400px, 84vw); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 56px 0 28px; transform: translateX(-50%); }
.nh-ba__side--old .nh-ba__body { left: calc(var(--pos) / 2); }
.nh-ba__side--new .nh-ba__body { left: calc(50% + var(--pos) / 2); }
.nh-ba.is-demo .nh-ba__side--new { transition: clip-path 0.8s var(--nx-ease); }
.nh-ba.is-demo .nh-ba__body { transition: left 0.8s var(--nx-ease); }
.nh-ba.is-demo .nh-ba__handle { transition: left 0.8s var(--nx-ease); }
.nh-ba__visual { display: grid; place-items: center; width: 100%; height: 230px; }

.nh-paper { position: relative; width: min(300px, 86%); aspect-ratio: 1.75; padding: 22px 24px; background: #fffdf8; transform: rotate(-5deg); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 18px 30px -18px rgba(80, 60, 30, 0.45); font-family: Georgia, "Times New Roman", serif; color: #3f3a33; border-radius: 3px; }
.nh-paper::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(135deg, transparent 50%, #e9e2d3 50%); }
.nh-paper__name { font-size: 20px; font-weight: 700; }
.nh-paper__role { font-size: 12px; color: #7a7266; margin-bottom: 14px !important; }
.nh-paper__line { font-size: 12.5px; color: #5a534a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-paper__line s { color: #a39a8c; }
.nh-paper__line em { font-family: "Comic Sans MS", "Bradley Hand", cursive; font-style: normal; color: #2563eb; font-size: 12px; rotate: -4deg; display: inline-block; }
.nh-paper__stain { position: absolute; right: 14%; top: 14%; width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(150, 100, 50, 0.16); }

.nh-ba__metal { position: relative; width: 320px; height: 230px; }
.nh-ba__mini { position: absolute; right: 8px; top: 0; width: 150px; height: 230px; padding: 10px 12px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 5px #0f172a, 0 30px 50px -24px rgba(15, 23, 42, 0.5); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.nh-ba__mini-cover { align-self: stretch; height: 46px; border-radius: 16px 16px 8px 8px; background: var(--nx-grad); }
.nh-ba__mini-avatar { display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: linear-gradient(135deg, #0f172a, #334155); box-shadow: 0 0 0 3px #fff; color: #fff; font-style: normal; font-family: var(--nx-display); font-weight: 800; font-size: 12px; }
.nh-ba__mini b { margin-top: 6px; font-family: var(--nx-display); font-size: 13px; color: var(--nx-ink); }
.nh-ba__mini small { font-size: 9.5px; color: var(--nx-muted); }
.nh-ba__mini-btn { align-self: stretch; margin: 10px 0 8px; padding: 7px; border-radius: 10px; background: var(--nx-grad); color: #fff; font-size: 10.5px; font-weight: 700; }
.nh-ba__mini em { align-self: stretch; height: 14px; margin-top: 6px; border-radius: 6px; background: #f1f5f9; }
.nh-ba__card { position: absolute; left: 0; top: 70px; z-index: 2; width: 190px; aspect-ratio: 1.586; padding: 16px; border-radius: 14px; background: linear-gradient(145deg, #2a2d34, #0d0f13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 40px -18px rgba(15, 23, 42, 0.65); transform: rotate(-8deg); display: flex; flex-direction: column; justify-content: flex-end; }
.nh-ba__card::before { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfd4da' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8.5 8.5a5 5 0 0 1 0 7M12 6a8.5 8.5 0 0 1 0 12M15.5 3.5a12 12 0 0 1 0 17'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0.85; }
.nh-ba__card b, .nh-ba__card small { background: linear-gradient(180deg, #f5f7fa, #9aa3ae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-ba__card b { font-family: var(--nx-display); font-size: 15px; }
.nh-ba__card small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }

.nh-ba__notes { display: grid; gap: 10px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.nh-ba__notes li { position: relative; padding-left: 28px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.nh-ba__notes li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background-position: center; background-size: 11px; background-repeat: no-repeat; }
.nh-ba__notes.is-bad li { color: #6b6256; }
.nh-ba__notes.is-bad li::before { background-color: rgba(185, 28, 28, 0.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.5 5.5 5 5m0-5-5 5' fill='none' stroke='%23b91c1c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nh-ba__notes.is-good li { color: var(--nx-ink-2); }
.nh-ba__notes.is-good li::before { background-color: rgba(37, 99, 235, 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 699px) {
  .nh-ba__body { gap: 22px; }
  .nh-ba__notes { padding: 14px 16px; }
  .nh-ba__metal { transform: scale(0.86); }
  .nh-ba__notes li { font-size: 14px; white-space: normal; }
}
.nh-ba__tag { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-size: 12px; font-weight: 700; color: #6b6256; }
.nh-ba__tag--new { left: auto; right: 18px; color: var(--nx-blue); background: #fff; box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.4); }

.nh-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.nh-ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(15, 23, 42, 0.2); }
.nh-ba__handle i { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.4); }
.nh-ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.nh-ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 600px; }
.nh-ba__range:focus-visible ~ .nh-ba__handle i, .nh-ba:focus-within .nh-ba__handle i { box-shadow: 0 0 0 3px #2563eb, 0 10px 24px -8px rgba(15, 23, 42, 0.35); }

}

/* ==========================================================================
   Trust grid
   ========================================================================== */
.nh-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .nh-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .nh-trust { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.nh-trust li { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 22px 14px; border-radius: 20px; text-align: center; background: #fff; box-shadow: inset 0 0 0 1px var(--nx-line); transition: transform 0.35s var(--nx-ease), box-shadow 0.35s; }
.nh-trust li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25), var(--nx-shadow); }
.nh-trust span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 14px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12)); color: var(--nx-blue); }
.nh-trust svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-trust b { font-family: var(--nx-display); font-size: 15px; color: var(--nx-ink); }
.nh-trust small { font-size: 12.5px; color: var(--nx-muted); line-height: 1.4; }
.nh-trust small a { color: var(--nx-blue); font-weight: 600; }


/* ==========================================================================
   Card wall — every card a different design
   ========================================================================== */
.nh-wall__track { align-items: center; }
.nh-cd {
  --eng: linear-gradient(180deg, #f5f7fa, #9aa3ae); --ink: #cfd4da; --ink-soft: rgba(207, 212, 218, 0.35);
  position: relative; flex: none; width: clamp(250px, 64vw, 310px); aspect-ratio: 1.586; border-radius: 16px; overflow: hidden; padding: 20px 22px;
  display: flex; flex-direction: column;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px), linear-gradient(145deg, #25282f 0%, #0d0f13 60%, #17191e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 40px -24px rgba(15, 23, 42, 0.55);
  transition: transform 0.5s var(--nx-ease);
}
.nh-cd.is-copper {
  --eng: linear-gradient(180deg, #f6d29a, #b97c3c); --ink: #e0ac6e; --ink-soft: rgba(224, 172, 110, 0.35);
  background: repeating-linear-gradient(90deg, rgba(255, 210, 160, 0.02) 0 1px, transparent 1px 3px), linear-gradient(145deg, #2a221d 0%, #120e0b 60%, #1d1714 100%);
  box-shadow: inset 0 0 0 1px rgba(224, 168, 107, 0.2), 0 24px 40px -24px rgba(120, 60, 20, 0.5);
}
.nh-cd::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%); transform: translateX(-30%); transition: transform 0.9s var(--nx-ease); pointer-events: none; z-index: 2; }
.nh-cd:hover { transform: translateY(-6px) rotate(-1deg); }
.nh-cd:hover::before { transform: translateX(30%); }
.nh-cd .e { position: relative; z-index: 1; background: var(--eng); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; line-height: 1.25; }
.nh-cd__name { font-family: var(--nx-display); font-weight: 700; font-size: 17px; }
.nh-cd__role { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.nh-cd__art { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; opacity: 0.75; }
.nh-cd__nfc { position: absolute; z-index: 1; top: 14px; right: 14px; width: 18px; height: 18px; opacity: 0.55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 7.5a6.5 6.5 0 0 1 0 9M12 5a10 10 0 0 1 0 14M5 10a2.5 2.5 0 0 1 0 4' fill='none' stroke='%23cfd4da' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.nh-cd__rule { display: block; width: 36px; height: 1px; margin: 8px auto; background: var(--ink); opacity: 0.7; position: relative; z-index: 1; }
.nh-cd__col { position: relative; z-index: 1; display: flex; flex-direction: column; }

/* topo: contour lines, brand top-left */
.nh-cd--topo .nh-cd__art { stroke-width: 1; opacity: 0.55; }
.nh-cd--topo .nh-cd__brand { font-family: var(--nx-display); font-weight: 800; font-size: 13px; letter-spacing: 0.3em; }
.nh-cd--topo .nh-cd__name { margin-top: auto; }

/* portrait: vertical card */
.nh-cd--portrait { width: clamp(124px, 32vw, 154px); aspect-ratio: 0.63; align-items: center; text-align: center; padding: 22px 12px 18px; }
.nh-cd__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); margin-top: 8px; }
.nh-cd__badge .e { font-family: var(--nx-display); font-weight: 800; font-size: 24px; }
.nh-cd--portrait .nh-cd__brand { margin-top: 10px; font-family: var(--nx-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nh-cd__foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; }
.nh-cd--portrait .nh-cd__name { font-size: 13px; }
.nh-cd--portrait .nh-cd__role { font-size: 8px; }
.nh-cd--portrait .nh-cd__nfc { top: auto; bottom: 10px; right: 50%; margin-right: -9px; display: none; }

/* deco: inset frame, centered */
.nh-cd--deco { align-items: center; justify-content: center; text-align: center; }
.nh-cd__frame { position: absolute; inset: 10px; border: 1px solid var(--ink-soft); border-radius: 8px; }
.nh-cd__frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--ink-soft); border-radius: 5px; }
.nh-cd--deco .nh-cd__brand { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: 0.24em; }
.nh-cd--deco .nh-cd__name { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; font-size: 16px; }
.nh-cd--deco .nh-cd__nfc { display: none; }

/* emblem: sunburst */
.nh-cd--emblem { align-items: center; text-align: center; justify-content: flex-end; }
.nh-cd--emblem .nh-cd__art { inset: 6% 0 auto; height: 58%; stroke-width: 1.4; opacity: 0.85; }
.nh-cd--emblem .nh-cd__brand { font-family: var(--nx-display); font-weight: 800; font-size: 14px; letter-spacing: 0.34em; margin-bottom: 4px; }
.nh-cd--emblem .nh-cd__name { font-family: var(--nx-body); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; opacity: 0.85; }

/* qr: text left, code right */
.nh-cd--qr { flex-direction: row; align-items: stretch; gap: 14px; }
.nh-cd--qr .nh-cd__col { flex: 1; min-width: 0; }
.nh-cd--qr .nh-cd__brand { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 16px; font-weight: 700; }
.nh-cd--qr .nh-cd__name { margin-top: auto; }
.nh-cd--qr .nh-cd__role { white-space: normal; }
.nh-cd__qr { align-self: center; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: 38%; aspect-ratio: 1; padding: 6px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ink-soft); }
.nh-cd__qr i { border-radius: 1.5px; background: var(--ink); }
.nh-cd__qr i.is-off { opacity: 0.1; }
.nh-cd--qr .nh-cd__nfc { display: none; }

/* minimal: wordmark only */
.nh-cd--minimal { align-items: center; justify-content: center; }
.nh-cd--minimal .nh-cd__brand { font-family: var(--nx-display); font-weight: 300; font-size: 30px; letter-spacing: 0.5em; margin-right: -0.5em; }
.nh-cd--minimal .nh-cd__role { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: 0.3em; text-transform: lowercase; }
.nh-cd--minimal .nh-cd__nfc { display: none; }

/* lines: geometric bands */
.nh-cd--lines .nh-cd__art { stroke-width: 2.4; opacity: 0.9; }
.nh-cd--lines .nh-cd__brand { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 20px; }
.nh-cd--lines .nh-cd__name { margin-top: auto; }

/* mono: giant outlined monogram */
.nh-cd--mono { align-items: flex-end; justify-content: flex-end; text-align: right; }
.nh-cd__giant { position: absolute; left: -6px; top: -42px; font-family: var(--nx-display); font-weight: 800; font-size: 230px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); opacity: 0.6; }
.nh-cd--mono .nh-cd__nfc { display: none; }

/* seal: circular badge */
.nh-cd--seal { flex-direction: row; align-items: center; gap: 16px; }
.nh-cd__seal { position: relative; z-index: 1; width: 44%; flex: none; fill: none; stroke: var(--ink); stroke-width: 1; }
.nh-cd__seal text { fill: var(--ink); stroke: none; font: 700 7.6px var(--nx-display); letter-spacing: 1.8px; }
.nh-cd__seal .nh-cd__seal-p { font: 400 26px Georgia, serif; letter-spacing: 0; }
.nh-cd--seal .nh-cd__name { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 18px; }
.nh-cd--seal .nh-cd__role { white-space: normal; }

/* script: signature */
.nh-cd--script { align-items: center; justify-content: center; text-align: center; }
.nh-cd__sig { font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; font-size: 38px; font-weight: 400; line-height: 1.2 !important; padding: 0 6px; }
.nh-cd--script .nh-cd__brand { font-family: var(--nx-display); font-weight: 700; font-size: 10px; letter-spacing: 0.34em; }
.nh-cd--script .nh-cd__role { font-size: 8.5px; margin-top: 2px; }

/* mountain: line art */
.nh-cd--mountain { align-items: center; justify-content: flex-end; text-align: center; }
.nh-cd--mountain .nh-cd__art { inset: 10% 8% auto; width: 84%; height: 52%; stroke-width: 1.6; opacity: 0.9; stroke-linejoin: round; }
.nh-cd--mountain .nh-cd__brand { font-family: var(--nx-display); font-weight: 800; font-size: 16px; letter-spacing: 0.4em; margin-right: -0.4em; }
.nh-cd--mountain .nh-cd__name { font-family: var(--nx-body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; margin-top: 4px; }

/* split: solid engraved panel */
.nh-cd--split { flex-direction: row; padding: 0; }
.nh-cd__panel { position: relative; z-index: 1; width: 40%; display: grid; place-items: center; background: var(--eng); }
.nh-cd__panel b { font-family: var(--nx-display); font-weight: 800; font-size: 34px; letter-spacing: 0.08em; color: #1a1410; writing-mode: vertical-rl; transform: rotate(180deg); }
.nh-cd--split .nh-cd__col { flex: 1; justify-content: flex-end; padding: 20px; }
.nh-cd--split .nh-cd__role { white-space: normal; }

/* pricing: two plans, centered */
.nh-plans { max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .nh-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
/* equal-height plan cards with aligned buttons and lists */
.nh-plans { align-items: stretch; }
.nh-plan__tag { min-height: 3.1em; }


/* ==========================================================================
   Card scanner section
   ========================================================================== */
.nh-scan-sec { overflow: hidden; }
.nh-scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.nh-scan__new { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; margin-right: 6px; border-radius: 999px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; vertical-align: 1px; }
.nh-scan__copy h2 { margin: 6px 0 0; font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.nh-scan__lead { margin: 16px 0 0; max-width: 46ch; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--nx-muted); }
.nh-scan__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.nh-scan__points li { display: flex; gap: 14px; align-items: flex-start; }
.nh-scan__points li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(37, 99, 235, 0.08); color: var(--nx-blue, #2563eb); font-size: 15px; }
.nh-scan__points b { display: block; font-family: var(--nx-display); font-size: 16px; color: var(--nx-ink); }
.nh-scan__points small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--nx-muted); }
.nh-scan__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.nh-scan__cta > span { font-size: 13.5px; color: var(--nx-muted); }

/* demo */
.nh-scan__demo { position: relative; display: grid; place-items: center; min-height: 560px; }
.nh-scan__demo::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 165, 233, 0.22), transparent 70%); filter: blur(10px); }
.nh-scan__phone { position: relative; width: 290px; height: 560px; padding: 12px; border-radius: 46px; background: #0b1220; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06) inset, 0 50px 90px -40px rgba(15, 23, 42, 0.7); }
.nh-scan__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f7fc; }
.nh-scan__cam { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 30%, #3b4252, #1e2430 70%); }
/* Dim the camera with an overlay (no CSS filter — filters make mobile Safari rasterize the layer at low res = blurry). */
.nh-scan__cam::after { content: ""; position: absolute; inset: 0; background: rgba(11, 18, 32, 0.55); opacity: 0; animation: nh-scan-dim 7s infinite; pointer-events: none; }
.nh-scan__paper { position: relative; width: 218px; padding: 18px 18px 16px; border-radius: 10px; background: #fbfaf6; box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.55); transform: rotate(-4deg); display: flex; flex-direction: column; gap: 2px; font-family: Georgia, "Times New Roman", serif; color: #1f2937; }
.nh-scan__paper b { font-size: 17px; }
.nh-scan__paper small { font-size: 11px; color: #4b5563; font-style: italic; }
.nh-scan__paper em { margin: 8px 0 6px; font-style: normal; font-family: Inter, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; color: #0f766e; }
.nh-scan__paper span { font-family: Inter, sans-serif; font-size: 10.5px; color: #374151; }
.nh-scan__logo { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #0f766e, #14b8a6); }
.nh-scan__corner { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: 0.95; }
.nh-scan__corner--tl { top: calc(50% - 92px); left: calc(50% - 128px); border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.nh-scan__corner--tr { top: calc(50% - 92px); right: calc(50% - 128px); border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.nh-scan__corner--bl { bottom: calc(50% - 92px); left: calc(50% - 128px); border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.nh-scan__corner--br { bottom: calc(50% - 92px); right: calc(50% - 128px); border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.nh-scan__beam { position: absolute; left: calc(50% - 124px); width: 248px; height: 56px; top: calc(50% - 92px); background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.55), transparent); border-radius: 8px; animation: nh-scan-beam 7s infinite; }
.nh-scan__hint { position: absolute; bottom: 34px; left: 0; right: 0; margin: 0; display: flex; justify-content: center; align-items: center; gap: 8px; color: #fff; font: 700 13px Inter, sans-serif; animation: nh-scan-hint 7s infinite; }
.nh-scan__result { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 20px; border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -20px 40px -20px rgba(15, 23, 42, 0.35); transform: translateY(105%); animation: nh-scan-sheet 7s infinite cubic-bezier(0.22, 1, 0.36, 1); }
.nh-scan__who { display: flex; align-items: center; gap: 10px; }
.nh-scan__who b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font: 800 14px var(--nx-display, Inter); }
.nh-scan__who strong { display: block; font: 800 15px var(--nx-display, Inter); color: var(--nx-ink); }
.nh-scan__who small { font-size: 11px; color: var(--nx-muted); }
.nh-scan__result ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.nh-scan__result li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 11px; background: #f1f5f9; font: 600 12px Inter, sans-serif; color: var(--nx-ink-2, #334155); opacity: 0; transform: translateX(-8px); animation: nh-scan-field 7s infinite; animation-delay: calc(var(--d) * 0.18s); }
.nh-scan__result li i { width: 14px; text-align: center; color: #2563eb; font-size: 11px; }
.nh-scan__save { display: block; margin-top: 12px; padding: 11px; border-radius: 13px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; text-align: center; font: 700 13px var(--nx-display, Inter); animation: nh-scan-press 7s infinite; }
.nh-scan__result, .nh-scan__toast { z-index: 2; }
.nh-scan__toast { position: absolute; top: 18px; left: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #0b1220; color: #fff; font: 700 12px Inter, sans-serif; white-space: nowrap; transform: translate(-50%, -70px); animation: nh-scan-toast 7s infinite cubic-bezier(0.22, 1, 0.36, 1); }
.nh-scan__toast i { color: #34d399; }
.nh-scan__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.45); font: 700 13px Inter, sans-serif; color: var(--nx-ink); white-space: nowrap; }
.nh-scan__chip i { color: #2563eb; }
.nh-scan__chip--a { top: 18%; left: 0; animation: nh-float 6s ease-in-out infinite; }
.nh-scan__chip--b { bottom: 16%; right: 0; animation: nh-float 6s ease-in-out infinite reverse; }
@keyframes nh-scan-beam { 0%, 8% { top: calc(50% - 92px); opacity: 0; } 12% { opacity: 1; } 40% { top: calc(50% + 36px); opacity: 1; } 44%, 100% { top: calc(50% + 36px); opacity: 0; } }
@keyframes nh-scan-hint { 0%, 6% { opacity: 0; } 12%, 40% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes nh-scan-sheet { 0%, 44% { transform: translateY(105%); } 52%, 92% { transform: none; } 100% { transform: translateY(105%); } }
@keyframes nh-scan-field { 0%, 50% { opacity: 0; transform: translateX(-8px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nh-scan-press { 0%, 72% { transform: none; opacity: 1; } 75% { transform: scale(0.96); opacity: 0.9; } 78%, 100% { transform: none; opacity: 1; } }
@keyframes nh-scan-toast { 0%, 76% { transform: translate(-50%, -70px); } 80%, 92% { transform: translate(-50%, 0); } 100% { transform: translate(-50%, -70px); } }
@keyframes nh-scan-dim { 0%, 42%, 100% { opacity: 0; } 50%, 92% { opacity: 1; } }
@keyframes nh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .nh-scan { grid-template-columns: 1fr; }
  .nh-scan__paper { transform: rotate(-3deg) translateZ(0); -webkit-font-smoothing: antialiased; }
  .nh-scan__demo::before { filter: none; background: radial-gradient(closest-side, rgba(14, 165, 233, 0.16), transparent 75%); }
  .nh-scan__demo { min-height: 520px; order: -1; }
  .nh-scan__phone { width: 260px; height: 510px; }
  .nh-scan__chip--a { left: 2%; top: 10%; }
  .nh-scan__chip--b { right: 2%; bottom: 8%; }
}
@media (max-width: 480px) {
  .nh-scan__chip { font-size: 12px; padding: 8px 11px; }
  .nh-scan__cta .nx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-scan__beam, .nh-scan__hint, .nh-scan__toast, .nh-scan__chip { animation: none; }
  .nh-scan__result { animation: none; transform: none; }
  .nh-scan__result li { animation: none; opacity: 1; transform: none; }
  .nh-scan__cam::after, .nh-scan__save { animation: none; }
}

/* Mobile: kicker + title above the phone demo, the rest of the copy below it. */
@media (max-width: 900px) {
  .nh-scan { gap: 0; }
  .nh-scan__copy { display: contents; }
  .nh-scan__copy > .nx-kicker { order: -3; text-align: center; }
  .nh-scan__copy > h2 { order: -2; text-align: center; }
  .nh-scan__demo { order: -1; margin: 18px 0 8px; }
  .nh-scan__lead { margin-top: 8px; }
}

/* Abutic+ bento: card scanner tile */
.nh-bt-scan { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 0; }
.nh-bt-scan__card { position: relative; display: flex; flex-direction: column; gap: 2px; width: 150px; padding: 14px; border-radius: 10px; background: #fbfaf6; box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.45); transform: rotate(-4deg); font-family: Georgia, serif; color: #1f2937; }
.nh-bt-scan__card b { font-size: 14px; }
.nh-bt-scan__card small { font-size: 10.5px; color: #0f766e; font-family: Inter, sans-serif; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nh-bt-scan__card i { display: block; height: 5px; margin-top: 7px; border-radius: 3px; background: #e5e7eb; }
.nh-bt-scan__card i + i { width: 70%; margin-top: 4px; }
.nh-bt-scan__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font-size: 13px; flex: none; }
.nh-bt-scan__row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 14px 28px -16px rgba(15, 23, 42, 0.4); }
.nh-bt-scan__row b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; font: 800 12px var(--nx-display, Inter); }
.nh-bt-scan__row strong { display: block; font: 800 13px var(--nx-display, Inter); color: var(--nx-ink); }
.nh-bt-scan__row small { font-size: 11px; font-weight: 600; color: #059669; }
.nh-bt__label .nh-scan__new { height: 18px; padding: 0 7px; font-size: 10px; margin-left: 4px; margin-right: 0; }
@media (max-width: 480px) { .nh-bt-scan { gap: 8px; } .nh-bt-scan__card { width: 120px; padding: 11px; } .nh-bt-scan__row { padding: 8px 10px; } }
