/* TeruSleep Nexus LP — 刷新版 */
*, *::before, *::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body.nx-land {
  --nx-ink: #142033;
  --nx-muted: #5a6a80;
  --nx-join: #0f9f75;
  --nx-warm: #e8590c;
  --nx-sky: #1c7ed6;
  --nx-font: "Noto Sans JP", sans-serif;
  --nx-display: Nunito, "Noto Sans JP", sans-serif;

  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--nx-ink);
  font-family: var(--nx-font);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 190, 70, 0.5), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 5%, rgba(56, 180, 240, 0.42), transparent 50%),
    radial-gradient(ellipse 60% 40% at 60% 100%, rgba(40, 210, 160, 0.28), transparent 50%),
    linear-gradient(175deg, #fff1c9 0%, #dff2ff 45%, #d6fff0 100%);
  -webkit-font-smoothing: antialiased;
}

.nx-wrap {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.nx-h2 {
  margin: 0 0 14px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.3;
}

.nx-sub {
  margin: 0 0 28px;
  color: var(--nx-muted);
  line-height: 1.75;
  max-width: 36rem;
  font-size: 1.02rem;
}

.nx-eyebrow {
  margin: 0 0 10px;
  color: var(--nx-join);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn-soft {
  background: #fff;
  color: var(--nx-ink) !important;
  box-shadow: 0 14px 34px rgba(20, 32, 51, 0.12);
}
.nx-btn-warm {
  background: linear-gradient(105deg, #ff922b, #e67700);
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(230, 119, 0, 0.34);
}
.nx-btn-light {
  background: #fff;
  color: var(--nx-ink) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}
.nx-btn-discord {
  background: #5865f2;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.35);
}

/* ===== Hero ===== */
.nx-hero {
  position: relative;
  min-height: calc(100dvh - 64px);
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
}

.nx-hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 18px 120px;
}

.nx-hero-portal {
  width: min(920px, 100%);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 80px rgba(20, 32, 51, 0.18);
  overflow: hidden;
  transform: perspective(1200px) rotateX(4deg) translateY(12px);
  animation: nx-portal-in 1.1s ease both;
}

.nx-hero-portal-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(20, 32, 51, 0.86);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.nx-hero-portal-bar em {
  font-style: normal;
  opacity: 0.75;
}

.nx-hero-portal-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232, 248, 255, 0.9));
}

.nx-hero-ev {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.06);
  animation: nx-ev-rise .7s ease both;
}
.nx-hero-ev:nth-child(1) { animation-delay: .15s; }
.nx-hero-ev:nth-child(2) { animation-delay: .28s; }
.nx-hero-ev:nth-child(3) { animation-delay: .4s; }
.nx-hero-ev:nth-child(4) { animation-delay: .52s; }
.nx-hero-ev.is-hot {
  background: linear-gradient(105deg, rgba(255,146,43,0.14), rgba(18,184,134,0.12));
}
.nx-hero-ev b {
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nx-join);
  letter-spacing: 0.04em;
}
.nx-hero-ev strong {
  font-size: 1.05rem;
  font-weight: 900;
  font-family: var(--nx-display);
}
.nx-hero-ev span {
  color: var(--nx-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nx-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 243, 210, 0.35) 0%, rgba(223, 242, 255, 0.55) 42%, rgba(214, 255, 240, 0.92) 100%),
    linear-gradient(90deg, rgba(255, 243, 210, 0.55) 0%, transparent 45%, transparent 100%);
  pointer-events: none;
}

.nx-hero-inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 56px;
  text-align: left;
}

.nx-hero-brand {
  margin: 0 0 12px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  letter-spacing: 0.01em;
  color: var(--nx-ink);
  animation: nx-fade-up .7s ease both;
}

.nx-hero-title {
  margin: 0 0 14px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  animation: nx-fade-up .75s .08s ease both;
}

.nx-hero-lead {
  margin: 0 0 26px;
  max-width: 34rem;
  color: var(--nx-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.7;
  animation: nx-fade-up .75s .16s ease both;
}

.nx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: nx-fade-up .75s .24s ease both;
}

