/* Guest homepage. Layered background, glass tiles, gentle scroll-in, soft colored glow on hover.
   Only transform and opacity animate. All motion is off for reduced-motion visitors. */
html:has(#nf-home) body { overflow-x: clip; }
html:has(#nf-home) #main-content #bx-content-wrapper { padding-bottom: 40px !important; }
.nf-row { display: block; width: 100%; flex: 0 0 100%; box-sizing: border-box; margin-top: 28px; }
.nf-home { position: relative; isolation: isolate; color: var(--dn-text, #f3f6fb); padding-top: 18px; }
.nf-sec { position: relative; margin: 0; padding: 36px 0; }

/* layered background: grid, soft glows, grain */
.nf-bg { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; overflow: hidden; pointer-events: none; z-index: -1; }
.nf-gridbg { position: absolute; inset: 0; background-image: linear-gradient(rgba(122,166,220,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(122,166,220,.07) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.6) 160px, rgba(0,0,0,.45) 45%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.6) 160px, rgba(0,0,0,.45) 45%, transparent 100%); }
.nf-orb { position: absolute; width: 720px; height: 720px; border-radius: 50%; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); animation: nf-float 26s ease-in-out infinite alternate; }
.nf-o1 { top: 120px; left: -220px; background: radial-gradient(closest-side, rgba(91,143,208,.30), rgba(91,143,208,0)); }
.nf-o2 { top: 1100px; right: -260px; background: radial-gradient(closest-side, rgba(167,139,250,.24), rgba(167,139,250,0)); animation-duration: 32s; animation-delay: -8s; }
.nf-o3 { top: 2200px; left: -180px; background: radial-gradient(closest-side, rgba(45,212,191,.20), rgba(45,212,191,0)); animation-duration: 29s; animation-delay: -15s; }
.nf-grain { position: absolute; inset: 0; opacity: .07; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 200px); mask-image: linear-gradient(180deg, transparent 0, #000 200px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; }
@keyframes nf-float { from { margin-left: 0; margin-top: 0; transform: translate3d(0, var(--py, 0px), 0) scale(1); } to { transform: translate3d(60px, calc(var(--py, 0px) + 40px), 0) scale(1.08); } }

/* hero: runs edge to edge, content sits in the same container as the header and the sections below */
body.bx-artificer .bx-db-container:has(.bx-landing) { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.bx-landing .bx-landing-main { position: relative; isolation: isolate; width: 100%; max-width: none; margin: 0; padding: 2rem 0 3.5rem; gap: 2rem;
  clip-path: inset(-16px -100vmax 0 -100vmax); }
.bx-landing .bx-landing-main::before, .bx-landing .bx-landing-main::after { content: ""; position: absolute; z-index: -1; top: -16px; bottom: 0; left: -100vmax; right: -100vmax; pointer-events: none; }
.bx-landing .bx-landing-main::before {
  background: radial-gradient(55% 90% at 12% 0%, rgba(91,143,208,.38), rgba(91,143,208,0) 70%), radial-gradient(45% 80% at 92% 25%, rgba(167,139,250,.22), rgba(167,139,250,0) 70%),
    linear-gradient(180deg, #1b2a42 0%, #172338 50%, rgba(15,23,36,0) 100%); }
.bx-landing .bx-landing-main::after {
  background-image: linear-gradient(rgba(122,166,220,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(122,166,220,.08) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.6) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.6) 55%, transparent 100%); }
@media (min-width: 1024px) {
  .bx-landing .bx-landing-main { padding: 3rem 0 4rem; gap: 3rem; align-items: stretch; }
  .bx-landing .bx-landing-intro { justify-content: center; }
}
.nf-hero-points, .nf-hero-points li { list-style: none !important; }
.nf-hero-points {  margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.nf-hero-points li { position: relative; padding-left: 22px; font-size: 1.02rem; color: var(--dn-text, #f3f6fb); }
.nf-hero-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #8fb7ee; box-shadow: 0 0 12px rgba(122,166,220,.8); }
.nf-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 6px 0 0 !important; }
.nf-hero-cta .bx-btn { padding: .7rem 1.8rem; border-radius: 999px; transition: box-shadow .4s ease; }
.nf-hero-cta .bx-btn:hover { box-shadow: 0 0 30px rgba(122,166,220,.55); }
.bx-landing a.nf-link { color: var(--dn-link, #7aa6dc); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .nf-hero-points { justify-items: start; text-align: left; display: inline-grid; }
  .nf-hero-cta { justify-content: center; }
}

/* header edges line up with the page container for visitors */
@media (min-width: 701px) and (max-width: 1023px) { .ns-guest .ns-hd { padding-left: 16px; padding-right: 16px; } }
@media (min-width: 1024px) {
  .ns-guest .ns-hd { padding-left: max(24px, calc((100% - 1360px) / 2 + 24px)); padding-right: max(24px, calc((100% - 1360px) / 2 + 24px)); }
}

/* type */
.nf-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.nf-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dn-link, #7aa6dc); }
.nf-home h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--dn-text, #f3f6fb); text-wrap: balance; }
.nf-home h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 650; line-height: 1.25; color: var(--dn-text, #f3f6fb); }
.nf-home p { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; color: var(--dn-mut, #b8c4d6); text-wrap: pretty; }
.nf-lead { font-size: 1.1rem !important; }
.nf-grad { background: linear-gradient(90deg, #8fb7ee, #b49cff, #4fe0c8, #8fb7ee); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #9db8e6; animation: nf-shift 12s linear infinite; }
@keyframes nf-shift { from { background-position: 0% 0; } to { background-position: 220% 0; } }

/* dividers */
.nf-div { position: relative; height: 1px; margin: 4px auto; max-width: 880px; background: linear-gradient(90deg, rgba(122,166,220,0), rgba(122,166,220,.45), rgba(122,166,220,0)); }
.nf-div i { position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: #9db8e6; box-shadow: 0 0 14px 2px rgba(122,166,220,.7); }

/* glass tiles and cards */
.nf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nf-tile, .nf-card, .nf-q, .nf-step {
  position: relative; padding: 22px 22px 16px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(36,52,78,.62), rgba(20,30,47,.62));
  border: 1px solid rgba(122,166,220,.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 30px -22px rgba(0,0,0,.8);
  transition: box-shadow .45s ease, border-color .45s ease;
  overflow: hidden;
}
/* soft light that follows the pointer (set by the script on fine pointers) */
.nf-tile::after, .nf-card::after, .nf-step::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--glow, #5b8fd0) 28%, transparent), transparent 70%); }
.nf-tile:hover::after, .nf-card:hover::after, .nf-step:hover::after { opacity: 1; }
.nf-tile:hover, .nf-card:hover, .nf-tile:focus-within, .nf-card:focus-within, .nf-q:hover, .nf-step:hover {
  border-color: color-mix(in srgb, var(--glow, #5b8fd0) 80%, transparent);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px color-mix(in srgb, var(--glow, #5b8fd0) 45%, transparent), 0 16px 48px -14px var(--glow, rgba(91,143,208,.5));
}
.nf-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; color: #fff; vertical-align: middle;
  background: radial-gradient(120% 120% at 20% 10%, var(--glow, #5b8fd0), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); }
.nf-ico svg { width: 24px; height: 24px; }
.nf-list { list-style: none; margin: 4px 0 8px; padding: 0; }
.nf-list li { position: relative; margin: 0 0 7px; padding-left: 18px; font-size: .92rem; line-height: 1.45; color: var(--dn-mut, #b8c4d6); }
.nf-list li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--glow, #7aa6dc); box-shadow: 0 0 10px var(--glow, rgba(122,166,220,.6)); }
.nf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf-badge { display: inline-block; margin: 0 0 12px 12px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.nf-live { color: #86efac; background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.4); }
.nf-soon { color: #fcd34d; background: rgba(252,211,77,.1); border: 1px solid rgba(252,211,77,.35); }
.nf-home a.nf-link { color: var(--dn-link, #7aa6dc); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* steps with a line that fills in */
.nf-steps { list-style: none; counter-reset: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.nf-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 43px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #5b8fd0, #a78bfa, #2dd4bf, #5b8fd0); background-size: 200% 100%; opacity: .55; animation: nf-shift 9s linear infinite; }
.nf-step { text-align: center; padding: 22px 20px 8px; --glow: rgba(122,166,220,.55); }
.nf-num { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; font-weight: 700; font-size: 1.05rem; color: #fff;
  background: radial-gradient(120% 120% at 25% 15%, #6f9fe0, #2b3d59); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 22px -2px rgba(122,166,220,.65); }

.nf-cta { text-align: center; margin: 30px 0 0 !important; }
.nf-join.bx-btn { padding: .8rem 2.2rem; font-size: 1.05rem; border-radius: 999px; transition: box-shadow .4s ease; }
.nf-join.bx-btn:hover { box-shadow: 0 0 34px rgba(122,166,220,.55); }

.nf-two { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.nf-card { padding: 28px 28px 18px; }
.nf-facts { margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.nf-facts div { padding: 14px 16px; border-radius: 14px; background: rgba(8,17,31,.35); border: 1px solid rgba(122,166,220,.14); }
.nf-facts dt { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dn-link, #7aa6dc); }
.nf-facts dd { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--dn-mut, #b8c4d6); }
.nf-partner { display: flex; flex-direction: column; }
.nf-eslogo { display: block; margin: 6px 0 18px; padding: 18px; border-radius: 16px; background: rgba(8,17,31,.45); border: 1px solid rgba(122,166,220,.16); transition: box-shadow .4s ease, border-color .4s ease; }
.nf-eslogo:hover, .nf-eslogo:focus-visible { border-color: rgba(122,166,220,.5); box-shadow: 0 0 34px -6px rgba(122,166,220,.5); outline: none; }
.nf-eslogo img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.nf-es.bx-btn { transition: box-shadow .4s ease; }
.nf-es.bx-btn:hover { box-shadow: 0 0 26px rgba(122,166,220,.45); }

/* faq */
.nf-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.nf-q { padding: 0; --glow: rgba(122,166,220,.5); }
.nf-q summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 650; color: var(--dn-text, #f3f6fb); position: relative; }
.nf-q summary::-webkit-details-marker { display: none; }
.nf-q summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #9db8e6; border-bottom: 2px solid #9db8e6; transform: rotate(45deg); transition: transform .35s ease; }
.nf-q[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.nf-q summary:focus-visible { outline: 2px solid var(--dn-link, #7aa6dc); outline-offset: -2px; border-radius: 20px; }
.nf-q p { margin: 0; padding: 0 20px 18px; }

/* closing call to action */
.nf-final { position: relative; margin: 36px 0 20px; padding: 44px 24px 30px; text-align: center; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(122,166,220,.28);
  background: radial-gradient(70% 120% at 15% 0%, rgba(91,143,208,.32), rgba(91,143,208,0) 70%), radial-gradient(70% 120% at 90% 100%, rgba(167,139,250,.25), rgba(167,139,250,0) 70%), linear-gradient(160deg, rgba(36,52,78,.75), rgba(20,30,47,.75)); }
.nf-final h2 { margin-bottom: 10px; }
.nf-final p { max-width: 560px; margin-left: auto; margin-right: auto; }
.nf-final .nf-cta { margin: 22px auto 0 !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }

/* scroll-in, only when the script confirmed it can reveal them */
.nf-js .nf-in { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.22,.61,.36,1) calc(var(--i, 0) * 90ms), transform .8s cubic-bezier(.22,.61,.36,1) calc(var(--i, 0) * 90ms), box-shadow .45s ease, border-color .45s ease; }
.nf-js .nf-in.nf-seen { opacity: 1; transform: none; }
.nf-js .nf-div.nf-in { transform: scaleX(.6); }
.nf-js .nf-div.nf-in.nf-seen { transform: none; }

@media (max-width: 1000px) {
  .nf-grid, .nf-grid-2, .nf-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-grid-3 > :last-child { grid-column: 1 / -1; }
  .nf-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nf-steps { grid-template-columns: minmax(0, 1fr); }
  .nf-steps::before { left: 50%; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: linear-gradient(180deg, #5b8fd0, #a78bfa, #2dd4bf); background-size: 100% 200%; }
}
@media (max-width: 640px) {
  .nf-sec { padding: 28px 0; }
  .nf-grid, .nf-grid-2, .nf-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nf-badge { display: block; width: fit-content; margin: 0 auto 12px; }
  .nf-tile, .nf-card { text-align: center; padding: 22px 18px 12px; }
  .nf-ico { margin-left: auto; margin-right: auto; }
  .nf-list { display: inline-block; text-align: left; }
  .nf-facts div { text-align: center; }
  .nf-eslogo img { max-width: 260px; }
  .nf-partner { align-items: center; }
  .nf-eslogo { width: 100%; box-sizing: border-box; }
  .nf-q summary { text-align: left; }
  .nf-orb { width: 460px; height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-js .nf-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nf-orb, .nf-grad, .nf-steps::before { animation: none !important; }
  .nf-tile, .nf-card, .nf-q, .nf-step, .nf-eslogo, .nf-join.bx-btn, .nf-es.bx-btn, .nf-tile::after, .nf-card::after, .nf-step::after, .nf-q summary::after { transition: none !important; }
}