@keyframes nx-portal-in {
  from { opacity: 0; transform: perspective(1200px) rotateX(10deg) translateY(40px) scale(.96); }
  to { opacity: 1; transform: perspective(1200px) rotateX(4deg) translateY(12px) scale(1); }
}
@keyframes nx-ev-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes nx-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ===== Trust ===== */
.nx-trust {
  padding: 8px 0 40px;
  scroll-margin-top: 72px;
}
.nx-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nx-trust-item {
  text-align: center;
  padding: 22px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.06);
}
.nx-trust-item span {
  display: block;
  color: var(--nx-muted);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.nx-trust-item strong {
  display: block;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.25;
  color: var(--nx-ink);
}
.nx-trust-note {
  margin: 16px auto 0;
  color: var(--nx-warm);
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.6;
}

/* ===== Why ===== */
/* ========== 人の流れマップ ========== */
.nx-flowmap {
  padding: 20px 0 64px;
}
.nx-flowmap-board {
  margin-top: 8px;
  padding: 20px 16px 16px;
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.82), rgba(255,255,255,0.5)),
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(15,159,117,0.12), transparent 55%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 18px 48px rgba(20,32,51,0.1);
}
.nx-fm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.nx-fm-leg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nx-muted);
}
.nx-fm-leg i {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  display: block;
}
.nx-fm-leg-auto i {
  background-image: repeating-linear-gradient(90deg, #1c7ed6 0 6px, transparent 6px 10px);
  background-color: transparent;
  border-bottom: 3px dashed #1c7ed6;
  height: 0;
  width: 32px;
}
.nx-fm-leg-people i { background: #0f9f75; }
.nx-fm-leg-warm i { background: #e8590c; }

.nx-fm-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.nx-fm-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: none;
  transition: opacity .35s ease, transform .35s ease;
}
.nx-fm-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--nx-ink);
  color: #fff;
  font-family: var(--nx-display);
  font-weight: 900;
  margin-bottom: 10px;
}

.nx-fm-card {
  width: 100%;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,32,51,0.08);
  text-align: center;
  border: 2px solid transparent;
}
.nx-fm-card strong {
  display: block;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.nx-fm-card p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}
.nx-fm-card-wide { max-width: 520px; }
.nx-fm-card-host {
  background: linear-gradient(135deg, #fff4e6, #ffe8cc);
  border-color: rgba(232,89,12,0.4);
}
.nx-fm-card-host strong { color: #c2410c; }
.nx-fm-card-action {
  background: #1c3d5a;
  color: #fff;
}
.nx-fm-card-action p { color: rgba(255,255,255,0.75); }
.nx-fm-card-board {
  background: linear-gradient(135deg, #e8fb9c, #d4f56a);
  border-color: rgba(100,140,20,0.4);
}
.nx-fm-card-hub {
  background: linear-gradient(160deg, #dcebff, #c5dbff);
  border-color: rgba(28,126,214,0.45);
  border-radius: 28px;
}
.nx-fm-card-bot {
  background: #eceff3;
  border-color: rgba(20,32,51,0.15);
  border-radius: 28px;
}
.nx-fm-card-people {
  background: linear-gradient(135deg, #d9f7ef, #c3f0e4);
  border-color: rgba(15,159,117,0.4);
}
.nx-fm-card-get {
  background: linear-gradient(135deg, #d9f7ef, #b8f0dc);
  border-color: rgba(15,159,117,0.5);
}
.nx-fm-card-get strong { color: #0b7a56; font-size: 1.2rem; }

.nx-fm-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 8px 0;
  opacity: 1;
  transition: opacity .3s ease, filter .3s ease;
}
.nx-fm-arrow span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  text-align: center;
  max-width: 280px;
  line-height: 1.35;
}
.nx-fm-arrow b {
  display: block;
  width: 6px;
  height: 36px;
  border-radius: 4px;
  position: relative;
  background: #5a6a80;
  color: #5a6a80;
}
.nx-fm-arrow b::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid currentColor;
}
.nx-fm-arrow-down span { color: #5a6a80; }
.nx-fm-arrow-auto b {
  width: 0;
  height: 42px;
  background: transparent;
  border-left: 4px dashed #1c7ed6;
  color: #1c7ed6;
  border-radius: 0;
}
.nx-fm-arrow-auto span {
  color: #1c7ed6;
  background: rgba(28,126,214,0.12);
}
.nx-fm-arrow-people b {
  background: #0f9f75;
  color: #0f9f75;
  width: 8px;
}
.nx-fm-arrow-people span {
  color: #0b7a56;
  background: rgba(15,159,117,0.14);
}
.nx-fm-arrow-warm b {
  background: #e8590c;
  color: #e8590c;
  width: 8px;
}
.nx-fm-arrow-warm span {
  color: #c2410c;
  background: rgba(232,89,12,0.14);
}
.nx-fm-arrow-fat b { height: 52px; }
.nx-fm-arrow-fat span { font-size: 0.88rem; padding: 6px 12px; }

.nx-fm-branch {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 1;
  transition: opacity .35s ease;
}
.nx-fm-branch .nx-fm-arrow { margin: 4px 0 10px; }

.nx-fm-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 8px;
  opacity: 1;
  transition: opacity .35s ease;
}
@media (min-width: 640px) {
  .nx-fm-split { grid-template-columns: 1fr 1fr; }
  .nx-fm-split .nx-fm-card { max-width: none; }
}

.nx-fm-inbound {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(20,32,51,0.05);
  opacity: 1;
  transition: opacity .35s ease;
}
.nx-fm-inbound .nx-fm-card { max-width: none; }
.nx-fm-inbound-target {
  text-align: center;
  font-weight: 900;
  color: #0b7a56;
  font-size: 0.95rem;
  padding-top: 4px;
}
@media (min-width: 640px) {
  .nx-fm-inbound {
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
  }
  .nx-fm-inbound-target { grid-column: 1 / -1; }
  .nx-fm-arrow-into {
    flex-direction: row;
    gap: 6px;
  }
  .nx-fm-arrow-into b {
    width: 40px;
    height: 6px;
  }
  .nx-fm-arrow-into.nx-fm-arrow-auto b {
    width: 44px;
    height: 0;
    border-left: none;
    border-top: 4px dashed #1c7ed6;
  }
  .nx-fm-arrow-into b::after {
    left: auto;
    right: -2px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 12px solid currentColor;
    border-right: 0;
  }
}

.nx-flowmap-board [data-step].is-now .nx-fm-card,
.nx-flowmap-board [data-step].is-now.nx-fm-card {
  box-shadow: 0 0 0 3px rgba(15,159,117,0.5), 0 16px 40px rgba(20,32,51,0.14);
}
.nx-flowmap-board [data-step].is-now.nx-fm-arrow span,
.nx-flowmap-board [data-step].is-now .nx-fm-arrow span {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px currentColor;
}
.nx-flowmap-board [data-step].is-now.nx-fm-arrow,
.nx-flowmap-board [data-step].is-now .nx-fm-arrow {
  filter: drop-shadow(0 0 6px rgba(15,159,117,0.45));
}

.nx-fm-guide {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20, 32, 51, 0.92);
  color: #f4f7fb;
}
.nx-fm-guide-face {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f9f75, #1c7ed6);
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.1rem;
}
.nx-fm-guide strong {
  display: block;
  font-family: var(--nx-display);
  font-weight: 900;
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.nx-fm-guide p {
  margin: 0;
  color: rgba(244,247,251,0.82);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 700;
}
.nx-fm-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nx-fm-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
@media (min-width: 720px) {
  .nx-fm-points { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.nx-fm-points article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 10px 28px rgba(20,32,51,0.06);
}
.nx-fm-points h3 {
  margin: 0 0 6px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.05rem;
}
.nx-fm-points p {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 700;
}

.nx-why {
  padding: 36px 0 56px;
  scroll-margin-top: 72px;
}
.nx-why-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
@media (min-width: 760px) {
  .nx-why-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.nx-why-block {
  padding: 8px 4px 0;
}
.nx-why-num {
  display: block;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 2rem;
  color: rgba(28, 126, 214, 0.35);
  line-height: 1;
  margin-bottom: 8px;
}
.nx-why-block h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.45;
}
.nx-why-block p {
  margin: 0;
  color: var(--nx-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* ===== Compare ===== */
.nx-compare {
  padding: 20px 0 64px;
  scroll-margin-top: 72px;
}
.nx-compare-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .nx-compare-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.nx-flow {
  padding: 22px 20px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 32px rgba(20, 32, 51, 0.07);
}
.nx-flow h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nx-flow h3 span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
}
.nx-flow-bad h3 span { background: rgba(224, 49, 49, 0.15); color: #c92a2a; }
.nx-flow-good h3 span { background: rgba(15, 159, 117, 0.18); color: #0b7a56; }
.nx-flow ol {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--nx-muted);
  line-height: 1.75;
  font-weight: 600;
  font-size: 0.94rem;
}
.nx-flow ol li + li { margin-top: 6px; }
.nx-flow-result {
  margin: 16px 0 0;
  font-weight: 800;
  font-size: 0.92rem;
}
.nx-flow-bad .nx-flow-result { color: #c92a2a; }
.nx-flow-good .nx-flow-result { color: #0b7a56; }

.nx-funnel {
  margin-top: 36px;
  padding-top: 8px;
}
.nx-funnel-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 900;
}
.nx-funnel-steps {
  display: grid;
  gap: 8px;
}
@media (min-width: 860px) {
  .nx-funnel-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }
}
.nx-funnel-step {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 22px rgba(20, 32, 51, 0.06);
  opacity: 0.45;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease, background .35s ease;
}
.nx-funnel-step.is-on {
  opacity: 1;
  transform: none;
}
.nx-funnel-step.is-goal.is-on {
  background: linear-gradient(115deg, rgba(15, 159, 117, 0.18), rgba(28, 126, 214, 0.16));
}
.nx-funnel-step strong {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}
.nx-funnel-step span {
  color: var(--nx-muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}
.nx-funnel-arrow {
  display: none;
}
@media (min-width: 860px) {
  .nx-funnel-arrow {
    display: block;
    width: 18px;
    align-self: center;
    height: 2px;
    background: rgba(20, 32, 51, 0.2);
    position: relative;
  }
  .nx-funnel-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: rgba(20, 32, 51, 0.28);
  }
}
.nx-funnel-point {
  margin: 18px 0 0;
  color: var(--nx-muted);
  line-height: 1.8;
  font-size: 0.98rem;
  max-width: 46rem;
}
.nx-funnel-point strong { color: var(--nx-ink); }

/* ===== Steps ===== */
.nx-steps {
  padding: 24px 0 64px;
  scroll-margin-top: 72px;
}
.nx-steps-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: none;
}
@media (min-width: 800px) {
  .nx-steps-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.nx-steps-list li {
  padding: 4px 2px;
}
.nx-steps-list em {
  display: block;
  font-style: normal;
  font-weight: 900;
  font-family: var(--nx-display);
  color: var(--nx-sky);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.nx-steps-list strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.4;
}
.nx-steps-list p {
  margin: 0;
  color: var(--nx-muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

/* ===== Auto table ===== */
.nx-auto {
  padding: 12px 0 64px;
  scroll-margin-top: 72px;
}
.nx-auto-table {
  margin-top: 18px;
  display: grid;
  gap: 0;
}
.nx-auto-head,
.nx-auto-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  padding: 16px 4px;
}
.nx-auto-head {
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--nx-muted);
  letter-spacing: 0.04em;
}
.nx-auto-row + .nx-auto-row {
  box-shadow: inset 0 1px 0 rgba(20, 32, 51, 0.08);
}
.nx-auto-row span:first-child {
  font-weight: 800;
  color: var(--nx-ink);
}
.nx-auto-row span:last-child {
  color: var(--nx-muted);
  font-weight: 600;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .nx-auto-head { display: none; }
  .nx-auto-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 2px;
  }
  .nx-auto-row span:first-child::before {
    content: "悩み · ";
    color: var(--nx-muted);
    font-weight: 700;
    font-size: 0.82rem;
  }
}

/* ===== Final CTA ===== */
.nx-final {
  padding: 12px 18px 56px;
  scroll-margin-top: 72px;
}
.nx-final-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 48px 28px;
  border-radius: 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(115deg, #12b886 0%, #15aabf 45%, #228be6 100%);
  box-shadow: 0 24px 60px rgba(18, 184, 134, 0.28);
  position: relative;
  overflow: hidden;
}
.nx-final-inner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -50px;
  top: -70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  animation: nx-blob 8s ease-in-out infinite;
}
@keyframes nx-blob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 12px); }
}
.nx-final-brand {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.35rem;
}
.nx-final h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
  line-height: 1.4;
}
.nx-final p {
  position: relative;
  margin: 0 0 12px;
  opacity: 0.95;
  line-height: 1.75;
}
.nx-final-recruit {
  font-weight: 800 !important;
  opacity: 1 !important;
}
.nx-final .nx-btn { position: relative; margin-top: 10px; }
.nx-final-sub {
  margin-top: 16px !important;
  font-size: 0.92rem;
}
.nx-final-sub a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== FAQ (既存) ===== */
.nx-faq {
  padding: 40px 0 88px;
  scroll-margin-top: 72px;
}
.nx-inline-link {
  color: #1864ab;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}
.nx-faq-filter {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  color: var(--nx-ink);
  font: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 20px rgba(26, 35, 50, 0.06);
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.nx-faq-filter em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  opacity: 0.55;
}
.nx-faq-filter:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.85);
}
.nx-faq-filter.is-on {
  background: linear-gradient(115deg, #12b886 0%, #15aabf 55%, #228be6 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 184, 134, 0.28);
}
.nx-faq-filter.is-on em { opacity: 0.85; }
.nx-faq-empty {
  margin: 12px 0 0;
  color: var(--nx-muted);
  font-weight: 700;
}
.nx-faq-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.nx-faq-item + .nx-faq-item {
  box-shadow: inset 0 1px 0 rgba(26, 35, 50, 0.08);
}
.nx-faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--nx-ink);
  user-select: none;
}
.nx-faq-q::-webkit-details-marker { display: none; }
.nx-faq-q::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(34, 139, 230, 0.14);
  color: #1864ab;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}
.nx-faq-item[open] .nx-faq-q::after {
  content: "−";
  background: rgba(18, 184, 134, 0.18);
  color: #0b7a56;
}
.nx-faq-a {
  padding: 0 4px 20px;
  color: var(--nx-muted);
  line-height: 1.8;
  font-size: 0.98rem;
  max-width: 46rem;
}
.nx-faq-a a {
  color: #1864ab;
  font-weight: 700;
}
.nx-faq-more {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  color: var(--nx-muted);
  font-weight: 700;
}

.nx-support-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  background: #5865f2;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 36px rgba(88, 101, 242, 0.4);
  transition: transform .2s ease;
}
.nx-support-fab:hover { transform: translateY(-2px); }
.nx-support-fab-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.2);
  font-weight: 900;
}

/* ========== 体験デモ ========== */
.nx-demo {
  padding: 28px 0 72px;
}
.nx-demo-stage {
  margin-top: 8px;
  padding: 22px 20px 18px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(255, 200, 80, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(40, 200, 170, 0.22), transparent 50%);
  box-shadow: 0 20px 50px rgba(20, 32, 51, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.nx-demo-rail {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.nx-demo-rail li { flex: 0 0 auto; }
.nx-demo-rail-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--nx-muted);
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.nx-demo-rail-btn:hover { transform: translateY(-1px); }
.nx-demo-rail-btn.is-active {
  background: var(--nx-ink);
  color: #fff;
}
.nx-demo-rail-btn.is-done {
  background: rgba(15, 159, 117, 0.16);
  color: #0b7a56;
}
.nx-demo-rail-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 32, 51, 0.08);
  font-size: 0.75rem;
}
.nx-demo-rail-btn.is-active .nx-demo-rail-num {
  background: rgba(255, 255, 255, 0.2);
}

.nx-demo-insight {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 32, 51, 0.92);
  color: #f4f7fb;
  box-shadow: 0 14px 36px rgba(20, 32, 51, 0.22);
  animation: nxDemoInsightIn .45s ease both;
}
.nx-demo-stage.is-tick .nx-demo-insight {
  animation: nxDemoInsightIn .45s ease both;
}
@keyframes nxDemoInsightIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.nx-demo-insight-tag {
  display: inline-block;
  margin-bottom: 6px;
  color: #7dffa8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.nx-demo-insight strong {
  display: block;
  font-family: var(--nx-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 6px;
}
.nx-demo-insight p {
  margin: 0;
  color: rgba(244, 247, 251, 0.82);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 46rem;
}

.nx-demo-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nx-demo-pane-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 4px;
}
.nx-demo-pane-label em {
  font-style: normal;
  font-weight: 900;
  font-family: var(--nx-display);
  color: var(--nx-ink);
}
.nx-demo-pane-label span {
  color: var(--nx-muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.nx-demo-pane[data-role="join"] .nx-demo-pane-label em { color: #1864ab; }
.nx-demo-pane[data-role="host"] .nx-demo-pane-label em { color: #0b7a56; }

.nx-demo-chrome {
  border-radius: 18px;
  overflow: hidden;
  background: #0f1724;
  box-shadow: 0 16px 40px rgba(20, 32, 51, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nx-demo-chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #1a2436;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
}
.nx-demo-chrome-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d4d66;
}
.nx-demo-chrome-bar i:nth-child(1) { background: #ff6b6b; }
.nx-demo-chrome-bar i:nth-child(2) { background: #fcc419; }
.nx-demo-chrome-bar i:nth-child(3) { background: #51cf66; }
.nx-demo-chrome-bar span {
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-demo-viewport {
  position: relative;
  min-height: 280px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6f2 100%);
  color: var(--nx-ink);
}
.nx-ds {
  position: absolute;
  inset: 0;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity .35s ease, transform .45s ease, visibility 0s linear .35s;
  pointer-events: none;
}
.nx-demo-stage[data-step="0"] .nx-ds[data-s="0"],
.nx-demo-stage[data-step="1"] .nx-ds[data-s="1"],
.nx-demo-stage[data-step="2"] .nx-ds[data-s="2"],
.nx-demo-stage[data-step="3"] .nx-ds[data-s="3"],
.nx-demo-stage[data-step="4"] .nx-ds[data-s="4"],
.nx-demo-stage[data-step="5"] .nx-ds[data-s="5"],
.nx-demo-stage[data-step="6"] .nx-ds[data-s="6"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}

.nx-ds-brand {
  margin: 0 0 6px;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.2rem;
}
.nx-ds-copy { margin: 0 0 18px; color: var(--nx-muted); font-weight: 700; }
.nx-ds-login {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.nx-ds-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #5865f2;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.35);
  animation: nxDemoPulse 1.6s ease-in-out infinite;
}
.nx-ds-discord span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
}
.nx-ds-cursor {
  position: absolute;
  left: 120px;
  top: 58%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--nx-ink);
  transform: rotate(-30deg) scale(0);
  animation: nxDemoClick 4.2s ease infinite;
}
@keyframes nxDemoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes nxDemoClick {
  0%, 35% { transform: rotate(-30deg) scale(0); opacity: 0; }
  45% { transform: rotate(-30deg) scale(1); opacity: 1; }
  55% { transform: rotate(-30deg) translate(18px, 8px) scale(1); }
  65% { transform: rotate(-30deg) translate(18px, 8px) scale(0.85); }
  100% { transform: rotate(-30deg) translate(18px, 8px) scale(0); opacity: 0; }
}

.nx-ds-head {
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.nx-ds-form {
  display: grid;
  gap: 8px;
}
.nx-ds-form label {
  display: grid;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nx-muted);
}
.nx-ds-form input {
  border: 1px solid rgba(20, 32, 51, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
  background: #fff;
  color: var(--nx-ink);
}
.nx-ds-form-compact label { font-size: 0.72rem; }
.nx-ds-primary,
.nx-ds-warm,
.nx-ds-ghost,
.nx-ds-join-btn {
  border: 0;
  border-radius: 11px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  cursor: default;
}
.nx-ds-primary {
  background: var(--nx-join);
  color: #fff;
  margin-top: 4px;
  animation: nxDemoPulse 1.8s ease-in-out infinite;
}
.nx-ds-warm {
  background: var(--nx-warm);
  color: #fff;
  animation: nxDemoPulse 1.8s ease-in-out infinite;
}
.nx-ds-ghost {
  background: rgba(20, 32, 51, 0.06);
  color: var(--nx-ink);
}
.nx-ds-toast {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(28, 126, 214, 0.12);
  color: #1864ab;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
}
.nx-demo-stage[data-step="1"] .nx-ds[data-s="1"] .nx-ds-toast,
.nx-demo-stage[data-step="3"] .nx-ds[data-s="3"] .nx-ds-toast,
.nx-demo-stage[data-step="6"] .nx-ds[data-s="6"] .nx-ds-toast {
  animation: nxDemoToast .5s ease 1.2s both;
}
.nx-ds-toast.is-green {
  background: rgba(15, 159, 117, 0.14);
  color: #0b7a56;
}
@keyframes nxDemoToast {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.nx-ds-status {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  position: relative;
  min-height: 36px;
}
.nx-ds-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}
.nx-ds-pill.is-wait {
  background: rgba(232, 89, 12, 0.14);
  color: #c2410c;
}
.nx-ds-pill.is-ok {
  background: rgba(15, 159, 117, 0.16);
  color: #0b7a56;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: scale(0.9);
}
.nx-demo-stage[data-step="2"] .nx-ds[data-s="2"] .nx-ds-pill.is-wait {
  animation: nxDemoFadeOut .4s ease 1.6s both;
}
.nx-demo-stage[data-step="2"] .nx-ds[data-s="2"] .nx-ds-pill.is-ok {
  animation: nxDemoPop .45s ease 1.8s both;
}
@keyframes nxDemoFadeOut {
  to { opacity: 0; transform: scale(0.95); }
}
@keyframes nxDemoPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}
.nx-ds-note {
  margin: 0;
  color: var(--nx-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  font-weight: 700;
}
.nx-ds-unlock {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(15, 159, 117, 0.15), rgba(28, 126, 214, 0.12));
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
}
.nx-demo-stage[data-step="2"] .nx-ds[data-s="2"] .nx-ds-unlock {
  animation: nxDemoPop .5s ease 2.2s both;
}

.nx-ds-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}
.nx-ds-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nx-muted);
}
.nx-ds-chips span.is-on {
  background: rgba(15, 159, 117, 0.16);
  color: #0b7a56;
}

.nx-ds-mc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.nx-ds-mc-row strong { font-weight: 900; }
.nx-ds-mc-off,
.nx-ds-mc-on {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}
.nx-ds-mc-off {
  background: rgba(20, 32, 51, 0.08);
  color: var(--nx-muted);
}
.nx-ds-mc-on {
  background: rgba(15, 159, 117, 0.16);
  color: #0b7a56;
  display: none;
}
.nx-demo-stage[data-step="4"] .nx-ds[data-s="4"] .nx-ds-mc-off {
  animation: nxDemoFadeOut .35s ease 1.4s both;
}
.nx-demo-stage[data-step="4"] .nx-ds[data-s="4"] .nx-ds-mc-on {
  display: inline-block;
  opacity: 0;
  animation: nxDemoPop .4s ease 1.6s both;
}
.nx-ds-mc-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.08);
  overflow: hidden;
  margin-bottom: 12px;
}
.nx-ds-mc-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f9f75, #1c7ed6);
  border-radius: inherit;
}
.nx-demo-stage[data-step="4"] .nx-ds[data-s="4"] .nx-ds-mc-meter i {
  animation: nxDemoFill 1.5s ease 0.3s both;
}
@keyframes nxDemoFill {
  to { width: 100%; }
}
.nx-ds-mc-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.nx-ds-ip {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1864ab;
  opacity: 0;
}
.nx-demo-stage[data-step="4"] .nx-ds[data-s="4"] .nx-ds-ip {
  animation: nxDemoToast .4s ease 1.8s both;
}

.nx-ds-live {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.nx-ds-live-stat {
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 16px rgba(20, 32, 51, 0.06);
}
.nx-ds-live-stat b {
  display: block;
  font-family: var(--nx-display);
  font-size: 1.25rem;
  font-weight: 900;
}
.nx-ds-live-stat span {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--nx-muted);
}
.nx-ds-live-stat.is-pulse b {
  color: #c2410c;
  animation: nxDemoPulse 1.2s ease-in-out infinite;
}

.nx-ds-end ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nx-ds-end li {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(20, 32, 51, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nx-muted);
  opacity: 0.45;
}
.nx-demo-stage[data-step="6"] .nx-ds[data-s="6"] .nx-ds-end li.is-on:nth-child(1) {
  animation: nxDemoCheck .4s ease 0.8s both;
}
.nx-demo-stage[data-step="6"] .nx-ds[data-s="6"] .nx-ds-end li.is-on:nth-child(2) {
  animation: nxDemoCheck .4s ease 1.3s both;
}
.nx-demo-stage[data-step="6"] .nx-ds[data-s="6"] .nx-ds-end li.is-on:nth-child(3) {
  animation: nxDemoCheck .4s ease 1.8s both;
}
@keyframes nxDemoCheck {
  from { opacity: 0.45; transform: translateX(-4px); }
  to {
    opacity: 1;
    transform: none;
    background: rgba(15, 159, 117, 0.14);
    color: #0b7a56;
  }
}

.nx-ds-join-idle {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.nx-ds-join-idle p {
  margin: 0 0 4px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--nx-muted);
}
.nx-ds-ev-ghost {
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(20, 32, 51, 0.06), rgba(20, 32, 51, 0.02), rgba(20, 32, 51, 0.06));
  background-size: 200% 100%;
  animation: nxDemoShimmer 1.6s linear infinite;
}
@keyframes nxDemoShimmer {
  to { background-position: -200% 0; }
}
.nx-ds-join-list {
  display: grid;
  gap: 10px;
}
.nx-ds-ev {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.07);
}
.nx-ds-ev b {
  font-size: 0.7rem;
  font-weight: 900;
  color: #0b7a56;
}
.nx-ds-ev strong {
  font-size: 0.95rem;
  font-weight: 900;
}
.nx-ds-ev span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nx-muted);
}
.nx-ds-ev.is-new {
  outline: 2px solid rgba(232, 89, 12, 0.45);
  animation: nxDemoPop .5s ease both;
}
.nx-ds-ev.is-new b { color: var(--nx-warm); }
.nx-ds-ev.is-hot {
  background: linear-gradient(135deg, #fff8ef, #fff);
}
.nx-ds-join-btn {
  margin-top: 8px;
  background: var(--nx-sky);
  color: #fff;
  animation: nxDemoPulse 1.5s ease-in-out infinite;
}

.nx-ds-hub {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.nx-ds-hub-bar {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(28, 126, 214, 0.14);
  color: #1864ab;
  font-size: 0.72rem;
  font-weight: 900;
}
.nx-ds-hub-title {
  margin: 0;
  font-family: var(--nx-display);
  font-weight: 900;
  font-size: 1.2rem;
}
.nx-ds-hub-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nx-ds-hub-steps span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nx-muted);
  opacity: 0.4;
}
.nx-demo-stage[data-step="5"] .nx-ds[data-s="5"] .nx-ds-hub-steps span.is-on:nth-child(1) {
  animation: nxDemoCheck .4s ease 0.4s both;
}
.nx-demo-stage[data-step="5"] .nx-ds[data-s="5"] .nx-ds-hub-steps span.is-on:nth-child(2) {
  animation: nxDemoCheck .4s ease 1s both;
}
.nx-demo-stage[data-step="5"] .nx-ds[data-s="5"] .nx-ds-hub-steps span.is-on:nth-child(3) {
  animation: nxDemoCheck .4s ease 1.6s both;
}
.nx-ds-hub-point {
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0b7a56;
}

.nx-ds-thanks {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.nx-ds-thanks strong {
  font-family: var(--nx-display);
  font-size: 1.25rem;
  font-weight: 900;
}
.nx-ds-thanks p {
  margin: 0;
  color: var(--nx-muted);
  font-weight: 700;
  line-height: 1.6;
}

.nx-demo-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.nx-demo-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--nx-ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}
.nx-demo-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--nx-ink);
  box-shadow: inset 0 0 0 1px rgba(20, 32, 51, 0.1);
}
.nx-demo-progress {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.1);
  overflow: hidden;
}
.nx-demo-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0f9f75, #1c7ed6);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .nx-ds-discord,
  .nx-ds-primary,
  .nx-ds-warm,
  .nx-ds-join-btn,
  .nx-ds-live-stat.is-pulse b,
  .nx-ds-cursor,
  .nx-ds-ev-ghost {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .nx-demo-screens { grid-template-columns: 1fr; }
  .nx-demo-viewport { min-height: 260px; }
}

@media (max-width: 720px) {
  .nx-hero {
    min-height: auto;
    padding-top: 24px;
  }
  .nx-hero-visual {
    position: relative;
    inset: auto;
    padding: 0 16px 8px;
  }
  .nx-hero-portal {
    transform: none;
    border-radius: 22px;
  }
  .nx-hero-portal-list .nx-hero-ev:nth-child(n+3) { display: none; }
  .nx-hero-scrim {
    display: none;
  }
  .nx-hero-inner {
    width: calc(100% - 32px);
    padding: 20px 0 40px;
    text-align: center;
  }
  .nx-hero-lead { margin-left: auto; margin-right: auto; }
  .nx-hero-actions { justify-content: center; }
  .nx-trust-row { grid-template-columns: 1fr; }
  .nx-demo-stage { padding: 16px 12px 14px; border-radius: 22px; }
  .nx-demo-rail-txt { display: none; }
  .nx-demo-rail-btn { padding: 0 8px; }
  .nx-demo-controls { flex-wrap: wrap; }
  .nx-demo-progress { order: 3; width: 100%; flex: 1 0 100%; }
  .nx-ds-live { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .nx-final-inner { padding: 36px 20px; }
  .nx-support-fab-txt { display: none; }
  .nx-support-fab { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .nx-support-fab-ico { width: 52px; height: 52px; background: transparent; }
}
